/* ══════════════════════════════════════
   INSTAGROWTHTLINK — style.css
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:      #F01F70;
  --brand-dk:   #d01060;
  --brand-lt:   rgba(240,31,112,0.12);
  --grad:       linear-gradient(135deg, #F01F70 0%, #F5891F 100%);
  --glow:       rgba(240,31,112,0.3);
  --yellow:     #F5891F;
  --black:      #080608;
  --dark:       #08030a;
  --surface:    #0e0510;
  --card-bg:    rgba(17,10,13,0.88);
  --card-border:rgba(240,31,112,0.22);
  --text:       #FFFFFF;
  --muted:      rgba(255,255,255,0.5);
  --bg-glow:    rgba(240,31,112,0.55);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--dark);
  background-image: radial-gradient(ellipse at 50% -5%, var(--bg-glow) 0%, transparent 55%);
  color: var(--text);
  min-height: 100vh;
}

/* ─── LANDING ─── */
.landing-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0f13 0%, #1a0f2e 50%, #0f0f13 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem 1.5rem; text-align: center; position: relative; overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(240,31,112,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 60%, rgba(240,31,112,0.1) 0%, transparent 50%);
}

.landing-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--brand); font-weight: 600;
  letter-spacing: 0.05em; margin-bottom: 3rem; position: relative;
}

.landing-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 600;
  line-height: 1.15; margin-bottom: 1.25rem; position: relative;
}

.landing-title span { color: var(--brand); }

.landing-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--muted); max-width: 520px; line-height: 1.7;
  margin-bottom: 2.5rem; position: relative;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2.5rem; background: var(--brand); color: #fff;
  border: none; border-radius: 50px; font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s; text-decoration: none; position: relative;
}
.btn-primary:hover { background: var(--brand-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(240,31,112,0.4); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; background: transparent; color: var(--muted);
  border: 1px solid rgba(240,31,112,0.3); border-radius: 50px;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }

.landing-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; position: relative; }

.landing-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; max-width: 900px; width: 100%;
  margin-top: 5rem; padding: 0 1rem; position: relative;
}

.feature-card {
  background: rgba(240,31,112,0.08);
  border: 1px solid rgba(240,31,112,0.15);
  border-radius: 16px; padding: 1.5rem; text-align: left;
}
.feature-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.feature-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.35rem; }
.feature-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* ─── AUTH ─── */
.auth-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #0f0f13 0%, #1a0f2e 60%, #0f0f13 100%);
}

.auth-card {
  width: 100%; max-width: 440px;
  background: rgba(20,18,30,0.9);
  border: 1px solid rgba(240,31,112,0.2);
  border-radius: 24px; padding: 2.5rem 2rem;
  backdrop-filter: blur(12px);
}

.auth-logo {
  text-align: center; margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--brand); font-weight: 600;
}

.auth-title { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.3rem; text-align: center; }
.auth-sub { font-size: 0.82rem; color: var(--muted); text-align: center; margin-bottom: 1.75rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
label { font-size: 0.78rem; font-weight: 500; color: var(--muted); }

.input-wrap { position: relative; }
.input-wrap svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; stroke: var(--muted); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
}

input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], textarea, select {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(240,31,112,0.2); border-radius: 10px;
  padding: 0.75rem 0.85rem 0.75rem 2.5rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--text);
  outline: none; transition: border-color 0.2s;
}
input:not(.input-wrap input), textarea, select { padding-left: 0.85rem; }
input:focus, textarea:focus, select:focus { border-color: var(--brand); }
select option { background: #1a0f2e; }

.slug-preview {
  font-size: 0.75rem; color: var(--muted); margin-top: 0.3rem;
  padding: 0.4rem 0.75rem; background: rgba(240,31,112,0.08);
  border-radius: 6px; font-family: monospace;
}
.slug-preview span { color: var(--brand); font-weight: 600; }

.btn-auth {
  width: 100%; padding: 0.85rem; background: var(--brand); color: #fff;
  border: none; border-radius: 10px; font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s; margin-top: 0.5rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-auth:hover { background: var(--brand-dk); }

.auth-footer { text-align: center; margin-top: 1.25rem; font-size: 0.8rem; color: var(--muted); }
.auth-footer a { color: var(--brand); text-decoration: none; }

.error-msg {
  display: none; background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3); border-radius: 8px;
  padding: 0.6rem 0.85rem; font-size: 0.82rem; color: #ef4444;
  margin-bottom: 1rem; text-align: center;
}
.error-msg.show { display: block; }

/* ─── LINKTREE (store) ─── */
.linktree-wrap { max-width: 480px; margin: 0 auto; min-height: 100vh; }

.hero {
  position: relative; width: 100%; height: 100vh; max-height: 700px;
  overflow: hidden; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; padding-bottom: 2rem;
}

#hero-media { position: absolute; inset: 0; width: 100%; height: 100%; }
#hero-media video, #hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.1) 40%, rgba(13,10,20,0.72) 70%, rgba(13,10,20,0.95) 100%);
}

