/* =========================================================================
   BRUTU'S DELIVERY — style.css
   -------------------------------------------------------------------------
   Identidade visual: churrasco/grelha noturna + carimbo de ferro em brasa.
   Fundo carvão, acento laranja-chama, selo circular "ferro em brasa" como
   elemento de assinatura (categorias, destaques, botão de enviar pedido).
   ========================================================================= */

/* ---------- Tokens ---------- */
:root{
  --bg: #14100d;
  --bg-elevated: #1c1610;
  --bg-card: #211a14;
  --bg-card-hover: #2a2118;
  --line: #33291f;

  --accent: #ff5a1f;       /* laranja-chama */
  --accent-dark: #d6480f;
  --ember: #ffb100;        /* amarelo-brasa */
  --whatsapp: #25d366;

  --text: #f6efe6;
  --text-dim: #b7a898;
  --text-faint: #83766a;

  --danger: #ff5a5a;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;

  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --shadow-card: 0 6px 20px rgba(0,0,0,.35);
  --shadow-pop: 0 12px 40px rgba(0,0,0,.5);

  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --header-height: 132px; /* valor de fallback — ajustado com precisão via JS */
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
img{ max-width:100%; display:block; }
button{ font-family: inherit; }
a{ color: inherit; }

/* subtle charred grain over the whole app, purely atmospheric */
body::before{
  content:"";
  position: fixed; inset:0;
  pointer-events:none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 15% -10%, rgba(255,90,31,.10), transparent 45%),
    radial-gradient(ellipse at 100% 0%, rgba(255,177,0,.06), transparent 40%);
}

.hidden{ display:none !important; }
.visually-hidden{
  position:absolute; width:1px; height:1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap;
}

/* ---------- Skip link (a11y) ---------- */
.skip-link{
  position:absolute; left:8px; top:-60px;
  background:var(--accent); color:#14100d; font-weight:700;
  padding:10px 14px; border-radius: var(--radius-s); z-index:999;
  transition: top .15s ease;
}
.skip-link:focus{ top:8px; }

/* ---------- Selo "ferro em brasa" (elemento de assinatura) ---------- */
.selo{
  position:relative;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:50%;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.selo::after{
  content:"";
  position:absolute; inset:4px;
  border-radius:50%;
  border:1px solid var(--ember);
  opacity:.55;
}

/* ---------- Header ---------- */
.app-header{
  position: sticky; top:0; z-index:40;
  background: #000000;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-top{
  display:flex; align-items:center; gap:12px;
  padding: 12px 16px;
  max-width: 720px; margin: 0 auto;
}
.logo-selo{
  width:44px; height:44px; flex: 0 0 auto;
  overflow:hidden;
}
.logo-selo img{ width:100%; height:100%; object-fit:cover; }
.brand-block{ min-width:0; flex:1; }
.brand-name{
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing:.5px;
  line-height:1;
  margin:0 0 2px;
  text-transform: uppercase;
  color: var(--text);
}
.brand-name .apostrofe{ color: var(--accent); }
.brand-meta{
  display:flex; align-items:center; gap:8px;
  font-size:12px; color: var(--text-dim);
  flex-wrap: wrap; row-gap:2px;
}
.brand-meta .dot{ color: var(--accent); }
.status-aberto{ color:#7be08a; }
.status-fechado{ color: var(--danger); }

/* ---------- Search ---------- */
.search-wrap{
  max-width: 720px; margin: 0 auto;
  padding: 0 16px 12px;
}
.search-box{
  display:flex; align-items:center; gap:8px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 10px 14px;
}
.search-box svg{ flex:0 0 auto; opacity:.7; }
.search-box input{
  flex:1; min-width:0;
  background:transparent; border:none; outline:none;
  color: var(--text); font-size:15px;
}
.search-box input::placeholder{ color: var(--text-faint); }

/* ---------- Category chips (sticky) ---------- */
.category-nav{
  position: sticky; top: var(--header-height); z-index:39;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.category-scroll{
  max-width:720px; margin:0 auto;
  display:flex; gap:10px;
  overflow-x:auto;
  padding: 10px 16px;
  scrollbar-width:none;
}
.category-scroll::-webkit-scrollbar{ display:none; }
.chip{
  flex: 0 0 auto;
  display:flex; align-items:center; gap:7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text-dim);
  font-size: 13.5px; font-weight:600;
  white-space:nowrap;
  cursor:pointer;
}
.chip .chip-icon{ font-size:15px; line-height:1; }
.chip[aria-current="true"]{
  background: var(--accent);
  border-color: var(--accent);
  color: #1a0e07;
}

/* ---------- Main / Banner ---------- */
main{ max-width:720px; margin:0 auto; padding: 4px 16px 120px; position:relative; z-index:1; }

.hero-banner{
  position:relative;
  margin: 14px 0 18px;
  padding: 22px 18px;
  border-radius: var(--radius-l);
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  background:
    radial-gradient(120% 140% at 12% 15%, rgba(255,90,31,.22), transparent 60%),
    radial-gradient(90% 120% at 95% 100%, rgba(255,177,0,.12), transparent 65%),
    var(--bg-elevated);
  display:flex; align-items:center; gap:18px;
}
.hero-glow{
  position:absolute; top:-70px; right:-60px; width:220px; height:220px;
  background: radial-gradient(circle, rgba(255,177,0,.28), transparent 70%);
  pointer-events:none;
}
.hero-mascot{
  width:96px; height:96px; flex:0 0 auto; border-radius:50%;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.55));
  position:relative; z-index:1;
}
.hero-text{ flex:1; min-width:0; position:relative; z-index:1; }
.hero-title{
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(30px, 9vw, 46px);
  line-height: 1.02;
  margin: 0 0 6px;
  color: var(--accent);
  letter-spacing: .5px;
  text-shadow: 0 2px 0 rgba(0,0,0,.55), 0 0 28px rgba(255,90,31,.4);
}
.hero-slogan{
  margin: 0 0 12px;
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 600;
}
.hero-slogan.hidden{ display:none; }
.banner-tag{
  display:inline-block;
  background: rgba(20,16,13,.82);
  border: 1px solid var(--accent);
  color: var(--ember);
  font-family: var(--font-display);
  font-size: 12.5px; letter-spacing:.4px;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.banner-tag.hidden{ display:none; }

/* ---------- Banner promocional (imagem cheia) ----------
   Ativado automaticamente quando "bannerImagem" está preenchido em
   data/menu.json > restaurante. Some com o mascote/texto e mostra a
   imagem ocupando o banner inteiro. Pra voltar ao banner normal, basta
   deixar "bannerImagem": "" no menu.json. */
.hero-banner.modo-imagem{
  padding:0;
  background:none;
  display:block;
}
.hero-banner.modo-imagem .hero-glow,
.hero-banner.modo-imagem .hero-mascot,
.hero-banner.modo-imagem .hero-text{
  display:none;
}
.hero-banner-promo{
  display:block;
  width:100%;
  height:auto;
  border-radius: var(--radius-l);
}
.hero-banner-promo.hidden{ display:none; }

@media (max-width:400px){
  .hero-banner{ gap:12px; padding:18px 14px; }
  .hero-mascot{ width:76px; height:76px; }
}

/* ---------- Section headers ---------- */
.section-title{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing:.5px;
  font-size: 19px;
  margin: 22px 2px 10px;
  display:flex; align-items:center; gap:8px;
}
.section-title .selo{ width:26px; height:26px; font-size:13px; }

/* ---------- Product list (estilo app de delivery: foto + info em linha) ---------- */
.destaques-section{ margin: 0 0 6px; }
.destaques-scroll{
  display:flex; gap:12px;
  overflow-x:auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width:none;
}
.destaques-scroll::-webkit-scrollbar{ display:none; }
.destaque-card{
  flex: 0 0 130px; width:130px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 8px;
  cursor:pointer;
  text-align:left;
  color:inherit;
  scroll-snap-align:start;
  transition: background .15s ease, transform .1s ease;
}
.destaque-card:hover{ background: var(--bg-card-hover); }
.destaque-card:active{ transform: scale(.98); }
.destaque-card:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
.destaque-photo{
  width:100%; height:96px;
  border-radius: var(--radius-s);
  overflow:hidden;
  background: var(--bg-elevated);
  margin-bottom:7px;
  position:relative;
}
.destaque-photo img{ width:100%; height:100%; object-fit:cover; }
.destaque-nome{
  font-size:12.5px; font-weight:700; line-height:1.25;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden; min-height:2.4em;
}
.destaque-preco{ font-size:13px; font-weight:800; color: var(--ember); margin-top:4px; }

.product-grid{
  display:flex; flex-direction:column; gap:10px;
}
.product-card{
  display:flex; gap:12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 10px;
  cursor:pointer;
  text-align:left;
  width:100%;
  color:inherit;
  position:relative;
  transition: background .15s ease, transform .1s ease;
}
.product-card:hover{ background: var(--bg-card-hover); }
.product-card:active{ transform: scale(.99); }
.product-card:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
.product-photo{
  flex: 0 0 92px;
  width:92px; height:92px;
  border-radius: var(--radius-s);
  overflow:hidden;
  background: var(--bg-elevated);
  position:relative;
}
.product-photo img{ width:100%; height:100%; object-fit:cover; }
.badge-destaque{
  position:absolute; top:-6px; left:-6px;
  width:34px; height:34px;
  background: var(--bg);
  font-size:9.5px; font-weight:800;
  font-family: var(--font-display);
  letter-spacing:.3px;
  transform: rotate(-14deg);
  text-align:center;
  line-height:1.05;
  padding-top:5px;
}
.badge-lancamento{
  position:absolute; bottom:4px; left:4px; z-index:1;
  background: rgba(20,16,13,.85); backdrop-filter: blur(4px);
  color:#5ee08a; font-size:9.5px; font-weight:800;
  padding:3px 7px; border-radius:999px;
  text-transform:uppercase; letter-spacing:.02em;
  white-space:nowrap;
}
.product-info{ flex:1; min-width:0; display:flex; flex-direction:column; }
.product-name{ font-size:15.5px; font-weight:700; margin:2px 0 3px; }
.product-desc{
  font-size:12.5px; color: var(--text-dim);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden; line-height:1.35;
}
.product-bottom{
  margin-top:auto;
  display:flex; align-items:center; justify-content:space-between;
  padding-top:8px;
}
.product-price{ font-weight:800; color: var(--ember); font-size:15px; }
.btn-add-mini{
  width:32px; height:32px; border-radius:50%;
  border:none; background: var(--accent); color:#1a0e07;
  font-size:19px; font-weight:800; line-height:1;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; padding:0; font-family:inherit;
}
.btn-add-mini:focus-visible{ outline:2px solid var(--ember); outline-offset:2px; }
.empty-state{
  text-align:center; color: var(--text-dim);
  padding: 40px 20px;
}

/* ---------- Overlay base (modal produto / carrinho) ---------- */
.overlay{
  position: fixed; inset:0; z-index:100;
  background: rgba(10,8,6,.6);
  display:flex; align-items:flex-end;
}
.overlay.center{ align-items:center; justify-content:center; padding:16px; }
.sheet{
  background: var(--bg-elevated);
  width:100%; max-width:720px;
  max-height:92vh;
  margin:0 auto;
  border-radius: var(--radius-l) var(--radius-l) 0 0;
  overflow-y:auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-pop);
  animation: slideUp .22s ease-out;
}
.overlay.center .sheet{ border-radius: var(--radius-l); max-height:88vh; }
@keyframes slideUp{
  from{ transform: translateY(24px); opacity:0; }
  to{ transform: translateY(0); opacity:1; }
}
.sheet-close{
  position: sticky; top:10px; float:right; margin-right:10px;
  width:34px; height:34px; border-radius:50%;
  border:1px solid var(--line); background: rgba(20,16,13,.8);
  color: var(--text); font-size:18px; cursor:pointer; z-index:5;
}

