/* Crystal Pizzas & Salgados — Premium v5.0
   Mobile-First · Red Header · 2-Col Hero · Responsive Grid
   ──────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ════════════════════════════════
   ANIMATIONS (global)
════════════════════════════════ */
@keyframes float {
  0%,100% { transform: translateY(0px) rotate(0deg) }
  33%      { transform: translateY(-14px) rotate(3deg) }
  66%      { transform: translateY(-7px) rotate(-1.5deg) }
}
@keyframes floatSlow {
  0%,100% { transform: translateY(0px) rotate(0deg) scale(1) }
  50%      { transform: translateY(-10px) rotate(-2deg) scale(1.03) }
}
@keyframes spinSlow {
  from { transform: rotate(0deg) }
  to   { transform: rotate(360deg) }
}
@keyframes fadeSlideUp {
  from { opacity:0; transform:translateY(20px) }
  to   { opacity:1; transform:translateY(0) }
}
@keyframes scaleIn {
  from { opacity:0; transform:scale(.85) }
  to   { opacity:1; transform:scale(1) }
}

/* ════════════════════════════════
   TOKENS
════════════════════════════════ */
:root {
  --red:          #C9251A;
  --red-deep:     #9E1510;
  --red-hover:    #A8180F;
  --red-light:    #FCECEA;
  --red-mid:      rgba(201,37,26,.13);
  --red-glow:     rgba(201,37,26,.28);
  --orange:       #E05018;
  --warm:         #F0A020;

  --bg:           #F7F3EF;
  --bg-card:      #FFFFFF;
  --bg-input:     #EEE6DE;
  --surface:      #E5D8CE;

  --text:         #1A0800;
  --text-mid:     #5A3010;
  --text-soft:    #9A6840;
  --text-muted:   #C0A080;

  --green:        #1A7A42;
  --green-dark:   #104D28;
  --green-light:  rgba(26,122,66,.1);

  --border:       rgba(26,8,0,.07);
  --border-mid:   rgba(26,8,0,.13);
  --border-strong:rgba(26,8,0,.22);

  --shadow-xs: 0 1px 3px rgba(26,8,0,.05), 0 1px 2px rgba(26,8,0,.07);
  --shadow-sm: 0 2px 8px rgba(26,8,0,.07), 0 1px 3px rgba(26,8,0,.05);
  --shadow-md: 0 6px 22px rgba(26,8,0,.10), 0 2px 6px rgba(26,8,0,.06);
  --shadow-lg: 0 14px 44px rgba(26,8,0,.14), 0 4px 12px rgba(26,8,0,.07);
  --shadow-red:0 4px 20px rgba(201,37,26,.32);

  --r-sm:   8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 36px;
  --r-full:999px;

  --header-h:  60px;
  --wrap:      1200px;
  --gutter:    20px;

  --ease-out:    cubic-bezier(0,.9,.57,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ════════════════════════════════
   RESET
════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { font-size: 16px; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100% }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit }
a { text-decoration: none; color: inherit }
input, select, textarea { font-family: inherit }
ul, ol { list-style: none }

/* ════════════════════════════════
   HEADER
════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--header-h);
  background: var(--red);
  box-shadow: 0 2px 16px rgba(201,37,26,.35);
}
.site-header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 16px;
}
.header-logo { display: flex; align-items: center; flex-shrink: 0 }
.header-logo img { height: 36px; width: auto }

/* Nav links — desktop only */
.header-nav { display: none; align-items: center; gap: 4px; flex: 1; margin-left: 16px }
.header-nav-link {
  padding: 6px 14px; border-radius: var(--r-full);
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8);
  transition: background .15s, color .15s;
}
.header-nav-link:hover { background: rgba(255,255,255,.15); color: #fff }

.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto }
.header-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-full);
  color: rgba(255,255,255,.92);
  transition: background .15s;
}
.header-btn:hover { background: rgba(255,255,255,.18) }
.header-btn svg { width: 22px; height: 22px }
.cart-header-btn { position: relative }
.cart-badge {
  position: absolute; top: 4px; right: 4px;
  width: 18px; height: 18px;
  background: #fff; color: var(--red);
  font-size: 10px; font-weight: 800;
  border-radius: 50%;
  display: none; align-items: center; justify-content: center;
}
.cart-badge.visible { display: flex }

/* ════════════════════════════════
   BANNER SLIDER (carrossel rotativo)
════════════════════════════════ */
.banner-slider {
  position: relative;
  width: 100%; overflow: hidden;
  background: #111;
  outline: none;
  cursor: grab;
}
.banner-slider:active { cursor: grabbing }

.banner-track { position: relative; width: 100%; }

.banner-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  opacity: 0;
  transition: opacity .65s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative; /* primeiro slide define a altura */
}
/* Mantém proporção — o primeiro slide em static, os outros em absolute */
.banner-slide:not(.active) { position: absolute }

/* Dots */
.banner-dots {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 10;
}
.banner-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none; padding: 0; cursor: pointer;
  transition: width .3s var(--ease-spring), background .3s, border-radius .3s;
}
.banner-dot.active {
  width: 22px; border-radius: 4px; background: #fff;
}

/* Prev / Next */
.banner-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
  display: none; align-items: center; justify-content: center;
  transition: background .18s, transform .18s var(--ease-spring);
}
.banner-nav:hover { background: rgba(255,255,255,.32); transform: translateY(-50%) scale(1.08) }
.banner-nav svg { width: 18px; height: 18px }
.banner-prev { left: 14px }
.banner-next { right: 14px }

@media (min-width: 640px) {
  .banner-nav { display: flex }
}

/* ════════════════════════════════
   HERO
   Mobile:  banner full-width + price bar
   Desktop: 2-col grid (banner | text panel)
════════════════════════════════ */
.hero {
  display: flex;
  flex-direction: column;
  background: var(--text);
}

/* ── Banner slider wrapper ── */
.hero-media { position: relative; flex-shrink: 0 }

