﻿/* ============================================================
   style.css — Sattori Frutas v6
   Design System Premium · Dark-mode Ready · Mobile-first
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --red:          #E50914;
  --red-d:        #B00710;
  --red-tint:     rgba(229,9,20,.04);
  --red-border:   rgba(229,9,20,.18);
  --green:        #22c55e;
  --gold:         #D97706;
  --gold-l:       #FEF3C7;
  --bg:           #F9FAFB;
  --card:         #FFFFFF;
  --card-hover:   #F3F4F6;
  --border:       #E5E7EB;
  --text:         #111827;
  --muted:        #6B7280;
  --radius:       14px;
  --rs:           10px;
  --shadow:       0 2px 12px rgba(0,0,0,.07);
  --shadow-md:    0 4px 24px rgba(0,0,0,.12);
  --header-h:     58px;
  --nav-h:        52px;
  --page-offset:  calc(var(--header-h) + var(--nav-h) + 32px);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { font-size:16px; -webkit-text-size-adjust:100%; }
body {
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  background: #FFFFFF;
  background-image: radial-gradient(circle at 20% 50%, rgba(229,9,20,0.03) 0%, transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(229,9,20,0.02) 0%, transparent 50%);
  background-attachment: fixed;
  color:var(--text);
  min-height:100vh;
  overflow-x:hidden;
}
button { cursor:pointer; font-family:inherit; border:none; outline:none; }
input, textarea, select { font-family:inherit; }
a { color:var(--red); text-decoration:none; }
a:hover { text-decoration:underline; }
img { max-width:100%; height:auto; display:block; }

/* ── Alert Bar ───────────────────────────────────────────────── */
#alertBar {
  background:var(--red);
  color:#fff;
  text-align:center;
  padding:7px 12px;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.02em;
  position:sticky;
  top:0; z-index:200;
}

/* ── Header ──────────────────────────────────────────────────── */
header {
  height:var(--header-h);
  background:var(--card);
  border-bottom:1.5px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
  position:sticky;
  top:32px; z-index:190;
  box-shadow:var(--shadow);
}
.logo { display:flex; align-items:center; gap:10px; }
.logo-img { width:42px; height:42px; object-fit:cover; border-radius:50%; }
.logo-fallback {
  width:42px; height:42px; border-radius:50%;
  background:var(--red-tint); border:1.5px solid var(--red-border);
  display:flex; align-items:center; justify-content:center;
  font-size:1.25rem;
}
.logo-name { font-size:.9375rem; font-weight:900; color:var(--red); }
.logo-sub  { font-size:.6875rem; color:var(--muted); }
.header-right { display:flex; align-items:center; gap:10px; }
.btn-login {
  background:var(--red-tint); border:1.5px solid var(--red-border);
  color:var(--red); font-weight:700; font-size:.8rem;
  padding:7px 12px; border-radius:var(--rs);
  display:flex; align-items:center; gap:5px;
  transition:background .15s,border-color .15s;
}
.btn-login:hover { background:rgba(229,9,20,.1); border-color:var(--red); }
.cart-btn {
  position:relative; background:var(--red); color:#fff;
  border-radius:var(--rs); width:40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.1rem;
  box-shadow:0 2px 8px rgba(229,9,20,.35);
  transition:background .15s;
}
.cart-btn:hover { background:var(--red-d); }
.cart-count {
  position:absolute; top:-5px; right:-5px;
  background:#fff; color:var(--red);
  border:1.5px solid var(--red); border-radius:50%;
  width:18px; height:18px; font-size:.625rem;
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
}

/* ── Tab Nav ─────────────────────────────────────────────────── */
.tab-nav {
  display:flex; align-items:stretch;
  background:var(--card);
  border-bottom:1.5px solid var(--border);
  position:sticky;
  top:calc(32px + var(--header-h)); z-index:180;
  box-shadow:0 1px 6px rgba(0,0,0,.06);
  overflow-x:auto;
  scrollbar-width:none;
}
.tab-nav::-webkit-scrollbar { display:none; }
.tab-item {
  flex:1; min-width:64px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:3px; padding:8px 6px;
  font-size:.65rem; font-weight:700; color:var(--muted);
  border-bottom:2.5px solid transparent;
  cursor:pointer; transition:color .15s,border-color .15s;
  white-space:nowrap;
}
.tab-item.active { color:var(--red); border-bottom-color:var(--red); }
.tab-icon { font-size:1rem; }
.tab-label { font-size:.625rem; }