.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 1.5rem; width: 100%;
  animation: fadeUp 0.8s ease 0.2s both;
}

.logo-circle {
  width: 90px; height: 90px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 1rem; border: 3px solid var(--brand);
  background: var(--brand); display: flex; align-items: center; justify-content: center;
}
.logo-circle img { width: 100%; height: 100%; object-fit: contain; }

.hero-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem; font-weight: 800;
  color: #fff; margin-bottom: 0.35rem;
  letter-spacing: -0.02em; line-height: 1.2;
}
.hero-tagline { font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.6); margin-bottom: 1rem; letter-spacing: 0.01em; }

.social-row { display: flex; justify-content: center; gap: 1rem; margin-bottom: 0.5rem; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; transition: all 0.2s;
}
.social-row a:hover { border-color: var(--brand); background: rgba(240,31,112,0.2); }
.social-row svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.followers { font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-bottom: 1.2rem; }

.tabs-row {
  display: flex; background: rgba(255,255,255,0.09);
  border-radius: 50px; padding: 4px; width: fit-content; margin: 0 auto;
}
.tab-btn {
  padding: 8px 28px; border-radius: 50px; border: none;
  background: transparent; color: rgba(255,255,255,0.6);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.875rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.01em;
}
.tab-btn.active { background: var(--grad); color: #fff; font-weight: 700; box-shadow: 0 4px 14px var(--glow); }

.lt-content { padding: 1.5rem 1rem 3rem; background: var(--surface); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.sec-label {
  font-size: 0.7rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--muted); text-align: center;
  margin: 1.5rem 0 0.75rem;
}

.link-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--card-bg); border: 0.5px solid var(--card-border);
  border-radius: 14px; padding: 1rem 1.25rem;
  text-decoration: none; color: var(--text); margin-bottom: 0.75rem;
  transition: all 0.2s; backdrop-filter: blur(8px);
}
.link-card:hover { background: rgba(240,31,112,0.12); border-color: rgba(240,31,112,0.4); transform: translateY(-1px); }

.link-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--brand-lt);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.link-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.link-text { flex: 1; }
.link-title { font-size: 0.9rem; font-weight: 700; }
.link-sub { font-size: 0.75rem; color: var(--muted); margin-top: 2px; font-weight: 500; }
.link-arrow { color: var(--muted); font-size: 1.1rem; }

/* Shop grid */
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.shop-item {
  background: var(--card-bg); border: 0.5px solid var(--card-border);
  border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--text);
  transition: all 0.15s; display: flex; flex-direction: column;
}
.shop-item:hover { transform: translateY(-2px); border-color: rgba(240,31,112,0.4); }

.shop-img {
  position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a0f2e, #0f0f13);
}
.shop-img-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(18px) brightness(0.75); transform: scale(1.15); }
.shop-img img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; }
.shop-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.shop-img-placeholder svg { width: 36px; height: 36px; stroke: rgba(240,31,112,0.3); fill: none; stroke-width: 1.3; }

