/* ============================================================
   BIG BURGUER — Cardápio CSS v5 — 2026 Premium
   Mobile: lista horizontal  |  Desktop: grid vertical 2-col
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --laranja:  #FF6B00;
  --laranja2: #E65C00;
  --laranja3: #CC4800;
  --preto:    #0D0D0D;
  --preto2:   #141414;
  --preto3:   #1A1A1A;
  --preto4:   #222222;
  --texto:    #FFFFFF;
  --texto2:   #B3B3B3;
  --texto3:   #666666;
  --radius:   14px;
  --radius-sm: 8px;
  --trans:    200ms cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body {
  background: var(--preto);
  color: var(--texto);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom);
}

/* ── HEADER ── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,.92);
  backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(255,255,255,.06);
  height: calc(56px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  height: 56px; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-img { max-height: 36px; height: auto; width: auto; max-width: 120px; object-fit: contain; border-radius: 6px; flex-shrink: 0; }
.logo-emoji { font-size: 28px; line-height: 1; }
.logo-texto {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(16px, 4.5vw, 22px); letter-spacing: .06em; color: var(--texto);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.header-status { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.badge-status {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
}
.badge-aberto  { background: rgba(74,222,128,.12); color: #4ade80; }
.badge-fechado { background: rgba(248,113,113,.12); color: #f87171; }
.badge-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.header-tempo { font-size: 12px; color: var(--texto3); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 200px;
  background: var(--preto2) center/cover no-repeat;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px 20px 28px; overflow: hidden;
}
.hero-badge-topo {
  position: absolute; top: 14px; right: 16px; left: auto;
  background: rgba(255,107,0,.15); border: 1px solid rgba(255,107,0,.3);
  color: var(--laranja); font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px; backdrop-filter: blur(8px);
  max-width: calc(100% - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  color: var(--laranja); text-transform: uppercase; margin-bottom: 6px;
}
.hero-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 9vw, 70px); line-height: .95;
  color: var(--texto);
  text-shadow: 0 4px 20px rgba(0,0,0,.6),
               0 0 40px rgba(255,107,0,.8),
               0 0 80px rgba(255,107,0,.4),
               0 0 120px rgba(255,107,0,.2);
  margin-bottom: 8px;
}
.hero-sub { font-size: 14px; color: var(--texto2); margin-bottom: 14px; max-width: 340px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; overflow: hidden; }
.hero-chip {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  color: var(--texto); font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px; backdrop-filter: blur(6px);
}
.hero-chip.destaque { background: rgba(255,107,0,.12); border-color: rgba(255,107,0,.28); color: var(--laranja); }

/* ── FECHADO BANNER ── */
.banner-fechado {
  display: flex; align-items: center; gap: 14px;
  background: rgba(248,113,113,.07); border: 1px solid rgba(248,113,113,.18);
  padding: 14px 16px; margin: 12px 16px; border-radius: var(--radius);
  font-size: 14px; color: var(--texto2);
}
.banner-fechado-icon { font-size: 26px; flex-shrink: 0; }

/* ── BAIRROS ── */
.bairros-wrap { padding: 0 16px; margin: 12px 0; }
.bairros-details {
  background: var(--preto3); border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius); overflow: hidden;
}
.bairros-details summary {
  padding: 11px 16px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--texto2);
  display: flex; align-items: center; gap: 6px; list-style: none;
  user-select: none;
}
.bairros-details summary::-webkit-details-marker { display: none; }
.bairros-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1px;
  background: rgba(255,255,255,.05);
  border-top: 1px solid rgba(255,255,255,.06);
}
.bairro-item {
  background: var(--preto3); padding: 10px 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--texto2);
}
.bairro-item strong { color: var(--laranja); }

