/* Hà La Cà — design tokens lấy từ banner & logo */
:root {
  --red: #a11413;
  --red-deep: #7e0f0e;
  --red-bright: #d0231d;
  --cream: #f2eadf;
  --cream-2: #e9dfd0;
  --paper: #fffaf2;
  --yellow: #f6c33b;
  --yellow-deep: #e2a514;
  --ink: #2b1712;
  --muted: #7a5f55;
  --line: rgba(161, 20, 19, 0.14);
  --radius: 18px;
  --shadow: 0 10px 28px -14px rgba(126, 15, 14, 0.45);
  --wrap: 1200px;
  --f-display: 'Anton', 'Oswald', Impact, sans-serif;
  --f-round: 'Baloo 2', 'Be Vietnam Pro', sans-serif;
  --f-body: 'Be Vietnam Pro', system-ui, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font: 400 16px/1.55 var(--f-body);
  color: var(--ink);
  background-color: var(--cream);
  /* lưới gạch trắng như banner */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.75) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.75) 2px, transparent 2px);
  background-size: 56px 56px;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
svg { width: 22px; height: 22px; flex: none; }
:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Checker motif ---------- */
.checker-strip {
  height: 16px;
  background:
    conic-gradient(var(--red) 25%, transparent 0 50%, var(--red) 0 75%, transparent 0) 0 0 / 16px 16px,
    var(--cream);
}
.checker-cream {
  background:
    conic-gradient(var(--cream) 25%, transparent 0 50%, var(--cream) 0 75%, transparent 0) 0 0 / 16px 16px,
    var(--red);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font: 700 15px/1 var(--f-body); letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-deep); }
.btn-red:hover { background: var(--red-bright); }
.btn-yellow { background: var(--yellow); color: var(--red-deep); box-shadow: 0 4px 0 var(--yellow-deep); }
.btn-ghost { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-ghost:hover { background: var(--red); color: #fff; }
.btn-white { background: #fff; color: var(--red); box-shadow: 0 4px 0 var(--cream-2); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--red); }
.icon-btn:hover { background: rgba(161, 20, 19, 0.08); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--red-deep); color: #f8e7d4; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.topbar-inner > * { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; }
.topbar a:hover { color: var(--yellow); }

.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--cream); }
.order-wrap { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 39; }
body::before { content: ''; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 41; background: var(--cream); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 8px; flex: none; }
.brand-mascot { width: 56px; height: auto; transition: transform 0.3s; }
.brand:hover .brand-mascot { transform: rotate(-8deg); }
.brand-word { width: 140px; height: auto; }
.burger { display: none; }
.main-nav { display: flex; gap: 6px; margin-right: auto; }
.main-nav a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font: 800 15px/1 var(--f-body); text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink);
}
.main-nav a:hover { color: var(--red); background: rgba(161, 20, 19, 0.07); }
.main-nav a[aria-current='page'] { color: var(--red); }
.main-nav a[aria-current='page']::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--red); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.cart-btn {
  position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-deep);
}
.cart-btn svg { width: 24px; height: 24px; }
.cart-btn.bump { animation: bump 0.45s; }
@keyframes bump { 30% { transform: scale(1.15) rotate(-6deg); } 60% { transform: scale(0.95); } }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--yellow); color: var(--red-deep); font: 800 12px/22px var(--f-body); text-align: center;
  border: 2px solid var(--cream); transform: scale(0); transition: transform 0.2s;
}
.cart-count.has { transform: scale(1); }