/* ---------- Modal produto ---------- */
.product-modal-photo{ width:100%; height:230px; object-fit:cover; }
.product-modal-body{ padding: 16px 18px 18px; }
.product-modal-title{ font-family: var(--font-display); font-size:22px; text-transform:uppercase; margin:0 0 6px; letter-spacing:.3px; }
.product-modal-desc{ color: var(--text-dim); font-size:14px; line-height:1.5; margin-bottom:14px; }

.info-block{ margin-bottom:16px; }
.info-block h3{
  font-size:12px; text-transform:uppercase; letter-spacing:.6px;
  color: var(--accent); margin:0 0 8px; font-weight:700;
}
.tag-list{ display:flex; flex-wrap:wrap; gap:6px; }
.tag{
  font-size:12px; padding:5px 10px; border-radius:999px;
  background: var(--bg-card); border:1px solid var(--line); color: var(--text-dim);
}

.addon-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0; border-bottom:1px solid var(--line);
}
.addon-row:last-child{ border-bottom:none; }
.addon-label{ font-size:14px; }
.addon-price{ font-size:12.5px; color: var(--text-dim); }
.addon-check{ display:flex; align-items:center; gap:10px; }
.checkbox{
  width:22px; height:22px; border-radius:6px;
  border:1.5px solid var(--line); background: var(--bg-card);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; flex:0 0 auto;
}
.checkbox[aria-checked="true"]{ background: var(--accent); border-color: var(--accent); }
.checkbox svg{ opacity:0; }
.checkbox[aria-checked="true"] svg{ opacity:1; }

.addon-group-title{
  font-size:12.5px; font-weight:700; color: var(--accent);
  text-transform:uppercase; letter-spacing:.02em;
  padding:10px 0 4px;
}
.addon-lanche-group + .addon-lanche-group{
  margin-top:6px; padding-top:6px; border-top:1px dashed var(--line);
}
.radio{
  width:22px; height:22px; border-radius:50%;
  border:1.5px solid var(--line); background: var(--bg-card);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; flex:0 0 auto;
}
.radio::after{
  content:""; width:11px; height:11px; border-radius:50%;
  background: var(--accent); opacity:0;
}
.radio[aria-checked="true"]{ border-color: var(--accent); }
.radio[aria-checked="true"]::after{ opacity:1; }

textarea.obs-input, input.text-input{
  width:100%;
  background: var(--bg-card);
  border:1px solid var(--line);
  border-radius: var(--radius-s);
  color: var(--text);
  padding:11px 12px;
  font-size:14px;
  font-family: inherit;
  resize:vertical;
}
textarea.obs-input:focus, input.text-input:focus, select.text-input:focus{
  outline:2px solid var(--accent); outline-offset:1px;
}