/* ── BUSCA ── */
.busca-wrap {
  position: relative; margin: 14px 16px 0;
  display: flex; align-items: center;
}
.busca-icon {
  position: absolute; left: 14px; font-size: 15px;
  opacity: .45; pointer-events: none;
}
.busca-input {
  width: 100%; height: 44px;
  background: var(--preto3); border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px; padding: 0 38px 0 40px;
  color: var(--texto); font-size: 14px; font-family: inherit;
  outline: none; transition: border-color var(--trans);
}
.busca-input:focus { border-color: var(--laranja); }
.busca-input::placeholder { color: var(--texto3); }
.busca-clear {
  position: absolute; right: 10px;
  background: none; border: none; color: var(--texto3);
  font-size: 15px; cursor: pointer; padding: 8px;
  transition: color var(--trans);
}
.busca-clear:hover { color: var(--texto); }
.busca-nenhum { text-align: center; padding: 60px 20px; color: var(--texto2); font-size: 15px; }

/* ── CAT NAV ── */
.cat-nav {
  position: sticky; top: calc(56px + env(safe-area-inset-top)); z-index: 90;
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px;
  scrollbar-width: none;
  background: rgba(13,13,13,.96); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-pill {
  flex-shrink: 0; display: flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 20px;
  background: var(--preto3); border: 1px solid rgba(255,255,255,.07);
  color: var(--texto2); font-size: 13px; font-weight: 600;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background var(--trans), color var(--trans), border-color var(--trans);
  -webkit-tap-highlight-color: transparent;
}
.cat-pill:hover, .cat-pill.active {
  background: var(--laranja); border-color: var(--laranja); color: #fff;
}

/* ── CARDÁPIO MAIN ── */
.cardapio-wrap { max-width: 1200px; margin: 0 auto; padding: 0 0 120px; }

/* ── CATEGORIA SECTION ── */
.cat-section { padding: 22px 16px 0; }
.cat-titulo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 4px;
}
.cat-titulo-emoji { font-size: 20px; }
.cat-titulo-texto {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: .04em; color: var(--texto);
}
.cat-titulo-linha { flex: 1; height: 1px; background: rgba(255,255,255,.07); }
.cat-titulo-count {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--preto3); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--texto3); flex-shrink: 0;
}

/* ====================================================
   PRODUTO CARD — MOBILE: lista horizontal (iFood style)
   ==================================================== */
.produtos-lista { display: flex; flex-direction: column; }

.produto-card {
  display: flex; flex-direction: row; align-items: flex-start; gap: 14px;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 16px 0;
  cursor: pointer; position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
  overflow: hidden;
  transition: background var(--trans);
}
.produto-card:last-child { border-bottom: none; }
.produto-card.active-tap { background: rgba(255,255,255,.03); }

/* LEFT: info */
.produto-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.produto-nome {
  font-size: 15px; font-weight: 700; color: var(--texto); line-height: 1.3;
}
.produto-desc {
  font-size: 13px; color: var(--texto2); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.produto-preco {
  font-size: 17px; font-weight: 800; color: var(--laranja);
  display: block; margin-top: 8px;
}

/* RIGHT: img + btn */
.produto-img-wrap {
  flex-shrink: 0; width: 110px;
  display: flex; flex-direction: column; gap: 7px;
  position: relative;
}
.produto-img {
  width: 110px; height: 110px; border-radius: 12px; overflow: hidden;
  background: var(--preto3);
}
.produto-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.produto-card:hover .produto-img img { transform: scale(1.06); }
.produto-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; opacity: .2;
}

/* Badges (absolute inside .produto-img) */
.badge-mais-pedido, .badge-destaque-text {
  position: absolute; top: 6px; left: 6px; z-index: 2;
  padding: 3px 7px; border-radius: 6px;
  font-size: 10px; font-weight: 700; line-height: 1.2;
  pointer-events: none;
}
.badge-mais-pedido  { background: var(--laranja); color: #fff; }
.badge-destaque-text { background: rgba(250,204,21,.15); color: #facc15; border: 1px solid rgba(250,204,21,.3); }

/* BTN-ADD — mobile: abaixo da imagem, full-width do img-wrap */
.btn-add {
  width: 110px; height: 44px; border-radius: 8px;
  background: var(--laranja); border: none; color: #fff;
  font-size: 22px; font-weight: 700; line-height: 1;
  cursor: pointer; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent; user-select: none;
  transition: background var(--trans);
}
.btn-add:hover { background: var(--laranja2); }

/* pop animation triggered by JS */
.btn-add.pop { animation: btnPop .35s cubic-bezier(.4,0,.2,1) both; }
@keyframes btnPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(.85); }
  70%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Ripple */
.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.3);
  transform: scale(0);
  animation: rippleGo .55s linear forwards;
  pointer-events: none;
}
@keyframes rippleGo { to { transform: scale(4); opacity: 0; } }