/* ── Text Panel (right) — DESKTOP only ── */
.hero-panel {
  display: none;
  flex-direction: column; justify-content: center;
  background: var(--bg-card);
  padding: 48px 52px;
}
.hero-panel-prices {
  display: flex; align-items: center; gap: 0;
  background: var(--bg); border: 1.5px solid var(--border-mid);
  border-radius: var(--r-xl); overflow: hidden;
  margin: 24px 0 28px; box-shadow: var(--shadow-xs);
}
.hero-panel-price {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 14px 12px; gap: 3px;
}
.hpp-label { font-size: 10px; font-weight: 600; color: var(--text-soft); text-transform: uppercase; letter-spacing: .06em }
.hpp-value { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -.03em }
.hpp-sep { width: 1px; height: 36px; background: var(--border-mid); flex-shrink: 0 }
.hero-panel-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: #fff;
  border-radius: var(--r-full); padding: 14px 28px;
  font-size: 15px; font-weight: 700; width: fit-content;
  box-shadow: var(--shadow-red);
  transition: background .15s, transform .2s var(--ease-spring);
  margin-top: 28px;
}
.hero-panel-cta:hover { background: var(--red-hover); transform: translateX(3px) }
.hero-panel-cta svg { width: 18px; height: 18px }

/* Hero panel entrance animation */
.hero-panel > * {
  animation: fadeSlideUp .5s var(--ease-spring) both;
}
.hero-panel > *:nth-child(1) { animation-delay: .05s }
.hero-panel > *:nth-child(2) { animation-delay: .12s }
.hero-panel > *:nth-child(3) { animation-delay: .19s }
.hero-panel > *:nth-child(4) { animation-delay: .26s }
.hero-panel > *:nth-child(5) { animation-delay: .33s }
.hero-panel > *:nth-child(6) { animation-delay: .40s }

/* ── Price bar — MOBILE only ── */
.hero-prices-bar {
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex; gap: 10px; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-xs);
}
.hero-prices-bar::-webkit-scrollbar { display: none }
.hero-price-tag {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md); padding: 9px 14px;
  transition: border-color .18s, transform .18s var(--ease-spring);
}
.hero-price-tag:hover { border-color: var(--red-mid); transform: translateY(-1px) }
.hpt-icon {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--red-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hpt-icon svg { width: 16px; height: 16px; color: var(--red) }
.hpt-info { display: flex; flex-direction: column; gap: 1px }
.hpt-size { font-size: 9px; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: .07em }
.hpt-price { font-size: 16px; font-weight: 800; color: var(--text); letter-spacing: -.02em }

/* Shared hero type */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-bottom: 7px;
}
.hero-panel .hero-eyebrow { color: var(--red) }
.hero-eyebrow::before {
  content: ''; width: 18px; height: 1.5px;
  background: currentColor; border-radius: 2px;
}
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 30px; font-weight: 800;
  line-height: 1.1; letter-spacing: -.01em;
  color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.35);
  margin-bottom: 14px;
}
.hero-title em { font-style: italic; color: #FFD09A }
.hero-panel .hero-title { color: var(--text); text-shadow: none }
.hero-panel .hero-title em { color: var(--red) }
.hero-sub { font-size: 14px; color: var(--text-soft); line-height: 1.65; margin-bottom: 0 }
.hero-status {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  border-radius: var(--r-full); padding: 7px 14px;
  font-size: 12px; font-weight: 600; color: #fff;
}
.hero-panel .hero-status {
  background: var(--green-light); border-color: rgba(26,122,66,.25);
  color: var(--green); backdrop-filter: none;
}
.hero-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ADE80; animation: pulse-dot 2s ease-in-out infinite;
}
.hero-panel .hero-status-dot { background: var(--green) }
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.5) }
  50%      { box-shadow: 0 0 0 5px rgba(74,222,128,.0) }
}

/* ════════════════════════════════
   PROMOÇÕES DO DIA
════════════════════════════════ */
.promos-section {
  background: var(--bg);
  padding: 24px 0 8px;
  overflow: hidden;
}
.promos-hd-wrap { padding-bottom: 0 }
.promos-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.promos-hd-left {
  display: flex; align-items: center; gap: 8px;
}
.promos-hd-icon {
  width: 22px; height: 22px; color: var(--red); flex-shrink: 0;
}
.promos-hd-title {
  font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: -.01em;
}
.promos-hd-pill {
  background: var(--red); color: #fff;
  font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--r-full);
  animation: pillPulse 2.8s ease-in-out infinite;
}
@keyframes pillPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,37,26,.45) }
  50%      { box-shadow: 0 0 0 6px rgba(201,37,26,.0) }
}

/* Nav buttons */
.promos-nav-btns { display: flex; gap: 6px }
.promo-nav-btn {
  display: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-card); border: 1.5px solid var(--border-mid);
  color: var(--text-mid); flex-shrink: 0;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-xs);
  transition: all .18s;
}
.promo-nav-btn:hover:not(:disabled) { background: var(--red-light); border-color: var(--red); color: var(--red) }
.promo-nav-btn:disabled { opacity: .28; pointer-events: none }
.promo-nav-btn svg { width: 15px; height: 15px }

/* Carousel track */
.promo-track-outer {
  position: relative;
}
.promo-track {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 4px var(--gutter) 20px;
  /* Fade edges on both sides */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 92%, transparent 100%);
}
.promo-track::-webkit-scrollbar { display: none }

/* ── Promo Card ── */
.promo-card {
  flex-shrink: 0; width: 288px;
  display: flex; overflow: hidden;
  border-radius: var(--r-xl); cursor: pointer;
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  /* Entrance animation — triggered by .promo-card--visible */
  opacity: 0; transform: translateY(16px);
  transition:
    opacity .4s ease calc(var(--idx, 0) * 0.08s),
    transform .4s var(--ease-spring) calc(var(--idx, 0) * 0.08s),
    box-shadow .22s,
    border-color .18s;
}
.promo-card--visible { opacity: 1; transform: translateY(0) }
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-mid) }
.promo-card:active { transform: scale(.97) }