/* Order bar (kiểu thanh "Đặt ngay" của KFC) */
.order-bar { background: var(--red); color: #fff; }
.order-inner { display: flex; align-items: center; gap: 14px; min-height: 64px; padding-block: 10px; }
.order-title { font: 400 26px/1 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
.seg { display: inline-flex; background: rgba(0, 0, 0, 0.22); border-radius: 999px; padding: 4px; flex: none; }
.seg button { padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #f8dfd2; }
.seg button[aria-selected='true'] { background: #fff; color: var(--red); }
.order-input {
  flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0;
  background: #fff; color: var(--ink); border-radius: 999px; padding: 0 16px; height: 44px;
}
.order-input svg { color: var(--red); width: 20px; }
.order-input input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 15px var(--f-body); background: transparent; color: var(--ink); }
.order-go { min-height: 44px; }
[data-page='checkout'] .order-bar { display: none; }
[data-page='checkout'] .order-wrap { position: static; }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: 22px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); background: var(--cream); }
.hero-track { display: flex; transition: transform 0.6s cubic-bezier(0.6, 0, 0.2, 1); }
.slide { flex: 0 0 100%; aspect-ratio: 2000 / 740; position: relative; overflow: hidden; }
.slide > img.full { width: 100%; height: 100%; object-fit: cover; }
.slide-cta { display: none; }
.slide-promo { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; color: #fff; background: var(--red); }
.slide-promo.yellow { background: var(--yellow); color: var(--red-deep); }
.slide-promo::before {
  content: ''; position: absolute; inset: auto 0 0 0; height: 22px;
  background: conic-gradient(rgba(255, 255, 255, 0.18) 25%, transparent 0 50%, rgba(255, 255, 255, 0.18) 0 75%, transparent 0) 0 0 / 22px 22px;
}
.slide-copy { padding: 0 0 0 clamp(24px, 6vw, 80px); position: relative; z-index: 1; }
.slide-copy .kicker { display: inline-block; font: 800 13px/1 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; background: var(--yellow); color: var(--red-deep); padding: 8px 12px; border-radius: 999px; }
.slide-promo.yellow .kicker { background: var(--red); color: #fff; }
.slide-copy h2 { font: 400 clamp(30px, 5.2vw, 72px)/0.98 var(--f-display); text-transform: uppercase; margin: 14px 0 10px; }
.slide-copy p { margin: 0 0 18px; font-size: clamp(14px, 1.5vw, 18px); max-width: 32ch; opacity: 0.92; }
.slide-copy .price-tag { font: 800 clamp(28px, 4vw, 54px)/1 var(--f-round); color: var(--yellow); }
.slide-promo.yellow .price-tag { color: var(--red); }
.slide-art { position: relative; height: 100%; display: grid; place-items: center; }
.slide-art img.dish { width: 86%; border-radius: 28px; transform: rotate(-4deg); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.55); border: 6px solid #fff; }
.slide-art img.mascot-pop { position: absolute; width: 28%; right: 4%; bottom: 8%; transform: rotate(10deg); filter: drop-shadow(0 8px 10px rgba(0,0,0,0.3)); }
.hero-arrow {
  position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.92); color: var(--red); box-shadow: var(--shadow); z-index: 2;
}
.hero-arrow.prev { left: 14px; } .hero-arrow.next { right: 14px; }
.hero-dots { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); border: 2px solid #fff; transition: width 0.25s; }
.hero-dots button[aria-current='true'] { width: 28px; background: var(--yellow); border-color: var(--yellow); }

/* ---------- Sections ---------- */
.section { padding: 56px 0 8px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-title {
  display: flex; align-items: center; gap: 14px; margin: 0;
  font: 400 clamp(28px, 3.6vw, 42px)/1 var(--f-display); text-transform: uppercase; color: var(--red); letter-spacing: 0.01em;
}
.sec-title::before {
  content: ''; width: 34px; height: 34px; flex: none;
  background: conic-gradient(var(--red) 25%, transparent 0 50%, var(--red) 0 75%, transparent 0) 0 0 / 17px 17px;
}
.sec-link { font-weight: 800; color: var(--red); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.sec-link svg { width: 16px; height: 16px; }
.sec-link:hover { text-decoration: underline; }
.row-nav { display: flex; gap: 8px; }
.row-nav button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red); border: 2px solid var(--red); }
.row-nav button:hover { background: var(--red); color: #fff; }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat-tile {
  display: flex; flex-direction: column; background: var(--red); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.2s;
}
.cat-tile:hover { transform: translateY(-4px) rotate(-0.6deg); }
.cat-img { aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; display: block; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.cat-img.contain img { object-fit: contain; padding: 10px; }
.cat-tile:hover .cat-img img { transform: scale(1.06); }
.cat-name { padding: 14px 12px; color: #fff; text-align: center; font: 400 19px/1.1 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: -4px; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.row > * { scroll-snap-align: start; }
.card {
  display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 2px solid var(--line); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--red); }
.card-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; background: var(--cream-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-drink .card-media { background: linear-gradient(180deg, #fff, var(--cream)); }
.card-drink .card-media img { object-fit: contain; padding: 14px; }
.badge {
  position: absolute; top: 10px; left: 10px; padding: 6px 10px; border-radius: 999px;
  background: var(--yellow); color: var(--red-deep); font: 800 11px/1 var(--f-body); text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-must { background: var(--red); color: #fff; transform: rotate(-6deg); box-shadow: 0 3px 0 var(--red-deep); }
.badge-best { background: var(--ink); color: var(--yellow); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.card-body h3 { margin: 0; font: 800 17px/1.25 var(--f-body); }
.card-body h3 button { text-align: left; }
.card-body h3 button:hover { color: var(--red); }
.card-body p { margin: 0; font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.price { font: 800 21px/1 var(--f-round); color: var(--red); display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price s { font: 600 13px var(--f-body); color: var(--muted); }
.add-btn {
  display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 14px 0 10px; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 3px 0 var(--red-deep); transition: background 0.15s;
}
.add-btn svg { width: 18px; height: 18px; }
.add-btn:hover { background: var(--red-bright); }
.add-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--red-deep); }

/* Promos */
.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo {
  position: relative; display: grid; grid-template-columns: 1fr 42%; align-items: center; min-height: 180px;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.promo-red { background: var(--red); color: #fff; }
.promo-yellow { background: var(--yellow); color: var(--red-deep); }
.promo-cream { background: var(--paper); color: var(--ink); border: 2px solid var(--line); }
.promo-text { padding: 20px; position: relative; z-index: 1; }
.promo h3 { margin: 0 0 6px; font: 400 23px/1.05 var(--f-display); text-transform: uppercase; }
.promo-cream h3 { color: var(--red); }
.promo p { margin: 0 0 12px; font-size: 13.5px; opacity: 0.9; }
.promo img { height: 100%; width: 100%; object-fit: cover; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.code {
  display: inline-flex; gap: 4px; padding: 7px 12px; border-radius: 8px; font-size: 13px;
  border: 2px dashed currentColor; background: rgba(255, 255, 255, 0.14);
}
.code:hover { background: rgba(255, 255, 255, 0.3); }
.promo-cream .code { color: var(--red); }

/* Story */
.story {
  margin-top: 64px; background: var(--red); color: #fff; position: relative; overflow: hidden;
}
.story-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; padding: 64px 0; }
.story-art { position: relative; }
.story-art .plate { background: var(--cream); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; box-shadow: inset 0 0 0 12px var(--yellow), 0 30px 50px -20px rgba(0,0,0,.5); }
.story-art .plate img { width: 78%; }
.story h2 { font: 400 clamp(32px, 4.4vw, 56px)/1 var(--f-display); text-transform: uppercase; margin: 0 0 16px; }
.story h2 em { font-style: normal; color: var(--yellow); }
.story p { margin: 0 0 14px; opacity: 0.93; max-width: 56ch; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.values div { background: rgba(0, 0, 0, 0.18); border-radius: 14px; padding: 16px; }
.values b { display: block; font: 800 30px/1 var(--f-round); color: var(--yellow); margin-bottom: 4px; }
.values span { font-size: 13.5px; opacity: 0.9; }

/* Party CTA */
.party-cta {
  display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 24px;
  background: var(--yellow); border-radius: 24px; padding: 34px clamp(24px, 4vw, 48px); margin-top: 56px; position: relative; overflow: hidden;
}
.party-cta h2 { margin: 0 0 8px; font: 400 clamp(28px, 3.6vw, 44px)/1 var(--f-display); color: var(--red); text-transform: uppercase; }
.party-cta p { margin: 0 0 18px; color: var(--red-deep); max-width: 50ch; }
.party-cta .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.party-cta img { max-height: 220px; margin-inline: auto; transform: rotate(6deg); }

/* App/hotline band */
.band { margin: 56px 0 0; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 28px; border-radius: 18px; border: 2px dashed var(--red); background: var(--paper); }
.band-inner h3 { margin: 0; font: 400 24px/1.1 var(--f-display); color: var(--red); text-transform: uppercase; }
.band-inner p { margin: 4px 0 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 72px; background: var(--red); color: #f8e2d6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; padding: 48px 0 32px; }
.footer-word { width: 200px; height: auto; filter: brightness(0) invert(1); }
.footer-brand p { margin: 14px 0; font-size: 14px; max-width: 34ch; }
.site-footer h3 { margin: 0 0 14px; font: 400 18px/1 var(--f-display); text-transform: uppercase; color: var(--yellow); letter-spacing: 0.03em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.site-footer a:hover { color: var(--yellow); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); }
.socials a:hover { background: var(--yellow); color: var(--red); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 26px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 13px; opacity: 0.85; }

/* ---------- Drawers ---------- */
.scrim { position: fixed; inset: 0; background: rgba(43, 23, 18, 0.5); z-index: 60; opacity: 0; transition: opacity 0.25s; }
.scrim.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 61; width: min(420px, 100%); background: var(--cream);
  display: flex; flex-direction: column; transition: transform 0.25s ease; box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
}
.drawer-cart { right: 0; transform: translateX(100%); }
.drawer-nav { left: 0; transform: translateX(-100%); width: min(340px, 88%); }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 2px solid var(--line); background: var(--paper); }
.drawer-head h2 { margin: 0; font: 400 24px/1 var(--f-display); text-transform: uppercase; color: var(--red); }
.drawer-head img { height: 30px; width: auto; }
.drawer-links { display: grid; padding: 10px; }
.drawer-links a { padding: 14px 12px; font: 800 16px var(--f-body); text-transform: uppercase; border-bottom: 1px dashed var(--line); }
.drawer-links a:hover { color: var(--red); }
.drawer-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 20px 24px; overflow-y: auto; }
.drawer-cats a { background: var(--paper); border-radius: 12px; overflow: hidden; font-weight: 700; font-size: 14px; text-align: center; padding-bottom: 8px; border: 2px solid var(--line); }
.drawer-cats img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; margin-bottom: 6px; }
.drawer-cats img.contain { object-fit: contain; background: #fff; padding: 8px; }

.cart-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.cart-line img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: #fff; }
.cl-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cl-main > b { font-size: 15px; line-height: 1.25; }
.cl-main small { color: var(--muted); font-size: 12.5px; }
.cl-row { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.cl-row .price { font-size: 17px; }
.stepper { display: inline-flex; align-items: center; background: #fff; border: 2px solid var(--line); border-radius: 999px; }
.stepper button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--red); border-radius: 50%; }
.stepper button:hover { background: rgba(161, 20, 19, 0.08); }
.stepper svg { width: 15px; height: 15px; }
.stepper span { min-width: 26px; text-align: center; font-weight: 800; }
.stepper-lg button { width: 42px; height: 42px; }
.stepper-lg span { min-width: 34px; font-size: 18px; }
.cart-foot { padding: 16px 20px 20px; border-top: 2px solid var(--line); background: var(--paper); }
.cart-foot:empty { display: none; }
.ship-meter { height: 8px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.ship-meter span { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--yellow), var(--red)); border-radius: 99px; transition: width 0.3s; }
.ship-note { font-size: 13.5px; margin: 8px 0 10px; }
.sum { margin: 0 0 14px; display: grid; gap: 6px; font-size: 14.5px; }
.sum div { display: flex; justify-content: space-between; }
.sum dt { color: var(--muted); } .sum dd { margin: 0; font-weight: 700; }
.sum .sum-total { padding-top: 8px; border-top: 1px dashed var(--line); font-size: 17px; }
.sum .sum-total dt { color: var(--ink); font-weight: 800; }
.sum .sum-total dd { color: var(--red); font: 800 22px/1 var(--f-round); }
.sum .sum-disc dd { color: #23803d; }
.cart-empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 10px; }
.cart-empty p { margin: 0; color: var(--muted); }
.cart-empty b { color: var(--ink); font-size: 17px; }

/* Mobile floating cart */
.mobile-cart {
  position: fixed; z-index: 50; display: none;
  left: calc(12px + env(safe-area-inset-left, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  justify-content: space-between; align-items: center; padding: 14px 18px; border-radius: 16px;
  background: var(--red); color: #fff; font-weight: 600; box-shadow: 0 10px 30px -8px rgba(126, 15, 14, 0.7);
}
.mobile-cart .mc-left { display: inline-flex; align-items: center; gap: 8px; }
.mobile-cart b { color: var(--yellow); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; translate: -50% 20px; opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px;
  transition: opacity 0.2s, translate 0.2s; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; translate: -50% 0; }

/* Item modal */
.item-modal { padding: 0; border: 0; border-radius: 22px; width: min(820px, calc(100% - 24px)); max-height: calc(100dvh - 24px); background: var(--cream); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.item-modal::backdrop { background: rgba(43, 23, 18, 0.55); }
.im { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.im-close { position: absolute; top: 10px; right: 10px; z-index: 2; background: #fff; }
.im-media { position: relative; background: var(--cream-2); min-height: 100%; }
.im-media img { width: 100%; height: 100%; object-fit: cover; }
.im-media.contain { background: linear-gradient(180deg, #fff, var(--cream)); }
.im-media.contain img { object-fit: contain; padding: 30px; }
.im-body { padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.im-body h2 { margin: 0; font: 400 30px/1.05 var(--f-display); text-transform: uppercase; color: var(--red); padding-right: 36px; }
.im-desc { margin: 0; color: var(--muted); }
.im-price { margin: 0; font-size: 26px; }
.im-opts { border: 0; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; }
.im-opts legend { font-weight: 800; margin-bottom: 8px; padding: 0; }
.opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--paper); border: 2px solid var(--line); border-radius: 12px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--red); background: #fff; }
.opt input { accent-color: var(--red); width: 18px; height: 18px; }
.opt span { flex: 1; font-weight: 600; }
.opt em { font-style: normal; font-weight: 700; color: var(--red); font-size: 14px; }
.im-note { display: grid; gap: 6px; font-weight: 800; font-size: 14px; }
.im-note textarea { font: 400 14px var(--f-body); border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--paper); resize: vertical; }
.im-actions { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 8px; }
.im-add { flex: 1; }

/* ---------- Page heads ---------- */
.page-head { padding: 34px 0 6px; }
.page-head h1 { margin: 0; font: 400 clamp(36px, 5vw, 60px)/1 var(--f-display); color: var(--red); text-transform: uppercase; }
.page-head p { margin: 8px 0 0; color: var(--muted); max-width: 60ch; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumbs a:hover { color: var(--red); }

/* Menu page */
.menu-tools { position: sticky; top: calc(var(--header-h) + 80px); z-index: 30; background: var(--cream); padding: 12px 0; border-bottom: 2px solid var(--line); margin-top: 16px; }
.menu-tools-inner { display: flex; gap: 14px; align-items: center; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 16px 5px 5px; border-radius: 999px; white-space: nowrap;
  background: var(--paper); border: 2px solid var(--line); font-weight: 800; font-size: 14px;
}
.tabs a img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.tabs a:hover { border-color: var(--red); }
.tabs a.active { background: var(--red); color: #fff; border-color: var(--red); }
.search { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 0 14px; height: 44px; width: 260px; }
.search:focus-within { border-color: var(--red); }
.search svg { color: var(--muted); width: 18px; }
.search input { border: 0; outline: 0; font: 500 14px var(--f-body); flex: 1; min-width: 0; background: transparent; }
.menu-sec { padding-top: 34px; }
.menu-sec .sec-title { margin-bottom: 18px; }
.no-result { display: grid; justify-items: center; gap: 10px; padding: 60px 0; color: var(--muted); text-align: center; }

/* Stores */
.store-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 22px 0; }
.store-tools .search { flex: 1; min-width: 220px; width: auto; }
.select { height: 44px; border: 2px solid var(--line); border-radius: 999px; padding: 0 14px; font: 600 14px var(--f-body); background: #fff; color: var(--ink); }
.store-count { font-weight: 800; color: var(--red); }
.stores { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.store { display: grid; grid-template-columns: 48px 1fr; gap: 14px; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; }
.store:hover { border-color: var(--red); }
.store-pin { width: 48px; height: 48px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; }
.store h3 { margin: 0 0 4px; font: 800 18px var(--f-body); }
.store p { margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.store-meta { display: flex; gap: 16px; flex-wrap: wrap; }
.store-meta > * { display: inline-flex; align-items: center; gap: 5px; }
.store-meta svg { width: 15px; height: 15px; color: var(--red); }
.store-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* Forms (checkout, party) */
.checkout { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 24px; align-items: start; margin-top: 22px; }
.panel { background: var(--paper); border: 2px solid var(--line); border-radius: 20px; padding: 22px; }
.panel h2 { margin: 0 0 14px; font: 400 24px/1 var(--f-display); text-transform: uppercase; color: var(--red); }
.panel + .panel { margin-top: 18px; }
.summary-panel { position: sticky; top: calc(var(--header-h) + 30px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  font: 500 15px var(--f-body); color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 11px 12px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); }
.field input:user-invalid { border-color: var(--red-bright); }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 700; }
.choice label:has(input:checked) { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.choice input { accent-color: var(--red); width: 18px; height: 18px; }
.choice small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.code-row { display: flex; gap: 8px; }
.code-row input { flex: 1; text-transform: uppercase; }
.code-msg { font-size: 13px; margin: 6px 0 0; }
.code-msg.ok { color: #23803d; } .code-msg.err { color: var(--red-bright); }
.sum-line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.sum-line small { display: block; color: var(--muted); font-size: 12.5px; }
.summary-panel .sum { margin-top: 12px; }
.order-done, .done { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 48px 16px; }
.order-done h1, .done h3 { margin: 6px 0 0; font: 400 clamp(32px, 4vw, 46px)/1 var(--f-display); color: var(--red); text-transform: uppercase; }
.order-done p { max-width: 52ch; margin: 0; }

/* Party page */
.party-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; align-items: start; }
.perks { display: grid; gap: 12px; }
.perk { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; background: var(--paper); border: 2px solid var(--line); border-radius: 16px; padding: 14px; }
.perk b { font: 400 30px/1 var(--f-display); color: #fff; background: var(--red); border-radius: 14px; display: grid; place-items: center; height: 54px; }
.perk h3 { margin: 0; font-size: 16px; } .perk p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav a { padding: 10px 9px; font-size: 13.5px; }
  .header-inner { gap: 16px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .row { grid-auto-columns: calc((100% - 40px) / 3); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .burger { display: inline-grid; }
  .main-nav, .topbar-mid { display: none; }
  .header-inner { gap: 6px; }
  .brand { margin-right: auto; }
  .brand-mascot { width: 46px; } .brand-word { width: 118px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .promos { grid-template-columns: 1fr; }
  .story-inner, .party-cta, .checkout, .party-grid { grid-template-columns: 1fr; }
  .story-art { max-width: 320px; margin-inline: auto; }
  .party-cta img { max-height: 150px; }
  .summary-panel { position: static; }
  .stores { grid-template-columns: 1fr; }
  .menu-tools-inner { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
  .im { grid-template-columns: 1fr; }
  .im-media { aspect-ratio: 16 / 10; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 130px; }
  .order-wrap { position: static; }
  .site-header { box-shadow: 0 2px 0 var(--line); }
  .topbar-inner > span { display: none; }
  .topbar-inner { justify-content: center; }
  .order-inner { flex-wrap: wrap; gap: 8px; min-height: 0; }
  .order-title { display: none; }
  .seg { flex: 1; } .seg button { flex: 1; padding: 8px 10px; }
  .order-go { display: none; }
  .order-input { order: 3; flex-basis: 100%; height: 40px; }
  .menu-tools { top: var(--header-h); }
  .hero { margin-top: 14px; border-radius: 16px; }
  .slide { aspect-ratio: 4 / 3; }
  .slide:first-child { display: flex; flex-direction: column; background: var(--red); }
  .slide:first-child img.full { height: auto; aspect-ratio: 2000 / 740; flex: none; }
  .slide-cta { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; padding: 0 16px 26px; text-align: center; }
  .slide-cta p { margin: 0; font: 400 20px/1.1 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; }
  .sec-title { font-size: 26px; gap: 10px; }
  .sec-title::before { width: 24px; height: 24px; background-size: 12px 12px; }
  .sec-link { font-size: 14px; }
  .toast { bottom: 88px; }
  .slide-promo { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding-top: 22px; }
  .slide-copy { padding: 0 22px; }
  .slide-copy p { display: none; }
  .slide-art img.dish { width: 62%; }
  .hero-arrow { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .row { grid-auto-columns: 62%; gap: 12px; }
  .row-nav { display: none; }
  .card-body { padding: 10px 12px 12px; }
  .card-body h3 { font-size: 15px; }
  .card-body p { font-size: 12.5px; }
  .price { font-size: 18px; }
  .add-btn { padding: 0 10px; height: 36px; }
  .add-btn span { display: none; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-tile:last-child { grid-column: 1 / -1; }
  .cat-tile:last-child .cat-img { aspect-ratio: 16 / 7; }
  .cat-name { font-size: 16px; padding: 10px; }
  .values { grid-template-columns: 1fr; }
  .band-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .fields { grid-template-columns: 1fr; }
  .mobile-cart { display: flex; }
  .mobile-cart[hidden] { display: none !important; }
  .site-footer { padding-bottom: 72px; }
  .section { padding-top: 40px; }
  .promo { grid-template-columns: 1fr 38%; }
}