/* ====================================================
   DESKTOP ≥ 768px — hero + grid 2-col, card vertical
   ==================================================== */
@media (min-width: 768px) {
  /* Hero desktop: altura mínima maior, padding generoso */
  .hero {
    min-height: 320px;
    padding: 80px 32px 40px;
  }
  .hero-titulo {
    font-size: clamp(52px, 7vw, 80px);
  }
  .hero-sub { max-width: 480px; font-size: 15px; }
  .hero-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .hero-chips::-webkit-scrollbar { display: none; }

  .produtos-lista {
    display: grid; grid-template-columns: repeat(2,1fr); gap: 14px;
  }
  .produto-card {
    flex-direction: column; align-items: stretch;
    background: var(--preto2); border-bottom: none;
    border-radius: var(--radius); border: 1px solid rgba(255,255,255,.06);
    padding: 0; overflow: visible;
    transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  }
  .produto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(255,107,0,.16);
    border-color: rgba(255,107,0,.28);
  }
  /* image on top (order trick: img-wrap is second in HTML but appears first via order:-1) */
  .produto-img-wrap {
    order: -1;
    width: 100%; height: 160px; flex-shrink: 0;
    flex-direction: row; /* reset column */
    position: relative;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
  }
  .produto-img {
    width: 100%; height: 100%;
    border-radius: var(--radius) var(--radius) 0 0;
  }
  /* btn: floating circle bottom-right of the image */
  .btn-add {
    position: absolute; bottom: 10px; right: 10px;
    width: 44px; height: 44px; border-radius: 50%;
    box-shadow: 0 4px 14px rgba(255,107,0,.45);
    z-index: 3;
  }
  /* info below image */
  .produto-info {
    order: 1;
    padding: 14px 14px 16px;
    gap: 5px;
  }
  .produto-preco { font-size: 16px; margin-top: 6px; }
  .produto-desc { -webkit-line-clamp: 2; }
  .produto-card:last-child { border-bottom: 1px solid rgba(255,255,255,.06); }
}

@media (min-width: 1024px) {
  .produtos-lista { grid-template-columns: repeat(3,1fr); }
}

/* ── FLY TO CART ── */
.fly-dot {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--laranja); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}

/* ── FAB BOUNCE ── */
.fab-bounce {
  animation: fabBounce .4s cubic-bezier(.4,0,.2,1) !important;
}
@keyframes fabBounce {
  0%  { transform: translateX(-50%) scale(1); }
  30% { transform: translateX(-50%) scale(1.18); }
  55% { transform: translateX(-50%) scale(.9); }
  80% { transform: translateX(-50%) scale(1.07); }
  100%{ transform: translateX(-50%) scale(1); }
}

/* ── TOAST ── */
.toast-container {
  position: fixed; bottom: 94px; left: 50%; transform: translateX(-50%);
  z-index: 8000; display: flex; flex-direction: column-reverse; gap: 8px;
  pointer-events: none; align-items: center;
}
.toast {
  background: rgba(26,26,26,.96); border: 1px solid rgba(255,255,255,.1);
  color: var(--texto); font-size: 13px; font-weight: 600;
  padding: 10px 18px; border-radius: 24px;
  backdrop-filter: blur(16px); white-space: nowrap;
  animation: toastIn .28s ease both;
}
.toast.out { animation: toastOut .28s ease both; }
@keyframes toastIn  { from{opacity:0;transform:translateY(8px) scale(.94)} to{opacity:1;transform:none} }
@keyframes toastOut { to  {opacity:0;transform:translateY(-6px) scale(.94)} }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.72); backdrop-filter: blur(3px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-produto {
  width: 100%; max-width: 480px; max-height: 92dvh;
  background: var(--preto2); border-radius: 20px 20px 0 0;
  overflow-y: auto; overflow-x: hidden; position: relative;
  transform: translateY(100%);
  transition: transform .38s cubic-bezier(.32,.72,0,1);
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.1) transparent;
}
.modal-overlay.open .modal-produto { transform: translateY(0); }

