/* Kudla Flavors — storefront styles (mobile-first, no framework) */
:root {
  --cream: #FFF2E1;
  --cream-2: #FFF8EE;
  --paper: #FFFCF7;
  --crimson: #9E1E1E;
  --crimson-d: #7F1616;
  --palm: #1E3C21;
  --palm-l: #2E5A33;
  --ochre: #C8963E;
  --ochre-l: #F3E2C0;
  --espresso: #25201B;
  --muted: #6B5E50;
  --line: #EADBC4;
  --ok: #1E7A3C;
  --err: #B3261E;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(37, 32, 27, .06), 0 8px 24px -12px rgba(37, 32, 27, .18);
  --display: "Fraunces", "Bree Serif", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0; background: var(--cream); color: var(--espresso);
  font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--crimson); }
h1, h2, h3 { font-family: var(--display); font-optical-sizing: auto; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
em { font-style: italic; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--espresso); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 2px solid transparent;
  font: 700 15px/1 var(--sans); text-decoration: none; transition: transform .08s, background .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 54px; font-size: 16px; padding: 0 24px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--crimson); color: var(--cream); box-shadow: 0 6px 16px -8px rgba(158, 30, 30, .7); }
.btn-primary:hover { background: var(--crimson-d); }
.btn-primary[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--crimson); border-color: rgba(158, 30, 30, .35); }
.btn-outline { background: var(--paper); color: var(--palm); border-color: var(--palm); }
.btn-cream { background: var(--cream); color: var(--palm); }
.btn-wa { background: var(--palm); color: #fff; box-shadow: 0 6px 16px -8px rgba(30, 60, 33, .8); }
.btn-wa:hover { background: var(--palm-l); }
.btn-wa svg { width: 22px; height: 22px; fill: currentColor; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }

/* ---------- announcement + header ---------- */
.announce { background: var(--palm); color: var(--cream); text-align: center; font: 600 13px/1.35 var(--sans); padding: 8px 14px; }
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 14px; background: rgba(255, 242, 225, .92); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.brand img { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font: 700 20px/1.05 var(--display); color: var(--crimson); letter-spacing: -.01em; }
.brand-tag { font: italic 600 11px/1.3 var(--display); color: var(--palm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-link .long { display: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { display: none; background: none; border: 0; padding: 10px 12px; font: 600 15px var(--sans); color: var(--espresso); text-decoration: none; border-radius: 999px; }
.nav-link:hover { background: var(--ochre-l); }
.nav .nav-link[data-open-catering] { display: inline-flex; font-size: 13.5px; padding: 8px 6px; color: var(--palm); }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--crimson); display: grid; place-items: center; }
.cart-btn svg { width: 22px; height: 22px; fill: var(--cream); }
.cart-count { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; border-radius: 10px; padding: 0 5px; background: var(--ochre); color: var(--espresso); font: 800 11.5px/20px var(--sans); text-align: center; }
.cart-btn.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(.95); } }