.shop-info { padding: 0.6rem 0.75rem 0.4rem; flex: 1; }
.shop-name { font-size: 0.82rem; font-weight: 700; margin-bottom: 0.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-price { font-size: 0.85rem; font-weight: 800; background: var(--grad); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }

.shop-btn {
  display: block; margin: 0.4rem 0.75rem 0.75rem;
  padding: 8px; background: var(--grad);
  border-radius: 8px; text-align: center;
  font-size: 0.75rem; font-weight: 700; color: #fff;
  text-decoration: none; transition: all 0.2s;
  box-shadow: 0 3px 10px var(--glow);
}
.shop-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* Product highlight */
@keyframes productPulse {
  0%   { box-shadow: 0 0 0 0 rgba(240,31,112,0.6); border-color: var(--brand); }
  50%  { box-shadow: 0 0 0 8px rgba(240,31,112,0); }
  100% { box-shadow: 0 0 0 0 rgba(240,31,112,0); border-color: var(--card-border); }
}
.shop-item--highlight { animation: productPulse 0.9s ease 2; border-color: var(--brand) !important; }

/* Pgrid (featured) */
.pgrid-card { background: var(--card-bg); border: 0.5px solid var(--card-border); border-radius: 14px; overflow: hidden; margin-bottom: 0.75rem; }
.pgrid { display: grid; gap: 2px; background: rgba(240,31,112,0.1); }
.pgrid.cols-1 { grid-template-columns: 1fr; }
.pgrid.cols-2 { grid-template-columns: 1fr 1fr; }
.pgrid.cols-3 { grid-template-columns: 1fr 1fr; }
.pgrid.cols-3 .pgrid-item:first-child { grid-row: span 2; }
.pgrid.cols-4 { grid-template-columns: 1fr 1fr; }
.pgrid-item { background: #0f0f13; aspect-ratio: 1/1; overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pgrid-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.pgrid-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.pgrid-placeholder svg { width: 32px; height: 32px; stroke: rgba(240,31,112,0.3); fill: none; }
.pgrid-footer { padding: 0.9rem 1rem; display: flex; align-items: center; justify-content: space-between; }
.pgrid-label { font-size: 0.875rem; font-weight: 500; }
.pgrid-sub { font-size: 0.75rem; color: var(--muted); }

/* Footer */
.lt-footer { text-align: center; padding: 1.5rem 1rem; background: var(--surface); border-top: 0.5px solid var(--card-border); }
.lt-footer a { font-size: 0.7rem; color: var(--muted); text-decoration: none; margin: 0 0.4rem; }
.lt-footer a:hover { color: var(--brand); }
.lt-footer .powered { font-size: 0.68rem; color: rgba(240,31,112,0.5); margin-top: 0.5rem; }
.lt-footer .powered a { color: rgba(240,31,112,0.7); }

/* ─── TEMPLATE: AGENDA ─── */
.service-card {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--card-bg); border: 0.5px solid var(--card-border);
  border-radius: 14px; padding: 0.9rem; text-decoration: none; color: var(--text);
  transition: all 0.2s; margin-bottom: 0.7rem;
}
.service-card:hover { border-color: rgba(240,31,112,0.4); transform: translateY(-1px); }
.service-img {
  width: 70px; height: 70px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(240,31,112,0.1), rgba(8,6,8,0.8));
  display: flex; align-items: center; justify-content: center;
}
.service-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-img-ph { font-size: 1.75rem; opacity: 0.6; }
.service-body { flex: 1; min-width: 0; }
.service-name { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.25rem; }
.service-price {
  font-size: 0.88rem; font-weight: 800; margin-bottom: 0.45rem;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.service-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 5px 14px; background: var(--grad);
  color: #fff; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
  box-shadow: 0 3px 10px var(--glow);
}

/* Botão Agendar destacado (agenda template) */
.agenda-hero-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.75rem; background: var(--grad);
  color: #fff; border-radius: 50px; font-size: 0.92rem; font-weight: 700;
  text-decoration: none; margin-bottom: 1.2rem;
  box-shadow: 0 6px 20px var(--glow);
  transition: all 0.2s;
}
.agenda-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--glow); }