@media (min-width: 768px) {
  .modal-overlay { align-items: center; }
  .modal-produto {
    border-radius: 20px; max-height: 86dvh;
    transform: scale(.9); opacity: 0;
    transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .25s ease;
  }
  .modal-overlay.open .modal-produto { transform: scale(1); opacity: 1; }
}

.modal-handle { padding: 10px 0 0; display: flex; justify-content: center; }
.modal-handle-bar { width: 34px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.15); }

.modal-close {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: none; color: var(--texto);
  font-size: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.modal-close:hover { background: rgba(255,255,255,.2); }

.modal-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--preto3); }
.modal-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 56px; opacity: .12;
}
.modal-body { padding: 20px 20px 28px; }
.modal-titulo { font-size: 20px; font-weight: 800; margin-bottom: 6px; line-height: 1.2; }
.modal-desc-txt { font-size: 14px; color: var(--texto2); margin-bottom: 10px; line-height: 1.5; }
.modal-preco-base { font-size: 18px; font-weight: 800; color: var(--laranja); margin-bottom: 16px; }
.secao-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--texto3); margin: 18px 0 10px;
}
.adicionais-lista { display: flex; flex-direction: column; gap: 2px; }
.adicional-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 10px; border-radius: 10px; cursor: pointer;
  transition: background var(--trans);
}
.adicional-item:hover { background: rgba(255,255,255,.04); }
.adicional-check { width: 18px; height: 18px; accent-color: var(--laranja); cursor: pointer; flex-shrink: 0; }
.adicional-nome { flex: 1; font-size: 14px; }
.adicional-preco { font-size: 13px; color: var(--laranja); font-weight: 600; white-space: nowrap; }

/* upsell no modal */
.upsell-secao { }
.upsell-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.upsell-scroll::-webkit-scrollbar { display: none; }
.upsell-item {
  flex-shrink: 0; width: 96px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: var(--preto3); border-radius: 10px; padding: 8px;
}
.upsell-img {
  width: 60px; height: 60px; border-radius: 8px; overflow: hidden;
  background: var(--preto4); display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.upsell-img img { width: 100%; height: 100%; object-fit: cover; }
.upsell-nome { font-size: 11px; font-weight: 600; text-align: center; line-height: 1.3; }
.upsell-preco { font-size: 12px; color: var(--laranja); font-weight: 700; }
.upsell-add {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--laranja); border: none; color: #fff;
  font-size: 17px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s;
}
.upsell-add:active { transform: scale(.85); }

/* obs */
.obs-box { margin-top: 16px; }
.obs-label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
.obs-opcional { color: var(--texto3); font-weight: 400; font-size: 12px; }
.obs-textarea {
  width: 100%; height: 68px; resize: none;
  background: var(--preto3); border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px; padding: 10px 12px;
  color: var(--texto); font-size: 13px; font-family: inherit;
  outline: none; transition: border-color var(--trans);
}
.obs-textarea:focus { border-color: var(--laranja); }
.obs-counter { text-align: right; font-size: 11px; color: var(--texto3); margin-top: 3px; }