/* Media (art) side */
.promo-card-media {
  width: 112px; flex-shrink: 0; position: relative; overflow: hidden;
  background: linear-gradient(155deg, #FFEDE0 0%, #FFD8C0 55%, #FFC8A8 100%);
  display: flex; align-items: center; justify-content: center;
}
.promo-card-media svg { width: 95%; height: 95%; display: block }

/* Badge */
.promo-card-badge {
  position: absolute; top: 10px; right: -1px;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 900; letter-spacing: .02em;
  padding: 4px 10px 4px 8px; border-radius: 6px 0 0 6px;
  line-height: 1;
  opacity: 0; transform: scale(.6) rotate(-2deg);
  animation: none;
}
.promo-card--visible .promo-card-badge {
  animation: badgePop .45s var(--ease-spring) both;
  animation-delay: inherit;
}
@keyframes badgePop {
  0%   { opacity: 0; transform: scale(.4) rotate(-2deg) translateX(8px) }
  65%  { opacity: 1; transform: scale(1.15) rotate(-2deg) translateX(0) }
  100% { opacity: 1; transform: scale(1) rotate(-2deg) translateX(0) }
}

/* Foto real no card de promo */
.promo-card-media--photo { background: #fff }
.promo-card-photo {
  width: 100%; height: 100%;
  object-fit: contain; padding: 8px; display: block;
  transition: transform .5s var(--ease-out);
}
.promo-card:hover .promo-card-photo { transform: scale(1.06) }

/* Body */
.promo-card-body {
  flex: 1; padding: 14px 12px 14px 14px;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  min-width: 0;
}
.promo-card-tag {
  font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--red); background: var(--red-light);
  padding: 2px 8px; border-radius: var(--r-full);
  width: fit-content; white-space: nowrap;
}
.promo-card-name {
  font-size: 14px; font-weight: 800; color: var(--text); line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.promo-card-desc {
  font-size: 11px; color: var(--text-soft); line-height: 1.42;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.promo-card-pricing {
  display: flex; align-items: baseline; gap: 6px; margin-top: 2px;
}
.promo-card-was {
  font-size: 11px; color: var(--text-muted);
  text-decoration: line-through; font-weight: 500;
}
.promo-card-price {
  font-size: 18px; font-weight: 900; color: var(--red); letter-spacing: -.02em;
  line-height: 1;
}

/* Arrow CTA */
.promo-card-action {
  display: flex; align-items: center; padding: 0 10px; flex-shrink: 0;
  color: var(--border-strong);
  transition: color .18s;
}
.promo-card:hover .promo-card-action { color: var(--red) }
.promo-card-action svg { width: 16px; height: 16px }

/* Desktop: 3-col grid instead of overflow scroll */
@media (min-width: 900px) {
  .promo-nav-btn { display: flex }
  .promo-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    -webkit-mask-image: none; mask-image: none;
    padding-bottom: 16px;
  }
  .promo-card { width: auto; scroll-snap-align: unset }
}
@media (min-width: 1200px) {
  .promo-card-name { font-size: 15px }
  .promo-card-price { font-size: 20px }
}

/* Chip count bubble */
.cat-chip-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff;
  font-size: 9px; font-weight: 800;
  width: 16px; height: 16px; border-radius: 50%;
  margin-left: 4px; vertical-align: middle;
  animation: scaleIn .3s var(--ease-spring) .1s both;
}
.cat-chip.active .cat-chip-count { background: rgba(255,255,255,.3) }

/* ── Category chip: Promoções ── */
.cat-chip--promo {
  border-color: var(--red-mid);
  color: var(--red);
  background: var(--red-light);
  position: relative; overflow: hidden;
}
.cat-chip--promo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(201,37,26,.08) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 2.2s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: -200% 0 }
  100% { background-position: 200% 0 }
}
.cat-chip--promo.active {
  background: var(--red); color: #fff; border-color: var(--red);
}
.cat-chip--promo.active::before { display: none }

/* ── Product card: promo price variant ── */
.product-badge--promo {
  background: var(--red);
  font-size: 10px; font-weight: 900; letter-spacing: .04em;
}
.card-price--promo strong { color: var(--red) }
.card-price-was {
  font-size: 9px; color: var(--text-muted);
  text-decoration: line-through; font-weight: 500;
  display: block;
}

/* Size button: promo price strikethrough */
.size-price-was {
  font-size: 10px; color: var(--text-muted);
  text-decoration: line-through; font-weight: 500; display: block;
  margin-top: 1px;
}