/* ---------- hero ---------- */
.hero { padding: 22px 18px 8px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 520px; height: 520px; background: radial-gradient(circle, rgba(200, 150, 62, .22), transparent 65%); pointer-events: none; }
.hero-inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 10px; position: relative; }
.eyebrow { font: 700 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--palm); margin: 0 0 10px; }
.eyebrow.light { color: var(--ochre-l); }
.eyebrow.center { text-align: center; }
.hero h1 { font-size: clamp(31px, 8.4vw, 60px); font-weight: 750; color: var(--espresso); font-variation-settings: "SOFT" 50; }
.hero h1 em { color: var(--crimson); font-weight: 650; }
.hero-sub { font-size: 16.5px; color: #4A4037; margin: 12px 0 14px; max-width: 560px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; }
.chips li { font: 600 13px/1 var(--sans); padding: 9px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.chips li.hot { background: var(--crimson); color: var(--cream); border-color: var(--crimson); }
.chips li.gold { background: var(--ochre-l); border-color: var(--ochre); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-art { display: none; }
@media (max-width: 639px) {
  .hero-cta .btn-ghost { display: none; }
  .hero-cta .btn-primary { width: 100%; }
  .hero-sub { font-size: 15.5px; margin: 10px 0 12px; }
  .chips { gap: 6px; margin-bottom: 14px; }
  .chips li { font-size: 12.5px; padding: 8px 10px; }
}

/* ---------- category nav ---------- */
.catnav {
  position: sticky; top: 61px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px;
  background: rgba(255, 242, 225, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); scrollbar-width: none;
  border-bottom: 1px solid transparent;
}
.catnav::-webkit-scrollbar { display: none; }
.catnav:empty { display: none; }
.catnav a { flex: none; font: 700 13.5px/1 var(--sans); padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--espresso); background: var(--paper); border: 1px solid var(--line); }
.catnav a.on { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

/* ---------- menu ---------- */
.menu { max-width: 1120px; margin: 0 auto; padding: 6px 14px 30px; }
.promo-strip { margin: 10px 2px 4px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(90deg, var(--crimson), #B3332A); color: var(--cream); font: 700 14.5px/1.35 var(--sans); display: flex; gap: 10px; align-items: center; }
.promo-strip small { font-weight: 500; opacity: .9; display: block; }
.section { padding-top: 26px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 4px 14px; }
.section-head h2 { font-size: clamp(26px, 6.4vw, 36px); font-weight: 700; color: var(--crimson); }
.section-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--ochre-l); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .badge { position: absolute; left: 12px; top: 12px; z-index: 2; font: 800 11.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--crimson); color: var(--cream); }
.card-media .badge.green { background: var(--palm); }
/* graceful fallback when a dish photo is missing */
.card-media.noimg {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(200, 150, 62, .55), transparent 55%),
    radial-gradient(100% 80% at 0% 100%, rgba(30, 60, 33, .55), transparent 60%),
    linear-gradient(135deg, #9E1E1E, #6E1414);
  display: flex; align-items: flex-end; padding: 14px 16px; aspect-ratio: 16 / 6;
}
.card-media.noimg::after {
  content: ""; position: absolute; right: -24px; bottom: -30px; width: 170px; height: 170px; opacity: .2;
  background: url("/logo-sm.png") center / contain no-repeat; filter: grayscale(.2) brightness(1.6);
}
.card-media .fallback-name { position: relative; z-index: 1; font: italic 650 clamp(20px, 5.4vw, 26px)/1.05 var(--display); color: var(--cream); text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 22px; font-weight: 700; }
.card .desc { margin: 0; color: #54493F; font-size: 14.5px; }
.includes { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 13.5px; color: var(--palm); font-weight: 600; }
.includes li::before { content: "✓ "; color: var(--ochre); font-weight: 800; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 11px; text-align: left; min-height: 48px;
  display: flex; flex-direction: column; justify-content: center; gap: 2px; transition: border-color .15s, background .15s;
}
.pill b { font: 700 13.5px/1.1 var(--sans); }
.pill span { font: 600 12.5px/1.1 var(--sans); color: var(--muted); }
.pill[aria-checked="true"] { border-color: var(--crimson); background: #FCECE6; box-shadow: inset 0 0 0 1px var(--crimson); }
.pill[aria-checked="true"] span { color: var(--crimson); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
.price { font: 800 22px/1 var(--sans); color: var(--espresso); }
.price small { display: block; font: 600 12px/1.3 var(--sans); color: var(--muted); margin-top: 4px; }
.save-note { font: 700 12.5px/1.2 var(--sans); color: var(--ok); }

.skeleton-grid { display: grid; gap: 16px; padding-top: 20px; }
.sk { height: 300px; border-radius: var(--radius); background: linear-gradient(100deg, #F6E6CF 30%, #FBF1E2 50%, #F6E6CF 70%) 0 0 / 300% 100%; animation: shimmer 1.2s infinite linear; }
@keyframes shimmer { to { background-position: -150% 0; } }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }

/* ---------- how / catering / faq / footer ---------- */
.how, .faq { max-width: 1120px; margin: 0 auto; padding: 30px 18px; }
.how h2, .faq h2 { font-size: 30px; color: var(--crimson); margin-bottom: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 64px; position: relative; }
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { margin: 0; color: #54493F; font-size: 14.5px; }
.step-n { position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--ochre); color: var(--espresso); display: grid; place-items: center; font: 800 16px var(--sans); }
.catering-band { margin: 10px 14px; border-radius: 24px; padding: 26px 22px; background: radial-gradient(120% 120% at 100% 0%, rgba(200, 150, 62, .35), transparent 50%), var(--palm); color: var(--cream); display: grid; gap: 18px; max-width: 1092px; }
@media (min-width: 1120px) { .catering-band { margin: 10px auto; } }
.catering-band h2 { font-size: clamp(26px, 6vw, 38px); }
.catering-band p { margin: 10px 0 0; opacity: .92; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; padding: 0 16px; }
.faq summary { font: 700 16px/1.3 var(--sans); padding: 15px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; color: var(--crimson); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: #54493F; }
.footer { text-align: center; padding: 30px 18px calc(110px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--cream-2); }
.footer img { margin: 0 auto 6px; }
.footer-tag { font: italic 600 18px var(--display); color: var(--crimson); margin: 0 0 6px; }
.footer-areas { color: var(--muted); font-size: 13.5px; margin: 0 0 16px; }
.footer-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.fine { color: var(--muted); font-size: 12.5px; margin-top: 18px; }

/* ---------- floating cart bar + toast ---------- */
.cartbar {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); display: flex; align-items: center; gap: 12px;
  border: 0; border-radius: 999px; padding: 8px 10px 8px 8px; min-height: 60px; background: var(--crimson); color: var(--cream);
  box-shadow: 0 14px 30px -10px rgba(158, 30, 30, .7); font: 700 16px var(--sans); animation: rise .25s ease;
}
@keyframes rise { from { transform: translateY(30px); opacity: 0; } }
.cartbar-count { min-width: 44px; height: 44px; border-radius: 22px; background: var(--cream); color: var(--crimson); display: grid; place-items: center; font-weight: 800; padding: 0 8px; }
.cartbar-label { flex: 1; text-align: left; }
.cartbar-total { padding-right: 10px; }
.toast {
  position: fixed; z-index: 70; left: 50%; bottom: calc(86px + var(--safe-b)); transform: translateX(-50%); width: min(92vw, 440px);
  background: var(--espresso); color: var(--cream); padding: 12px 14px; border-radius: 14px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; font: 600 14px/1.35 var(--sans); animation: rise .2s ease;
}
.toast button { margin-left: auto; background: var(--ochre); color: var(--espresso); border: 0; border-radius: 999px; padding: 8px 12px; font-weight: 800; white-space: nowrap; }

/* ---------- sheets ---------- */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(37, 32, 27, .5); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; max-height: 92vh; max-height: 92dvh; display: flex; flex-direction: column;
  background: var(--cream); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .2); animation: up .28s cubic-bezier(.2, .9, .3, 1);
}
.sheet-full { top: 0; max-height: none; border-radius: 0; }
@keyframes up { from { transform: translateY(100%); } }
.sheet-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 22px; flex: 1; }
.x, .back { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ochre-l); font: 600 24px/1 var(--sans); display: grid; place-items: center; flex: none; }
.sheet-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px; flex: 1; overscroll-behavior: contain; }
.sheet-foot { padding: 12px 16px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--cream-2); }
.opt-group { margin-bottom: 20px; }
.opt-group h3 { font: 800 13px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--palm); margin-bottom: 10px; }
.opt-group h3 small { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.opts { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.opts.three { grid-template-columns: 1fr; }
.opt {
  border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 12px; text-align: left; display: flex; flex-direction: column; gap: 3px; min-height: 58px;
}
.opt b { font: 700 15px/1.2 var(--sans); }
.opt span { font: 600 12.5px/1.2 var(--sans); color: var(--muted); }
.opt[aria-checked="true"] { border-color: var(--crimson); background: #FCECE6; box-shadow: inset 0 0 0 1px var(--crimson); }
.opt[aria-checked="true"] span { color: var(--crimson); }
.addon {
  display: flex; align-items: center; gap: 12px; border: 1.5px dashed var(--ochre); background: #FFF9EE; border-radius: 14px; padding: 12px; margin-bottom: 8px; width: 100%; text-align: left;
}
.addon .ck { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--ochre); display: grid; place-items: center; flex: none; font-weight: 900; color: #fff; }
.addon[aria-checked="true"] { border-style: solid; border-color: var(--palm); background: #EEF5EE; }
.addon[aria-checked="true"] .ck { background: var(--palm); border-color: var(--palm); }
.addon .ad-t { flex: 1; }
.addon .ad-t b { display: block; font: 700 14.5px/1.25 var(--sans); }
.addon .ad-t span { font-size: 12.5px; color: var(--muted); }
.addon .ad-p { font: 800 14.5px var(--sans); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 40px; height: 40px; border: 0; background: none; font: 700 20px/1 var(--sans); color: var(--crimson); }
.qty output { min-width: 26px; text-align: center; font-weight: 800; }
.qty-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }

/* cart */
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line.child { padding: 10px 0 12px 16px; border-left: 3px solid var(--ochre-l); margin-left: 6px; }
.line-name { font: 700 15px/1.3 var(--sans); }
.line-sub { font-size: 13px; color: var(--muted); }
.line-price { font: 800 15px var(--sans); text-align: right; }
.line-ctrl { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.linkbtn { background: none; border: 0; color: var(--crimson); font: 700 13.5px var(--sans); padding: 6px 2px; text-decoration: underline; text-underline-offset: 3px; }
.upsell { font: 700 13px var(--sans); color: var(--palm); background: #EEF5EE; border: 1px solid #CFE1D0; border-radius: 999px; padding: 8px 12px; }
.save-banner { background: linear-gradient(135deg, #FFF6E0, #FDE9C6); border: 1.5px solid var(--ochre); border-radius: 16px; padding: 14px; margin: 4px 0 14px; }
.save-banner p { margin: 0 0 10px; font: 600 14.5px/1.4 var(--sans); }
.save-banner p strong { color: var(--crimson); }
.save-banner .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.promo-meter { margin: 14px 0 6px; font: 600 13.5px/1.35 var(--sans); }
.meter { height: 8px; border-radius: 4px; background: var(--ochre-l); overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--ochre), var(--crimson)); border-radius: 4px; }
.totals { display: grid; gap: 6px; margin-top: 12px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .disc { color: var(--ok); font-weight: 700; }
.totals .grand { font: 800 19px var(--sans); border-top: 1.5px solid var(--espresso); padding-top: 8px; margin-top: 4px; }

/* checkout */
.co-sec { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.co-sec legend { font: 700 19px/1.2 var(--display); margin-bottom: 12px; padding: 0; display: flex; align-items: center; gap: 10px; }
.co-sec legend .n { width: 28px; height: 28px; border-radius: 50%; background: var(--crimson); color: var(--cream); display: grid; place-items: center; font: 800 14px var(--sans); }
.fld { display: block; margin-bottom: 12px; }
.fld > span:first-child { display: block; font: 700 13.5px/1.2 var(--sans); margin-bottom: 6px; }
.fld em { font-weight: 500; color: var(--muted); font-style: normal; }
.fld input, .fld select, .fld textarea {
  width: 100%; font: 500 16px/1.3 var(--sans); color: var(--espresso); background: #fff; border: 1.5px solid #DCCAB0; border-radius: 12px; padding: 13px 14px; min-height: 50px;
}
.fld textarea { resize: vertical; min-height: 84px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--palm); box-shadow: 0 0 0 3px rgba(30, 60, 33, .15); }
.fld.bad input, .fld.bad select { border-color: var(--err); box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.fld .msg { display: block; color: var(--err); font: 600 12.5px var(--sans); margin-top: 5px; }
.tel { display: flex; align-items: stretch; }
.tel .cc { display: grid; place-items: center; padding: 0 12px; background: var(--ochre-l); border: 1.5px solid #DCCAB0; border-right: 0; border-radius: 12px 0 0 12px; font-weight: 800; }
.tel input { border-radius: 0 12px 12px 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.date-cards, .slot-cards { display: grid; gap: 8px; }
.date-cards { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.dcard, .scard { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 13px; display: flex; flex-direction: column; gap: 4px; }
.dcard b { font: 800 16px var(--sans); }
.dcard span, .scard span { font: 600 12.5px/1.3 var(--sans); color: var(--muted); }
.dcard[aria-checked="true"], .scard[aria-checked="true"] { border-color: var(--crimson); background: #FCECE6; box-shadow: inset 0 0 0 1px var(--crimson); }
.dcard[disabled] { opacity: .5; cursor: not-allowed; background: #F4EEE6; }
.dcard .tag { align-self: flex-start; font: 800 10.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px; border-radius: 6px; background: var(--ochre-l); color: var(--espresso); }
.dcard .tag.out { background: #EEE; color: #777; }
.scard { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.scard b { font: 700 15px/1.25 var(--sans); }
.scard .fee { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 800 13px var(--sans); color: var(--ok); background: #E5F2E7; padding: 6px 10px; border-radius: 999px; }
.scard .fee.paid { color: var(--espresso); background: var(--ochre-l); }
.scard a { font: 700 12.5px var(--sans); grid-column: 1; }
.seg { display: flex; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 4px; gap: 4px; margin-bottom: 12px; }
.seg button { flex: 1; border: 0; background: none; border-radius: 10px; min-height: 44px; font: 700 14.5px var(--sans); }
.seg button[aria-checked="true"] { background: var(--espresso); color: var(--cream); }
.seg3 button { font-size: 13.5px; }
.chips-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-select button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 14px; font: 700 14px var(--sans); }
.chips-select button[aria-checked="true"] { border-color: var(--crimson); background: #FCECE6; color: var(--crimson); }
.zone-msg { margin: -4px 0 12px; font: 700 13.5px var(--sans); min-height: 1em; }
.zone-msg.ok { color: var(--ok); }
.zone-msg.bad { color: var(--err); }
.co-summary { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.co-summary .sl { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 4px 0; }
.co-summary .sl small { display: block; color: var(--muted); }
.pay-note { font-size: 14px; background: #EEF5EE; border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; }
.form-err { background: #FCE8E6; color: var(--err); border-radius: 12px; padding: 12px 14px; font: 700 14px/1.4 var(--sans); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* confirmation */
.confirm { position: fixed; inset: 0; z-index: 80; background: var(--cream); overflow-y: auto; -webkit-overflow-scrolling: touch; animation: fade .25s ease; }
.confirm-inner { max-width: 520px; margin: 0 auto; padding: 20px 18px calc(40px + var(--safe-b)); text-align: center; }
.confirm-logo { width: 140px; height: 140px; margin: 0 auto; }
.confirm h2 { font-size: 34px; color: var(--crimson); margin: 4px 0 6px; }
.cf-id { font-size: 17px; margin: 0 0 18px; }
.cf-id strong { font: 800 22px var(--sans); color: var(--palm); letter-spacing: .02em; }
.cf-actions { display: grid; gap: 10px; margin-bottom: 18px; }
.cf-auto { margin: 0; font: 600 13px var(--sans); color: var(--muted); min-height: 1em; }
.cf-auto button { background: none; border: 0; color: var(--crimson); text-decoration: underline; font-weight: 700; padding: 0 4px; }
.pay-card { text-align: left; background: var(--paper); border: 1.5px solid var(--ochre); border-radius: 18px; padding: 16px; margin-bottom: 16px; }
.pay-card h3 { font-size: 20px; margin-bottom: 10px; }
.pay-row { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.pay-row span { font: 700 12.5px var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pay-row strong { font: 800 16px var(--sans); word-break: break-all; }
.copy { border: 1.5px solid var(--palm); color: var(--palm); background: #fff; border-radius: 999px; padding: 7px 12px; font: 800 12.5px var(--sans); }
.copy.done { background: var(--palm); color: #fff; }
.cf-summary { text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-bottom: 14px; font-size: 14px; }
.cf-summary .sl { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.cf-summary .sl small { display: block; color: var(--muted); }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .skeleton-grid { grid-template-columns: repeat(2, 1fr); }
  .opts.three { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .sheet:not(.sheet-full) { left: 50%; right: auto; width: 560px; transform: translateX(-50%); bottom: 20px; border-radius: 22px; max-height: 88vh; }
  .sheet:not(.sheet-full) { animation: fade .2s ease; }
  .sheet-full { left: 50%; right: auto; width: 640px; transform: translateX(-50%); top: 20px; bottom: 20px; border-radius: 22px; }
}
@media (min-width: 900px) {
  .nav-link { display: inline-flex; }
  .nav .nav-link[data-open-catering] { font-size: 15px; padding: 10px 12px; color: var(--espresso); }
  .nav-link .long { display: inline; }
  .brand-tag { font-size: 13px; }
  .hero { padding: 40px 24px 44px; }
  .hero-inner { grid-template-columns: 1.25fr .75fr; align-items: center; gap: 30px; }
  .hero-art { display: block; }
  .hero-art { width: 100%; max-width: 440px; margin-left: auto; aspect-ratio: 1; border-radius: 50%; position: relative;
    background: radial-gradient(circle at 50% 42%, #FFFDF8 0%, #FBF1E1 70%, #F3E2C0 100%);
    box-shadow: 0 0 0 6px #FFF8EC, 0 0 0 8px rgba(200, 150, 62, .55), 0 24px 50px rgba(37, 32, 27, .18);
    overflow: hidden; display: grid; place-items: center; }
  .hero-art::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 1.5px dashed rgba(200, 150, 62, .45); pointer-events: none; }
  .hero-art img { width: 82%; height: 82%; object-fit: contain; }
  .catnav { top: 61px; justify-content: center; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .skeleton-grid { grid-template-columns: repeat(3, 1fr); }
  .catering-band { grid-template-columns: 1fr auto; align-items: center; padding: 36px 40px; }
  .cartbar { left: auto; right: 24px; width: 360px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