/* modal actions */
.modal-acoes {
  display: flex; gap: 12px; align-items: center;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.qty-ctrl { display: flex; align-items: center; }
.qty-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--preto3); border: 1px solid rgba(255,255,255,.1);
  color: var(--texto); font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans), border-color var(--trans);
}
.qty-btn:hover { background: var(--laranja); border-color: var(--laranja); }
.qty-num { width: 40px; text-align: center; font-size: 16px; font-weight: 700; }
.btn-add-carrinho {
  flex: 1; height: 48px; border-radius: 24px;
  background: var(--laranja); border: none; color: #fff;
  font-size: 15px; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background var(--trans), transform .15s;
}
.btn-add-carrinho:hover { background: var(--laranja2); }
.btn-add-carrinho:active { transform: scale(.97); }
.btn-add-carrinho.sucesso { background: #22c55e; }
.btn-add-carrinho[disabled] { background: var(--preto4); color: var(--texto3); cursor: not-allowed; }

/* ── FAB CARRINHO ── */
.fab-carrinho {
  position: fixed; bottom: calc(22px + env(safe-area-inset-bottom)); left: 50%;
  transform: translateX(-50%) translateY(90px);
  z-index: 200;
  display: flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 22px 0 18px;
  background: var(--laranja); border: none; border-radius: 26px;
  color: #fff; font-size: 15px; font-weight: 800;
  cursor: pointer; box-shadow: 0 8px 28px rgba(255,107,0,.4);
  transition: transform .42s cubic-bezier(.34,1.56,.64,1), background var(--trans);
  white-space: nowrap;
}
.fab-carrinho.visivel { transform: translateX(-50%) translateY(0); }
.fab-carrinho:hover   { background: var(--laranja2); }
.fab-badge {
  background: rgba(0,0,0,.22); border-radius: 12px;
  padding: 2px 7px; font-size: 12px; font-weight: 800;
  min-width: 22px; text-align: center;
}
.fab-sep { opacity: .35; }

/* ── FAB WHATSAPP ── */
.fab-whatsapp {
  position: fixed; bottom: calc(88px + env(safe-area-inset-bottom)); right: 16px;
  z-index: 201; width: 48px; height: 48px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.38); text-decoration: none;
  animation: waPulse 3s ease-in-out infinite;
}
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,.38); }
  50%      { box-shadow: 0 4px 30px rgba(37,211,102,.65); }
}

/* ── DRAWER ── */
.carrinho-backdrop {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.6); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.carrinho-backdrop.aberto { opacity: 1; pointer-events: all; }

.carrinho-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw); z-index: 400;
  background: var(--preto2);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.carrinho-drawer.aberto { transform: translateX(0); }

.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.drawer-titulo { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.drawer-qtd-badge {
  background: var(--laranja); color: #fff;
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px;
}
.drawer-fechar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--preto3); border: none; color: var(--texto);
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.drawer-fechar:hover { background: var(--preto4); }

.drawer-itens { flex: 1; overflow-y: auto; padding: 4px 0; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.08) transparent; }

