/* ======================================================================
   MASTER LANCHES — DESIGN SYSTEM
   Protótipo visual — identidade artesanal premium, noturna e contemporânea
   ====================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700;9..144,900&family=Bebas+Neue&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ---- marca ---- */
  --black:        #080808;
  --purple-dark:  #3B0735;
  --purple:       #6A0D6B;
  --wine:         #8E1538;
  --orange:       #F57C00;
  --gold:         #FFB300;
  --cream:        #FFF3D6;

  /* ---- tema escuro (padrão) ---- */
  --bg:            var(--black);
  --bg-alt:        #120510;
  --surface:       #1B0A1A;
  --surface-2:     #241129;
  --surface-hover: #2C1330;
  --border:        rgba(255, 179, 0, 0.14);
  --border-soft:   rgba(255, 243, 214, 0.08);
  --text:          var(--cream);
  --text-dim:      #CBB9A8;
  --text-muted:    #8C7B85;
  --shadow:        0 20px 50px rgba(0,0,0,0.55);
  --shadow-soft:   0 10px 26px rgba(0,0,0,0.4);
  --overlay:       rgba(8, 8, 8, 0.72);
  --scrim:         linear-gradient(180deg, rgba(8,8,8,0) 0%, rgba(8,8,8,0.85) 78%, #080808 100%);

  /* ---- tokens funcionais ---- */
  --grad-hero:     radial-gradient(120% 140% at 15% 0%, rgba(106,13,107,0.55) 0%, rgba(8,8,8,0) 55%), linear-gradient(160deg, #1B0A1A 0%, #0A0308 70%);
  --grad-gold:     linear-gradient(135deg, #FFC94A 0%, var(--gold) 45%, var(--orange) 100%);
  --grad-wine:     linear-gradient(135deg, var(--wine) 0%, var(--purple-dark) 100%);
  --radius-xs:     8px;
  --radius-sm:     14px;
  --radius-md:     20px;
  --radius-lg:     28px;
  --radius-pill:   999px;
  --font-display:  'Fraunces', 'Georgia', serif;
  --font-accent:   'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body:     'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --header-h:      84px;
  --container:     1240px;
  --ease:          cubic-bezier(.22,.9,.35,1);
}

:root[data-theme="light"] {
  --bg:            #FBF3E6;
  --bg-alt:        #F5E9D3;
  --surface:       #FFFFFF;
  --surface-2:     #FFF7EA;
  --surface-hover: #FFF0D6;
  --border:        rgba(142, 21, 56, 0.14);
  --border-soft:   rgba(59, 7, 53, 0.1);
  --text:          #2B0E28;
  --text-dim:      #5A3A4E;
  --text-muted:    #8A7080;
  --shadow:        0 20px 44px rgba(59,7,53,0.14);
  --shadow-soft:   0 8px 20px rgba(59,7,53,0.1);
  --overlay:       rgba(251, 243, 230, 0.82);
  --scrim:         linear-gradient(180deg, rgba(251,243,230,0) 0%, rgba(251,243,230,0.9) 78%, #FBF3E6 100%);
  --grad-hero:     radial-gradient(120% 140% at 15% 0%, rgba(106,13,107,0.14) 0%, rgba(251,243,230,0) 55%), linear-gradient(160deg, #FFF7EA 0%, #FBF3E6 70%);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .35s var(--ease), color .35s var(--ease);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- typography ---------------- */
h1, h2, h3, .font-display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--font-accent);
  letter-spacing: 0.14em;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin-top: 8px;
}
.section-sub { color: var(--text-dim); font-size: 16px; margin-top: 10px; max-width: 560px; }
.price {
  font-family: var(--font-accent);
  letter-spacing: 0.02em;
  color: var(--gold);
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--grad-gold);
  color: #1A0A00;
  box-shadow: 0 10px 26px rgba(245,124,0,0.35);
}
.btn-primary:hover { filter: brightness(1.07); box-shadow: 0 14px 32px rgba(245,124,0,0.45); }
.btn-primary:disabled { opacity: .45; cursor: not-allowed; filter: none; box-shadow: none; }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--gold); }
.btn-wine {
  background: var(--grad-wine);
  color: var(--cream);
  box-shadow: 0 10px 24px rgba(142,21,56,0.35);
}
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border);
}
.btn-icon:hover { background: var(--surface-hover); }
.btn-link { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- badges & chips ---------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.badge-gold { background: rgba(255,179,0,0.15); color: var(--gold); border: 1px solid rgba(255,179,0,0.35); }
.badge-wine { background: rgba(142,21,56,0.22); color: #FF7FA0; border: 1px solid rgba(142,21,56,0.5); }
.badge-open { background: rgba(76, 209, 130, 0.15); color: #4CD182; border: 1px solid rgba(76,209,130,0.4); }
.badge-closed { background: rgba(255,90,90,0.14); color: #FF6B6B; border: 1px solid rgba(255,90,90,0.35); }

/* ---------------- surfaces ---------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

/* ---------------- scrollbar niceties ---------------- */
.scroll-x { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.scroll-x::-webkit-scrollbar { display: none; }

/* ---------------- header ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  height: var(--header-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.site-header .container { display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  display: inline-flex; flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; padding: 3px;
  box-shadow: 0 6px 18px rgba(255,179,0,0.25), 0 0 0 2px rgba(255,179,0,0.5);
  overflow: hidden;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.brand-name span { font-size: 11px; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; }

.status-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: var(--radius-pill);
  background: var(--surface-2); border: 1px solid var(--border-soft);
  font-size: 12.5px; color: var(--text-dim); flex-shrink: 0;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #4CD182; box-shadow: 0 0 0 4px rgba(76,209,130,.18); }
.status-pill.closed .status-dot { background: #FF6B6B; box-shadow: 0 0 0 4px rgba(255,107,107,.18); }
.status-divider { width: 1px; height: 12px; background: var(--border); }

.main-nav { display: flex; align-items: center; gap: 28px; margin-left: 8px; }
.main-nav a {
  font-size: 14.5px; font-weight: 600; color: var(--text-dim);
  padding: 8px 2px; position: relative; transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.track-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: var(--text-dim);
  padding: 10px 14px; border-radius: var(--radius-pill); border: 1px solid var(--border-soft);
}
.track-link:hover { color: var(--text); border-color: var(--gold); }
.cart-btn {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px; border-radius: var(--radius-pill);
  background: var(--surface-2); border: 1px solid var(--border);
}
.cart-btn:hover { background: var(--surface-hover); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 50%;
  background: var(--grad-gold); color: #1A0A00;
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}
.cart-total-mini { font-size: 13.5px; font-weight: 700; }
.nav-toggle { display: none; }

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  margin-top: var(--header-h);
  min-height: 640px;
  display: flex; align-items: center;
  background: var(--grad-hero);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--hero-img, none);
  background-size: cover; background-position: center 62%;
  opacity: .55; mix-blend-mode: normal;
}
:root[data-theme="light"] .hero::before { opacity: .28; }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--scrim); }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-content { max-width: 620px; padding: 90px 0 70px; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.hero-title {
  font-size: clamp(40px, 6vw, 68px); line-height: 1.02; font-weight: 900;
  text-wrap: balance;
}
.hero-title em { font-style: normal; color: transparent; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; }
.hero-desc { margin-top: 20px; font-size: 17px; color: var(--text-dim); max-width: 480px; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-coupon {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1.5px dashed var(--gold);
}
.hero-coupon strong { font-family: var(--font-accent); font-size: 18px; color: var(--gold); letter-spacing: .06em; }
.hero-coupon span { font-size: 12.5px; color: var(--text-dim); }
.hero-meta { display: flex; gap: 28px; margin-top: 42px; flex-wrap: wrap; }
.hero-meta div strong { display: block; font-family: var(--font-display); font-size: 22px; }
.hero-meta div span { font-size: 12.5px; color: var(--text-muted); }
.hero-visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow);
  background: var(--surface-2);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .float-card {
  position: absolute; left: 20px; bottom: 20px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.float-card .stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; }
.float-card strong { font-size: 14px; }
.float-card span { display: block; font-size: 11.5px; color: var(--text-muted); }

/* ---------------- categories ---------------- */
.categories { padding: 46px 0 8px; }
.cat-chip {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  padding: 12px 20px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border-soft);
  font-weight: 700; font-size: 14.5px; color: var(--text-dim);
  transition: all .2s var(--ease);
}
.cat-chip .ico { font-size: 18px; }
.cat-chip:hover { border-color: var(--gold); color: var(--text); }
.cat-chip.active { background: var(--grad-gold); color: #1A0A00; border-color: transparent; box-shadow: 0 8px 20px rgba(245,124,0,.3); }

/* ---------------- section ---------------- */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }

/* ---------------- highlight / destaques ---------------- */
.highlight-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.highlight-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/3.6;
  box-shadow: var(--shadow-soft); cursor: pointer;
}
.highlight-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.highlight-card:hover img { transform: scale(1.06); }
.highlight-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,8,0) 30%, rgba(8,8,8,.92) 100%); }
.highlight-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; z-index: 2; }
.highlight-info .badge { margin-bottom: 10px; }
.highlight-info h3 { font-size: 21px; color: #fff; }
.highlight-info .price { font-size: 20px; margin-top: 6px; display: block; }

/* ---------------- menu grid ---------------- */
.menu-section { scroll-margin-top: calc(var(--header-h) + 20px); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  cursor: pointer; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.product-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-media .badge { position: absolute; top: 12px; left: 12px; }
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h4 { font-family: var(--font-display); font-size: 18px; }
.product-body p { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.product-foot .price { font-size: 19px; }
.add-fab {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-gold); color: #1A0A00; font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(245,124,0,.35);
  transition: transform .2s var(--ease);
}
.add-fab:hover { transform: scale(1.1) rotate(90deg); }

/* ---------------- CTA faixa / dúvidas ---------------- */
.info-band { padding: 60px 0; background: var(--surface); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .ico {
  width: 46px; height: 46px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: var(--grad-wine); display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.info-item h5 { font-size: 15px; margin-bottom: 4px; }
.info-item p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border-soft); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; font-weight: 700; font-size: 15px; }
.faq-q .chev { transition: transform .25s var(--ease); color: var(--gold); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 22px 20px; color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.faq-item.open .faq-a { max-height: 200px; }

/* ---------------- footer ---------------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border-soft); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { font-size: 13.5px; color: var(--text-muted); margin-top: 14px; line-height: 1.6; max-width: 280px; }
.footer-col h6 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: var(--text-dim); margin-bottom: 10px; }
.footer-col a:hover { color: var(--text); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-soft); display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-muted); flex-wrap: wrap; gap: 8px; }

/* ---------------- floating buttons ---------------- */
.floating-stack { position: fixed; right: 22px; bottom: 22px; z-index: 600; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fab {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.4);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  font-size: 26px;
}
.fab:hover { transform: scale(1.08); }
.fab-whatsapp { background: #25D366; color: #08160B; }
.fab-theme { width: 44px; height: 44px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 18px; }
.fab-mobile-cart { display: none; }

/* ---------------- cart sidebar (desktop) ---------------- */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 92vw; z-index: 900;
  background: var(--surface); border-left: 1px solid var(--border-soft);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s var(--ease);
  box-shadow: -20px 0 50px rgba(0,0,0,.4);
}
.cart-drawer.open { transform: translateX(0); }
.drawer-scrim {
  position: fixed; inset: 0; background: var(--overlay); backdrop-filter: blur(3px); z-index: 850;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.drawer-scrim.show { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border-soft); }
.drawer-head h3 { font-family: var(--font-display); font-size: 20px; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: flex; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border-soft); }
.cart-item img { width: 68px; height: 68px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info h5 { font-size: 14.5px; margin-bottom: 2px; }
.cart-item-info .obs { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; display: block; }
.qty-stepper { display: flex; align-items: center; gap: 10px; }
.qty-stepper button {
  width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.qty-stepper button:hover { border-color: var(--gold); }
.cart-item-price { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-item-price .price { font-size: 14.5px; }
.remove-item { color: var(--text-muted); font-size: 12px; }
.remove-item:hover { color: var(--wine); }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.cart-empty .ico { font-size: 40px; margin-bottom: 14px; }

.coupon-row { display: flex; gap: 8px; padding: 16px 22px 0; }
.coupon-row input {
  flex: 1; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2);
  border: 1px solid var(--border-soft); font-size: 13.5px;
}
.coupon-row input:focus { outline: none; border-color: var(--gold); }
.coupon-msg { padding: 8px 22px 0; font-size: 12.5px; }
.coupon-msg.ok { color: #4CD182; }
.coupon-msg.err { color: #FF6B6B; }

.cart-summary { padding: 18px 22px 22px; border-top: 1px solid var(--border-soft); }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-dim); margin-bottom: 8px; }
.summary-row.total { font-size: 18px; color: var(--text); font-weight: 800; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.summary-row.total .price { font-size: 22px; }
.summary-row .discount { color: #4CD182; }

/* mobile cart bar */
.mobile-cart-bar {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 600;
  background: var(--grad-gold); color: #1A0A00; border-radius: var(--radius-pill);
  padding: 14px 20px; align-items: center; justify-content: space-between;
  box-shadow: 0 14px 30px rgba(245,124,0,.4);
}
.mobile-cart-bar .mc-info { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; }
.mobile-cart-bar .mc-count { background: rgba(26,10,0,.2); border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 12px; }

/* ---------------- modal base ---------------- */
.modal-scrim {
  position: fixed; inset: 0; background: var(--overlay); backdrop-filter: blur(4px); z-index: 950;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .28s var(--ease);
}
.modal-scrim.show { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border-soft);
  width: 100%; box-shadow: var(--shadow);
  transform: translateY(24px) scale(.98); transition: transform .3s var(--ease);
  max-height: 90vh; display: flex; flex-direction: column; overflow: hidden;
}
.modal-scrim.show .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(8,8,8,.55); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px; backdrop-filter: blur(6px);
}

/* product modal */
.product-modal { max-width: 900px; }
.product-modal-inner { display: grid; grid-template-columns: 1fr 1fr; overflow-y: auto; }
.pm-media { position: relative; min-height: 300px; }
.pm-media img { width: 100%; height: 100%; object-fit: cover; }
.pm-body { padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; }
.pm-body h2 { font-size: 24px; }
.pm-body .desc { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }
.pm-ingredients { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-ingredients span { font-size: 12px; padding: 5px 10px; border-radius: var(--radius-pill); background: var(--surface-2); border: 1px solid var(--border-soft); color: var(--text-dim); }
.pm-block { border-top: 1px solid var(--border-soft); padding-top: 16px; }
.pm-block-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pm-block-head h4 { font-size: 14.5px; }
.pm-block-head span { font-size: 11.5px; color: var(--text-muted); }
.opt-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.opt-left { display: flex; align-items: center; gap: 12px; }
.opt-left .opt-name { font-size: 14px; font-weight: 600; }
.opt-left .opt-price { font-size: 12.5px; color: var(--text-muted); }
.opt-check { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.opt-check.round { border-radius: 50%; }
.opt-row.checked .opt-check { background: var(--grad-gold); border-color: transparent; color: #1A0A00; font-weight: 800; }
.opt-remove-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.opt-remove-row label { font-size: 13.5px; color: var(--text-dim); display: flex; align-items: center; gap: 10px; }
.switch { width: 38px; height: 22px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-soft); position: relative; flex-shrink: 0; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-muted); transition: transform .2s var(--ease), background .2s; }
.opt-remove-row.on .switch { background: var(--wine); }
.opt-remove-row.on .switch::after { transform: translateX(16px); background: #fff; }
.pm-textarea { width: 100%; min-height: 70px; resize: vertical; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13.5px; }
.pm-textarea:focus { outline: none; border-color: var(--gold); }
.pm-footer { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 6px; }
.pm-qty { display: flex; align-items: center; gap: 14px; background: var(--surface-2); border-radius: var(--radius-pill); padding: 6px 10px; border: 1px solid var(--border-soft); }
.pm-qty button { width: 30px; height: 30px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.pm-qty span { min-width: 18px; text-align: center; font-weight: 700; }

/* ---------------- checkout ---------------- */
.checkout-scrim { position: fixed; inset: 0; z-index: 970; background: var(--bg); display: none; overflow-y: auto; }
.checkout-scrim.show { display: block; }
.checkout-head { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-soft); padding: 18px 0; }
.checkout-head .container { display: flex; align-items: center; justify-content: space-between; }
.checkout-steps { display: flex; align-items: center; gap: 8px; }
.co-step { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-muted); font-weight: 700; }
.co-step .num { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border-soft); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.co-step.active { color: var(--text); }
.co-step.active .num { background: var(--grad-gold); color: #1A0A00; border-color: transparent; }
.co-step.done .num { background: var(--wine); color: #fff; border-color: transparent; }
.co-step-line { width: 24px; height: 1px; background: var(--border); }

.checkout-body { padding: 46px 0 120px; }
.checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: flex-start; }
.co-panel { padding: 30px; }
.co-panel h3 { font-size: 22px; margin-bottom: 6px; }
.co-panel .hint { color: var(--text-muted); font-size: 13.5px; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--text-dim); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--border-soft); font-size: 14.5px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-error { color: #FF6B6B; font-size: 12px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select { border-color: #FF6B6B; }
.field.invalid .field-error { display: block; }

.toggle-group { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.toggle-card {
  padding: 18px; border-radius: var(--radius-md); border: 1.5px solid var(--border-soft);
  background: var(--surface-2); cursor: pointer; transition: all .2s var(--ease);
}
.toggle-card .ico { font-size: 22px; margin-bottom: 8px; }
.toggle-card strong { display: block; font-size: 15px; }
.toggle-card span { font-size: 12.5px; color: var(--text-muted); }
.toggle-card.selected { border-color: var(--gold); background: rgba(255,179,0,.08); }

.area-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: var(--radius-md); border: 1.5px solid var(--border-soft);
  margin-bottom: 10px; cursor: pointer; transition: all .2s var(--ease);
}
.area-option.selected { border-color: var(--gold); background: rgba(255,179,0,.08); }
.area-option .name { font-weight: 700; font-size: 14.5px; }
.area-option .time { font-size: 12px; color: var(--text-muted); }
.area-option .fee { font-family: var(--font-accent); color: var(--gold); font-size: 16px; }

.pay-option {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border-radius: var(--radius-md); border: 1.5px solid var(--border-soft);
  margin-bottom: 10px; cursor: pointer; transition: all .2s var(--ease);
}
.pay-option.selected { border-color: var(--gold); background: rgba(255,179,0,.08); }
.pay-option .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.pay-option strong { font-size: 14.5px; display: block; }
.pay-option span { font-size: 12px; color: var(--text-muted); }
.pay-note { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-md); background: rgba(255,179,0,.08); border: 1px dashed var(--gold); font-size: 13px; color: var(--text-dim); }

.review-block { margin-bottom: 22px; }
.review-block h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--gold); margin-bottom: 10px; display: flex; justify-content: space-between; }
.review-block h5 button { font-size: 12px; color: var(--text-muted); font-weight: 600; text-decoration: underline; }
.review-line { font-size: 14px; color: var(--text-dim); margin-bottom: 4px; }
.review-item { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }

.co-summary { position: sticky; top: 100px; padding: 26px; }
.co-summary h4 { font-size: 16px; margin-bottom: 18px; }
.co-summary-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; max-height: 260px; overflow-y: auto; }
.co-summary-item { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--text-dim); }
.co-summary-item span:first-child { color: var(--text); font-weight: 600; }

.checkout-footer-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-soft); padding: 16px 0;
}
.checkout-footer-bar .container { display: flex; align-items: center; justify-content: space-between; }
.cfb-total { display: flex; flex-direction: column; }
.cfb-total span { font-size: 11.5px; color: var(--text-muted); }
.cfb-total strong { font-family: var(--font-accent); font-size: 24px; color: var(--gold); }
.cfb-actions { display: flex; gap: 12px; }