/* ════════════════════════════════
   PROMO STRIP
════════════════════════════════ */
.promo-strip { background: linear-gradient(90deg, #B01408 0%, var(--red) 45%, #D04020 100%) }
.promo-strip-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: #fff; letter-spacing: .01em;
}
.promo-strip-icon { width: 15px; height: 15px; flex-shrink: 0; color: #FFD09A }
.promo-strip strong { font-weight: 800 }
.promo-strip span { color: rgba(255,255,255,.82) }

/* ════════════════════════════════
   CATEGORY BAR
════════════════════════════════ */
.category-bar {
  position: sticky; top: var(--header-h); z-index: 100;
  background: rgba(247,243,239,.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.category-bar::-webkit-scrollbar { display: none }
.category-bar-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex; gap: 8px;
  /* flex items appended by JS mutation observer */
}
.cat-chip {
  flex-shrink: 0; padding: 8px 18px; border-radius: var(--r-full);
  border: 1.5px solid var(--border-mid);
  background: var(--bg-card); color: var(--text-mid);
  font-size: 13px; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition: all .18s;
}
.cat-chip:hover { border-color: var(--red); color: var(--red) }
.cat-chip.active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: var(--shadow-red) }

/* ════════════════════════════════
   MAIN WRAP
════════════════════════════════ */
.main-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

/* ════════════════════════════════
   FEATURE ROW: Combo + Salgados
════════════════════════════════ */
.feature-wrap { padding: 16px 0 4px }
.feature-row {
  display: flex; flex-direction: column; gap: 10px;
}
.promo-feature {
  background: linear-gradient(130deg, var(--red) 0%, var(--orange) 100%);
  border-radius: var(--r-xl); overflow: hidden;
  display: flex; align-items: stretch; min-height: 120px;
  box-shadow: var(--shadow-red); cursor: pointer;
  transition: transform .22s var(--ease-spring), box-shadow .22s;
}
.promo-feature:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(201,37,26,.38) }
.promo-feature:active { transform: scale(.98) }
.promo-feature-art { width: 130px; flex-shrink: 0; overflow: hidden; background: rgba(255,255,255,.1) }
.promo-feature-art svg { width: 100%; height: 100%; display: block }
.promo-feature-img { width: 100%; height: 100%; object-fit: contain; padding: 8px; display: block }
.promo-feature-body {
  flex: 1; padding: 16px 18px 16px 14px;
  display: flex; flex-direction: column; justify-content: center;
}
.promo-feature-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.22); color: #fff;
  font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 9px; border-radius: var(--r-full);
  margin-bottom: 8px; width: fit-content;
  border: 1px solid rgba(255,255,255,.32);
}
.promo-feature-badge svg { width: 10px; height: 10px }
.promo-feature-name { font-size: 18px; font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 4px; letter-spacing: -.02em }
.promo-feature-desc { font-size: 12px; color: rgba(255,255,255,.78); line-height: 1.45; margin-bottom: 10px }
.promo-feature-price { font-size: 24px; font-weight: 900; color: #fff; letter-spacing: -.03em }
.promo-feature-price span { font-size: 12px; font-weight: 400; color: rgba(255,255,255,.65); margin-left: 4px }

.salgados-card {
  background: linear-gradient(130deg, var(--green-dark) 0%, var(--green) 100%);
  border-radius: var(--r-xl); padding: 20px 18px;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(26,74,44,.30);
  transition: transform .22s var(--ease-spring), box-shadow .22s;
}
.salgados-card:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(26,74,44,.4) }
.salgados-card:active { transform: scale(.98) }
/* Foto real dos salgados */
.salgados-card-photo {
  width: 72px; height: 72px; border-radius: var(--r-md); flex-shrink: 0; overflow: hidden;
  background: rgba(255,255,255,.12);
}
.salgados-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block }
.salgados-card-body { flex: 1 }
.salgados-card-name { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 2px; letter-spacing: -.01em }
.salgados-card-desc { font-size: 11px; color: rgba(255,255,255,.7); line-height: 1.45; margin-bottom: 5px }
.salgados-card-price { font-size: 18px; font-weight: 900; color: #fff; letter-spacing: -.02em }
.salgados-card-price span { font-size: 11px; font-weight: 400; color: rgba(255,255,255,.6); margin-left: 3px }
.salgados-card-arrow { width: 18px; height: 18px; color: rgba(255,255,255,.45); flex-shrink: 0 }

/* ════════════════════════════════
   SECTION HEADER
════════════════════════════════ */
.section-header {
  padding: 24px 0 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.section-title { font-size: 18px; font-weight: 800; color: var(--text) }
.section-count {
  font-size: 11px; font-weight: 700; color: var(--text-soft);
  background: var(--surface); border-radius: var(--r-full); padding: 3px 10px;
}

/* ════════════════════════════════
   MENU GRID
════════════════════════════════ */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px; padding-bottom: 100px;
}

/* ════════════════════════════════
   PRODUCT CARD
════════════════════════════════ */
.product-card {
  background: var(--bg-card);
  border-radius: var(--r-lg); border: 1px solid var(--border);
  overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform .22s var(--ease-spring), box-shadow .22s, border-color .18s;
}
.product-card:hover { transform: translateY(-5px); border-color: var(--border-mid); box-shadow: var(--shadow-md) }
.product-card:active { transform: scale(.97) }

.card-img {
  aspect-ratio: 1 / 1;
  position: relative; overflow: hidden;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}

/* SVG art (fallback) */
.card-img svg {
  width: 88%; height: 88%; display: block;
  transition: transform .5s var(--ease-out);
}
.product-card:hover .card-img svg { transform: scale(1.08) rotate(2deg) }

/* Foto real: preenche o quadrado sem padding */
.card-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .45s var(--ease-out);
}
.product-card:hover .card-photo { transform: scale(1.05) }
.product-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  padding: 3px 8px; border-radius: var(--r-full);
  font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--red); color: #fff; box-shadow: 0 2px 8px rgba(201,37,26,.35);
}
.product-badge.veggie     { background: #1A7A42 }
.product-badge.premium    { background: #8B6008 }
.product-badge.combo-badge{ background: #E05018 }
.product-badge.doce       { background: #C0197A }

.card-body { padding: 10px 12px 4px; flex: 1 }
.card-name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 3px; line-height: 1.3 }
.card-desc {
  font-size: 11px; color: var(--text-soft); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-footer { padding: 8px 12px 12px; display: flex; align-items: center; justify-content: space-between }
.card-price { display: flex; flex-direction: column; gap: 1px }
.card-price span { font-size: 9px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em }
.card-price strong { font-size: 15px; font-weight: 800; color: var(--text); letter-spacing: -.02em }
.card-add-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: 22px; font-weight: 300; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-red);
  transition: background .2s, transform .2s var(--ease-spring), box-shadow .2s;
  flex-shrink: 0; position: relative; overflow: hidden;
}
.card-add-btn::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(255,255,255,.25);
  transform: scale(0); opacity: 0;
  transition: transform .35s, opacity .35s;
}
.card-add-btn:active::after { transform: scale(2); opacity: 1 }
.card-add-btn:hover { background: var(--red-hover); transform: scale(1.13); box-shadow: 0 6px 20px rgba(201,37,26,.4) }
.card-add-btn:active { transform: scale(.9) }
/* Added state — triggered by JS */
.card-add-btn--added {
  background: var(--green) !important;
  transform: scale(1.05) !important;
  box-shadow: 0 4px 16px rgba(26,122,66,.35) !important;
}
.card-add-btn--added::before {
  content: '✓'; font-size: 16px; font-weight: 700;
}
.card-add-btn--added .card-add-btn-icon { display: none }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.site-footer { background: var(--text); padding: 40px 0 calc(44px + env(safe-area-inset-bottom,0px)) }
.site-footer-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.footer-brand { font-size: 17px; font-weight: 800; color: rgba(255,243,235,.92); letter-spacing: -.01em }
.footer-address {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: rgba(255,243,235,.6);
}
.footer-address svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--red) }
.footer-wpp {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  padding: 8px 18px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 700;
  transition: filter .15s;
}
.footer-wpp:hover { filter: brightness(1.1) }
.footer-wpp svg { width: 18px; height: 18px }
.footer-sub { font-size: 12px; color: rgba(255,243,235,.38); margin-top: 4px }
.footer-payment { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 4px }
.payment-chip {
  background: rgba(255,255,255,.08); color: rgba(255,243,235,.5);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-full); padding: 5px 14px;
  font-size: 12px; font-weight: 600;
}

