/* ============================================================
   LINGUIÇINHA'S FOODS — style.css
   Mobile-first. Identidade: dark premium, app de delivery,
   fogo/vermelho/laranja/dourado sobre grafite quase preto.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #0d0d0d;
  --bg-soft: #121212;
  --surface: #181818;
  --surface-2: #1c1a18;
  --border-hairline: rgba(255, 255, 255, 0.06);

  --red: #c90012;
  --red-dark: #5c0009;
  --red-deep: #3a0006;
  --orange: #f58216;
  --yellow: #ffc21a;
  --gold: #ffd166;
  --gold-line: rgba(255, 209, 102, 0.28);
  --gold-line-strong: rgba(255, 209, 102, 0.55);
  --flame: #ff4d1c;
  --white: #ffffff;
  --text-secondary: #c9beb5;
  --text-muted: #8f8880;
  --green: #1f9d55;
  --gray: #8a7f77;

  --gradient-fire: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 45%, var(--red) 100%);
  --gradient-cta: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
  --gradient-fire-soft: radial-gradient(circle at 30% 20%, rgba(245, 130, 22, 0.16), transparent 60%);
  --gradient-header: linear-gradient(165deg, var(--red-dark) 0%, var(--red-deep) 100%);

  --shadow-card: 0 6px 18px rgba(0, 0, 0, 0.45);
  --shadow-pop: 0 12px 32px rgba(0, 0, 0, 0.55);
  --shadow-gold-glow: 0 6px 20px rgba(245, 130, 22, 0.35);

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

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Poppins", sans-serif;

  --header-h: 128px;
  --subnav-h: 108px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding-bottom: 90px; /* espaço p/ carrinho flutuante */
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }

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

:focus-visible {
  outline: 3px solid var(--flame);
  outline-offset: 2px;
}

/* ---------- Textura de fundo ---------- */
.fire-texture {
  background-image:
    radial-gradient(circle at 15% 0%, rgba(245, 130, 22, 0.07) 0, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(201, 0, 18, 0.08) 0, transparent 45%);
  background-attachment: fixed;
}

/* ============================================================
   CABEÇALHO
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--gradient-header);
  color: var(--white);
  padding: 12px 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 209, 102, 0.14);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg);
  padding: 2px;
  box-shadow: 0 0 0 2px var(--gold), 0 4px 10px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.logo-wrap img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}

.brand-info { flex: 1; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 1.08rem;
  line-height: 1.15;
  margin: 0;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 0.72rem;
  font-weight: 600;
}

.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #33d17a;
  box-shadow: 0 0 0 3px rgba(51, 209, 122, 0.22);
  flex-shrink: 0;
}
.status-row.is-closed .status-dot {
  background: #ff5c5c;
  box-shadow: 0 0 0 3px rgba(255, 92, 92, 0.22);
}
.status-row.is-closed .status-label { color: #ffb4b4; }
.status-label { color: #b9f2cf; }

.header-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 209, 102, 0.25);
  color: var(--white);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  min-width: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}
.header-icon-btn:hover { background: rgba(255, 255, 255, 0.16); }
.header-icon-btn:active { transform: scale(0.96); }
.header-icon-btn.whatsapp { background: var(--green); border-color: var(--green); }
.header-icon-btn.whatsapp:hover { background: #24b263; }
.header-icon-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.header-icon-btn span,
.header-icon-btn .btn-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* ---------- Entrega + WhatsApp no mobile: SEMPRE lado a lado -----------
   Grid explícito de 2 colunas iguais. Nunca 1 coluna, nunca
   flex-direction:column, nunca wrap para a linha de baixo. */
.header-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  align-items: stretch;
  max-width: 1180px;
  margin: 10px auto 0;
  gap: 8px;
  width: 100%;
}
.header-bottom-row .header-icon-btn {
  width: 100%;
  min-width: 0;
  padding: 10px 6px;
  font-size: 0.78rem;
}

/* Telas muito estreitas (320px): reduz padding/gap/fonte, mas
   continua em 2 colunas — nunca empilha. */