/* Item no carrinho */
.item-carrinho {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  position: relative;
  transition: transform .25s ease, opacity .25s ease, background .15s;
  touch-action: pan-y;
  overflow: hidden;
}
.item-carrinho.saindo { opacity: 0; transform: translateX(50px); }
.item-info { flex: 1; min-width: 0; }
.item-nome  { font-size: 14px; font-weight: 700; }
.item-adics { font-size: 12px; color: var(--texto3); margin-top: 2px; }
.item-obs   { font-size: 12px; color: var(--texto3); margin-top: 2px; }
.item-ctrl  { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.item-btn {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--preto3); border: 1px solid rgba(255,255,255,.09);
  color: var(--texto); font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.item-btn:hover { background: var(--laranja); border-color: var(--laranja); }
.item-qty { width: 28px; text-align: center; font-size: 14px; font-weight: 700; }
.item-remover {
  display: block; background: none; border: none;
  color: var(--texto3); font-size: 12px; cursor: pointer;
  padding: 2px 0; margin-top: 4px;
  transition: color var(--trans);
}
.item-remover:hover { color: #f87171; }
.item-preco { font-size: 15px; font-weight: 800; color: var(--laranja); white-space: nowrap; padding-top: 2px; }

/* swipe delete layer */
.item-swipe-delete {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 72px; background: #ef4444;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; opacity: 0; pointer-events: none;
  transition: opacity .15s;
}

/* Carrinho vazio */
.carrinho-vazio { text-align: center; padding: 60px 20px 40px; }
.carrinho-vazio-emoji { font-size: 44px; margin-bottom: 10px; opacity: .25; }
.carrinho-vazio-titulo { font-size: 16px; font-weight: 700; color: var(--texto2); }

/* Upsell no drawer */
.drawer-upsell {
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 12px 20px 14px;
}
.drawer-upsell-titulo {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--texto3); margin-bottom: 10px;
}
.drawer-upsell-scroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.drawer-upsell-scroll::-webkit-scrollbar { display: none; }
.drawer-upsell-item {
  flex-shrink: 0; display: flex; align-items: center; gap: 8px;
  background: var(--preto3); border-radius: 10px; padding: 8px 10px;
  min-width: 160px; cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--trans), border-color var(--trans);
}
.drawer-upsell-item:hover { background: var(--preto4); border-color: rgba(255,107,0,.2); }
.drawer-upsell-img {
  width: 40px; height: 40px; border-radius: 8px; overflow: hidden;
  background: var(--preto4); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.drawer-upsell-img img { width: 100%; height: 100%; object-fit: cover; }
.drawer-upsell-info { flex: 1; min-width: 0; }
.drawer-upsell-nome  { font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-upsell-preco { font-size: 12px; color: var(--laranja); font-weight: 700; margin-top: 1px; }
.drawer-upsell-btn {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--laranja); border: none; color: #fff;
  font-size: 17px; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s, background var(--trans);
}
.drawer-upsell-btn:hover { background: var(--laranja2); }
.drawer-upsell-btn:active { transform: scale(.85); }

/* Resumo */
.drawer-resumo {
  flex-shrink: 0;
  padding: 12px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,.06);
}
.resumo-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; font-size: 14px; color: var(--texto2);
}
.resumo-row.total {
  font-size: 17px; font-weight: 800; color: var(--texto);
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 4px; padding-top: 10px;
}
.resumo-entrega-gratis { color: #4ade80; font-weight: 700; }
.cupom-row { margin-top: 12px; }
.cupom-input-wrap { display: flex; gap: 8px; }
.cupom-input {
  flex: 1; height: 38px;
  background: var(--preto3); border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px; padding: 0 12px;
  color: var(--texto); font-size: 13px; font-family: inherit; outline: none;
  transition: border-color var(--trans);
}
.cupom-input:focus { border-color: var(--laranja); }
.cupom-btn {
  height: 38px; padding: 0 14px;
  background: var(--laranja); border: none; border-radius: 8px;
  color: #fff; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background var(--trans);
}
.cupom-btn:hover { background: var(--laranja2); }
.cupom-msg { font-size: 12px; margin-top: 5px; min-height: 16px; }
.btn-checkout {
  display: flex; align-items: center; justify-content: center;
  margin-top: 14px; height: 50px; border-radius: 25px;
  background: var(--laranja); color: #fff;
  font-size: 15px; font-weight: 800; text-decoration: none;
  transition: background var(--trans), transform .15s;
}
.btn-checkout:hover { background: var(--laranja2); }
.btn-checkout:active { transform: scale(.98); }
.btn-checkout.desabilitado {
  background: var(--preto3); color: var(--texto3);
  pointer-events: none; cursor: not-allowed;
}
.minimo-aviso { font-size: 12px; color: var(--texto3); text-align: center; margin-top: 8px; }

/* ── ESGOTADO ── */
.produto-card[data-esgotado="true"] { opacity: .45; pointer-events: none; }

/* ── BREAKPOINT PEQUENO 360px ── */
@media (max-width: 360px) {
  .header-inner { padding: 0 10px; gap: 8px; }
  .logo-texto { font-size: 15px; }
  .logo-emoji { font-size: 22px; }
  .badge-status { padding: 3px 7px; font-size: 11px; }
  .header-tempo { display: none; }
  .hero-titulo { font-size: clamp(30px, 10vw, 50px); }
  .produto-img-wrap { width: 90px; }
  .produto-img { width: 90px; height: 90px; }
  .btn-add { width: 90px; }
  .hero { padding: 18px 14px 22px; }
  .cat-section { padding: 16px 10px 0; }
}