/* ─── TEMPLATE: PORTFÓLIO ─── */
.portfolio-card {
  display: block; background: var(--card-bg); border: 0.5px solid var(--card-border);
  border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--text);
  transition: all 0.2s; margin-bottom: 1rem;
}
.portfolio-card:hover { border-color: rgba(240,31,112,0.4); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(240,31,112,0.08); }
.portfolio-img {
  position: relative; width: 100%; height: 190px; overflow: hidden;
  background: linear-gradient(135deg, #110a0d, #1a0a0d);
  display: flex; align-items: center; justify-content: center;
}
.portfolio-img-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: blur(18px) brightness(0.55); transform: scale(1.15);
}
.portfolio-img img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio-img-ph { font-size: 2.5rem; opacity: 0.25; }
.portfolio-body { padding: 0.9rem 1rem; }
.portfolio-name { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.25rem; }
.portfolio-price {
  font-size: 0.88rem; font-weight: 800; margin-bottom: 0.6rem;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.portfolio-btn {
  display: block; padding: 8px; border: 1px solid var(--card-border);
  border-radius: 8px; text-align: center; font-size: 0.8rem; font-weight: 700;
  color: var(--brand); transition: all 0.2s; background: var(--brand-lt);
}
.portfolio-card:hover .portfolio-btn { background: var(--brand-lt); border-color: var(--brand); }

/* Template: shop grid override para templates sem vitrine */
[data-template="agenda"]   .shop-grid,
[data-template="digital"] .shop-grid { grid-template-columns: 1fr; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .landing-cta { flex-direction: column; align-items: center; }
  .auth-card { padding: 2rem 1.25rem; }
}

/* ─── PRODUCT BADGES ─── */
.product-badge {
  display: inline-block; border-radius: 20px;
  padding: 2px 10px; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.4rem;
}
.badge-digital {
  background: rgba(139,92,246,0.15); color: #a78bfa;
  border: 1px solid rgba(139,92,246,0.3);
}
.badge-agenda {
  background: rgba(245,158,11,0.15); color: #fbbf24;
  border: 1px solid rgba(245,158,11,0.3);
}

/* ─── CART ─── */
#cart-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1000;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad); color: #fff; border: none; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px var(--glow);
  transition: transform 0.2s;
}
#cart-fab.visible { display: flex; }
#cart-fab:hover { transform: scale(1.05); }
#cart-fab svg {
  width: 24px; height: 24px; fill: none; stroke: #fff;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
#cart-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; border-radius: 10px;
  background: #fff; color: var(--brand);
  font-size: 0.65rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

#cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 1001; display: none; backdrop-filter: blur(4px);
}
#cart-overlay.open { display: block; }

#cart-drawer {
  position: fixed; bottom: 0; left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%; max-width: 480px; z-index: 1002;
  background: #0f0f13; border-top: 1px solid rgba(240,31,112,0.25);
  border-radius: 20px 20px 0 0;
  max-height: 80vh; display: flex; flex-direction: column;
  transition: transform 0.32s cubic-bezier(0.32,0.72,0,1);
}
#cart-drawer.open { transform: translateX(-50%) translateY(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 0.5px solid rgba(240,31,112,0.12);
  flex-shrink: 0;
}
.cart-header > span { font-size: 1rem; font-weight: 700; }
.cart-close {
  width: 30px; height: 30px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.08); color: var(--muted);
  font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.cart-close:hover { background: rgba(240,31,112,0.15); color: #fff; }

#cart-items-list { padding: 0.25rem 0; }

.cart-empty {
  text-align: center; color: var(--muted);
  padding: 2.5rem 1rem; font-size: 0.85rem;
}

.cart-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 0; border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.cart-item:last-child { border-bottom: none; }

.cart-item-img {
  width: 52px; height: 52px; border-radius: 8px; overflow: hidden;
  flex-shrink: 0; background: #1a0f2e;
  display: flex; align-items: center; justify-content: center;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item-img-ph { font-size: 1.25rem; opacity: 0.4; }

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 0.82rem; font-weight: 600; margin-bottom: 0.15rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-item-price {
  font-size: 0.78rem; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}

.cart-item-controls { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }
.cart-qty-btn {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(240,31,112,0.3);
  background: transparent; color: var(--brand);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; line-height: 1;
}
.cart-qty-btn:hover { background: rgba(240,31,112,0.15); }
.cart-qty-val { font-size: 0.85rem; font-weight: 700; min-width: 18px; text-align: center; }
.cart-remove-btn {
  width: 22px; height: 22px; border-radius: 50%; border: none;
  background: transparent; color: var(--muted);
  font-size: 1rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  margin-left: 2px; transition: all 0.15s;
}
.cart-remove-btn:hover { background: rgba(239,68,68,0.15); color: #ef4444; }

.cart-footer {
  padding: 1rem 1.25rem 1.5rem;
  border-top: 0.5px solid rgba(240,31,112,0.12);
  flex-shrink: 0;
}
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.9rem;
}
.cart-total-row span:first-child { font-size: 0.85rem; color: var(--muted); }
#cart-total-val {
  font-size: 1rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}

.cart-checkout-btn {
  width: 100%; padding: 0.9rem; background: var(--grad); color: #fff;
  border: none; border-radius: 12px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: opacity 0.2s;
  box-shadow: 0 4px 16px var(--glow);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.cart-checkout-btn:hover:not(:disabled) { opacity: 0.9; }
.cart-checkout-btn:disabled { opacity: 0.4; cursor: default; box-shadow: none; }

/* Mini toast do carrinho */
.cart-toast {
  position: fixed; bottom: 5.75rem; right: 1.5rem; z-index: 1003;
  background: rgba(17,10,13,0.95); border: 1px solid rgba(240,31,112,0.3);
  border-radius: 10px; padding: 0.55rem 1rem;
  font-size: 0.8rem; font-weight: 600; color: var(--text);
  pointer-events: none; white-space: nowrap;
  animation: cartToastIn 0.22s ease, cartToastOut 0.22s ease 1.55s forwards;
}
@keyframes cartToastIn  { from { opacity:0; transform: translateY(6px); } to { opacity:1; transform: translateY(0); } }
@keyframes cartToastOut { to   { opacity:0; transform: translateY(-4px); } }

/* ════════════════════════════════
   DELIVERY — Banners
   ════════════════════════════════ */
.delivery-closed-banner {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.25);
  border-radius: 12px;
  padding: .85rem 1rem;
  font-size: .82rem;
  color: #ef4444;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.25rem;
}
.delivery-open-banner {
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.2);
  border-radius: 12px;
  padding: .85rem 1rem;
  font-size: .82rem;
  color: #22c55e;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.25rem;
}