@media (max-width: 359px) {
  .header-bottom-row { gap: 6px; }
  .header-bottom-row .header-icon-btn {
    padding: 9px 4px;
    font-size: 0.7rem;
    gap: 4px;
  }
  .header-icon-btn svg { width: 13px; height: 13px; }
}

@media (min-width: 760px) {
  .site-header { padding: 14px 24px; }
  .logo-wrap { width: 64px; height: 64px; }
  .brand-name { font-size: 1.4rem; }
  .header-row { flex-wrap: nowrap; }
  .header-bottom-row { display: none; }
  .status-row { margin-top: 5px; font-size: 0.8rem; }
}

.desktop-only-actions { display: none; }
@media (min-width: 760px) { .desktop-only-actions { display: flex; } }
.mobile-only { display: block; }
@media (min-width: 760px) { .mobile-only { display: none; } }

/* ============================================================
   FAIXA ANIMADA
   ============================================================ */
.marquee {
  background: linear-gradient(90deg, var(--gold) 0%, var(--orange) 100%);
  color: #2a0e02;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  position: relative;
}
.marquee-track {
  display: inline-flex;
  animation: marquee-scroll 24s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  padding: 6px 0;
  display: inline-block;
}
.marquee-track span::after {
  content: "★";
  margin: 0 14px;
  color: #2a0e02;
  opacity: 0.6;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ============================================================
   APRESENTAÇÃO / HERO
   ============================================================ */
.hero {
  padding: 26px 16px 8px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0 0 8px;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.hero h1 .hero-highlight {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (min-width: 760px) {
  .hero h1 { font-size: 2.1rem; }
  .hero p { font-size: 1.05rem; }
}

/* ============================================================
   BUSCA
   ============================================================ */
.search-section {
  padding: 14px 16px 10px;
  max-width: 720px;
  margin: 0 auto;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 11px 16px;
  box-shadow: var(--shadow-card);
}
.search-bar svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.search-bar input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.92rem;
  font-family: var(--font-body);
  background: transparent;
  color: var(--white);
  min-width: 0;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-clear-x {
  border: none; background: none; color: var(--text-muted);
  font-size: 1rem; line-height: 1; padding: 4px;
  display: none;
}
.search-bar.has-value .search-clear-x { display: block; }

/* ============================================================
   BARRA STICKY (busca + categorias, ao rolar)
   ============================================================ */
.sticky-controls {
  position: sticky;
  top: var(--sticky-top, 78px);
  z-index: 30;
  background: var(--bg);
}
.sticky-controls.is-stuck {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* ---------- Categorias ---------- */
.categories-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 16px 14px;
  max-width: 1180px;
  margin: 0 auto;
  scrollbar-width: none;
}
.categories-nav::-webkit-scrollbar { display: none; }

.category-pill {
  flex-shrink: 0;
  border: 1px solid var(--gold-line);
  color: var(--text-secondary);
  background: var(--surface);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.category-pill:hover { border-color: var(--gold-line-strong); color: var(--white); }
.category-pill.is-active {
  background: var(--gradient-cta);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-gold-glow);
}

/* ============================================================
   SEÇÕES DE PRODUTOS
   ============================================================ */
.catalog { max-width: 1180px; margin: 0 auto; padding: 4px 16px 24px; }

.category-section { margin-bottom: 28px; scroll-margin-top: 220px; }

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 4px;
  position: relative;
  padding-left: 14px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0; top: 3px; bottom: 3px;
  width: 4px;
  background: var(--gradient-cta);
  border-radius: 4px;
}
.section-heading h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-icon { font-size: 1.05em; line-height: 1; }
.section-tagline {
  margin: 0 0 14px 14px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 380px) {
  .product-grid { gap: 10px; }
}
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 980px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Card de produto ---------- */
.product-card {
  background: var(--surface);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-hairline);
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-pop);
  border-color: var(--gold-line);
}

.product-card.is-combo {
  border: 1px solid var(--gold-line-strong);
}