.qty-stepper{
  display:flex; align-items:center; gap:14px;
}
.qty-btn{
  width:38px; height:38px; border-radius:50%;
  border:1px solid var(--accent); background:transparent; color: var(--accent);
  font-size:20px; font-weight:800; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.qty-value{ font-size:17px; font-weight:700; min-width:22px; text-align:center; }

.modal-footer{
  position: sticky; bottom:0;
  background: var(--bg-elevated);
  border-top:1px solid var(--line);
  padding: 12px 18px calc(14px + var(--safe-bottom));
  display:flex; align-items:center; gap:12px;
}
.modal-footer .qty-stepper{ flex: 0 0 auto; }
.btn-primary{
  flex:1;
  background: var(--accent);
  color:#1a0e07;
  border:none; border-radius: var(--radius-m);
  padding:14px 16px;
  font-weight:800; font-size:15px;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  cursor:pointer;
}
.btn-primary:disabled{ opacity:.5; cursor:not-allowed; }
.btn-primary .preco{ font-family: var(--font-body); }

/* ---------- Barra flutuante do carrinho ---------- */
.cart-bar{
  position: fixed; left:0; right:0; bottom:0; z-index:60;
  padding: 0 16px calc(14px + var(--safe-bottom));
  display:flex; justify-content:center;
  pointer-events:none;
}
.cart-bar-inner{
  pointer-events:auto;
  width:100%; max-width:688px;
  background: var(--accent);
  color:#1a0e07;
  border-radius: var(--radius-m);
  padding: 13px 16px;
  display:flex; align-items:center; justify-content:space-between;
  box-shadow: 0 8px 26px rgba(255,90,31,.35);
  cursor:pointer;
  border:none;
  font-family:inherit;
}
.cart-bar-count{
  display:flex; align-items:center; gap:10px; font-weight:700; font-size:14.5px;
}
.cart-bar-badge{
  background:#1a0e07; color: var(--ember);
  width:24px; height:24px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:12.5px; font-weight:800;
}
.cart-bar-cta{ display:flex; align-items:center; gap:8px; font-weight:800; }

/* ---------- Carrinho (sheet) ---------- */
.cart-header{ padding: 16px 18px 4px; }
.cart-title{ font-family: var(--font-display); text-transform:uppercase; font-size:22px; margin:0; letter-spacing:.3px; }
.loja-fechada-aviso{
  margin: 0 18px 10px;
  background: rgba(255,90,90,.12);
  border: 1px solid var(--danger);
  color: var(--danger);
  font-size: 12.5px; font-weight:600; line-height:1.5;
  padding: 10px 12px;
  border-radius: var(--radius-s);
}
.cart-items{ padding: 6px 18px; display:flex; flex-direction:column; gap:12px; }
.cart-item{
  display:flex; gap:12px; align-items:flex-start;
  background: var(--bg-card); border:1px solid var(--line);
  border-radius: var(--radius-s); padding:10px 12px;
}
.cart-item-qty{
  font-family: var(--font-display); color: var(--accent);
  font-size:16px; min-width:28px;
}
.cart-item-info{ flex:1; min-width:0; }
.cart-item-name{ font-weight:700; font-size:14.5px; }
.cart-item-addons{ font-size:12px; color: var(--text-dim); margin-top:2px; line-height:1.5; }
.cart-item-obs{ font-size:12px; color: var(--ember); margin-top:2px; font-style:italic; }
.cart-item-side{ display:flex; flex-direction:column; align-items:flex-end; gap:6px; }
.cart-item-price{ font-weight:700; font-size:14px; }
.mini-stepper{
  display:flex; align-items:center; gap:8px;
}
.mini-qty-btn{
  width:24px; height:24px; border-radius:50%;
  border:1px solid var(--accent); background:transparent; color: var(--accent);
  font-size:14px; font-weight:800; cursor:pointer; padding:0;
  display:flex; align-items:center; justify-content:center; font-family:inherit;
}
.mini-qty-btn:focus-visible{ outline:2px solid var(--ember); outline-offset:2px; }
.mini-qty-value{ font-size:13px; font-weight:700; min-width:14px; text-align:center; }
.cart-item-remove{
  background:none; border:none; color: var(--text-faint);
  font-size:11.5px; text-decoration:underline; cursor:pointer; padding:0;
}

.cart-summary{
  margin: 14px 18px 0;
  border-top:1px dashed var(--line);
  padding-top:12px;
}
.summary-row{ display:flex; justify-content:space-between; font-size:14px; padding:4px 0; color: var(--text-dim); }
.summary-row.total{ color: var(--text); font-size:17px; font-weight:800; padding-top:8px; border-top:1px solid var(--line); margin-top:6px; }
.summary-row.total .valor{ color: var(--ember); }

.form-section{ padding: 18px; }
.form-section h3{
  font-size:12px; text-transform:uppercase; letter-spacing:.6px;
  color: var(--accent); margin:0 0 10px; font-weight:700;
}
.field{ margin-bottom:12px; }
.field label{ display:block; font-size:12.5px; color: var(--text-dim); margin-bottom:6px; }
.field-row{ display:flex; gap:10px; }
.field-row .field{ flex:1; }

.segmented{ display:flex; gap:8px; margin-bottom:4px; }
.segmented button{
  flex:1; padding:11px; border-radius: var(--radius-s);
  border:1px solid var(--line); background: var(--bg-card);
  color: var(--text-dim); font-weight:700; font-size:13.5px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; gap:6px;
}
.segmented button[aria-pressed="true"]{
  background: var(--accent); border-color: var(--accent); color:#1a0e07;
}

.coupon-disclosure{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-s);
  background:var(--bg-card);color:var(--text);font-size:14px;font-weight:750;cursor:pointer;
}
.coupon-disclosure span{ color:var(--accent);transition:transform .2s ease; }
.coupon-disclosure[aria-expanded="true"] span{ transform:rotate(180deg); }
#cupom-content{ padding-top:12px; }
.pickup-card{
  margin-top:12px;padding:14px;border:1px solid rgba(255,177,0,.32);border-radius:14px;
  background:linear-gradient(135deg,rgba(255,90,31,.1),rgba(255,177,0,.045));
  display:grid;gap:5px;
}
.pickup-card strong{ color:var(--ember);font-size:14px; }
.pickup-card span{ font-size:14px;font-weight:750; }
.pickup-card small{ color:var(--text-dim);font-size:12.5px;line-height:1.45; }
.pickup-card div{ display:flex;gap:8px;margin-top:6px; }
.pickup-card button,.pickup-card a{
  flex:1;padding:9px 10px;border-radius:9px;border:1px solid var(--line);background:rgba(255,255,255,.055);
  color:var(--text);font-weight:700;font-size:12.5px;text-align:center;text-decoration:none;cursor:pointer;
}
.privacy-preference{ margin:2px 0 12px;padding:12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.025);display:grid;gap:8px; }
.privacy-preference label{ color:var(--text);font-size:13px;display:flex;align-items:center;gap:8px;cursor:pointer; }
.privacy-preference input{ width:18px;height:18px;accent-color:var(--accent); }
.privacy-preference button{ justify-self:start;border:0;background:none;color:var(--accent);padding:0;font-size:12.5px;text-decoration:underline;cursor:pointer; }
.privacy-preference small{ color:var(--text-faint);font-size:12px;line-height:1.4; }

.payment-options{ display:flex; flex-direction:column; gap:8px; }
.payment-option{
  display:flex; align-items:center; gap:10px;
  border:1px solid var(--line); background: var(--bg-card);
  border-radius: var(--radius-s); padding:12px;
  cursor:pointer;
}
.payment-option[aria-pressed="true"]{ border-color: var(--accent); }
.radio-dot{
  width:18px; height:18px; border-radius:50%;
  border:1.5px solid var(--line); flex:0 0 auto;
  display:flex; align-items:center; justify-content:center;
}
.payment-option[aria-pressed="true"] .radio-dot{ border-color: var(--accent); }
.radio-dot::after{
  content:""; width:10px; height:10px; border-radius:50%;
  background: var(--accent); transform: scale(0);
  transition: transform .12s ease;
}
.payment-option[aria-pressed="true"] .radio-dot::after{ transform: scale(1); }

.troco-resultado{
  margin-top:8px; padding:10px 12px;
  border-radius: var(--radius-s);
  font-size:14px; font-weight:600;
  background: var(--bg-card); border:1px solid var(--line);
  color: var(--text);
}
.troco-resultado.troco-ok{ border-color: var(--accent); color: var(--ember); }
.troco-resultado.troco-erro{ border-color: var(--danger); color: var(--danger); }