/* ── Páginas ─────────────────────────────────────────────────── */
.page { display:none; }
.page.active { display:block; }
.page-inner { max-width:540px; margin:0 auto; padding:16px 14px 80px; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: #FFFFFF;
  background-color: rgba(255,255,255,0.97);
  border:2px solid var(--red-border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:0 2px 12px rgba(229,9,20,.08), 0 1px 3px rgba(0,0,0,.05);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(229,9,20,0.015);
  pointer-events: none;
  border-radius: inherit;
}

/* ── Utilitários ─────────────────────────────────────────────── */
.hidden   { display:none!important; }
.mt-2     { margin-top:10px; }
.w-full   { width:100%; }
.text-muted { color:var(--muted); font-size:.875rem; }
.section-title { font-size:1.125rem; font-weight:900; }
.section-sub   { font-size:.8125rem; color:var(--muted); margin-top:3px; margin-bottom:12px; }
.quem-somos-body { font-size:.9375rem; line-height:1.6; color:var(--text); }

/* ── Botões ──────────────────────────────────────────────────── */
.btn-primary {
  background:var(--red); color:#fff;
  padding:12px 20px; border-radius:var(--rs);
  font-weight:800; font-size:.9375rem;
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  transition:background .15s,transform .1s,box-shadow .15s;
  box-shadow:0 3px 10px rgba(229,9,20,.3);
}
.btn-primary:hover { background:var(--red-d); transform:translateY(-1px); box-shadow:0 5px 14px rgba(229,9,20,.38); }
.btn-secondary {
  background:var(--card); color:var(--text);
  border:1.5px solid var(--border);
  padding:10px 18px; border-radius:var(--rs);
  font-weight:700; font-size:.875rem;
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  transition:background .15s,border-color .15s;
}
.btn-secondary:hover { background:var(--card-hover); border-color:var(--red); }
.btn-cta {
  background:linear-gradient(135deg,var(--red),var(--red-d));
  color:#fff; padding:14px 26px;
  border-radius:var(--rs); font-weight:900; font-size:1rem;
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  box-shadow:0 4px 16px rgba(229,9,20,.35);
  transition:transform .1s,box-shadow .15s;
}
.btn-cta:hover { transform:translateY(-2px); box-shadow:0 6px 20px rgba(229,9,20,.45); }

/* ── Home: Fachada Full-Width ────────────────────────────────── */
.fachada-full {
  position:relative; width:100%;
  aspect-ratio:16/9; min-height:220px;
  border-radius:var(--radius); overflow:hidden;
  background:#e8e8e8; margin-bottom:20px;
  box-shadow:var(--shadow-md);
  border: 2px solid var(--red-border);
}
.fachada-full-img {
  width:100%; height:100%; object-fit:cover;
  object-position:center;
}
.fachada-fallback {
  display:none; /* controlled by JS */
  flex-direction:column; align-items:center; justify-content:center;
  height:100%; gap:8px;
  background:linear-gradient(135deg,#f3f4f6,#e8e8e8);
}
.fachada-fallback-icon  { font-size:3rem; }
.fachada-fallback-title { font-size:1.25rem; font-weight:900; color:var(--text); }
.fachada-fallback-sub   { font-size:.8125rem; color:var(--muted); }
.fachada-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.68) 0%,rgba(0,0,0,.1) 60%,transparent 100%);
  display:flex; align-items:flex-end; padding:18px;
}
.fachada-overlay-text { color:#fff; }
.fachada-title { font-size:1.4rem; font-weight:900; line-height:1.25; text-shadow:0 2px 6px rgba(0,0,0,.5); }
.fachada-sub   { font-size:.8125rem; opacity:.88; margin-top:4px; }

/* ── Home: Carrossel de Depoimentos ─────────────────────────── */
/* Wrapper com posição relativa para setas absolutas */
.tc-wrap {
  position:relative;
  display:flex;
  align-items:center;
  gap:0;
  margin-bottom:10px;
  overflow:hidden;
}
/* Viewport: janela que recorta os slides */
.tc-viewport {
  flex:1;
  overflow:hidden;
  border-radius:var(--rs,10px);
}
/* Track: linha de slides lado a lado */
.tc-track, .testimonials-grid {
  display:flex;
  transition:transform .45s cubic-bezier(.4,0,.2,1);
  will-change:transform;
}
/* Cada slide ocupa 100% do viewport */
.tc-slide {
  min-width:100%;
  box-sizing:border-box;
}
/* Card de avaliação */
.testimonial-card {
  background:var(--red-tint,#fff5f5);
  border:1.5px solid var(--red-border,#fecaca);
  border-radius:var(--rs,10px);
  padding:16px 14px;
  min-height:140px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.testimonial-stars    { color:var(--gold,#f59e0b); font-size:.95rem; margin-bottom:6px; letter-spacing:1px; }
.testimonial-text     { font-size:.8125rem; color:var(--text,#1f2937); line-height:1.55; margin-bottom:10px; font-style:italic; }
.testimonial-author   { font-size:.8rem; font-weight:800; color:var(--text,#111); }
.testimonial-location { font-size:.72rem; color:var(--muted,#6b7280); margin-top:2px; }
.testimonial-date     { font-size:.68rem; color:var(--muted,#9ca3af); margin-top:3px; }
/* Setas de navegação */
.tc-arrow {
  position:relative;
  z-index:2;
  background:var(--red,#E50914);
  color:#fff;
  border:none;
  border-radius:50%;
  width:34px; height:34px;
  font-size:1.35rem;
  line-height:1;
  cursor:pointer;
  flex-shrink:0;
  transition:background .15s, transform .15s;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 2px 8px rgba(229,9,20,.3);
}
.tc-arrow:hover { background:#c00; transform:scale(1.08); }
.tc-prev { margin-right:6px; }
.tc-next { margin-left:6px; }
/* Dots de navegação */
.tc-dots {
  display:flex;
  justify-content:center;
  gap:6px;
  margin-top:10px;
}
.tc-dot {
  width:8px; height:8px;
  border-radius:50%;
  border:none;
  background:var(--border,#e5e7eb);
  cursor:pointer;
  padding:0;
  transition:background .2s, transform .2s;
}
.tc-dot-active {
  background:var(--red,#E50914);
  transform:scale(1.3);
}
/* Skeleton loader */
.testimonial-skeleton { background:var(--surface2,#f3f4f6); border:none; }
.skel-line {
  height:10px; border-radius:6px;
  background:linear-gradient(90deg,#e5e7eb 25%,#f3f4f6 50%,#e5e7eb 75%);
  background-size:200% 100%;
  animation:skelShimmer 1.4s infinite;
  margin-bottom:8px;
}
.skel-short  { width:40%; }
.skel-medium { width:65%; }
@keyframes skelShimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── Home: Info Block ────────────────────────────────────────── */
.info-block { display:flex; flex-direction:column; gap:12px; }
.info-item  { display:flex; align-items:flex-start; gap:10px; }
.info-icon  { font-size:1.25rem; flex-shrink:0; }
.info-text  { font-size:.875rem; }
.info-text a { color:var(--red); }

/* ── Calculadora ─────────────────────────────────────────────── */
.calc-section { display:flex; flex-direction:column; gap:16px; }
.calc-img-below {
  width:100%; aspect-ratio:4/2.5; min-height:140px;
  border-radius:var(--radius); overflow:hidden;
  background:#e8e8e8; display:flex; align-items:center; justify-content:center;
  border:1.5px solid var(--border);
}
.calc-img-below img { width:100%; height:100%; object-fit:cover; }
.calc-img-fb { font-size:3rem; }
.form-row   { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.form-group { display:flex; flex-direction:column; gap:4px; }
.form-label { font-size:.78rem; font-weight:700; color:var(--muted); }
.form-input {
  background:var(--card); border:1.5px solid var(--border);
  border-radius:var(--rs); padding:10px 12px; font-size:.9375rem;
  transition:border-color .15s;
  width:100%;
}
.form-input:focus { outline:none; border-color:var(--red); }
.form-select { appearance:none; }
.party-result {
  display:none; margin-top:14px;
  padding:14px; background:var(--red-tint);
  border:1.5px solid var(--red-border); border-radius:var(--rs);
}
.party-result.visible { display:block; }
.party-big { font-size:2rem; font-weight:900; color:var(--red); }
.party-sub { font-size:.8125rem; color:var(--muted); margin-top:4px; margin-bottom:12px; }
.party-cta-banner {
  background:linear-gradient(135deg,rgba(229,9,20,.08),rgba(229,9,20,.14));
  border:1.5px solid var(--red-border); border-radius:var(--rs);
  padding:12px; margin-top:12px;
}
.party-cta-title { font-weight:800; font-size:.875rem; margin-bottom:4px; }
.party-cta-sub   { font-size:.8125rem; color:var(--muted); margin-bottom:8px; }
.party-cta-trio  { display:flex; gap:6px; flex-wrap:wrap; }
.party-trio-tag  { background:var(--red); color:#fff; border-radius:20px; padding:4px 10px; font-size:.75rem; font-weight:700; }

/* ── Banner Trinca (bloco vermelho sólido) — texto branco negrito ── */
.party-cta-banner-solid {
  background: linear-gradient(135deg, var(--red) 0%, #c00 100%);
  border-radius: var(--rs);
  padding: 14px;
  margin-top: 12px;
  color: #FFFFFF;
  font-weight: bold;
}
.party-cta-banner-solid .party-cta-title {
  font-weight: 900;
  font-size: .9rem;
  margin-bottom: 6px;
  color: #FFFFFF;
}
.party-cta-banner-solid .party-cta-sub {
  font-size: .82rem;
  color: #FFFFFF;
  font-weight: bold;
  line-height: 1.5;
  opacity: 1;
  margin-bottom: 8px;
}
.party-cta-banner-solid .party-trio-tag {
  background: rgba(255,255,255,.2);
  color: #FFFFFF;
  font-weight: 800;
}

/* ── Carrossel Principal (Cardápio Sucos) ────────────────────── */
.cardapio-top-carousel, .kits-top-carousel, .polpas-top-carousel {
  width:100%; overflow:hidden; border-radius:var(--radius) var(--radius) 0 0;
  position:relative;
  aspect-ratio:21/7; min-height:140px;
  background:#e8e8e8; margin-bottom:16px;
}
.top-carousel-track {
  display:flex; transition:transform .45s ease;
  height:100%;
}
.top-carousel-slide {
  min-width:100%; position:relative; overflow:hidden;
}
.top-carousel-slide img {
  width:100%; height:100%; object-fit:cover; display:block;
}
.top-carousel-slide-fb {
  display:none; /* fallback — JS shows */
  position:absolute; inset:0;
  align-items:center; justify-content:center;
  font-size:3rem; background:#e8e8e8;
}
.top-carousel-caption {
  position:absolute; bottom:0; left:0; right:0;
  background:linear-gradient(transparent,rgba(0,0,0,.62));
  color:#fff; padding:12px 14px; font-size:.8125rem; font-weight:700;
}
.top-carousel-dots {
  position:absolute; bottom:8px; left:50%; transform:translateX(-50%);
  display:flex; gap:5px;
}
.top-carousel-dot {
  width:7px; height:7px; border-radius:50%;
  background:rgba(255,255,255,.5); border:none; cursor:pointer;
  transition:background .2s,transform .2s;
}
.top-carousel-dot.active { background:#fff; transform:scale(1.25); }

/* ── Carrossel (Kits e Polpas) ───────────────────────────────── */
.top-car-track  { display:flex; transition:transform .45s ease; height:100%; }
.top-car-slide  { min-width:100%; position:relative; overflow:hidden; }
.top-car-slide img { width:100%; height:100%; object-fit:cover; display:block; }
.top-car-slide-fb {
  position:absolute; inset:0; display:flex;
  align-items:center; justify-content:center; font-size:3rem;
  background:#e8e8e8;
}
.top-car-caption {
  position:absolute; bottom:0; left:0; right:0;
  background:linear-gradient(transparent,rgba(0,0,0,.62));
  color:#fff; padding:10px 14px; font-size:.8125rem; font-weight:700;
}
.top-car-dots {
  position:absolute; bottom:8px; left:50%; transform:translateX(-50%);
  display:flex; gap:5px;
}
.top-car-dot {
  width:7px; height:7px; border-radius:50%;
  background:rgba(255,255,255,.5); border:none; cursor:pointer;
  transition:background .2s,transform .2s;
}
.top-car-dot.active { background:#fff; transform:scale(1.25); }

/* ── Produto List ────────────────────────────────────────────── */
.product-list-wrap {
  display:flex; flex-direction:column; gap:8px;
}

/* ── Bloco explicativo Padrão vs Premium (Cardápio Sucos) ─────── */
.tipo-explicacao-block {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1.5px solid #D97706;
  border-radius: var(--rs);
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: .82rem;
  color: #78350F;
}
.tipo-explicacao-block .tipo-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 5px 0;
}
.tipo-explicacao-block .tipo-row:not(:last-child) {
  border-bottom: 1px dashed #FCD34D;
}
.tipo-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.tipo-text strong { font-weight: 800; color: #92400E; display: block; margin-bottom: 1px; }
.tipo-text span   { color: #78350F; line-height: 1.5; }
.pl-row {
  background:var(--card);
  border:1.5px solid var(--red-border);
  border-radius:var(--rs);
  padding:10px 12px;
  display:grid;
  grid-template-columns:28px 1fr auto auto;
  align-items:center; gap:8px;
  transition:background .12s;
}
.pl-row:hover { background:var(--red-tint); }
.pl-emoji  { font-size:1.25rem; text-align:center; }
.pl-info   { min-width:0; }
.pl-name   { font-size:.9375rem; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pl-meta   { font-size:.75rem; color:var(--muted); }
.pl-price  { font-size:.9375rem; font-weight:900; color:var(--red); white-space:nowrap; }
.pl-badge  { margin-left:4px; font-size:.75rem; }
.qty-inline { display:flex; align-items:center; gap:5px; }
.qty-sm {
  width:26px; height:26px; border-radius:6px;
  background:var(--red-tint); border:1.5px solid var(--red-border);
  color:var(--red); font-weight:800; font-size:.875rem;
  display:flex; align-items:center; justify-content:center;
  transition:background .12s;
}
.qty-sm:hover { background:var(--red); color:#fff; }
.qty-num { font-size:.875rem; font-weight:800; min-width:18px; text-align:center; }
.btn-add-sm {
  width:30px; height:30px; border-radius:8px;
  background:var(--red); color:#fff;
  font-size:1.1rem; font-weight:800;
  display:flex; align-items:center; justify-content:center;
  transition:background .12s;
}
.btn-add-sm:hover { background:var(--red-d); }

/* ── Polpas ──────────────────────────────────────────────────── */
.polpa-row {
  background:var(--card);
  border:1.5px solid var(--red-border);
  border-radius:var(--rs);
  padding:10px 12px;
  display:grid;
  grid-template-columns:28px 1fr auto auto;
  align-items:center; gap:8px;
}
.polpa-price-col { display:flex; flex-direction:column; align-items:flex-end; }
.polpa-price-tag { font-size:.65rem; font-weight:700; color:var(--muted); text-transform:uppercase; }
.polpa-price-val { font-size:.9375rem; font-weight:900; color:var(--red); }
.polpa-btns { display:flex; flex-direction:column; gap:5px; }
.polpa-add-btn {
  background:var(--red); color:#fff;
  border:none; border-radius:7px;
  padding:6px 10px; font-weight:800; font-size:.8rem;
  transition:background .12s;
  white-space:nowrap;
}
.polpa-add-btn:hover { background:var(--red-d); }

/* ── Mistura (Cardápio) ──────────────────────────────────────── */
.mix-top-block {
  background:var(--card); border:1.5px solid var(--red-border);
  border-radius:var(--rs); padding:14px;
  margin-bottom:14px;
}
.mix-top-title { font-size:1rem; font-weight:900; margin-bottom:3px; }
.mix-top-sub   { font-size:.8125rem; color:var(--muted); margin-bottom:12px; }
.mix-chips { display:flex; flex-wrap:wrap; gap:7px; margin-bottom:10px; }
.mix-chip {
  padding:5px 11px; border-radius:20px;
  background:var(--card-hover); border:1.5px solid var(--border);
  font-size:.75rem; font-weight:700; cursor:pointer;
  transition:background .12s,border-color .12s,color .12s;
}
.mix-chip.selected { background:var(--red); color:#fff; border-color:var(--red); }
.mix-result {
  background:var(--red-tint); border:1.5px solid var(--red-border);
  border-radius:var(--rs); padding:10px; margin-top:8px;
}

/* ── Toggles Tipo/Tamanho ────────────────────────────────────── */
.toggle-group { display:flex; gap:8px; flex-wrap:wrap; }
.toggle-btn {
  flex:1; padding:9px 8px; border-radius:var(--rs);
  background:var(--card); border:1.5px solid var(--border);
  font-weight:700; font-size:.875rem; color:var(--muted);
  transition:background .12s,border-color .12s,color .12s;
}
.toggle-btn.active { background:var(--red-tint); border-color:var(--red); color:var(--red); }
.toggle-btn:hover  { border-color:var(--red); }
.toggle-icon { font-size:.9rem; }

/* ── Cardápio: label de seção ────────────────────────────────── */
.cardapio-section-label {
  font-size:.73rem; font-weight:700; color:var(--muted);
  text-transform:uppercase; letter-spacing:.06em;
  margin-bottom:6px;
  padding-left:2px;
}

/* ── Kits: caixa de regra de preço ──────────────────────────── */
.kit-rule-box {
  background:var(--gold-l); border:1.5px solid var(--gold);
  border-radius:var(--rs); padding:12px 14px;
  margin-bottom:16px; font-size:.8125rem;
  color:#78350f;
}
.kit-rule-box strong { font-weight:800; }

/* ── Kits ────────────────────────────────────────────────────── */
.kit-cards-grid { display:flex; flex-direction:column; gap:16px; }
@media(min-width:440px){ .kit-cards-grid { grid-template-columns:1fr 1fr; display:grid; } }
.kit-card {
  background:var(--card); border:1.5px solid var(--red-border);
  border-radius:var(--radius); padding:14px;
}
.kit-card-header { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:6px; }
.kit-card-name  { font-size:1rem; font-weight:900; }
.kit-price-note { font-size:.7rem; color:var(--muted); margin-top:2px; }
.kit-card-price { font-size:1.25rem; font-weight:900; color:var(--red); white-space:nowrap; }
.kit-card-desc  { font-size:.8125rem; color:var(--muted); margin-bottom:10px; }
.kit-price-special-warn {
  background:var(--gold-l); border:1.5px solid var(--gold);
  border-radius:var(--rs); padding:7px 10px;
  font-size:.78rem; font-weight:700; color:var(--gold);
  margin-bottom:8px;
}
.kit-flavor-chips { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; }
.kit-flavor-chip {
  padding:4px 10px; border-radius:20px;
  background:var(--card-hover); border:1.5px solid var(--border);
  font-size:.72rem; font-weight:700; cursor:pointer;
  transition:background .12s,border-color .12s,color .12s;
}
.kit-flavor-chip.sel { background:var(--red); color:#fff; border-color:var(--red); }
.kit-flavor-chip.is-special { border-color:var(--gold); }
.kit-flavor-chip.is-special.sel { background:var(--gold); border-color:var(--gold); }
.kit-special-badge { color:var(--gold); font-size:.625rem; margin-left:2px; }
.kit-qty-row {
  display:flex; align-items:center; gap:10px;
  margin-bottom:12px; background:var(--red-tint);
  border:1.5px solid var(--red-border); border-radius:var(--rs);
  padding:7px 10px;
}
.qty-btn {
  width:28px; height:28px; border-radius:6px;
  background:var(--red); color:#fff; font-size:1rem; font-weight:800;
  display:flex; align-items:center; justify-content:center;
}
.qty-display { font-size:1rem; font-weight:800; min-width:24px; text-align:center; }

/* ── Carrinho (Drawer) ───────────────────────────────────────── */
.cart-overlay {
  display:none; position:fixed; inset:0;
  background:rgba(0,0,0,.5); z-index:400;
  backdrop-filter:blur(2px);
}
.cart-overlay.open { display:block; }
.cart-drawer {
  position:fixed; right:-100%; top:0; bottom:0; width:min(100vw,420px);
  background:var(--card); box-shadow:-4px 0 24px rgba(0,0,0,.18);
  z-index:401; display:flex; flex-direction:column;
  transition:right .3s ease;
}
.cart-drawer.open { right:0; }
.cart-hd {
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px; border-bottom:1.5px solid var(--border);
  flex-shrink:0;
}
.cart-hd h3 { font-size:1.125rem; font-weight:900; }
.cart-close {
  width:32px; height:32px; border-radius:50%;
  background:var(--card-hover); font-size:1.25rem;
  display:flex; align-items:center; justify-content:center;
}
.cart-nudge {
  background:var(--gold-l); border-bottom:1.5px solid var(--gold);
  padding:8px 14px; font-size:.8125rem; color:var(--gold);
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  flex-shrink:0;
}
.cart-nudge button {
  background:var(--gold); color:#fff;
  border-radius:7px; padding:4px 10px; font-size:.75rem; font-weight:700;
}
/* Botão "Adicionar Novos Itens" */
.cart-add-more {
  padding:10px 14px 0; flex-shrink:0;
}
.btn-add-more {
  width:100%; padding:10px; border-radius:var(--rs);
  background:var(--card-hover); border:1.5px dashed var(--red-border);
  color:var(--red); font-weight:800; font-size:.875rem;
  transition:background .12s, border-color .12s;
}
.btn-add-more:hover { background:var(--red-tint); border-color:var(--red); }
.cart-body { flex:1; overflow-y:auto; padding:12px 14px; }
.cart-empty { text-align:center; padding:32px 0; color:var(--muted); font-size:.9375rem; }
.cart-empty-icon { font-size:2.5rem; margin-bottom:8px; }
.cart-item {
  display:flex; align-items:flex-start; justify-content:space-between; gap:10px;
  border-bottom:1.5px solid var(--border); padding:10px 0;
}
.ci-info  { flex:1; min-width:0; }
.ci-name  { font-size:.9375rem; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ci-meta  { font-size:.75rem; color:var(--muted); margin-top:2px; }
.ci-price { font-size:.875rem; font-weight:800; color:var(--red); margin-top:4px; }
.ci-qty   { display:flex; align-items:center; gap:6px; flex-shrink:0; }
.cart-ft  { border-top:1.5px solid var(--border); padding:14px 16px; flex-shrink:0; }

/* Cupom no Carrinho */
.coupon-section { margin-bottom:10px; }
.coupon-row { display:flex; gap:8px; }
.coupon-input { flex:1; font-size:.875rem; padding:8px 10px; }
.btn-coupon-apply {
  background:var(--red); color:#fff;
  border-radius:var(--rs); padding:8px 14px;
  font-weight:800; font-size:.8125rem;
  white-space:nowrap; transition:background .12s;
}
.btn-coupon-apply:hover { background:var(--red-d); }
.coupon-result {
  margin-top:8px; font-size:.8125rem;
  padding:6px 10px;
  background:rgba(34,197,94,.08); border:1.5px solid rgba(34,197,94,.35);
  border-radius:var(--rs); color:#166534;
}
.cart-total-row {
  display:flex; justify-content:space-between; align-items:center;
  font-size:.875rem; margin-bottom:4px;
}
.cart-total-label { font-weight:700; }
.cart-total-val   { font-weight:900; font-size:1rem; color:var(--red); }

/* ── Modais ──────────────────────────────────────────────────── */
.modal-overlay {
  display:none; position:fixed; inset:0;
  background:rgba(0,0,0,.5); z-index:500;
  align-items:flex-end; justify-content:center;
  backdrop-filter:blur(3px);
}
.modal-overlay.open { display:flex; }
.modal-box {
  background:var(--card); border-radius:20px 20px 0 0;
  padding:20px 18px 32px;
  width:100%; max-width:520px;
  max-height:90vh; overflow-y:auto;
  animation:slideUp .3s ease;
}
@keyframes slideUp { from{transform:translateY(100%)} to{transform:translateY(0)} }
.modal-handle {
  width:40px; height:4px; border-radius:2px;
  background:var(--border); margin:0 auto 16px;
}
.modal-title  { font-size:1.125rem; font-weight:900; margin-bottom:14px; }
.modal-footer { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
.modal-footer .btn-primary  { flex:1; }
.modal-footer .btn-secondary{ flex:1; }

/* ── Pop-up de Adoçamento ────────────────────────────────────── */
.sw-hd { text-align:center; margin-bottom:14px; }
.sw-emoji { font-size:2rem; display:block; margin-bottom:4px; }
.sw-name  { font-size:1rem; font-weight:900; }
.sw-sub   { font-size:.8125rem; color:var(--muted); }
.sw-row {
  display:flex; align-items:flex-start; justify-content:space-between; gap:10px;
  padding:10px 0; border-bottom:1.5px solid var(--border);
}
.sw-label  { font-size:.9375rem; font-weight:700; }
.sw-detail { font-size:.75rem; color:var(--muted); }
.sw-qty    { display:flex; align-items:center; gap:6px; flex-shrink:0; }
.sw-num    { font-size:.9375rem; font-weight:800; min-width:20px; text-align:center; }
.sub-sw { display:flex; gap:6px; flex-wrap:wrap; margin-top:6px; }
.sub-sw-btn {
  padding:4px 10px; border-radius:20px; font-size:.72rem; font-weight:700;
  background:var(--card-hover); border:1.5px solid var(--border);
  transition:background .12s,color .12s,border-color .12s;
}
.sub-sw-btn.active { background:var(--red); color:#fff; border-color:var(--red); }
.sw-valid { font-size:.78rem; font-weight:700; text-align:center; margin-top:8px; min-height:18px; }
.sw-valid.ok  { color:var(--green); }
.sw-valid.err { color:var(--red); }

/* ── Upsell ──────────────────────────────────────────────────── */
.upsell-center { text-align:center; }
.upsell-emoji  { font-size:3rem; display:block; margin-bottom:8px; }
.upsell-price  { font-size:1.5rem; font-weight:900; color:var(--red); margin-bottom:12px; }
.upsell-qty-row { display:flex; align-items:center; justify-content:center; gap:12px; margin-bottom:14px; }
.qty-lg     { width:36px; height:36px; border-radius:8px; background:var(--red); color:#fff; font-size:1.25rem; font-weight:900; display:flex; align-items:center; justify-content:center; }
.qty-lg-val { font-size:1.25rem; font-weight:900; min-width:32px; text-align:center; }

/* ── Checkout ────────────────────────────────────────────────── */
.checkout-total { display:flex; justify-content:space-between; align-items:center; padding:10px 12px; background:var(--red-tint); border:1.5px solid var(--red-border); border-radius:var(--rs); margin-bottom:14px; }
.pay-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.pay-btn {
  padding:10px; border-radius:var(--rs);
  background:var(--card-hover); border:1.5px solid var(--border);
  font-weight:700; font-size:.875rem; color:var(--muted);
  transition:background .12s,border-color .12s,color .12s;
}
.pay-btn.active { background:var(--red-tint); border-color:var(--red); color:var(--red); }

/* ── PIX ─────────────────────────────────────────────────────── */
.pix-code-box {
  background:#f0f0f0; border-radius:var(--rs); padding:12px;
  font-family:monospace; font-size:.7rem; word-break:break-all;
  margin-bottom:10px; border:1.5px solid var(--border);
}
.pix-status { font-size:.875rem; font-weight:700; color:var(--muted); margin-bottom:14px; }
.pix-status.paid { color:var(--green); }

/* ── Auth ────────────────────────────────────────────────────── */
.auth-tabs { display:flex; gap:0; margin-bottom:16px; border-radius:var(--rs); overflow:hidden; border:1.5px solid var(--border); }
.auth-tab {
  flex:1; text-align:center; padding:9px;
  font-weight:700; font-size:.875rem; cursor:pointer; color:var(--muted);
  transition:background .12s,color .12s;
}
.auth-tab.active { background:var(--red); color:#fff; }

/* Avatar Upload */
.avatar-upload-wrap { display:flex; align-items:center; gap:12px; }
.avatar-preview {
  width:54px; height:54px; border-radius:50%;
  background:var(--red-tint); border:1.5px solid var(--red-border);
  display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; overflow:hidden; flex-shrink:0;
}

/* Seletor de entrega */
.same-delivery-toggle { display:flex; gap:8px; }
.same-del-btn {
  flex:1; padding:9px 8px; border-radius:var(--rs);
  background:var(--card-hover); border:1.5px solid var(--border);
  font-weight:700; font-size:.8125rem; color:var(--muted);
  transition:background .12s,border-color .12s,color .12s;
}
.same-del-btn.active { background:var(--red-tint); border-color:var(--red); color:var(--red); }

/* ── MFA Modal ───────────────────────────────────────────────── */
.mfa-code-display {
  font-size:2.5rem; font-weight:900; letter-spacing:.5rem;
  color:var(--red); background:var(--red-tint);
  border:2px dashed var(--red-border); border-radius:var(--rs);
  padding:18px; margin:0 auto;
  display:inline-block;
  font-family:monospace;
}
.mfa-error {
  color:var(--red); font-size:.8125rem; font-weight:700;
  background:rgba(229,9,20,.08); border-radius:var(--rs);
  padding:7px 10px; margin:8px 0;
  text-align:center;
}

/* ── Painel do Cliente ───────────────────────────────────────── */
.cust-header {
  display:flex; align-items:center; gap:12px; margin-bottom:14px;
  padding-bottom:12px; border-bottom:1.5px solid var(--border);
}
.cust-avatar {
  width:56px; height:56px; border-radius:50%;
  background:var(--red); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:1.375rem; font-weight:900; flex-shrink:0; overflow:hidden;
}
.cust-rank-section {
  padding:12px; background:var(--red-tint);
  border:1.5px solid var(--red-border); border-radius:var(--rs);
  margin-bottom:14px;
}
.rank-badge {
  display:inline-flex; align-items:center; gap:5px;
  border:1.5px solid; border-radius:20px;
  padding:4px 12px; font-size:.875rem; font-weight:800;
  margin-bottom:8px;
}
.rank-progress-bar-wrap {
  width:100%; height:6px; background:var(--border); border-radius:3px;
  margin-bottom:5px; overflow:hidden;
}
.rank-progress-bar-fill {
  height:100%; border-radius:3px; transition:width .5s ease;
}
.rank-progress-label { font-size:.72rem; color:var(--muted); }
.cust-cashback-box {
  display:flex; align-items:center; justify-content:space-between;
  margin-top:8px;
}
.cust-cashback-label { font-size:.8125rem; font-weight:700; }
.cust-cashback-val   { font-size:1rem; font-weight:900; color:var(--green); }
.cust-inner-tabs {
  display:flex; gap:0; border:1.5px solid var(--border);
  border-radius:var(--rs); overflow:hidden; margin-bottom:14px;
}
.cust-inner-tab {
  flex:1; padding:8px 4px; font-size:.7rem; font-weight:700; cursor:pointer;
  background:var(--card-hover); color:var(--muted); text-align:center;
  border-right:1px solid var(--border); transition:background .12s,color .12s;
}
.cust-inner-tab:last-child { border-right:none; }
.cust-inner-tab.active { background:var(--red); color:#fff; border-color:var(--red); }
.cust-tab-panel { min-height:60px; }

/* Order History */
.oh-item {
  padding:10px; background:var(--red-tint);
  border:1.5px solid var(--red-border); border-radius:var(--rs);
  margin-bottom:8px;
}
.oh-id    { font-size:.75rem; font-weight:700; color:var(--muted); }
.oh-total { font-weight:900; color:var(--red); }
.oh-date  { font-size:.72rem; color:var(--muted); margin-top:2px; }
.oh-items { font-size:.75rem; margin-top:4px; color:var(--text); }

/* Favoritos */
.sugg-chips { display:flex; flex-wrap:wrap; gap:6px; }
.sugg-chip {
  background:var(--red-tint); border:1.5px solid var(--red-border);
  color:var(--red); border-radius:20px; padding:5px 12px;
  font-size:.8rem; font-weight:700; cursor:pointer;
  transition:background .12s;
}
.sugg-chip:hover { background:var(--red); color:#fff; }

/* ── Indique e Ganhe ─────────────────────────────────────────── */
.referral-section {
  background:var(--red-tint); border:1.5px solid var(--red-border);
  border-radius:var(--rs); padding:14px;
}
.referral-title { font-size:.9375rem; font-weight:900; margin-bottom:6px; }
.referral-desc  { font-size:.8125rem; color:var(--muted); margin-bottom:10px; line-height:1.5; }
.referral-code-box {
  display:flex; align-items:center; gap:10px;
  background:var(--card); border:1.5px dashed var(--red);
  border-radius:var(--rs); padding:10px;
  margin-bottom:8px;
}
.referral-code {
  font-family:monospace; font-size:1.125rem; font-weight:900;
  color:var(--red); letter-spacing:.1em; flex:1;
}
.btn-copy-ref {
  background:var(--red); color:#fff; border-radius:7px;
  padding:6px 12px; font-size:.78rem; font-weight:700;
  white-space:nowrap;
}
.referral-stats { font-size:.78rem; }

/* ── Reviews Modal ───────────────────────────────────────────── */
.star-rating { display:flex; gap:6px; margin-top:4px; }
.star {
  font-size:2rem; cursor:pointer; color:#ccc;
  transition:color .12s,transform .12s;
}
.star:hover { transform:scale(1.15); }
.star.active { color:var(--gold); }
.review-photo-wrap { display:flex; align-items:center; gap:10px; }
.review-photo-name { font-size:.75rem; color:var(--muted); }
.review-photo-preview { margin-top:4px; }
.review-coupon-note {
  font-size:.75rem; color:var(--gold); margin-top:6px; font-style:italic;
}

/* Reviews List */
.review-item {
  background:var(--red-tint); border:1.5px solid var(--red-border);
  border-radius:var(--rs); padding:10px; margin-bottom:8px;
}
.review-item-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:5px; }
.review-item-product { font-weight:700; font-size:.875rem; }
.review-item-stars   { color:var(--gold); font-size:.875rem; }
.review-item-comment { font-size:.8125rem; color:var(--text); line-height:1.5; }
.review-has-photo    { font-size:.72rem; color:var(--muted); margin-top:4px; }
.review-coupon-earned { font-size:.78rem; color:var(--green); font-weight:700; margin-top:3px; }
.review-admin-reply  {
  background:#f0f0f0; border-radius:6px; padding:6px 8px;
  font-size:.78rem; color:var(--text); margin-top:6px;
}
.review-item-date { font-size:.7rem; color:var(--muted); margin-top:4px; }

/* ── Calculadora de Festas ───────────────────────────────────── */
.party-result {
  display:none; margin-top:14px;
  background:var(--red-tint); border:2px solid var(--red-border);
  border-radius:var(--radius); padding:14px;
}
.party-result.visible { display:block; }
.party-big {
  font-size:2.75rem; font-weight:900; color:var(--red);
  line-height:1; margin-bottom:4px;
}
.party-sub {
  font-size:.78rem; color:var(--muted); margin-bottom:10px;
}

/* Breakdown do cálculo */
.party-breakdown {
  background:#fff; border:1.5px solid var(--red-border);
  border-radius:var(--rs); padding:10px 12px;
  margin-bottom:12px; font-size:.8rem;
}
.party-breakdown:empty { display:none; }
.party-breakdown-row {
  display:flex; justify-content:space-between; align-items:baseline;
  padding:4px 0; border-bottom:1px dashed var(--border);
  gap:8px;
}
.party-breakdown-row:last-child { border-bottom:none; }
.party-breakdown-row span { color:var(--muted); }
.party-breakdown-row strong { white-space:nowrap; }
.party-breakdown-total {
  margin-top:4px; padding-top:6px;
  border-top:2px solid var(--red-border) !important;
  border-bottom:none !important;
  font-weight:700;
}
.party-breakdown-total span { color:var(--text) !important; font-weight:700; }
.party-breakdown-sugg {
  background:var(--red-tint); border-radius:var(--rs);
  padding:6px 8px !important; margin-top:4px;
  border-bottom:none !important;
}
.party-breakdown-sugg span { color:var(--red) !important; font-weight:700; }

/* Banner comercial */
.party-cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, #c00 100%);
  border-radius:var(--rs); padding:12px; margin-top:12px; color:#fff;
}
.party-cta-title { font-size:.875rem; font-weight:800; margin-bottom:4px; }
.party-cta-sub   { font-size:.75rem; opacity:.85; margin-bottom:8px; }
.party-cta-trio  { display:flex; gap:6px; flex-wrap:wrap; }
.party-trio-tag  {
  background:rgba(255,255,255,.2); border-radius:20px;
  padding:3px 10px; font-size:.75rem; font-weight:700;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background:var(--text); color:#fff;
  padding:20px 16px; text-align:center;
}
.footer-brand  { font-size:1.25rem; font-weight:900; margin-bottom:6px; }
.footer-legal  { font-size:.75rem; opacity:.65; margin-bottom:10px; line-height:1.6; }
.footer-links  { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.footer-link   { color:rgba(255,255,255,.8); font-size:.8rem; font-weight:700; transition:color .12s; }
.footer-link:hover { color:#fff; }

/* ── WhatsApp Flutuante ──────────────────────────────────────── */
#floatWa {
  position:fixed; bottom:24px; right:16px; z-index:300;
  width:54px; height:54px; border-radius:50%;
  background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:1.5rem; box-shadow:0 4px 16px rgba(37,211,102,.5);
  transition:transform .15s,box-shadow .15s;
  text-decoration:none;
}
#floatWa:hover { transform:scale(1.1); box-shadow:0 6px 22px rgba(37,211,102,.65); }

/* ── Toast ───────────────────────────────────────────────────── */
#toastZone {
  position:fixed; bottom:80px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  z-index:999; pointer-events:none; max-width:90vw;
}
.toast {
  padding:10px 18px; border-radius:20px; font-size:.875rem; font-weight:700;
  box-shadow:0 4px 14px rgba(0,0,0,.18); animation:fadeIn .2s ease;
  pointer-events:auto; max-width:300px; text-align:center;
}
.toast.ok  { background:var(--green); color:#fff; }
.toast.err { background:var(--red);   color:#fff; }
.toast.inf { background:var(--text);  color:#fff; }
@keyframes fadeIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }

/* ── Responsive ──────────────────────────────────────────────── */
@media(max-width:360px) {
  .tab-label { display:none; }
  .tab-icon  { font-size:1.125rem; }
  .tab-item  { padding:10px 4px; }
}
@media(min-width:600px) {
  .page-inner { padding:24px 20px 100px; }
  .pl-name    { font-size:1rem; }
  .modal-overlay { align-items:center; }
  .modal-box { border-radius:var(--radius); padding:24px; }
}

/* ═══════════════════════════════════════════════════════════════
   DESKTOP / PC — Media Query >= 768px
   Remove restrições mobile, expande para grade responsiva.
   ═══════════════════════════════════════════════════════════════ */
@media(min-width:768px) {
  /* ── Página mais larga no desktop ── */
  .page-inner {
    max-width: 960px;
    padding: 28px 32px 100px;
  }

  /* ── Produtos em grade CSS Grid responsiva ── */
  .product-list-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
  }

  /* ── Calculadora: formulário + resultado lado a lado ── */
  .calc-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
  .calc-img-below {
    /* Imagem permanece embaixo do formulário na coluna direita */
    order: 2;
  }

  /* ── Dentro do card de formulário: inputs em 2 colunas ── */
  .calc-section .card {
    order: 1;
  }

  /* ── Fachada mais alta no desktop ── */
  .fachada-full {
    aspect-ratio: 21/7;
    min-height: 280px;
  }

  /* ── Depoimentos em 3 colunas ── */
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ── Carrinho mais largo ── */
  .cart-drawer {
    width: 480px;
  }

  /* ── Kits em grade ── */
  .kit-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ── Info Block horizontal ── */
  .info-block {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  .info-item {
    flex: 1;
    min-width: 200px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   NOVOS ELEMENTOS v7
   ═══════════════════════════════════════════════════════════════ */

/* ── Cardápio Sticky Controls ─────────────────────────────────── */
/*
 * Pilha de elementos sticky (de cima para baixo):
 *   #alertBar      → top: 0;           height ≈ 32px  z-index: 200
 *   header         → top: 32px;        height: 58px   z-index: 190
 *   .tab-nav       → top: 90px;        height: 52px   z-index: 180
 *   sticky-controls→ top: 142px;       height ≈ 52px  z-index: 150
 *
 * --page-offset = calc(--header-h + --nav-h + 32px) = 142px  (definido no :root)
 * Usamos a variável para manter tudo sincronizado se algum valor mudar.
 */
.cardapio-sticky-controls {
  position: sticky;
  top: var(--page-offset);   /* 32px alertBar + 58px header + 52px tab-nav = 142px */
  z-index: 150;              /* abaixo de tab-nav (180) mas acima do conteúdo */
  background: var(--card);
  border-bottom: 1.5px solid var(--border);
  padding: 10px 0 8px;
  margin-bottom: 0;
  /* Sombra discreta para separar visualmente a barra do conteúdo abaixo */
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
}

/* Títulos de seção (Padrão / Premium):
 * scroll-margin-top garante que ao navegar por âncora o título não fique
 * oculto atrás das 3 barras fixas + a própria sticky-controls.
 * Valor = page-offset (142px) + altura aprox. da sticky-controls (52px) + folga (8px) = 202px
 */
.cardapio-section-label {
  scroll-margin-top: calc(var(--page-offset) + 60px);
  padding-top: 20px !important;   /* espaço visual confortável abaixo da barra */
  margin-top: 0;
}


/* ── Premium vs Padrão visual distinction ─────────────────────── */
/* Label e linha Premium: dourado comercial escuro (#92400e) */
.pl-row.is-premium .pl-price,
.pl-row.is-premium .pl-meta,
.pl-row.is-premium .pl-name-text {
  color: #92400e;
  font-weight: 800;
}
.pl-row.is-premium {
  background: linear-gradient(90deg, #FFFBEB 0%, transparent 100%);
  border-left: 3px solid #D97706;
}

/* Linha Padrão: neutra e discreta */
.pl-row.is-padrao .pl-price {
  color: var(--muted);
  font-weight: 600;
}
.pl-row.is-padrao .pl-meta {
  color: var(--muted);
}
.pl-row.is-padrao .pl-name-text {
  font-weight: 600;
  color: var(--text);
}

/* Valores Premium — dourado escuro (usado em price-list renderizada) */
.price-premium {
  color: #92400e !important;
  font-weight: 800;
}

/* ── Upsell size selector ─────────────────────────────────────── */
.upsell-size-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}
.upsell-size-btn {
  padding: 8px 18px;
  border: 2px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  font-size: .875rem;
  font-weight: 700;
  color: var(--muted);
  transition: all .18s;
}
.upsell-size-btn.active {
  border-color: var(--green);
  background: #f0fdf4;
  color: #166534;
}

/* ── Turno de Entrega badge (order row) ──────────────────────── */
.turno-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 700;
  background: #EEF2FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
  border-radius: 12px;
  padding: 2px 8px;
  margin-top: 3px;
}

/* ── form-select (select styled as form-input) ───────────────── */
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* ── Promo styling in product cards ──────────────────────────── */
.pl-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.price-original-strike {
  font-size: .72rem;
  color: var(--muted);
  text-decoration: line-through;
}
.promo-tag {
  font-size: .63rem;
  font-weight: 800;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  padding: 1px 6px;
  letter-spacing: .03em;
}
.price-promo-active {
  font-size: 1rem;
  font-weight: 900;
  color: var(--red);
}

/* ═══════════════════════════════════════════════════════════════
   AVALIAÇÕES DE CLIENTES — Header, Filtro e Feed Container
   ═══════════════════════════════════════════════════════════════ */
.community-header {
  text-align: center;
  padding: 28px 16px 20px;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 20px;
}
.community-header-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}
.community-title {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--text);
  margin: 0 0 6px;
  letter-spacing: -.3px;
}
.community-sub {
  font-size: .8125rem;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.5;
}
.comm-stats-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-tint);
  border: 1.5px solid var(--red-border);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: .875rem;
}
.comm-avg {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.comm-stars-row { font-size: 1rem; letter-spacing: 1px; }
.comm-count { font-size: .75rem; color: var(--muted); font-weight: 600; }

/* Filtro por estrelas */
.community-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 4px;
  margin-bottom: 16px;
}
.comm-filter-btn {
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--card);
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all .18s;
}
.comm-filter-btn:hover { border-color: var(--red); color: var(--red); }
.comm-filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

/* Feed container */
.community-feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.community-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}


/* Card de avaliação */
.comm-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--rc);
  padding: 16px;
  transition: box-shadow .2s, transform .2s;
  animation: cardIn .3s ease both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.comm-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

/* Header do card: avatar + meta */
.comm-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.comm-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #c40812);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(229,9,20,.3);
  user-select: none;
}
.comm-meta { flex: 1; }
.comm-name {
  font-size: .9rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  line-height: 1.3;
}
.comm-neigh {
  font-size: .62rem;
  font-weight: 800;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 4px;
  padding: 1px 6px;
  letter-spacing: .04em;
}
.comm-date-row {
  font-size: .72rem;
  color: var(--muted);
  margin: 3px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.comm-order-tag {
  font-size: .65rem;
  font-weight: 700;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  border-radius: 4px;
  padding: 1px 6px;
}
.comm-stars {
  font-size: 1rem;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Comentário principal */
.comm-comment {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--text);
  text-align: justify;
  margin-bottom: 10px;
  word-break: break-word;
}

/* Foto expansível */
.comm-photo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  max-width: 100%;
}
.comm-photo {
  display: block;
  max-height: 200px;
  max-width: 100%;
  border-radius: 10px;
  object-fit: cover;
  transition: filter .2s;
}
.comm-photo-wrap:hover .comm-photo {
  filter: brightness(.85);
}
.comm-photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity .2s;
  background: rgba(0,0,0,.35);
  border-radius: 10px;
  letter-spacing: .04em;
}
.comm-photo-wrap:hover .comm-photo-overlay { opacity: 1; }

/* Resposta oficial Sattori */
.comm-reply {
  background: linear-gradient(135deg, #FFF7ED, #FFEDD5);
  border-left: 3px solid #F97316;
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  margin-top: 10px;
}
.comm-reply-badge {
  font-size: .68rem;
  font-weight: 800;
  color: #C2410C;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.comm-reply-text {
  font-size: .8125rem;
  line-height: 1.6;
  color: #7C2D12;
  text-align: justify;
}

/* Lightbox */
.comm-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.comm-lightbox.open {
  display: flex;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.comm-lightbox-inner {
  position: relative;
  max-width: 100%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comm-lightbox-inner img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
}
.comm-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
  transition: background .15s;
}
.comm-lightbox-close:hover { background: #c40812; }

/* CTA de avaliação no rodapé da aba */
.community-cta {
  background: var(--red-tint);
  border: 1.5px solid var(--red-border);
  border-radius: var(--rc);
  padding: 20px 16px;
  margin-bottom: 24px;
  text-align: center;
}

/* ── Controle de Estoque — Vitrine ─────────────────────────── */
/* Linha de produto esgotado: opacidade reduzida */
.out-of-stock-row {
  opacity: .65;
  filter: grayscale(40%);
}

/* Badge "Esgotado" exibido no lugar do preço */
.badge-esgotado {
  display: inline-block;
  background: #374151;
  color: #9CA3AF;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 3px 8px;
  border-radius: 999px;
  vertical-align: middle;
}

.out-of-stock-price {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ── Controle de Estoque — Admin (buildMenuEditor) ─────────── */
.me-stock-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  white-space: nowrap;
  margin-right: 4px;
}
.me-stock-btn.in-stock {
  background: rgba(34,197,94,.12);
  color: #166534;
  border-color: rgba(34,197,94,.3);
}
.me-stock-btn.in-stock:hover {
  background: rgba(34,197,94,.22);
}
.me-stock-btn.out-of-stock {
  background: rgba(156,163,175,.12);
  color: #374151;
  border-color: rgba(156,163,175,.35);
}
.me-stock-btn.out-of-stock:hover {
  background: rgba(156,163,175,.22);
}