.product-photo {
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  background-image: var(--gradient-fire-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-photo.placeholder svg { width: 34px; height: 34px; color: var(--orange); opacity: 0.5; }

.badge-combo {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--gradient-cta);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0;
  color: var(--white);
  line-height: 1.25;
}
.product-desc {
  margin: 0;
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.4;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}
.product-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: 0.94rem;
  line-height: 1.2;
}
.product-price .price-prefix {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.64rem;
  color: var(--text-muted);
  display: block;
}
.product-price .price-original {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
}
.sheet-price-row .price-original {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 8px;
}

.btn-add {
  background: var(--gradient-cta);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(201, 0, 18, 0.35);
  transition: transform 0.12s ease;
}
.btn-add:active { transform: scale(0.94); }

/* ---------- Stepper direto no card (produtos simples) ---------- */
.card-qty-control { display: flex; align-items: center; }
.stepper-card { border-color: var(--gold-line-strong); }
.stepper-card button { width: 28px; height: 28px; font-size: 1rem; }
.stepper-card .stepper-value { min-width: 22px; font-size: 0.84rem; }

/* ---------- Sem resultados ---------- */
.no-results {
  text-align: center;
  padding: 50px 20px;
  max-width: 420px;
  margin: 0 auto;
}
.no-results .emoji { font-size: 2.4rem; }
.no-results-icon { width: 44px; height: 44px; margin: 0 auto; color: var(--text-muted); }
.no-results-icon svg { width: 100%; height: 100%; }
.no-results h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  margin: 8px 0 4px;
}
.no-results p { color: var(--text-secondary); margin: 0 0 16px; }

/* ============================================================
   BOTÕES GENÉRICOS
   ============================================================ */
.btn {
  border: none;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: var(--font-body);
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--gradient-cta);
  color: var(--white);
  box-shadow: var(--shadow-pop);
  width: 100%;
}
.btn-secondary {
  background: var(--surface);
  color: var(--white);
  border: 1px solid var(--gold-line-strong);
  width: 100%;
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  text-decoration: underline;
  font-weight: 600;
  padding: 10px;
}
.btn:disabled { opacity: 0.4; pointer-events: none; }
.btn-block { width: 100%; display: block; }

/* ============================================================
   OVERLAY / MODAL / BOTTOM SHEET
   ============================================================ */
.overlay-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.overlay-backdrop.is-open { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--bg-soft);
  border: 1px solid var(--border-hairline);
  border-bottom: none;
  border-radius: 22px 22px 0 0;
  z-index: 95;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(.32,.72,0,1);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.6);
  color: var(--white);
}
.sheet.is-open { transform: translateY(0); }

.sheet-handle {
  width: 42px; height: 5px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  margin: 10px auto 4px;
  flex-shrink: 0;
}

.sheet-close {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1;
  z-index: 2;
}

.sheet-body {
  overflow-y: auto;
  padding: 4px 18px 18px;
}

.sheet-photo {
  aspect-ratio: 16/9;
  border-radius: var(--radius-m);
  background: var(--surface-2);
  background-image: var(--gradient-fire-soft);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--border-hairline);
}
.sheet-photo img { width: 100%; height: 100%; object-fit: cover; }
.sheet-photo svg { width: 52px; height: 52px; color: var(--orange); opacity: 0.5; }

.sheet-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 0 4px;
  color: var(--white);
}
.sheet-desc { margin: 0 0 16px; color: var(--text-secondary); font-size: 0.88rem; }

.option-group { margin-bottom: 18px; }
.option-group-label {
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}
.option-group-hint { font-weight: 400; color: var(--text-muted); font-size: 0.74rem; }