/* ════════════════════════════════
   OVERLAY
════════════════════════════════ */
.overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(16,4,0,.55); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .28s;
}
.overlay.open { opacity: 1; pointer-events: auto }

/* ════════════════════════════════
   BOTTOM SHEET
════════════════════════════════ */
.bottom-sheet {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 400;
  background: var(--bg-card);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  max-height: 92dvh; overflow-y: auto;
  transform: translateY(100%);
  transition: transform .36s var(--ease-out);
  box-shadow: 0 -8px 48px rgba(16,4,0,.18);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bottom-sheet.open { transform: translateY(0) }

.sheet-handle { padding: 12px; display: flex; justify-content: center }
.sheet-handle-bar { width: 36px; height: 4px; border-radius: 4px; background: var(--border-strong) }
.sheet-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.88); border: 1px solid var(--border-mid);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid); transition: background .15s;
}
.sheet-close:hover { background: #fff }

.sheet-hero {
  width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  background: linear-gradient(150deg, #FFEDE0 0%, #FFE2CC 55%, #FFD5B8 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.sheet-hero svg { width: 82%; height: 82%; display: block }
.sheet-hero-photo {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.sheet-body { padding: 20px 20px 28px }
.sheet-name { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 4px; letter-spacing: -.02em }
.sheet-cat {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); background: var(--red-light);
  padding: 3px 10px; border-radius: var(--r-full); margin-bottom: 14px;
}
.sheet-desc { font-size: 13px; color: var(--text-soft); line-height: 1.65; margin-bottom: 22px }

.size-label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 10px }
.size-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-bottom: 22px }
.size-btn {
  border: 1.5px solid var(--border-mid); border-radius: var(--r-md); padding: 11px 6px;
  text-align: center; cursor: pointer; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; gap: 3px; transition: all .18s;
}
.size-btn:hover { border-color: var(--red) }
.size-btn.selected { border-color: var(--red); background: var(--red-light) }
.size-name { font-size: 11px; font-weight: 700; color: var(--text-mid) }
.size-price { font-size: 15px; font-weight: 900; color: var(--red) }
.size-btn.selected .size-name { color: var(--red) }

.qty-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.qty-label { font-size: 14px; font-weight: 600; color: var(--text) }
.qty-control { display: flex; align-items: center; gap: 18px }
.qty-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--border-mid);
  font-size: 20px; font-weight: 300; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .15s var(--ease-spring);
}
.qty-btn:hover { background: var(--surface) }
.qty-btn:active { transform: scale(.9) }
.qty-val { font-size: 18px; font-weight: 800; color: var(--text); min-width: 28px; text-align: center }

