/* Public restaurant site. Themed via --color-primary / --color-accent / fonts set per tenant in <head>. */
:root {
  --bg: #fbf8f4;
  --surface: #ffffff;
  --ink: #221c18;
  --muted: #6d625a;
  --line: #e9e1d8;
  --success: #2f6b45;
  --danger: #b3261e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(34, 28, 24, .06), 0 10px 28px -14px rgba(34, 28, 24, .25);
  --color-primary: #8a3b12;
  --color-accent: #d9a441;
  --color-primary-contrast: #fff;
  --color-accent-contrast: #111;
  --font-display: Georgia, serif;
  --font-body: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--font-body); overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: var(--color-primary); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3.4vw, 1.8rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 .8em; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip-link:focus { left: 8px; }
[hidden] { display: none !important; }

/* Banners & notices */
.banner { padding: 10px 16px; text-align: center; font-size: .92rem; font-weight: 600; }
.banner-preview { background: #2b2b2b; color: #fff; }
.banner-preview a { color: #ffd77a; }
.banner-paused { background: #fff3cd; color: #5c4400; }
.banner-announce { background: var(--color-accent); color: var(--color-accent-contrast); }
.notice { padding: 12px 16px; border-radius: 10px; margin: 16px 0; font-size: .95rem; }
.notice-success { background: #e6f2ea; color: #1d4d30; }
.notice-info { background: #eef1f6; color: #273246; }
.notice-error { background: #fbe9e7; color: #7a1c14; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { text-decoration: none; color: var(--ink); display: flex; align-items: center; min-width: 0; }
.brand-logo { max-height: 44px; width: auto; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover, .site-nav a.is-active { background: #f2ece5; }
@media (max-width: 560px) { .nav-visit { display: none; } }
.cart-link { display: inline-flex; align-items: center; gap: 6px; }
.cart-count { background: var(--color-primary); color: var(--color-primary-contrast); border-radius: 999px; min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; font-size: .8rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 20px; font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer; transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(.95); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--color-primary); color: var(--color-primary-contrast); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-small { padding: 6px 12px; font-size: .9rem; }
.btn-link { background: none; border: 0; padding: 0; color: var(--color-primary); font: inherit; text-decoration: underline; cursor: pointer; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-back { text-decoration: none; font-weight: 600; }

/* Badges & tags */
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; background: rgba(255, 255, 255, .92); color: var(--ink); }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge-open { color: var(--success); }
.badge-later { color: #8a5a00; }
.badge-closed { color: var(--danger); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #f1ece6; color: #5d534c; }
.tag-vegetarian, .tag-vegan { background: #e6f2ea; color: #1d4d30; }
.tag-gluten_free { background: #fcf0d2; color: #6b4b00; }
.tag-spicy { background: #fde3dc; color: #8e2512; }
.tag-contains_nuts { background: #efe5da; color: #5a3d1f; }
.tag-soldout { background: #2b2b2b; color: #fff; }

/* Hero */
.hero { position: relative; color: var(--color-primary-contrast); background: var(--color-primary); overflow: hidden; }
.hero.has-image { color: #fff; background: #222 var(--hero-image) center / cover no-repeat; }
.hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .6)); }
.hero.no-image::before { content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: radial-gradient(circle at 20% 30%, var(--color-accent) 0 2px, transparent 3px), radial-gradient(circle at 70% 60%, var(--color-accent) 0 2px, transparent 3px);
  background-size: 34px 34px, 46px 46px; }
.hero-inner { position: relative; padding: clamp(56px, 12vw, 120px) 0 clamp(48px, 9vw, 96px); }
.hero-title { font-size: clamp(2.4rem, 8vw, 4.4rem); margin: 18px 0 10px; max-width: 16ch; }
.hero-tagline { font-size: clamp(1.05rem, 2.6vw, 1.35rem); max-width: 40ch; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 26px; }
.hero .btn-primary { background: var(--color-accent); color: var(--color-accent-contrast); }
.hero-hours { font-weight: 600; opacity: .95; }
.hero.has-image { min-height: min(78vh, 680px); display: flex; align-items: flex-end; }
.hero.has-image > .wrap { width: min(1120px, 100% - 32px); }
.hero.has-image::before { background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .25) 40%, rgba(0, 0, 0, .72) 100%); }
.hero-title { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .45), transparent 65%); pointer-events: none; }
.hero.has-image > .wrap { z-index: 1; }
@media (max-width: 780px) { .hero.has-image { background-position: 72% center; } }
.btn-glass { background: rgba(255, 255, 255, .14); color: inherit; border: 1.5px solid rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.hero.no-image .btn-glass { border-color: currentColor; }
.btn-accent { background: var(--color-accent); color: var(--color-accent-contrast); }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 24px 0 0; font-weight: 600; font-size: .95rem; opacity: .95; }
.hero-facts li + li::before { content: "•"; margin-right: 18px; opacity: .6; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--color-primary); margin: 0 0 6px; }

/* Highlights */
.highlights { background: var(--surface); border-bottom: 1px solid var(--line); }
.highlights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0; }
.highlight { padding: 28px 24px 26px 0; }
.highlight + .highlight { padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 780px) { .highlight, .highlight + .highlight { padding: 22px 0; border-left: 0; } .highlight + .highlight { border-top: 1px solid var(--line); } }
.highlight-num { font-family: var(--font-display); color: var(--color-accent); font-size: 1.1rem; font-weight: 700; }
.highlight-title { font-size: 1.25rem; margin: 6px 0 6px; }
.highlight p { color: var(--muted); margin: 0; }

/* Sections */
.section { padding: clamp(40px, 7vw, 72px) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.featured-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s; }
.featured-card:hover { transform: translateY(-3px); }
.featured-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.featured-body { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px 16px; }
.featured-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.featured-desc { color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.featured-price { font-weight: 700; white-space: nowrap; }
.featured-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }

/* Story */
.story { display: grid; gap: 40px; align-items: center; }
.story.has-photo { grid-template-columns: 1fr 1fr; }
.story-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.story-text .btn { margin-top: 8px; }
@media (max-width: 780px) { .story.has-photo { grid-template-columns: 1fr; gap: 24px; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; gap: 12px; }
.gallery-tile { position: relative; overflow: hidden; border-radius: 14px; background: #eee; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; color: #fff; font-size: .88rem; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
@media (max-width: 780px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .gallery.count-6 .gallery-tile:last-child { grid-column: span 2; } .gallery.count-2 .gallery-tile:first-child, .gallery.count-4 .gallery-tile:first-child { grid-row: auto; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 8, 6, .86); }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; margin: 0 auto; }
.lightbox-caption { color: #fff; text-align: center; margin: 10px 0 0; }
.lightbox-close { position: absolute; top: -14px; right: -6px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* Ways to order */
.ways-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.way { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.way svg { color: var(--color-primary); margin-bottom: 10px; }
.way p { color: var(--muted); margin: 0; }

/* Hours & location */
.visit-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.visit-links { display: flex; flex-wrap: wrap; gap: 8px; }
.exceptions-title { font-family: var(--font-body); font-size: .95rem; margin: 20px 0 6px; }
@media (max-width: 780px) { .visit-grid { grid-template-columns: 1fr; gap: 32px; } }

/* FAQ */
.narrow-faq { width: min(820px, 100% - 32px); }
.faq { margin-top: 12px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--color-primary); }
.faq details[open] summary::after { content: "–"; }
.faq-answer { color: #3e3530; padding: 0 0 18px; }

/* Closing call to action */
.cta-band { background: var(--color-primary); color: var(--color-primary-contrast); padding: clamp(36px, 6vw, 56px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0; }

/* Credits */
.credits-page { padding-bottom: 40px; }
.credits { padding-left: 18px; color: #3e3530; }
.credits li { margin-bottom: 8px; }
.preview-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px; }
.preview-list { list-style: none; margin: 0; padding: 0; }
.preview-list a { display: flex; gap: 8px; align-items: baseline; padding: 8px 0; text-decoration: none; color: var(--ink); }
.preview-list .dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.info-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.prose p { color: #3e3530; font-size: 1.05rem; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours-table th { padding-right: 16px; }
.hours-table tr.is-today { font-weight: 700; }
.hours-table tr.is-today th, .hours-table tr.is-today td { font-weight: 700; color: var(--color-primary); }
.exceptions { padding-left: 18px; margin-top: 16px; color: var(--muted); font-size: .92rem; }
.visit-address { font-size: 1.1rem; }
.map { margin-top: 12px; width: 100%; height: 300px; border: 0; border-radius: var(--radius); background: #eee; }
@media (max-width: 780px) { .info-grid { grid-template-columns: 1fr; } }

/* Menu */
.menu-top { position: sticky; top: 64px; z-index: 15; background: var(--bg); border-bottom: 1px solid var(--line); padding-top: 20px; }
.menu-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.menu-title-row h1 { margin: 0; }
.category-nav { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav a { white-space: nowrap; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.category-nav a.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-body { padding-bottom: 96px; }
.menu-section { padding-top: 28px; }
.category-desc { color: var(--muted); margin-top: -6px; }
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.item-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, border-color .2s; }
.item-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.item-link { position: relative; display: flex; gap: 14px; padding: 16px; text-decoration: none; color: var(--ink); height: 100%; }
.item-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.item-name { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 0 0 4px; }
.item-desc { color: var(--muted); font-size: .93rem; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.item-meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.item-price { font-weight: 700; margin-right: 4px; }
.item-photo { width: 104px; height: 104px; object-fit: cover; border-radius: 10px; flex: none; }
.item-add { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-contrast); display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4); }
.item-card.has-photo .item-add { right: 18px; bottom: 18px; }
/* Items without photos: a deliberate text card with an accent rule, not a broken image. */
.item-card.no-photo .item-link { border-left: 4px solid var(--color-accent); border-radius: var(--radius); padding-right: 56px; }
.item-card.is-sold-out { opacity: .6; }
.cart-fab { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 30; background: var(--color-primary); color: var(--color-primary-contrast); padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); white-space: nowrap; }
.empty { color: var(--muted); padding: 40px 0; }

/* Item sheet (modal on JS, page without) */
.sheet { position: fixed; inset: 0; z-index: 50; display: grid; align-items: end; justify-items: center; }
@media (min-width: 700px) { .sheet { align-items: center; } }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(20, 16, 14, .55); }
.sheet-panel { position: relative; width: min(560px, 100%); max-height: 92vh; overflow: auto; background: var(--surface); border-radius: 20px 20px 0 0; box-shadow: var(--shadow); }
@media (min-width: 700px) { .sheet-panel { border-radius: 20px; } }
.sheet-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sheet-body { position: relative; padding: 20px; }
.sheet-close { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f2ece5; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.item-page .sheet-close { display: none; }
.sheet-body h2 { padding-right: 44px; }
.sheet-desc { color: var(--muted); }
.sheet-price { font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mod-group { border: 0; padding: 0; margin: 20px 0 0; }
.mod-group legend { font-weight: 700; margin-bottom: 8px; width: 100%; display: flex; justify-content: space-between; gap: 8px; }
.mod-hint { font-weight: 500; font-size: .82rem; color: var(--muted); }
.mod-group.is-invalid .mod-hint { color: var(--danger); font-weight: 700; }
.mod-option { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 6px; cursor: pointer; }
.mod-option:has(input:checked) { border-color: var(--color-primary); background: color-mix(in srgb, var(--color-primary) 6%, white); }
.mod-option.is-disabled { opacity: .5; cursor: not-allowed; }
.mod-option input { width: 18px; height: 18px; accent-color: var(--color-primary); }
.mod-name { flex: 1; }
.mod-delta { color: var(--muted); font-size: .92rem; }
.sheet-actions { position: sticky; bottom: 0; display: flex; gap: 12px; align-items: center; padding: 14px 0 4px; background: var(--surface); }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; }
.qty input { width: 40px; text-align: center; border: 0; font: 600 1rem var(--font-body); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.item-page { padding: 20px 0 60px; }
.item-page-card { background: var(--surface); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }

/* Forms */
.field { display: block; margin: 0 0 14px; }
.field-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], select, textarea {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: 400 1rem var(--font-body); background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 18%, transparent); }
[aria-invalid=true] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .88rem; margin: 6px 0 0; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Cards, cart, checkout */
.page-title { margin: 28px 0 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0 0 16px; }
fieldset.card { min-width: 0; }
.card-title { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; padding: 0; margin: 0 0 12px; }
.empty-card { text-align: center; padding: 48px 20px; background: var(--surface); border-radius: var(--radius); border: 1px dashed var(--line); }
.lines { list-style: none; margin: 0; padding: 0; }
.line { padding: 12px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-main { display: flex; gap: 10px; align-items: baseline; }
.line-qty { font-weight: 700; color: var(--muted); min-width: 28px; }
.line-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.line-mods, .line-notes { color: var(--muted); font-size: .9rem; }
.line-total { font-weight: 600; }
.line-edit { display: flex; align-items: center; gap: 12px; margin: 8px 0 0 38px; }
.line-edit select { width: auto; padding: 6px 10px; }
.totals { margin: 14px 0 0; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.totals dt, .totals dd { margin: 0; }
.totals .grand { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }
.cart-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 8px 0 60px; }
.checkout-wrap { padding-bottom: 60px; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: minmax(0, 1fr); } }
.sticky { position: sticky; top: 84px; }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segment { position: relative; }
.segment input { position: absolute; opacity: 0; }
.segment span { display: inline-block; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; cursor: pointer; }
.segment input:checked + span { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-primary-contrast); }
.segment input:focus-visible + span { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.when-options { display: grid; gap: 8px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.choice span { display: flex; flex-direction: column; }
.choice:has(input:checked) { border-color: var(--color-primary); }
.choice.is-disabled { opacity: .55; cursor: not-allowed; }
.choice input { margin-top: 4px; accent-color: var(--color-primary); }
.slot-field { margin-top: 12px; }
.tip-custom { margin-top: 12px; max-width: 200px; }
.fulfillment-note { font-weight: 600; color: var(--muted); }
.fine-print { color: var(--muted); font-size: .85rem; text-align: center; margin: 10px 0 0; }

/* Order status */
.order-page { padding: 28px 0 60px; }
.order-hero { text-align: center; padding: 32px 20px; }
.order-page .eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.order-time { font-size: 1.1rem; }
.progress { list-style: none; display: flex; justify-content: space-between; gap: 6px; padding: 0; margin: 24px 0; counter-reset: s; }
.step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); position: relative; }
.step::before { content: ""; position: absolute; top: 9px; right: 50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.step:first-child::before { display: none; }
.step-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--line); position: relative; z-index: 1; }
.step-done, .step-current { color: var(--ink); font-weight: 600; }
.step-done .step-dot, .step-done::before, .step-current::before { background: var(--color-primary); }
.step-current .step-dot { background: var(--color-primary); box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary) 22%, transparent); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--color-primary) 8%, transparent); } }

/* Status pages (coming soon / unavailable) */
.site-minimal { display: grid; min-height: 100vh; place-items: center; background: var(--color-primary); color: var(--color-primary-contrast); }
.status-page { text-align: center; padding: 32px 16px; max-width: 520px; }
.status-page a { color: inherit; }
.status-logo { max-height: 96px; margin: 0 auto 20px; background: #fff; border-radius: 16px; padding: 10px; }
.status-lede { font-size: 1.25rem; }
.status-admin { margin-top: 40px; font-size: .9rem; opacity: .8; }

/* Footer */
.site-footer { background: #1f1a17; color: #d9d0c8; padding: 40px 0 24px; margin-top: 40px; }
main:has(> .cta-band:last-child) + .site-footer { margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.footer-name { font-family: var(--font-display); font-size: 1.2rem; color: #fff; display: block; margin-bottom: 8px; }
.social { display: flex; gap: 14px; }
.footer-small { font-size: .8rem; opacity: .6; margin-top: 28px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); background: #1f1a17; color: #fff; padding: 12px 20px; border-radius: 999px; z-index: 60; font-weight: 600; box-shadow: var(--shadow); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