/* ════════════════════════════════
   DELIVERY — Seções do cardápio
   ════════════════════════════════ */
.delivery-section { margin-bottom: 1.75rem; }
.delivery-section-title {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  padding: .35rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: .85rem;
}
.delivery-items { display: flex; flex-direction: column; gap: .65rem; }

/* ════════════════════════════════
   DELIVERY — Card do item
   ════════════════════════════════ */
.delivery-card {
  display: flex;
  gap: .85rem;
  background: var(--card-bg, rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: .85rem;
  transition: border-color .18s;
}
.delivery-card:hover { border-color: rgba(255,255,255,.15); }

.delivery-card-img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.delivery-card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  font-size: 1.75rem;
}

.delivery-card-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.delivery-card-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .2rem;
}
.delivery-card-desc {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: .4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.delivery-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.delivery-card-price {
  font-size: .95rem;
  font-weight: 800;
  color: var(--text);
}
.delivery-prep {
  font-size: .65rem;
  color: var(--muted);
  margin-top: .15rem;
  display: block;
}
.delivery-btn {
  background: var(--brand, #F01F70);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: .4rem .9rem;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
  flex-shrink: 0;
}
.delivery-btn:hover:not(:disabled) {
  opacity: .85;
  transform: scale(1.04);
}
.delivery-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* ════════════════════════════════
   CART — Scroll wrapper
   ════════════════════════════════ */
.cart-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}
.cart-scroll::-webkit-scrollbar       { width: 4px; }
.cart-scroll::-webkit-scrollbar-track { background: transparent; }
.cart-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }

/* ════════════════════════════════
   CRM — Formulário do cliente
   ════════════════════════════════ */
.customer-form {
  margin-top: 1rem;
  padding: .9rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
}
.customer-form-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 .85rem;
}
.customer-field-group {
  margin-bottom: .65rem;
}
.customer-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .35rem;
}
.customer-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: .6rem .8rem;
  font-size: .85rem;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color .18s;
}
.customer-input:focus { border-color: rgba(255,255,255,.35); }
.customer-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.customer-field-row--city {
  grid-template-columns: 2fr 1fr;
}

/* ════════════════════════════════
   DELIVERY — Campo de endereço
   ════════════════════════════════ */
.cart-delivery-fields {
  margin-bottom: 1rem;
  padding: .85rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
}
.cart-field-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}
.cart-address-input {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: .65rem .85rem;
  font-size: .85rem;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color .18s;
}
.cart-address-input:focus {
  border-color: rgba(255,255,255,.3);
}