.sheet-obs { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px }
.sheet-obs label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft) }
.sheet-obs textarea {
  border: 1.5px solid var(--border-mid); border-radius: var(--r-md);
  padding: 10px 12px; font-size: 13px; color: var(--text);
  background: var(--bg-input); resize: none; outline: none; min-height: 66px; line-height: 1.55;
  transition: border-color .15s;
}
.sheet-obs textarea:focus { border-color: var(--red); background: #fff }
.sheet-obs textarea::placeholder { color: var(--text-muted) }

.btn-add-cart {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px 22px;
  background: var(--red); color: #fff; border-radius: var(--r-full);
  font-size: 15px; font-weight: 700;
  box-shadow: var(--shadow-red);
  transition: background .15s, transform .15s var(--ease-spring);
}
.btn-add-cart:hover { background: var(--red-hover) }
.btn-add-cart:active { transform: scale(.98) }
.btn-add-cart svg { width: 20px; height: 20px; opacity: .85 }

/* ════════════════════════════════
   CART FAB
════════════════════════════════ */
.cart-fab {
  /* Mobile: full width bar */
  position: fixed;
  bottom: 16px; left: 14px; right: 14px;
  z-index: 250;
  background: var(--red);
  color: #fff;
  border-radius: 18px;
  height: 62px;
  padding: 0 18px;
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(201,37,26,.42), 0 2px 8px rgba(201,37,26,.2);
  /* Hidden state */
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  pointer-events: none;
  transition:
    transform .38s var(--ease-spring),
    opacity .25s ease,
    box-shadow .2s;
}
.cart-fab.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cart-fab:hover {
  box-shadow: 0 12px 40px rgba(201,37,26,.52), 0 4px 12px rgba(201,37,26,.22);
}
.cart-fab:active { transform: translateY(2px) scale(.98) }

/* Left: bag icon + count */
.fab-left {
  position: relative; flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.18);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.fab-bag { width: 20px; height: 20px; color: #fff }
.fab-count-bubble {
  position: absolute; top: -6px; right: -6px;
  background: #fff; color: var(--red);
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 900;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  transition: transform .2s var(--ease-spring);
}
.cart-fab.visible .fab-count-bubble { animation: scaleIn .3s var(--ease-spring) both }

/* Center: label */
.fab-text {
  flex: 1;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
}

/* Right: total + arrow */
.fab-right {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.fab-total {
  font-size: 15px; font-weight: 800; letter-spacing: -.01em;
  background: rgba(255,255,255,.2);
  padding: 4px 10px; border-radius: 8px;
}
.fab-arrow { width: 16px; height: 16px; opacity: .75 }

/* Desktop: pill centered */
@media (min-width: 640px) {
  .cart-fab {
    left: 50%; right: auto;
    width: auto; min-width: 320px;
    transform: translateX(-50%) translateY(calc(100% + 24px));
    border-radius: var(--r-full);
    padding: 0 22px 0 18px;
  }
  .cart-fab.visible  { transform: translateX(-50%) translateY(0) }
  .cart-fab:active   { transform: translateX(-50%) translateY(2px) scale(.98) }
}

/* ════════════════════════════════
   TOAST
════════════════════════════════ */
.toast {
  position: fixed; bottom: 88px; left: 50%;
  transform: translateX(-50%) translateY(14px);
  background: var(--text); color: #fff;
  padding: 10px 20px; border-radius: var(--r-full);
  font-size: 13px; font-weight: 600; white-space: nowrap; z-index: 600;
  opacity: 0; pointer-events: none;
  transition: opacity .22s, transform .22s var(--ease-spring);
  box-shadow: var(--shadow-md);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0) }

/* ══════════════════════════════════════
   CART PAGE
══════════════════════════════════════ */
.cart-header-title { font-size: 16px; font-weight: 700; color: #fff; flex: 1; text-align: center }

.cart-main { max-width: 640px; margin: 0 auto; padding-bottom: 40px }

.cart-items-section { padding: 0 var(--gutter) }
.cart-section-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 0 14px }
.cart-section-title { font-size: 18px; font-weight: 800; color: var(--text) }
.cart-section-count { font-size: 11px; font-weight: 700; color: var(--text-soft); background: var(--surface); border-radius: var(--r-full); padding: 3px 10px }

.cart-list { display: flex; flex-direction: column; gap: 10px }
.cart-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 14px; box-shadow: var(--shadow-xs);
  transition: transform .28s var(--ease-spring), opacity .28s, box-shadow .2s;
  position: relative;
}
.cart-item:hover { box-shadow: var(--shadow-sm) }
.ci-removing { transform: translateX(60px); opacity: 0 }

.ci-media { width: 72px; height: 72px; border-radius: var(--r-lg); flex-shrink: 0; overflow: hidden; background: linear-gradient(150deg, #FFEDE0 0%, #FFD5B8 100%); display: flex; align-items: center; justify-content: center }
.ci-media--photo { background: #fff }
.ci-photo { width: 100%; height: 100%; object-fit: contain; padding: 6px; display: block }
.ci-art { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center }
.ci-art svg { width: 90%; height: 90%; display: block }
.ci-art--fallback svg { width: 34px; height: 34px; color: var(--text-muted) }

.ci-info { flex: 1; min-width: 0 }
.ci-name { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 2px }
.ci-size { font-size: 11px; color: var(--text-soft); font-weight: 500 }
.ci-obs { display: flex; align-items: flex-start; gap: 4px; font-size: 10px; color: var(--text-muted); margin-top: 4px; font-style: italic; line-height: 1.4 }

.ci-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px }
.ci-price { font-size: 16px; font-weight: 900; color: var(--red); letter-spacing: -.02em }

.ci-controls { display: flex; align-items: center; background: var(--bg); border: 1.5px solid var(--border-mid); border-radius: var(--r-full); overflow: hidden }
.ci-qty-btn { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--text-mid); transition: background .15s }
.ci-qty-btn svg { width: 13px; height: 13px }
.ci-qty-btn:hover { background: var(--surface) }
.ci-qty-btn--plus { color: var(--red) }
.ci-qty-btn--plus:hover { background: var(--red-light) }
.ci-qty-val { min-width: 28px; text-align: center; font-size: 13px; font-weight: 800; color: var(--text); border-left: 1px solid var(--border); border-right: 1px solid var(--border); line-height: 34px }

.ci-remove-btn { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; color: var(--text-muted); display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s }
.ci-remove-btn svg { width: 16px; height: 16px }
.ci-remove-btn:hover { background: var(--red-light); color: var(--red) }

.cart-obs-section { margin: 16px var(--gutter) 0 }
.cart-obs-label { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 8px }
.cart-obs-label svg { width: 14px; height: 14px; color: var(--red) }
.cart-obs-input { width: 100%; background: var(--bg-card); border: 1.5px solid var(--border-mid); border-radius: var(--r-md); padding: 10px 14px; font-size: 13px; color: var(--text); resize: none; outline: none; font-family: inherit; line-height: 1.55; transition: border-color .15s }
.cart-obs-input:focus { border-color: var(--red); background: #fff }
.cart-obs-input::placeholder { color: var(--text-muted) }

.cart-summary { margin: 16px var(--gutter) 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 20px; box-shadow: var(--shadow-xs) }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 14px; color: var(--text-mid) }
.summary-row .label { color: var(--text-soft); font-weight: 500 }
.summary-row .val { font-weight: 600 }
.summary-free { color: var(--green) !important; font-weight: 700 !important }
.summary-row.total { border-top: 1.5px dashed var(--border-mid); margin-top: 10px; padding-top: 16px; font-size: 20px; font-weight: 800; color: var(--text) }
.summary-row.total .val { color: var(--red) }

.cart-actions { padding: 16px var(--gutter) 0; display: flex; flex-direction: column; gap: 10px }
.btn-primary { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px 22px; background: var(--red); color: #fff; border-radius: var(--r-full); font-size: 16px; font-weight: 700; box-shadow: var(--shadow-red); transition: background .15s, transform .15s var(--ease-spring) }
.btn-primary:hover { background: var(--red-hover); transform: translateY(-1px) }
.btn-primary:active { transform: scale(.98) }
.cart-checkout-btn svg { width: 20px; height: 20px }
.btn-secondary { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; border: 1.5px solid var(--border-mid); border-radius: var(--r-full); font-size: 14px; font-weight: 600; color: var(--text-mid); transition: all .15s }
.btn-secondary svg { width: 16px; height: 16px }
.btn-secondary:hover { border-color: var(--red); color: var(--red) }

.cart-empty { padding: 80px var(--gutter); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px }
.cart-empty-icon { width: 88px; height: 88px; margin-bottom: 8px; background: var(--red-light); border-radius: 50%; display: flex; align-items: center; justify-content: center }
.cart-empty-icon svg { width: 42px; height: 42px; color: var(--red); opacity: .7 }
.cart-empty h2 { font-size: 22px; font-weight: 800; color: var(--text) }
.cart-empty p { font-size: 14px; color: var(--text-soft); max-width: 280px }
.cart-empty-cta { width: auto; padding: 14px 36px; margin-top: 8px }

/* ══════════════════════════════════════
   CHECKOUT PAGE
══════════════════════════════════════ */
.checkout-wrapper { display: flex; flex-direction: column; min-height: 100vh }
.checkout-body { padding: 16px var(--gutter); flex: 1; max-width: var(--wrap); margin: 0 auto; width: 100% }
.form-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; margin-bottom: 12px; box-shadow: var(--shadow-xs) }
.form-section-title { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 14px; display: flex; align-items: center; gap: 6px }
.form-section-title svg { width: 16px; height: 16px; color: var(--red) }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px }
.field:last-child { margin-bottom: 0 }
.field label { font-size: 12px; font-weight: 700; color: var(--text-mid); letter-spacing: .04em }
.field input, .field select, .field textarea { border: 1.5px solid var(--border-mid); border-radius: var(--r-md); padding: 12px 14px; font-size: 16px; color: var(--text); background: var(--bg-input); outline: none; transition: border-color .15s; width: 100% }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); background: #fff }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted) }
.field-hint { font-size: 11px; color: var(--text-soft) }
.field .error-msg { font-size: 11px; color: var(--red); display: none }
.field.has-error input, .field.has-error select { border-color: var(--red) }
.field.has-error .error-msg { display: block }
.toggle-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px }
.toggle-option { padding: 12px; border: 1.5px solid var(--border-mid); border-radius: var(--r-md); cursor: pointer; transition: all .15s; display: flex; align-items: center; gap: 8px; background: var(--bg-input) }
.toggle-option input[type=radio] { width: 18px; height: 18px; accent-color: var(--red); flex-shrink: 0 }
.toggle-option .opt-label { font-size: 13px; font-weight: 600; color: var(--text) }
.toggle-option .opt-desc { font-size: 11px; color: var(--text-soft); margin-top: 2px }
.toggle-option.selected { border-color: var(--red); background: var(--red-light) }