/* ---------------- confirmation / tracking ---------------- */
.confirm-wrap { max-width: 640px; margin: 0 auto; text-align: center; padding: 60px 0; }
.confirm-check {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 24px;
  background: var(--grad-gold); display: flex; align-items: center; justify-content: center; font-size: 44px;
  box-shadow: 0 16px 40px rgba(245,124,0,.4);
}
.confirm-wrap h2 { font-size: 30px; margin-bottom: 10px; }
.confirm-wrap .order-num { font-family: var(--font-accent); font-size: 22px; color: var(--gold); letter-spacing: .06em; margin: 14px 0; }
.confirm-wrap p.lead { color: var(--text-dim); font-size: 15px; }

.tracker { margin: 46px 0; text-align: left; }
.tracker-steps { display: flex; justify-content: space-between; position: relative; margin-bottom: 6px; }
.tracker-steps::before {
  content: ""; position: absolute; top: 18px; left: 18px; right: 18px; height: 3px; background: var(--border-soft); z-index: 0;
}
.tracker-progress { position: absolute; top: 18px; left: 18px; height: 3px; background: var(--grad-gold); z-index: 1; width: 0%; transition: width .6s var(--ease); }
.t-step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; }
.t-step .dot { width: 38px; height: 38px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border-soft); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all .3s var(--ease); }
.t-step span { font-size: 11px; color: var(--text-muted); text-align: center; max-width: 74px; font-weight: 600; }
.t-step.done .dot { background: var(--grad-gold); border-color: transparent; color: #1A0A00; }
.t-step.done span { color: var(--text); }
.t-step.active .dot { background: var(--wine); border-color: transparent; color: #fff; animation: pulse 1.6s infinite; }
.t-step.active span { color: var(--text); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(142,21,56,.5);} 50% { box-shadow: 0 0 0 8px rgba(142,21,56,0);} }

.track-card { text-align: left; padding: 24px; margin-top: 24px; }
.track-card-row { display: flex; justify-content: space-between; font-size: 14px; padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
.track-card-row:last-child { border-bottom: none; }

.track-lookup { max-width: 460px; margin: 0 auto; text-align: center; padding: 100px 0 60px; }
.track-lookup .card { padding: 34px; text-align: left; margin-top: 26px; }

/* ---------------- toast ---------------- */
.toast-stack { position: fixed; top: 100px; left: 50%; transform: translateX(-50%); z-index: 1200; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--gold); box-shadow: var(--shadow-soft);
  font-size: 13.5px; font-weight: 600;
  animation: toast-in .3s var(--ease);
}
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.toast.leaving { animation: toast-out .25s var(--ease) forwards; }
@keyframes toast-out { to { opacity: 0; transform: translateY(-10px); } }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .highlight-row, .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .status-pill span.long { display: none; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16/10; order: -1; }
  .hero-content { padding: 30px 0 20px; }
}
@media (max-width: 720px) {
  .product-modal-inner { grid-template-columns: 1fr; }
  .pm-media { min-height: 220px; }
  .track-link span.long { display: none; }
  .cart-total-mini { display: none; }
}
@media (max-width: 480px) {
  .site-header .container { gap: 10px; padding: 0 14px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name strong { font-size: 15px; }
  .brand-name span { display: none; }
  .status-pill { padding: 6px 8px; gap: 6px; }
  .status-pill span:not(.status-dot), .status-divider { display: none; }
  .header-actions { gap: 6px; }
  .track-link { padding: 9px 10px; }
  .cart-btn { padding: 9px 10px 9px 9px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .highlight-row, .menu-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 12px 12px 14px; gap: 4px; }
  .product-body h4 { font-size: 14.5px; }
  .product-body p { display: none; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cart-drawer { width: 100%; max-width: 100%; }
  .mobile-cart-bar.has-items { display: flex; }
  .fab-mobile-cart { display: none; }
  .floating-stack { right: 14px; bottom: 92px; }
  .toggle-group { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .checkout-footer-bar .container { padding: 0 16px; }
  .cfb-total strong { font-size: 19px; }
  .highlight-card { aspect-ratio: 1/1.15; }
  .hero-meta { gap: 18px; }
  .status-pill { padding: 6px 10px; }
}