.variant-list, .flavor-list, .beverage-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--border-hairline);
  background: var(--surface);
  border-radius: var(--radius-s);
  padding: 11px 14px;
  font-size: 0.88rem;
  color: var(--white);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.option-row.is-selected {
  border-color: var(--orange);
  background: rgba(245, 130, 22, 0.1);
}
.option-row input[type="radio"],
.option-row input[type="checkbox"] {
  width: 19px; height: 19px;
  accent-color: var(--orange);
  flex-shrink: 0;
}
.option-row label { flex: 1; display: flex; justify-content: space-between; gap: 8px; cursor: pointer; }
.option-row .opt-price { color: var(--gold); font-weight: 700; white-space: nowrap; }
.option-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.option-icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.qty-note {
  margin-top: 4px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

textarea, input[type="text"], input[type="tel"], input[type="number"] {
  width: 100%;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-s);
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--surface);
  color: var(--white);
}
textarea::placeholder, input::placeholder { color: var(--text-muted); }
textarea:focus, input:focus { border-color: var(--gold); outline: none; }
textarea { resize: vertical; min-height: 70px; }

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.84rem;
  margin-bottom: 6px;
  color: var(--white);
}
.field-error {
  color: #ff6b6b;
  font-size: 0.76rem;
  margin-top: 4px;
  display: none;
}
.field.has-error input, .field.has-error textarea { border-color: #ff6b6b; }
.field.has-error .field-error { display: block; }

.sheet-footer {
  padding: 12px 18px 18px;
  border-top: 1px solid var(--border-hairline);
  background: var(--bg-soft);
  flex-shrink: 0;
}
.sheet-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
}

@media (min-width: 700px) {
  .sheet {
    left: 50%; right: auto; bottom: auto; top: 50%;
    transform: translate(-50%, -46%);
    width: 92%; max-width: 560px;
    border-radius: var(--radius-l);
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
    max-height: 88vh;
  }
  .sheet.is-open { transform: translate(-50%, -50%); opacity: 1; }
  .sheet-handle { display: none; }
}

/* ============================================================
   STEPPER DE QUANTIDADE
   ============================================================ */
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--gold-line-strong);
  border-radius: 999px;
  overflow: hidden;
}
.stepper button {
  background: var(--surface);
  border: none;
  width: 32px; height: 32px;
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.stepper button:hover { background: var(--surface-2); }
.stepper .stepper-value {
  min-width: 26px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

/* ============================================================
   CARRINHO FLUTUANTE
   ============================================================ */
.floating-cart {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 50;
  background: var(--gradient-cta);
  color: var(--white);
  border-radius: 999px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transform: translateY(140%);
  transition: transform 0.25s cubic-bezier(.32,.72,0,1);
  border: none;
  width: calc(100% - 24px);
  max-width: 620px;
  margin: 0 auto;
}
.floating-cart.is-visible { transform: translateY(0); }
.floating-cart-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}
.floating-cart-count {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 0.78rem;
}
.floating-cart-total { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }

@media (min-width: 760px) {
  .floating-cart { left: auto; right: 24px; bottom: 24px; width: auto; min-width: 320px; }
}

/* ============================================================
   CARRINHO (sheet)
   ============================================================ */
.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-hairline);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 0.92rem; margin: 0 0 2px; color: var(--white); }
.cart-item-meta { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.4; margin: 0 0 6px; }
.cart-item-meta-line { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.4; margin: 0 0 3px; }
.cart-item-meta-line strong { color: var(--white); font-weight: 700; }
.cart-item-note { margin: 6px 0 10px; }
.cart-item-note-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.cart-item-note-input {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 0.82rem;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-s);
  background: var(--surface);
  color: var(--white);
  resize: vertical;
}
.cart-item-note-input:focus { border-color: var(--gold); outline: none; }
.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cart-item-links { display: flex; gap: 12px; }
.link-btn {
  background: none; border: none; padding: 0;
  font-size: 0.78rem; font-weight: 700; text-decoration: underline;
  color: var(--gold);
}
.cart-item-price { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 0.95rem; white-space: nowrap; }

.empty-cart { text-align: center; padding: 40px 20px; color: var(--text-secondary); }
.empty-cart .emoji { font-size: 2.2rem; }
.empty-cart-icon { color: var(--gold); opacity: 0.7; margin: 0 auto 10px; }