/* ════════════════════════════════════════════════
   RESPONSIVE — Tablet 640px+
════════════════════════════════════════════════ */
@media (min-width: 640px) {
  /* 3-column menu */
  .menu-grid { grid-template-columns: repeat(3, 1fr) }

  /* Feature cards side-by-side */
  .feature-row { flex-direction: row }
  .promo-feature, .salgados-card { flex: 1 }

  /* Better category bar */
  .cat-chip { padding: 9px 20px }

  /* Banner slider: widescreen ratio */
  .banner-slider { max-height: 360px }
}

/* ════════════════════════════════════════════════
   RESPONSIVE — Desktop 900px+
   2-column hero: banner left (58%) | text panel right (42%)
════════════════════════════════════════════════ */
@media (min-width: 900px) {
  /* Header nav */
  .header-nav { display: flex }

  /* Hero becomes a 2-col grid */
  .hero {
    flex-direction: row;
    align-items: stretch;
    min-height: 500px;
    max-height: 600px;
  }
  .hero-media {
    flex: 0 0 58%;
    position: relative;
    overflow: hidden;
  }
  .banner-slider {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    max-height: none;
  }
  .hero-panel {
    flex: 0 0 42%;
    display: flex;
  }
  .hero-prices-bar { display: none }

  /* Better hero typography on desktop */
  .hero-title { font-size: 44px }
  .hero-panel .hero-eyebrow { font-size: 11px; margin-bottom: 10px }

  /* 4-column menu */
  .menu-grid { grid-template-columns: repeat(4, 1fr); gap: 18px }

  /* Bigger cards */
  .product-card:hover { transform: translateY(-6px) }

  /* Bottom sheet: constrained width on desktop */
  .bottom-sheet {
    left: 50%; right: auto;
    transform: translateX(-50%) translateY(100%);
    width: min(480px, 96vw);
    border-radius: var(--r-xl);
    bottom: 24px;
    max-height: 88dvh;
  }
  .bottom-sheet.open { transform: translateX(-50%) translateY(0) }

  /* FAB — desktop overrides already handled in 640px breakpoint */
}

/* ════════════════════════════════════════════════
   RESPONSIVE — Large Desktop 1200px+
════════════════════════════════════════════════ */
@media (min-width: 1200px) {
  .hero-title { font-size: 52px }
  .hero-panel { padding: 60px 64px }
  .hpp-value { font-size: 26px }
  .menu-grid { gap: 20px }

  /* Hero: respect wrap on very large screens */
  .hero { max-width: 100% }
}

/* ══════════════════════════════════════
   CHECKOUT v2 (co- prefix)
══════════════════════════════════════ */

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.checkout-page { padding-bottom: 150px }

.co-main {
  max-width: 640px; margin: 0 auto;
  padding: 16px var(--gutter) 0;
  display: flex; flex-direction: column; gap: 12px;
}

/* Steps */
.co-steps {
  display: flex; align-items: center;
  padding: 14px var(--gutter);
  max-width: 640px; margin: 0 auto; width: 100%;
}
.co-step {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  flex-shrink: 0;
}
.co-step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-input); border: 2px solid var(--border-mid);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.co-step-dot svg { width: 14px; height: 14px }
.co-step span { font-size: 10px; font-weight: 600; color: var(--text-muted); white-space: nowrap }
.co-step--done .co-step-dot { background: var(--green); border-color: var(--green); color: #fff }
.co-step--done span { color: var(--green) }
.co-step--active .co-step-dot { background: var(--red); border-color: var(--red); color: #fff }
.co-step--active span { color: var(--red); font-weight: 700 }
.co-step-line {
  flex: 1; height: 2px; background: var(--border-mid);
  margin: 0 6px; position: relative; top: -12px;
}
.co-step-line--done { background: var(--green) }
.co-step-line--active { background: linear-gradient(to right, var(--green) 50%, var(--border-mid) 50%) }

/* Card */
.co-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 18px;
  box-shadow: var(--shadow-xs);
}
.co-card-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 800; color: var(--text);
  margin-bottom: 16px; letter-spacing: -.01em;
}
.co-card-icon {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--red-light); color: var(--red); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.co-card-icon svg { width: 16px; height: 16px }
.co-optional {
  margin-left: auto;
  font-size: 10px; font-weight: 600; color: var(--text-muted);
  background: var(--surface); border-radius: var(--r-full);
  padding: 2px 10px; letter-spacing: .04em;
}