.pix-info{
  margin-top:12px; padding:14px; border-radius: var(--radius-s);
  background: var(--bg-card); border:1px solid var(--accent);
}
.pix-info-header{
  display:flex; align-items:center; justify-content:space-between;
  font-weight:700; font-size:14px; color: var(--text); margin-bottom:10px;
}
.pix-info-header .pix-valor{ color: var(--ember); font-size:16px; }
.pix-qrcode-wrap{ display:flex; justify-content:center; margin-bottom:12px; }
.pix-qrcode{
  background:#fff; padding:8px; border-radius:8px; line-height:0;
  display:inline-flex; align-items:center; justify-content:center;
  min-width:150px; min-height:150px;
}
.pix-chave-row{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:10px; background: var(--bg-elevated); border-radius: var(--radius-s);
  margin-bottom:10px;
}
.pix-chave-label{ display:block; font-size:11px; color: var(--text-faint); }
.pix-chave-valor{ display:block; font-size:15px; font-weight:700; color: var(--text); }
.pix-copy-btn{
  border:1px solid var(--accent); background:transparent; color: var(--ember);
  font-weight:700; font-size:12.5px; padding:8px 12px; border-radius: var(--radius-s);
  cursor:pointer; white-space:nowrap;
}
.pix-copy-btn:active{ background: var(--accent); color:#1a0e07; }
.pix-copy-full{ width:100%; padding:11px; margin-bottom:8px; }
.pix-hint{ font-size:11.5px; color: var(--text-faint); margin:2px 0 0; }
.pix-important{
  margin:10px 0 8px; padding:11px 12px; border-radius: var(--radius-s);
  border:1.5px solid #ffb020; background:rgba(255,176,32,.11);
  color:var(--text); font-size:12.5px; line-height:1.45;
}
.pix-important strong{ display:block; color:#ffc14d; margin-bottom:4px; font-weight:900; }
.pix-important span strong{ display:inline; color:#fff; margin:0; }

.pix-after-order-note{
  margin-top:12px; padding:11px 12px; border-radius:var(--radius-s);
  border:1px dashed var(--accent); background:rgba(255,176,32,.08);
  display:flex; flex-direction:column; gap:3px; color:var(--text-dim);
  font-size:12.5px; line-height:1.4;
}
.pix-after-order-note strong{ color:var(--ember); font-size:13px; }
.payment-option[data-pagamento="PIX"][aria-pressed="false"] ~ .pix-after-order-note{ display:none; }

.error-text{ color: var(--danger); font-size:12px; margin-top:5px; display:none; }
.field.invalid .error-text{ display:block; }
.field.invalid input, .field.invalid select{ border-color: var(--danger); }

.finalize-footer{
  position: sticky; bottom:0; background: var(--bg-elevated);
  border-top:1px solid var(--line);
  padding: 14px 18px calc(16px + var(--safe-bottom));
}
.btn-whatsapp{
  width:100%; background: var(--whatsapp); color:#0b2b16;
  border:none; border-radius: var(--radius-m);
  padding:15px 16px; font-weight:800; font-size:15.5px;
  display:flex; align-items:center; justify-content:center; gap:10px;
  cursor:pointer;
}
.btn-whatsapp:disabled{
  opacity:.65; cursor:not-allowed;
}
.finalize-total{
  display:flex; justify-content:space-between; align-items:baseline;
  padding-bottom:10px; font-size:14px; color: var(--text-dim);
}
.finalize-total .valor{ font-size:19px; font-weight:800; color: var(--ember); }

.empty-cart{ text-align:center; padding:50px 20px; color: var(--text-dim); }
.empty-cart .selo{ width:52px; height:52px; font-size:24px; margin-bottom:14px; }

.ultimo-pedido-sugestao{
  margin: 22px auto 0; max-width: 320px; text-align:left;
  background: var(--bg-elevated); border:1px solid var(--line);
  border-radius:14px; padding:14px 16px;
}
.ultimo-pedido-sugestao strong{ display:block; margin-bottom:4px; color: var(--text); font-size:13.5px; }
.ultimo-pedido-sugestao p{ margin:0 0 10px; font-size:13px; line-height:1.4; }
.ultimo-pedido-sugestao button{
  width:100%; border:1px solid var(--accent); background:transparent;
  color: var(--accent); font-weight:700; font-size:13.5px;
  padding:9px 12px; border-radius:10px; cursor:pointer;
}
.ultimo-pedido-sugestao button:hover{ background: var(--accent); color:#fff; }

/* ---------- Toast ---------- */
.toast{
  position: fixed; left:50%; bottom:90px; transform: translateX(-50%);
  background: var(--bg-elevated); border:1px solid var(--accent);
  color: var(--text); padding:11px 18px; border-radius: 999px;
  font-size:13.5px; z-index:200; box-shadow: var(--shadow-pop);
  animation: fadeInUp .18s ease-out;
}
@keyframes fadeInUp{ from{opacity:0; transform: translate(-50%,10px);} to{opacity:1; transform: translate(-50%,0);} }

/* ---------- Aviso fixo: pedido ainda não foi enviado ---------- */
.checkout-alert-card{
  background: linear-gradient(180deg, #4a0f0f, #3a0c0c);
  border:1.5px solid var(--danger);
  border-radius: var(--radius-m);
  padding:12px 14px; margin-bottom:12px;
  box-shadow: 0 0 0 1px rgba(255,90,90,.15) inset;
}
.checkout-alert-title{
  color: var(--danger); font-weight:900; font-size:14.5px; margin-bottom:4px;
  display:flex; align-items:center; gap:6px;
}
.checkout-alert-text{
  color:#ffe4e4; font-size:12.5px; line-height:1.5; margin:0;
}
.checkout-alert-text strong{ color:#fff; }

.checkout-confirm-checkbox{
  display:flex; align-items:flex-start; gap:9px; cursor:pointer;
  margin:10px 2px 4px; font-size:12.5px; color: var(--text); line-height:1.4;
}
.checkout-confirm-checkbox input{
  width:18px; height:18px; margin-top:1px; flex-shrink:0; accent-color: var(--whatsapp);
  cursor:pointer;
}
.checkout-confirm-hint{
  font-size:11.5px; color: var(--danger); font-weight:700;
  margin:0 2px 10px; transition: opacity .15s ease;
}
.checkout-confirm-hint.hidden{ display:none; }

/* ---------- Modal: pedido quase concluído ---------- */
.order-modal-overlay{
  position:fixed; inset:0; z-index:500;
  background:rgba(10,7,5,.72);
  display:flex; align-items:center; justify-content:center;
  padding:20px; box-sizing:border-box;
  animation: orderModalFadeIn .2s ease-out;
}
.order-modal-overlay.hidden{ display:none; }
.order-modal{
  position:relative; width:100%; max-width:430px; max-height:calc(100vh - 40px);
  overflow-y:auto; overscroll-behavior:contain;
  background: var(--bg-elevated); border:1.5px solid var(--whatsapp);
  border-radius: var(--radius-l); padding:28px 24px 24px;
  text-align:center; box-shadow: var(--shadow-pop);
  animation: orderModalPopIn .25s cubic-bezier(.34,1.56,.64,1);
}
.order-modal-icon{ font-size:38px; margin-bottom:10px; }
.order-modal h3{ margin:0 0 10px; font-size:19px; color: var(--text); }
.order-modal p{ margin:0 0 20px; font-size:13.5px; line-height:1.55; color: var(--text-dim); }
.order-modal p strong{ color: var(--whatsapp); }
.order-modal-btn{ width:100%; margin-top:10px; }
.order-modal .pix-info{ text-align:left; margin:14px 0 6px; }
.order-modal .pix-info-header{ text-align:left; }
.order-modal .pix-hint{ text-align:center; }
.order-pix-pending{
  display:flex; align-items:center; justify-content:center; gap:9px;
  margin:14px 0; padding:12px; border-radius:var(--radius-s);
  background:var(--bg-card); border:1px solid var(--line); color:var(--text-dim);
  font-size:13px; font-weight:700;
}
.order-pix-pending.hidden{ display:none; }
.order-pix-spinner{
  width:17px; height:17px; border-radius:50%; border:2px solid var(--line);
  border-top-color:var(--accent); animation:pixSpin .8s linear infinite; flex:0 0 auto;
}
@keyframes pixSpin{ to{ transform:rotate(360deg); } }
.order-modal-close{
  position:absolute; top:10px; right:10px; width:30px; height:30px;
  border-radius:50%; border:none; background: var(--bg); color: var(--text-dim);
  font-size:15px; cursor:pointer; display:flex; align-items:center; justify-content:center;
}
@keyframes orderModalFadeIn{ from{opacity:0;} to{opacity:1;} }
@keyframes orderModalPopIn{ from{opacity:0; transform:scale(.92) translateY(8px);} to{opacity:1; transform:scale(1) translateY(0);} }
@media (prefers-reduced-motion: reduce){
  .order-modal-overlay, .order-modal{ animation:none; }
}

/* ---------- Toast: variante de sucesso (verde) ---------- */
.toast.toast--sucesso{
  border-color: var(--whatsapp); color:#eafff1;
}
.toast.toast--update{
  display:flex; align-items:center; gap:12px;
  border-radius:14px; padding:12px 14px;
  max-width: calc(100vw - 32px);
}
.toast.toast--update button{
  flex:0 0 auto; background: var(--accent); color:#fff; border:none;
  font-weight:700; font-size:13px; padding:7px 14px; border-radius:999px;
  cursor:pointer; white-space:nowrap;
}

/* ---------- Aviso: confirmar envio no WhatsApp ---------- */
.whatsapp-warning-banner{
  display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap;
  padding:10px 14px; margin-bottom:10px; border-radius:12px;
  background: var(--danger); color:#2b0b0b;
  font-size:13.5px; font-weight:800; text-align:center;
  animation: whatsappWarningBlink 1s steps(1,end) infinite;
}
.whatsapp-warning-banner.hidden{ display:none; }
.whatsapp-warning-banner #whatsapp-warning-close{
  background:transparent; border:none; color:#2b0b0b; font-size:16px;
  font-weight:800; line-height:1; cursor:pointer; padding:4px 6px; flex-shrink:0;
}
.whatsapp-copy-link{
  background:#2b0b0b; color:#fff; border:none; border-radius:999px;
  font-size:12.5px; font-weight:800; padding:7px 14px; cursor:pointer; flex-shrink:0;
}
.whatsapp-copy-link:active{ opacity:.85; }
@keyframes whatsappWarningBlink{
  0%, 49%{ background: var(--danger); }
  50%, 100%{ background:#ff8a8a; }
}
@media (prefers-reduced-motion: reduce){
  .whatsapp-warning-banner{ animation:none; }
}

/* ---------- Aviso: pop-up do WhatsApp bloqueado pelo navegador ---------- */
.whatsapp-blocked-banner{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px;
  padding:12px 14px; margin-bottom:10px; border-radius:12px;
  background: var(--bg-elevated); border:1.5px solid var(--danger);
  font-size:13.5px; text-align:center;
}
.whatsapp-blocked-banner.hidden{ display:none; }
.whatsapp-blocked-link{
  display:inline-block; width:100%; box-sizing:border-box;
  background: var(--accent); color:#fff; font-weight:800;
  padding:11px 16px; border-radius:999px; text-decoration:none;
}
.whatsapp-blocked-link:active{ opacity:.85; }
.whatsapp-blocked-banner .whatsapp-copy-link{
  width:100%; box-sizing:border-box; background:transparent;
  border:1.5px solid var(--danger); color: var(--text);
}

/* ---------- Loading / offline ---------- */
.loading-screen{
  min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px;
}
.loading-selo{ width:64px; height:64px; font-size:26px; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.6; transform:scale(.94);} }
.offline-banner{
  background: var(--danger); color:#2b0b0b; text-align:center;
  font-size:12.5px; font-weight:700; padding:7px; position:sticky; top:0; z-index:50;
}

footer.app-footer{
  text-align:center; color: var(--text-faint); font-size:11.5px;
  padding: 24px 16px 10px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

/* ---------- Desktop refinement ---------- */
@media (min-width:560px){
  .product-photo{ flex-basis:110px; width:110px; height:110px; }
  .hero-mascot{ width:120px; height:120px; }
}
/* =====================================================================
   REDESIGN PROFISSIONAL — v1.7.0
   Visual premium urbano, legível no celular e melhor aproveitado no PC.
   ===================================================================== */
:root{
  --bg:#0b0908; --bg-elevated:#15110e; --bg-card:#1b1511;
  --bg-card-hover:#241b15; --line:#38291f; --line-strong:#5a3925;
  --text:#fff8ef; --text-dim:#c9b8a7; --text-faint:#958273;
  --radius-s:12px; --radius-m:18px; --radius-l:28px;
  --shadow-card:0 12px 34px rgba(0,0,0,.32);
  --shadow-pop:0 24px 70px rgba(0,0,0,.68);
  color-scheme:dark;
}
html{ scroll-behavior:smooth; }
body{
  min-height:100%;
  background:radial-gradient(circle at 8% 0%,rgba(255,90,31,.11),transparent 28rem),radial-gradient(circle at 92% 18%,rgba(255,177,0,.055),transparent 25rem),linear-gradient(180deg,#0d0a08,#090807);
}
body::before{
  opacity:.7;background-image:linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.01) 1px,transparent 1px);
  background-size:38px 38px;mask-image:linear-gradient(to bottom,black,transparent 80%);
}
.app-header{
  background:rgba(7,6,5,.9);border-bottom-color:rgba(255,255,255,.075);
  box-shadow:0 8px 32px rgba(0,0,0,.32);backdrop-filter:blur(18px) saturate(135%);-webkit-backdrop-filter:blur(18px) saturate(135%);
}
.app-header .header-top,.app-header .logo-selo,.app-header .brand-meta,.app-header .search-wrap{ transition:all .2s ease; }
@media (max-width:719px){
  .app-header.compact .header-top{ padding-top:7px;padding-bottom:5px; }
  .app-header.compact .logo-selo{ width:34px;height:34px; }
  .app-header.compact .brand-name{ font-size:19px; }
  .app-header.compact .brand-meta{ display:none; }
  .app-header.compact .search-wrap{ padding-bottom:8px; }
  .app-header.compact .search-box{ min-height:42px; }
}
.header-top{ padding-top:14px;padding-bottom:10px; }
.logo-selo{ width:52px;height:52px;border-color:var(--ember);box-shadow:0 0 0 4px rgba(255,90,31,.08),0 8px 24px rgba(0,0,0,.4); }
.brand-name{ font-size:24px;letter-spacing:.8px; }
.brand-meta{ font-size:13px; }
.status-aberto,.status-fechado{ display:inline-flex;align-items:center;gap:6px;border:1px solid currentColor;border-radius:999px;padding:3px 9px;font-weight:700; }
.status-aberto::before,.status-fechado::before{ content:"";width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 10px currentColor; }
.search-wrap{ padding-bottom:14px; }
.search-box{
  min-height:48px;background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.1);border-radius:15px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.search-box:focus-within{ background:rgba(255,255,255,.075);border-color:var(--accent);box-shadow:0 0 0 3px rgba(255,90,31,.14); }
.search-box input{ font-size:16px; }
.category-nav{ background:rgba(11,9,8,.92);border-bottom-color:rgba(255,255,255,.06);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px); }
.category-scroll{ padding-top:11px;padding-bottom:11px; }
.chip{
  min-height:40px;padding:9px 15px;background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.09);font-size:14px;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,color .18s ease;
}
.chip:hover{ border-color:var(--line-strong);color:var(--text);transform:translateY(-1px); }
.chip[aria-current="true"]{ background:linear-gradient(135deg,var(--accent),var(--ember));border-color:transparent;box-shadow:0 8px 24px rgba(255,90,31,.23); }
.hero-banner{
  min-height:190px;padding:26px 24px;border-color:rgba(255,121,46,.25);
  background:linear-gradient(112deg,rgba(255,90,31,.2),transparent 48%),radial-gradient(circle at 88% 20%,rgba(255,177,0,.18),transparent 32%),linear-gradient(145deg,#21150f,#100d0b 65%);
  box-shadow:0 22px 60px rgba(0,0,0,.43),inset 0 1px 0 rgba(255,255,255,.045);
}
.hero-banner::after{ content:"";position:absolute;inset:auto -8% -65% 35%;height:160px;background:radial-gradient(ellipse,rgba(255,90,31,.24),transparent 68%);transform:rotate(-8deg);pointer-events:none; }
.hero-mascot{ width:120px;height:120px; }
.hero-title{ font-size:clamp(36px,8vw,58px);letter-spacing:1px; }
.hero-slogan{ max-width:34rem;font-size:15px;line-height:1.45;color:#e2d3c4; }
.banner-tag{ padding:8px 14px;border-color:rgba(255,177,0,.5);background:rgba(0,0,0,.36);box-shadow:inset 0 1px 0 rgba(255,255,255,.04); }
.service-highlights{ display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:-2px 0 22px; }
.service-highlight{ min-width:0;display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center;padding:12px 13px;border:1px solid rgba(255,255,255,.075);border-radius:14px;background:rgba(255,255,255,.035); }
.service-highlight>span{ grid-row:1/3;font-size:21px;filter:drop-shadow(0 4px 8px rgba(0,0,0,.4)); }
.service-highlight strong{ font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.service-highlight small{ color:var(--text-faint);font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
.section-title{ margin-top:28px;font-size:22px; }
.section-title::after{ content:"";height:1px;flex:1;background:linear-gradient(90deg,var(--line),transparent);margin-left:4px; }
.section-title .selo{ box-shadow:0 0 18px rgba(255,90,31,.14); }
.destaques-scroll{ gap:14px;padding-bottom:14px; }
.destaque-card{
  flex-basis:156px;width:156px;padding:9px;border-color:rgba(255,255,255,.08);box-shadow:0 10px 28px rgba(0,0,0,.25);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.destaque-card:hover{ transform:translateY(-3px);border-color:rgba(255,90,31,.4);box-shadow:0 18px 38px rgba(0,0,0,.38); }
.destaque-photo{ height:116px;border-radius:13px; }
.destaque-nome{ font-size:14px; }
.destaque-preco{ font-size:15px; }
.product-grid{ gap:13px; }
.product-card{
  gap:15px;padding:12px;border-color:rgba(255,255,255,.075);background:linear-gradient(145deg,rgba(255,255,255,.052),rgba(255,255,255,.025));
  box-shadow:0 10px 28px rgba(0,0,0,.22);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.product-card:hover{ transform:translateY(-2px);border-color:rgba(255,90,31,.34);box-shadow:0 18px 42px rgba(0,0,0,.36); }
.product-photo{ flex-basis:112px;width:112px;height:112px;border-radius:14px; }
.product-photo img,.destaque-photo img{ transition:transform .32s ease; }
.product-card:hover .product-photo img,.destaque-card:hover .destaque-photo img{ transform:scale(1.045); }
.product-name{ font-size:16.5px;line-height:1.25;margin-top:1px; }
.product-desc{ font-size:13.5px;line-height:1.45;-webkit-line-clamp:3; }
.product-price{ display:inline-flex;align-items:center;font-size:16px;color:#ffcf5a;background:rgba(255,177,0,.075);border:1px solid rgba(255,177,0,.15);padding:5px 9px;border-radius:9px; }
.btn-add-mini{ width:36px;height:36px;background:linear-gradient(135deg,var(--accent),#ff8a2b);box-shadow:0 7px 18px rgba(255,90,31,.28);transition:transform .16s ease,box-shadow .16s ease; }
.btn-add-mini:hover{ transform:scale(1.07);box-shadow:0 9px 24px rgba(255,90,31,.38); }
.sheet{ border:1px solid rgba(255,255,255,.08);border-bottom:0;background:#15110e; }
.overlay{ background:rgba(3,2,2,.76);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px); }
.sheet-close{ backdrop-filter:blur(10px);box-shadow:0 6px 18px rgba(0,0,0,.3); }
.product-modal-photo{ height:min(38vh,340px); }
.btn-primary,.btn-whatsapp{ background:linear-gradient(135deg,var(--accent),#ff8b2c);box-shadow:0 10px 28px rgba(255,90,31,.25);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease; }
.btn-primary:hover,.btn-whatsapp:hover{ filter:brightness(1.06);box-shadow:0 13px 34px rgba(255,90,31,.34); }
.btn-primary:active,.btn-whatsapp:active{ transform:scale(.985); }
.cart-bar{ padding-top:12px;background:linear-gradient(transparent,rgba(5,4,3,.86)); }
.cart-bar-inner{ min-height:58px;border-radius:17px;background:linear-gradient(115deg,var(--accent),#ff8b2c 58%,var(--ember));box-shadow:0 16px 42px rgba(255,90,31,.34),inset 0 1px 0 rgba(255,255,255,.25); }
.cart-bar-badge{ width:28px;height:28px; }
.app-footer{ color:var(--text-faint);border-top:1px solid rgba(255,255,255,.065);padding-top:24px; }
@media (min-width:800px){
  :root{ --header-height:88px; }
  .app-header{ display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,430px);align-items:center;padding:0 max(20px,calc((100vw - 1120px)/2)); }
  .header-top,.search-wrap{ width:100%;max-width:none;margin:0;padding-left:0;padding-right:0; }
  .header-top{ padding-top:14px;padding-bottom:14px; }.search-wrap{ padding-top:14px;padding-bottom:14px; }
  .category-scroll,main{ max-width:1120px; } main{ padding-left:22px;padding-right:22px; }
  .hero-banner{ min-height:230px;padding:34px 42px; }.hero-mascot{ width:154px;height:154px; }
  .service-highlights{ gap:14px; }.service-highlight{ padding:14px 16px; }
  .product-grid{ display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch; }
  .product-card{ min-height:144px; }.product-photo{ flex-basis:120px;width:120px;height:120px; }
  .destaque-card{ flex-basis:190px;width:190px; }.destaque-photo{ height:140px; }
  .sheet{ max-width:760px;border-radius:28px 28px 0 0; }
}
@media (max-width:520px){
  main{ padding-left:12px;padding-right:12px; }.header-top,.search-wrap,.category-scroll{ padding-left:12px;padding-right:12px; }
  .hero-banner{ min-height:164px;margin-top:10px;padding:20px 16px; }.hero-mascot{ width:84px;height:84px; }
  .hero-title{ font-size:clamp(30px,10vw,42px); }.hero-slogan{ font-size:13px; }
  .service-highlights{ grid-template-columns:1fr;gap:7px;margin-bottom:18px; }
  .service-highlight{ grid-template-columns:32px 1fr auto;padding:9px 12px; }.service-highlight>span{ grid-row:auto;font-size:18px; }
  .service-highlight strong{ font-size:13px; }.service-highlight small{ font-size:11px;text-align:right; }
  .product-photo{ flex-basis:102px;width:102px;height:102px; }.product-name{ font-size:15.5px; }.product-desc{ font-size:12.5px;-webkit-line-clamp:2; }
}
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; } *,*::before,*::after{ animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important; }
}

/* =====================================================================
   ACABAMENTO PREMIUM — v1.7.1
   ===================================================================== */
.hero-banner.modo-imagem{
  min-height:230px;padding:34px 42px;display:flex;background:#120d09;isolation:isolate;overflow:hidden;
}
.hero-banner.modo-imagem::before{
  content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(5,4,3,.94) 0%,rgba(5,4,3,.68) 38%,rgba(5,4,3,.08) 72%);pointer-events:none;
}
.hero-banner.modo-imagem .hero-glow,.hero-banner.modo-imagem .hero-mascot{ display:none; }
.hero-banner.modo-imagem .hero-text{ display:block;position:relative;z-index:2;max-width:48%; }
.hero-banner.modo-imagem .hero-banner-promo{ position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;border-radius:inherit; }
.badge-destaque{
  z-index:2;top:7px;left:7px;width:auto;height:auto;padding:4px 8px;line-height:1;border-radius:999px;transform:none;
  background:linear-gradient(135deg,#ff5a1f,#ff9d28);color:#1a0e07;font-family:var(--font-body);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;box-shadow:0 5px 14px rgba(0,0,0,.36);
}
.product-serving{ color:#f4b74a;font-size:11.5px;font-weight:700;margin-top:5px; }
.product-modal-meta{ display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 2px; }
.product-modal-meta:empty{ display:none; }
.product-modal-meta span{ color:#ffd16b;background:rgba(255,177,0,.08);border:1px solid rgba(255,177,0,.2);border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800; }
.checkout-steps{ display:flex;align-items:center;padding:8px 18px 16px;color:var(--text-faint);font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.03em; }
.checkout-steps button{ display:flex;align-items:center;gap:5px;white-space:nowrap;background:none;border:0;color:inherit;padding:0;cursor:pointer;font:inherit;text-transform:inherit;letter-spacing:inherit; }.checkout-steps b{ width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--bg-elevated);border:1px solid var(--line);font-size:10px;transition:.2s ease; }
.checkout-steps button.active{ color:var(--text); }.checkout-steps button.active b{ background:var(--accent);border-color:var(--accent);color:#1a0e07;box-shadow:0 0 0 4px rgba(255,90,31,.12); }.checkout-steps button.completed b{ background:#2f8f53;border-color:#2f8f53;color:#fff; }.checkout-steps button.completed b::before{ content:"✓"; }.checkout-steps button.completed b{ font-size:0; }.checkout-steps button.completed b::before{ font-size:11px; }
.checkout-steps i{ height:1px;flex:1;background:var(--line);margin:0 6px; }
.app-footer{ margin-top:44px!important;padding:28px 0 16px!important;text-align:left!important; }
.footer-brand{ display:flex;align-items:center;gap:11px;margin-bottom:18px; }.footer-brand .selo{ width:42px;height:42px;font-size:18px;flex:none; }.footer-brand strong{ display:block;color:var(--text);font-size:17px; }.footer-brand small{ display:block;margin-top:2px;color:var(--text-faint);font-size:11px; }
.footer-info{ display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px; }.footer-info>a,.footer-info>div{ display:flex;align-items:flex-start;gap:8px;padding:12px;border:1px solid rgba(255,255,255,.07);border-radius:13px;background:rgba(255,255,255,.025);color:inherit;text-decoration:none; }.footer-info strong,.footer-info small{ display:block; }.footer-info strong{ color:var(--text-dim);font-size:11px;text-transform:uppercase; }.footer-info small{ margin-top:3px;font-size:10.5px;line-height:1.35; }.app-footer>p{ text-align:center;margin:18px 0 0;font-size:10.5px; }
.loading-screen strong{ color:var(--text-dim);font-size:14px; }.loading-skeleton{ width:min(300px,78vw);display:grid;gap:8px; }.loading-skeleton i{ height:10px;border-radius:999px;background:linear-gradient(90deg,#18120f 20%,#2b2019 45%,#18120f 70%);background-size:220% 100%;animation:skeletonShimmer 1.2s linear infinite; }.loading-skeleton i:nth-child(2){ width:82%; }.loading-skeleton i:nth-child(3){ width:62%; }
@keyframes skeletonShimmer{ to{ background-position:-220% 0; } }
@keyframes cardReveal{ from{ opacity:0;transform:translateY(8px); } to{ opacity:1;transform:translateY(0); } }
.product-card{ animation:cardReveal .34s ease both; }.cart-bar:not(.hidden){ animation:cardReveal .25s ease both; }.btn-add-mini:active{ transform:scale(.9); }
@media (max-width:520px){
  .hero-banner.modo-imagem{ min-height:190px;padding:22px 17px; }.hero-banner.modo-imagem .hero-text{ max-width:62%; }.hero-banner.modo-imagem .hero-banner-promo{ object-position:66% center; }.hero-banner.modo-imagem::before{ background:linear-gradient(90deg,rgba(5,4,3,.94),rgba(5,4,3,.58) 54%,rgba(5,4,3,.1)); }
  .footer-info{ grid-template-columns:1fr; }.app-footer{ margin-top:34px!important; }.checkout-steps{ padding-left:14px;padding-right:14px; }.checkout-steps button{ font-size:9px; }
}

/* SACOLA EM ETAPAS — v1.7.2 */
.checkout-panel{ animation:checkoutPanelIn .24s ease both; }
@keyframes checkoutPanelIn{ from{ opacity:0;transform:translateX(8px); } to{ opacity:1;transform:translateX(0); } }
.cart-item{ align-items:stretch;padding:10px; }
.cart-item-photo{ width:72px;height:72px;flex:0 0 72px;border-radius:11px;object-fit:cover;background:var(--bg-elevated); }
.cart-item-edit{ margin-top:7px;padding:0;background:none;border:0;color:#ffbd55;font-size:12px;font-weight:700;cursor:pointer; }
.cart-item-remove{ color:#e89999;text-decoration:none;font-weight:700; }
.mini-qty-btn{ width:30px;height:30px;font-size:17px;background:rgba(255,90,31,.06); }
.mini-qty-value{ min-width:18px;font-size:14px; }
.checkout-nav{ display:grid;grid-template-columns:minmax(110px,.7fr) minmax(180px,1.3fr);gap:10px;padding:14px 18px calc(18px + var(--safe-bottom));position:sticky;bottom:0;z-index:4;background:linear-gradient(0deg,var(--bg-elevated) 80%,transparent); }
.checkout-nav-next{ display:block; }.checkout-nav-next .btn-primary{ width:100%; }
.checkout-nav .btn-primary,.checkout-nav .btn-secondary{ min-height:50px;border-radius:14px;font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer; }
.btn-secondary{ background:transparent;color:var(--text-dim);border:1px solid var(--line); }
.checkout-review{ padding:4px 18px 8px;display:grid;gap:10px; }
.review-grid{ display:grid;grid-template-columns:1fr;gap:10px; }
.review-card{ padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018)); }
.review-card h3{ margin:0 0 10px;color:var(--accent);font-size:12px;text-transform:uppercase;letter-spacing:.05em; }.review-card>strong,.review-card>small{ display:block; }.review-card>strong{ font-size:14px;line-height:1.4; }.review-card>small{ color:var(--text-dim);font-size:12px;margin-top:4px;line-height:1.4; }
.review-item{ display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.06);font-size:13.5px; }.review-item strong{ white-space:nowrap;color:#ffd16b; }.review-total{ display:flex;justify-content:space-between;align-items:center;padding-top:12px;font-weight:800; }.review-total strong{ color:var(--ember);font-size:20px; }
.checkout-edit-data{ display:block;margin:4px 18px 14px;width:calc(100% - 36px);padding:11px;border-radius:11px;border:1px solid var(--line);background:transparent;color:var(--text-dim);font-weight:700;cursor:pointer; }
[data-checkout-step="3"] .finalize-footer{ position:static;border-radius:16px 16px 0 0; }
@media (min-width:700px){
  .review-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }.cart-item-photo{ width:82px;height:82px;flex-basis:82px; }
}
@media (max-width:430px){
  .cart-item{ gap:9px; }.cart-item-photo{ width:62px;height:62px;flex-basis:62px; }.cart-item-name{ font-size:13.5px; }.cart-item-side{ min-width:82px; }.checkout-nav{ grid-template-columns:100px 1fr;padding-left:12px;padding-right:12px; }.checkout-nav .btn-primary,.checkout-nav .btn-secondary{ font-size:12.5px; }
}

/* VENDA INTELIGENTE — v1.7.3 */
.addon-category-title{ margin:14px 0 6px;padding-top:10px;border-top:1px solid rgba(255,255,255,.07);color:#f6c464;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em; }
.addon-group-title+.addon-category-title{ margin-top:8px; }
.minimum-order{ margin:12px 18px 2px;padding:11px 12px;border:1px solid rgba(255,177,0,.28);border-radius:12px;background:rgba(255,177,0,.06); }
.minimum-order>div{ display:flex;justify-content:space-between;gap:10px;color:#ffd16b;font-size:11.5px; }.minimum-order span{ color:var(--text-dim);white-space:nowrap; }.minimum-order i{ display:block;height:5px;margin-top:8px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden; }.minimum-order b{ display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),var(--ember));transition:width .25s ease; }.minimum-order.complete{ border-color:rgba(55,201,115,.32);background:rgba(55,201,115,.06); }.minimum-order.complete>div{ color:#65df96; }.minimum-order.complete b{ background:#37c973; }
.smart-suggestions{ margin:8px 18px 2px;padding:14px;border:1px solid rgba(255,255,255,.075);border-radius:15px;background:rgba(255,255,255,.025); }.smart-suggestions-title{ display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:10px; }.smart-suggestions-title span{ color:var(--text);font-size:13.5px;font-weight:800; }.smart-suggestions-title small{ color:var(--text-faint);font-size:10.5px; }.smart-suggestions-list{ display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }.smart-suggestion-card{ display:grid;grid-template-columns:46px 1fr 30px;align-items:center;gap:8px;padding:7px;border:1px solid rgba(255,255,255,.07);border-radius:11px;background:var(--bg-card); }.smart-suggestion-card img{ width:46px;height:46px;object-fit:cover;border-radius:8px; }.smart-suggestion-card div{ min-width:0; }.smart-suggestion-card strong,.smart-suggestion-card span{ display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.smart-suggestion-card strong{ font-size:11px; }.smart-suggestion-card span{ margin-top:3px;color:#ffd16b;font-size:11px;font-weight:800; }.smart-suggestion-card button{ width:30px;height:30px;border:0;border-radius:50%;background:var(--accent);color:#1a0e07;font-size:18px;font-weight:900;cursor:pointer; }
.cart-item-unavailable{ border-color:rgba(255,90,90,.45);background:rgba(255,90,90,.055); }.cart-item-unavailable .cart-item-photo{ filter:grayscale(.8);opacity:.55; }.cart-item-warning{ margin-top:4px;color:var(--danger);font-size:11px;font-weight:800;line-height:1.3; }
@media (max-width:480px){ .smart-suggestions-list{ grid-template-columns:1fr; }.smart-suggestions-title small{ display:none; } }

/* ======================= Acompanhamento de pedidos ======================= */
.meus-pedidos-btn{
  flex:0 0 auto; display:flex; align-items:center; gap:6px; border:1px solid var(--line);
  background:var(--bg-card); color:var(--text); border-radius:999px; padding:8px 10px;
  font:inherit; font-size:12px; font-weight:800; cursor:pointer;
}
.meus-pedidos-btn:hover{ border-color:var(--accent); color:var(--accent); }
.meus-pedidos-badge{ min-width:18px; height:18px; display:inline-flex; align-items:center; justify-content:center; padding:0 5px; border-radius:999px; background:var(--accent); color:#fff; font-size:10px; }
.pedido-ativo-banner{
  margin:12px 0 6px; padding:14px; border:1px solid rgba(255,177,0,.4); border-radius:16px;
  background:linear-gradient(135deg, rgba(255,90,31,.14), rgba(255,177,0,.08));
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.pedido-ativo-banner small{ display:block; color:var(--ember); font-size:10px; font-weight:900; letter-spacing:.08em; }
.pedido-ativo-banner strong{ display:block; margin:3px 0; font-size:15px; }
.pedido-ativo-banner span{ color:var(--text-dim); font-size:12px; }
.pedido-ativo-banner button{ flex:0 0 auto; border:none; border-radius:10px; padding:9px 11px; background:var(--accent); color:#180d07; font-weight:900; cursor:pointer; }
.tracking-sheet{ max-height:88vh; overflow:auto; padding-bottom:28px; }
.tracking-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:18px 52px 4px 18px; }
.tracking-head small{ color:var(--accent); font-size:10px; letter-spacing:.08em; font-weight:900; }
.tracking-head h2{ margin:4px 0 0; font-family:var(--font-display); text-transform:uppercase; }
.tracking-notify-btn{ border:1px solid var(--line); background:var(--bg-card); color:var(--text); padding:8px 10px; border-radius:10px; font:inherit; font-size:11px; font-weight:800; cursor:pointer; }
.tracking-intro{ margin:4px 18px 14px; color:var(--text-dim); font-size:12px; }
.tracking-lista{ display:grid; gap:12px; padding:0 18px; }
.tracking-empty{ border:1px dashed var(--line); border-radius:14px; padding:22px; text-align:center; color:var(--text-dim); }
.tracking-card{ border:1px solid var(--line); border-radius:16px; padding:14px; background:var(--bg-card); }
.tracking-card-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.tracking-card-top strong{ display:block; font-size:15px; }
.tracking-card-top small{ color:var(--text-faint); }
.tracking-status{ display:inline-flex; align-items:center; gap:6px; border-radius:999px; padding:5px 9px; background:var(--accent-soft); color:var(--accent); font-size:11px; font-weight:900; }
.tracking-card.cancelado .tracking-status{ background:rgba(255,80,80,.13); color:var(--danger); }
.tracking-card.entregue .tracking-status{ background:rgba(55,201,115,.13); color:#7be08a; }
.tracking-timeline{ display:grid; gap:0; margin:14px 0; }
.tracking-step{ position:relative; display:grid; grid-template-columns:22px 1fr; gap:9px; min-height:42px; color:var(--text-faint); }
.tracking-step::before{ content:""; position:absolute; left:10px; top:21px; bottom:-4px; width:2px; background:var(--line); }
.tracking-step:last-child::before{ display:none; }
.tracking-dot{ width:21px; height:21px; border-radius:50%; border:2px solid var(--line); background:var(--bg); display:flex; align-items:center; justify-content:center; font-size:10px; z-index:1; }
.tracking-step.done, .tracking-step.current{ color:var(--text); }
.tracking-step.done .tracking-dot{ background:#245f3d; border-color:#49c77a; color:#fff; }
.tracking-step.current .tracking-dot{ background:var(--accent); border-color:var(--accent); color:#160c07; box-shadow:0 0 0 4px var(--accent-soft); }
.tracking-step b{ display:block; font-size:12px; }
.tracking-step em{ display:block; font-style:normal; font-size:10.5px; color:var(--text-faint); margin-top:2px; }
.tracking-itens{ border-top:1px solid var(--line-soft); padding-top:10px; font-size:12px; line-height:1.6; color:var(--text-dim); }
.tracking-total{ display:flex; justify-content:space-between; margin-top:8px; font-weight:900; color:var(--text); }
.tracking-pendente{ color:var(--ember); font-size:11px; margin-top:8px; }
@media(max-width:520px){
  .meus-pedidos-btn-text{ display:none; }
  .meus-pedidos-btn{ padding:8px; }
  .pedido-ativo-banner{ align-items:flex-start; }
  .pedido-ativo-banner button{ font-size:11px; }
}


/* ---------- Carrossel promocional: 3 cards por vez no desktop ---------- */
.promo-carousel-section{ margin:8px 0 14px; }
.promo-carousel{
  position:relative; overflow:hidden; border-radius:20px;
  border:1px solid rgba(255,106,31,.36);
  background:linear-gradient(180deg,#15100d,#0d0a08);
  box-shadow:0 20px 48px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.035);
}
.promo-carousel-viewport{ overflow:hidden; padding:8px; }
.promo-carousel-track{
  display:flex; gap:10px; transform:translate3d(0,0,0);
  transition:transform .5s cubic-bezier(.22,.7,.22,1); will-change:transform;
}
.promo-carousel-slide{
  position:relative; flex:0 0 calc((100% - 20px)/3); min-width:0; height:245px;
  overflow:hidden; border-radius:15px; border:1px solid rgba(255,137,55,.26);
  background:#120d0a; isolation:isolate;
}
.promo-carousel-image{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; transform:scale(1.01); }
.promo-carousel-shade{ position:absolute; inset:0; z-index:1; background:linear-gradient(0deg,rgba(7,4,2,.98) 0%,rgba(7,4,2,.84) 45%,rgba(7,4,2,.16) 88%),linear-gradient(90deg,rgba(5,3,2,.45),transparent 70%); }
.promo-carousel-content{ position:relative; z-index:2; height:100%; display:flex; flex-direction:column; justify-content:flex-end; padding:18px 18px 17px; }
.promo-carousel-eyebrow{ color:#ff9a3d; font-size:9px; font-weight:900; letter-spacing:1.6px; text-transform:uppercase; margin-bottom:5px; }
.promo-carousel-content h2{ margin:0; font-family:var(--font-display); font-size:clamp(21px,2.1vw,31px); line-height:.95; letter-spacing:.2px; text-transform:uppercase; color:#fff8ef; text-shadow:0 6px 20px rgba(0,0,0,.62); }
.promo-carousel-content p{ margin:7px 0 0; color:#e2d7ce; font-size:11.5px; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.promo-carousel-meta{ display:flex; align-items:center; justify-content:space-between; gap:9px; margin-top:11px; }
.promo-carousel-meta>strong{ color:#ffc44d; font-size:16px; font-weight:900; white-space:nowrap; }
.promo-carousel-cta{ min-height:34px; padding:0 11px; border:1px solid #ff9b29; border-radius:999px; background:linear-gradient(135deg,#ff5a1f,#ff9100); color:#160b05; font-size:10px; font-weight:950; cursor:pointer; white-space:nowrap; transition:transform .18s ease,filter .18s ease,box-shadow .18s ease; }
.promo-carousel-cta:hover{ transform:translateY(-1px); filter:brightness(1.06); box-shadow:0 10px 24px rgba(255,90,31,.30); }
.promo-carousel-arrow{ position:absolute; z-index:8; top:50%; transform:translateY(-50%); width:40px; height:40px; display:grid; place-items:center; padding:0; border-radius:50%; border:1px solid rgba(255,132,50,.75); background:rgba(13,8,5,.88); color:#fff; font-size:27px; line-height:1; cursor:pointer; box-shadow:0 9px 25px rgba(0,0,0,.38); backdrop-filter:blur(8px); }
.promo-carousel-arrow:hover{ background:#ff641f; color:#130c07; border-color:#ffb04d; }
.promo-carousel-arrow:active{ transform:translateY(-50%) scale(.95); }
.promo-carousel-prev{ left:8px; }.promo-carousel-next{ right:8px; }
.promo-carousel-dots{ position:relative; z-index:6; display:flex; justify-content:center; align-items:center; gap:7px; padding:1px 0 10px; }
.promo-carousel-dot{ width:8px; height:8px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.25); cursor:pointer; transition:width .2s ease,background .2s ease; }
.promo-carousel-dot.is-active{ width:22px; border-radius:999px; background:linear-gradient(90deg,#ff5a1f,#ffb100); }
.promo-carousel-arrow:focus-visible,.promo-carousel-dot:focus-visible,.promo-carousel-cta:focus-visible{ outline:2px solid #fff; outline-offset:3px; }

@media (max-width:1050px){
  .promo-carousel-slide{ flex-basis:calc((100% - 10px)/2); height:250px; }
}
@media (max-width:700px){
  .promo-carousel{ border-radius:17px; }
  .promo-carousel-viewport{ padding:6px; }
  .promo-carousel-track{ gap:8px; }
  .promo-carousel-slide{ flex-basis:100%; height:285px; }
  .promo-carousel-content{ padding:20px 42px 18px; }
  .promo-carousel-content h2{ font-size:clamp(26px,8vw,38px); }
  .promo-carousel-content p{ font-size:12px; }
  .promo-carousel-meta>strong{ font-size:17px; }
  .promo-carousel-arrow{ width:36px; height:36px; font-size:24px; }
  .promo-carousel-prev{ left:5px; }.promo-carousel-next{ right:5px; }
}