.cart-summary {
  margin-top: 10px;
  border-top: 1px solid var(--border-hairline);
  padding-top: 10px;
}
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 0.88rem; margin-bottom: 6px; color: var(--text-secondary);
}
.summary-row.total {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 8px;
}

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-step { display: none; }
.checkout-step.is-active { display: block; }

.step-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.step-progress span {
  height: 4px; flex: 1;
  background: var(--surface-2);
  border-radius: 4px;
}
.step-progress span.is-done { background: var(--gradient-cta); }

.choice-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.choice-card {
  border: 1px solid var(--border-hairline);
  background: var(--surface);
  color: var(--white);
  border-radius: var(--radius-m);
  padding: 16px 10px;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.choice-card .choice-emoji { font-size: 1.5rem; display: block; margin-bottom: 6px; }
.choice-card .choice-icon { display: block; margin: 0 auto 6px; width: 26px; height: 26px; color: var(--gold); }
.choice-card .choice-icon svg { width: 100%; height: 100%; }
.choice-card.is-selected .choice-icon { color: var(--orange); }
.choice-card.is-selected { border-color: var(--orange); background: rgba(245, 130, 22, 0.12); box-shadow: var(--shadow-card); }

.review-block { margin-bottom: 16px; }
.review-block h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin: 0 0 6px;
  text-transform: uppercase;
}
.review-block p { margin: 2px 0; font-size: 0.88rem; color: var(--text-secondary); }

.confirmation-panel {
  text-align: center;
  padding: 20px 10px 6px;
}
.confirmation-panel .big-check { width: 60px; height: 60px; margin: 0 auto; color: var(--gold); }
.confirmation-panel .big-check svg { width: 100%; height: 100%; }
.confirmation-panel h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  margin: 6px 0 4px;
  font-size: 1.3rem;
}
.confirmation-panel p { color: var(--text-secondary); margin: 2px 0; font-size: 0.9rem; }

/* ============================================================
   TOASTS
   ============================================================ */
.toast-container {
  position: fixed;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: calc(100% - 24px);
  max-width: 360px;
  align-items: center;
}
.toast {
  background: var(--surface);
  border: 1px solid var(--gold-line);
  color: var(--white);
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .sheet, .floating-cart, .toast, .product-card { transition: none; }
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.site-footer {
  background: var(--bg-soft);
  color: var(--text-secondary);
  padding: 30px 16px 26px;
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid var(--border-hairline);
}
.site-footer .footer-logo {
  width: 54px; height: 54px; border-radius: 50%;
  margin: 0 auto 10px;
  box-shadow: 0 0 0 2px var(--gold);
  overflow: hidden;
}
.site-footer .footer-logo img { width: 100%; height: 100%; object-fit: cover; }
.site-footer h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.site-footer p { font-size: 0.8rem; margin: 3px 0; color: var(--text-secondary); }
.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  background: var(--green);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}
.footer-note { margin-top: 16px; font-size: 0.72rem; color: var(--text-muted); }

/* ============================================================
   UTILIDADES
   ============================================================ */
.hidden { display: none !important; }


/* ============================================================
   FUNCIONAMENTO — FECHADO AOS DOMINGOS
   ============================================================ */
.sunday-closed-banner {
  margin: 14px auto 0;
  width: min(calc(100% - 32px), 760px);
  padding: 12px 18px;
  border: 1px solid var(--gold-line-strong);
  border-radius: 14px;
  background: rgba(58, 0, 6, 0.94);
  color: var(--white);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  font-size: 0.9rem;
}
.sunday-closed-banner strong { color: var(--gold); }
.sunday-closed-banner span { margin-left: 5px; color: var(--text-secondary); }
.site-footer .footer-hours {
  margin: 10px 0 6px;
  color: var(--white);
}
.site-footer .footer-hours strong { color: var(--gold); }
@media (max-width: 520px) {
  .sunday-closed-banner { padding: 11px 14px; font-size: 0.82rem; }
  .sunday-closed-banner span { display: block; margin: 2px 0 0; }
}