/* Field */
.co-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px }
.co-field:last-child { margin-bottom: 0 }
.co-label { font-size: 12px; font-weight: 700; color: var(--text-mid); letter-spacing: .04em }
.co-input-wrap { position: relative }
.co-input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--text-muted); pointer-events: none;
}
.co-input {
  width: 100%; padding: 12px 14px 12px 38px;
  border: 1.5px solid var(--border-mid); border-radius: var(--r-md);
  font-size: 16px; color: var(--text); background: var(--bg-input);
  outline: none; transition: border-color .15s, background .15s;
}
.co-input--solo { padding-left: 14px }
.co-input:focus { border-color: var(--red); background: #fff }
.co-input::placeholder { color: var(--text-muted) }
.co-field.has-error .co-input { border-color: var(--red) }
.co-error { font-size: 11px; color: var(--red); display: none }
.co-field.has-error .co-error { display: block }
.co-hint { font-size: 11px; color: var(--text-soft) }
.co-schedule-datetime { display: flex; gap: 8px }
.co-schedule-datetime .co-input { flex: 1 }

/* Combo flavor slots */
.combo-slots { flex-direction: column; gap: 10px; margin-bottom: 18px }
.combo-slot { display: flex; flex-direction: column; gap: 5px }
.combo-slot-label {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-soft);
}
.combo-slot-select {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border-mid); border-radius: var(--r-md);
  font-size: 15px; color: var(--text); background: var(--bg-input);
  outline: none; font-family: inherit;
  transition: border-color .15s, background .15s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239A6840' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.combo-slot-select:focus { border-color: var(--red); background-color: #fff }
.combo-slot-premium-tag {
  margin-left: 8px;
  font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: #8B6008; color: #fff;
  padding: 2px 7px; border-radius: var(--r-full);
  vertical-align: middle;
}

/* Textarea */
.co-textarea {
  width: 100%; border: 1.5px solid var(--border-mid); border-radius: var(--r-md);
  padding: 10px 12px; font-size: 14px; color: var(--text);
  background: var(--bg-input); resize: none; outline: none;
  font-family: inherit; line-height: 1.55;
  transition: border-color .15s, background .15s;
}
.co-textarea:focus { border-color: var(--red); background: #fff }
.co-textarea::placeholder { color: var(--text-muted) }

/* Schedule options */
.co-schedule-grid { display: flex; flex-direction: column; gap: 8px }
.co-schedule-opt {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--border-mid); border-radius: var(--r-md);
  padding: 12px 14px; cursor: pointer;
  background: var(--bg-input); transition: all .15s;
}
.co-schedule-opt.selected { border-color: var(--red); background: var(--red-light) }
.co-schedule-ico {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--surface); color: var(--text-mid); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.co-schedule-ico svg { width: 18px; height: 18px }
.co-schedule-opt.selected .co-schedule-ico { background: rgba(201,37,26,.12); color: var(--red) }
.co-schedule-name { font-size: 14px; font-weight: 700; color: var(--text) }
.co-schedule-sub { font-size: 11px; color: var(--text-soft); margin-top: 1px }
.co-schedule-check {
  margin-left: auto; width: 22px; height: 22px; border-radius: 50%;
  background: var(--border-mid); color: transparent; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.co-schedule-check svg { width: 12px; height: 12px }
.co-schedule-opt.selected .co-schedule-check { background: var(--red); color: #fff }

/* Payment options */
.co-pay-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px }
.co-pay-opt {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  border: 1.5px solid var(--border-mid); border-radius: var(--r-md);
  padding: 14px 10px; cursor: pointer; position: relative;
  background: var(--bg-input); transition: all .15s;
}
.co-pay-opt.selected { border-color: var(--red); background: var(--red-light) }
.co-pay-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--surface); color: var(--text-mid);
  display: flex; align-items: center; justify-content: center;
}
.co-pay-icon svg { width: 20px; height: 20px }
.co-pay-icon--pix { background: rgba(0,160,120,.1); color: #00A078 }
.co-pay-icon--card { background: rgba(26,8,0,.06); color: var(--text-mid) }
.co-pay-icon--cash { background: rgba(26,122,66,.1); color: var(--green) }
.co-pay-opt.selected .co-pay-icon { background: rgba(201,37,26,.12); color: var(--red) }
.co-pay-name { font-size: 12px; font-weight: 700; color: var(--text) }
.co-pay-check {
  position: absolute; top: 8px; right: 8px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--border-mid); color: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.co-pay-check svg { width: 10px; height: 10px }
.co-pay-opt.selected .co-pay-check { background: var(--red); color: #fff }

/* Order summary */
.co-order-items { display: flex; flex-direction: column; margin-bottom: 16px }
.checkout-order-item {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.checkout-order-item:last-child { border-bottom: none }
.coi-info { flex: 1; min-width: 0 }
.coi-name { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4 }
.coi-detail { font-size: 11px; color: var(--text-soft); font-style: italic; margin-top: 2px }
.coi-price { font-size: 14px; font-weight: 800; color: var(--red); white-space: nowrap; flex-shrink: 0 }

.co-total-row { padding-top: 14px; border-top: 1.5px dashed var(--border-mid) }
.co-total-row-inner {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.co-total-label { font-size: 15px; font-weight: 700; color: var(--text) }
.co-total-val { font-size: 22px; font-weight: 900; color: var(--red); letter-spacing: -.02em }
.co-pickup-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-light); color: var(--green);
  border: 1px solid rgba(26,122,66,.2);
  border-radius: var(--r-full); padding: 6px 12px;
  font-size: 12px; font-weight: 600; width: fit-content;
}
.co-pickup-badge svg { width: 13px; height: 13px }

/* Sticky CTA */
.co-cta-wrap {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 250;
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 24px rgba(26,8,0,.09);
}
.co-wpp-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 15px 22px;
  background: #25D366; color: #fff;
  border-radius: var(--r-full); font-size: 16px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
  transition: background .15s, transform .15s var(--ease-spring);
}
.co-wpp-btn svg { width: 22px; height: 22px }
.co-wpp-btn:hover { background: #1ebe5d; transform: translateY(-1px) }
.co-wpp-btn:active { transform: scale(.98) }
.co-wpp-btn:disabled { opacity: .7; pointer-events: none }
.co-wpp-note {
  text-align: center; font-size: 11px; color: var(--text-soft);
  line-height: 1.5; margin-top: 8px;
}

/* WhatsApp float button (todas as páginas) */
.wpp-float {
  position: fixed; bottom: 88px; right: 16px; z-index: 260;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45), 0 2px 6px rgba(0,0,0,.15);
  transition: transform .2s var(--ease-spring), box-shadow .2s;
}
.wpp-float:hover { transform: scale(1.12); box-shadow: 0 6px 24px rgba(37,211,102,.55) }
.wpp-float:active { transform: scale(.95) }
.wpp-float svg { width: 28px; height: 28px }
.checkout-page .wpp-float { bottom: 120px }
