/* BRICK & CRUNCH storefront
 * Brand: matte black base, BRICK and & in orange, CRUNCH in gold, beige only as a light secondary tone.
 * The orange and gold below are close matches until the approved colour codes are delivered:
 * change --brand and --accent here and the whole site follows. */
:root {
  --brand: #f26a1b;          /* BRICK orange */
  --brand-strong: #d9560b;
  --brand-contrast: #14110f; /* text on orange/gold */
  --accent: #d9a441;         /* CRUNCH gold */
  --accent-strong: #c08c2b;
  --beige: #e9dfd0;
  --ink: #f5efe6;            /* main text (light, on the dark base) */
  --ink-soft: #b5aba0;
  --paper: #121110;          /* matte black page background */
  --surface: #1c1a18;
  --surface-alt: #262320;
  --field: #1f1c19;
  --line: #36312c;
  --dark: #0c0b0a;
  --dark-soft: #201d1a;
  --success: #5fcf8a;
  --danger: #ff7a6b;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Arial Black", "Helvetica Neue", Impact, system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .35);
  --container: 1160px;
  --header-h: 100px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.8rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); text-transform: uppercase; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--dark); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-contrast); }
.btn-primary:hover { background: var(--brand-strong); color: var(--brand-contrast); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--beige); color: var(--brand-contrast); }
.btn-light:hover { background: var(--accent); color: var(--brand-contrast); }
.btn-accent { background: var(--accent); color: var(--brand-contrast); }
.btn-accent:hover { background: var(--accent-strong); color: var(--brand-contrast); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.02rem; letter-spacing: .04em; text-transform: uppercase; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--dark); color: #fff; border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .02em; white-space: nowrap; }
.brand:hover { color: #fff; }
.wordmark { font-family: var(--font-display); letter-spacing: .02em; white-space: nowrap; }
.wm-brick, .wm-amp { color: var(--brand); }
.wm-amp { margin: 0 .22em; }
.wm-crunch { color: var(--accent); }
.brand img { max-height: 84px; width: auto; border-radius: 8px; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: #efe7dd; text-decoration: none; font-weight: 600; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; background: var(--dark-soft); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: flex; border: 1px solid #4a423b; border-radius: 999px; overflow: hidden; }
.lang-switch a { padding: 6px 10px; font-size: .8rem; font-weight: 700; color: #cfc6bc; text-decoration: none; }
.lang-switch a[aria-current="true"] { background: var(--beige); color: var(--brand-contrast); }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--brand); color: var(--brand-contrast); text-decoration: none; font-weight: 700; }
.cart-link:hover { background: var(--brand-strong); color: var(--brand-contrast); }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--brand-contrast); color: var(--brand); font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .header-actions { margin-left: auto; }
  .main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--dark); border-top: 1px solid var(--dark-soft); display: none; margin: 0; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .main-nav a { padding: 14px 12px; font-size: 1.05rem; }
  .cart-link .cart-label { display: none; }
}
@media (max-width: 860px) { :root { --header-h: 84px; } .brand img { max-height: 68px; } }
@media (max-width: 480px) {
  .site-header .container { gap: 8px; }
  .brand { font-size: 1rem; }
  .brand img { max-height: 60px; }
  .header-actions { gap: 6px; }
  .lang-switch a { padding: 6px 7px; font-size: .75rem; }
  .cart-link { padding: 8px 10px; gap: 6px; }
  .nav-toggle { padding: 6px; margin-right: -6px; }
}
@media (max-width: 350px) { .brand { font-size: .88rem; } }

/* Status pill */
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9a9089; }
.status.is-open::before { background: #3fbf6e; box-shadow: 0 0 0 4px rgba(63, 191, 110, .2); }

/* Hero */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { /* soft warm glow instead of flames or heavy effects */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 480px at 85% 10%, rgba(242, 106, 27, .22), transparent 65%), radial-gradient(700px 420px at 5% 100%, rgba(217, 164, 65, .12), transparent 60%);
}
.hero.has-image::before {
  background: linear-gradient(90deg, rgba(12, 11, 10, .94) 0%, rgba(12, 11, 10, .78) 45%, rgba(12, 11, 10, .35) 100%), var(--hero-image) center / cover no-repeat;
}
.hero .container { position: relative; padding-top: clamp(56px, 10vw, 120px); padding-bottom: clamp(56px, 10vw, 120px); }
.hero-kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; margin-bottom: 12px; }
.hero h1 { font-size: clamp(2.4rem, 8vw, 5rem); margin-bottom: .35em; }
.hero h1 .wordmark { white-space: normal; }
.hero-lead { max-width: 56ch; font-size: 1.15rem; color: #e9e0d6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .btn { flex: 1 1 240px; max-width: 340px; }
.hero-actions .btn-outline { color: #fff; }
.hero-actions .btn-outline:hover { background: var(--beige); color: var(--brand-contrast); border-color: var(--beige); }
.hero-menu-link { margin: 18px 0 0; font-weight: 700; }
.hero-menu-link a { color: #fff; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; color: #d8cec3; font-size: .95rem; }

/* Sections */
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--dark); color: #efe7dd; border-top: 1px solid var(--line); }
.section-dark h2 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }
.page-head { background: var(--dark); color: #fff; padding: clamp(36px, 7vw, 64px) 0; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0 0 8px; }
.page-head p { color: #d8cec3; margin: 0; max-width: 62ch; }

.grid-2 { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: 1fr; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.stack > * + * { margin-top: 24px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); }
.card h2, .card h3 { margin-bottom: .6em; }

.feature-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 28px; }
.feature { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature strong { display: block; font-family: var(--font-display); text-transform: uppercase; margin-bottom: 6px; }

/* Notice */
.notice { border-left: 4px solid var(--accent); background: var(--surface-alt); padding: 14px 18px; border-radius: var(--radius-sm); color: var(--ink); }
.notice-dark { background: var(--dark-soft); color: #efe7dd; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin: 16px 0; font-weight: 600; }
.alert-success { background: rgba(95, 207, 138, .12); color: var(--success); }
.alert-error { background: rgba(255, 122, 107, .12); color: var(--danger); }
.alert ul { margin: 6px 0 0; padding-left: 20px; font-weight: 500; }

/* Hours */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--brand); }
.section-dark .hours th, .section-dark .hours td { border-color: #3a332d; }
.section-dark .hours tr.is-today th, .section-dark .hours tr.is-today td { color: var(--accent); }
.small { font-size: .9rem; color: var(--ink-soft); }
.section-dark .small { color: #b9aea3; }

/* Map */
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-alt); aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list .label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-weight: 700; }
.social { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: inherit; font-weight: 600; }
.social a:hover { border-color: var(--brand); color: var(--brand); }
.social svg { width: 18px; height: 18px; }

/* Menu */
.menu-nav { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.menu-nav ul { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.menu-nav a:hover { border-color: var(--brand); color: var(--brand); }
.menu-category { padding-top: 40px; }
.menu-category > p { color: var(--ink-soft); max-width: 62ch; }
.product-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-media { aspect-ratio: 4 / 3; background: var(--surface-alt); display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: .85rem; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media.is-placeholder { background: repeating-linear-gradient(135deg, var(--surface-alt) 0 18px, #2d2925 18px 36px); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 16px; gap: 8px; }
.product-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.product-top h3 { margin: 0; }
.product-price { font-weight: 800; white-space: nowrap; color: var(--brand); }
.product-desc { color: var(--ink-soft); font-size: .95rem; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.allergen-tags { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0; }
.allergen-tags li { font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: var(--surface-alt); color: var(--ink-soft); }
.add-form { margin-top: auto; display: grid; gap: 8px; padding-top: 8px; }
.size-options { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.size-options legend { font-size: .8rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 4px; }
.size-options label { position: relative; }
.size-options input { position: absolute; opacity: 0; }
.size-options span { display: inline-flex; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; font-size: .88rem; font-weight: 600; background: var(--field); }
.size-options input:checked + span { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
.size-options input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.option-field { display: grid; gap: 4px; }
.option-field label { font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.option-field select, .option-field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--field); /* 16px avoids iOS zoom */
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px;
}
.option-field textarea { resize: vertical; min-height: 64px; }
.option-field select:invalid { color: var(--ink-soft); }
.option-field select:focus, .option-field textarea:focus { border-color: var(--brand); outline: 3px solid rgba(242, 106, 27, .3); outline-offset: 0; }
.option-field ::placeholder, .field ::placeholder { color: #8a8178; opacity: 1; }
.add-options { display: grid; gap: 10px; }
.popup-only { display: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-alt); }
/* Options popup (menu cards; built by site.js) */
.options-dialog {
  width: min(460px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0;
  border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.options-dialog::backdrop { background: rgba(0, 0, 0, .7); }
.options-dialog .add-options { padding: 20px; gap: 14px; }
.options-dialog .popup-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.options-dialog .popup-actions { display: flex; gap: 8px; position: sticky; bottom: -20px; margin: 4px -20px -20px; padding: 12px 20px 20px; background: var(--surface); border-top: 1px solid var(--line); }
.options-dialog .popup-actions .btn { flex: 1 1 0; }
.options-dialog .popup-error:not([hidden]) { display: block; margin: 0; color: var(--danger); font-weight: 600; font-size: .92rem; }
.popup-title { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.popup-close { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface-alt); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.popup-close:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) {
  .options-dialog { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: var(--radius) var(--radius) 0 0; max-height: 90dvh; }
}
.extra-options { border: 0; padding: 0; margin: 0; display: grid; gap: 4px; }
.extra-options legend { font-size: .8rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 4px; }
.extra-options label { display: flex; align-items: center; gap: 8px; font-size: .92rem; cursor: pointer; }
.extra-options input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.extra-options .extra-price { margin-left: auto; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.line-options { margin: 4px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: .88rem; }
.line-options .note { font-style: italic; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--accent); color: var(--brand-contrast); }

/* Quantity */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty button { width: 38px; height: 38px; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; border-radius: 999px; color: var(--ink); }
.qty button:hover { background: var(--surface-alt); }
.qty input { width: 40px; text-align: center; border: 0; font: 700 1rem var(--font-body); background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Cart */
.cart-layout { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1fr 360px; } }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line:first-child { padding-top: 0; }
.cart-line h3 { margin: 0; font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; }
.cart-line .meta { color: var(--ink-soft); font-size: .9rem; }
.cart-line .line-total { font-weight: 800; text-align: right; white-space: nowrap; }
.cart-line .controls { display: flex; align-items: center; gap: 12px; grid-column: 1 / -1; }
.link-button { background: none; border: 0; padding: 6px; color: var(--danger); font: 600 .9rem var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.summary { position: sticky; top: calc(var(--header-h) + 16px); }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0 0 16px; }
.summary dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.summary .total { font-size: 1.2rem; font-weight: 800; border-top: 1px solid var(--line); padding-top: 10px; }

/* Forms */
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 700; font-size: .92rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid #4a433c; border-radius: var(--radius-sm);
  font: 1rem var(--font-body); background: var(--field); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); outline: 3px solid rgba(242, 106, 27, .3); outline-offset: 0; }
.field .hint { font-size: .85rem; color: var(--ink-soft); }
.field .error { font-size: .85rem; color: var(--danger); font-weight: 600; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.choice-cards { display: grid; gap: 12px; grid-template-columns: 1fr; border: 0; padding: 0; margin: 0; }
@media (min-width: 600px) { .choice-cards { grid-template-columns: 1fr 1fr; } }
.choice-cards label { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--field); cursor: pointer; }
.choice-cards label.is-disabled { opacity: .55; cursor: not-allowed; }
.choice-cards label:has(input:checked) { border-color: var(--brand); background: rgba(242, 106, 27, .1); }
.choice-cards input { margin-top: 4px; accent-color: var(--brand); width: 18px; height: 18px; }
.choice-cards strong { display: block; }
.choice-cards span { font-size: .9rem; color: var(--ink-soft); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; }
.checkbox input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); }
.checkout-section + .checkout-section { margin-top: 24px; }
[data-delivery-only][hidden] { display: none; }

/* Allergen table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table thead th { background: var(--surface-alt); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.allergen-legend { display: grid; gap: 6px 16px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); list-style: none; padding: 0; margin: 0; }

/* Footer */
.site-footer { background: var(--dark); color: #cfc6bc; padding: 48px 0 24px; margin-top: 0; border-top: 1px solid var(--line); }
.slogan { color: var(--accent); font-weight: 700; letter-spacing: .14em; font-size: .78rem; text-transform: uppercase; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; color: #fff; letter-spacing: .06em; }
.site-footer .hours th, .site-footer .hours td { border-color: #3a332d; padding: 6px 0; font-size: .92rem; }
.site-footer .hours tr.is-today th, .site-footer .hours tr.is-today td { color: var(--accent); }
.site-footer .social a { border-color: #3a332d; color: #fff; }
.footer-bottom { border-top: 1px solid #3a332d; margin-top: 32px; padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .85rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 0; }
.footer-bottom nav a + a::before { content: "|"; margin: 0 10px; color: #6b625a; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; z-index: 90; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius); background: var(--beige); color: var(--brand-contrast); box-shadow: var(--shadow); transition: transform .25s ease, visibility 0s linear .25s; }
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; transition: transform .25s ease; }
.toast.is-error { background: var(--danger); color: var(--brand-contrast); }
.toast a { color: var(--brand-strong); font-weight: 700; white-space: nowrap; }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.empty-state { text-align: center; padding: 48px 16px; }

/* Product links on cards */
.product-media { text-decoration: none; }
.product-media img { transition: transform .3s ease; }
.product:hover .product-media img { transform: scale(1.03); }
.product-link { color: inherit; text-decoration: none; }
.product-link:hover { color: var(--brand); text-decoration: underline; }

/* Product detail page */
.product-page { padding-top: 20px; padding-bottom: clamp(40px, 7vw, 72px); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 20px; font-size: .9rem; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line); }
.breadcrumbs a { color: var(--ink-soft); }
.product-detail { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) { .product-detail { grid-template-columns: 1.05fr 1fr; } .product-gallery { position: sticky; top: calc(var(--header-h) + 16px); } }
.product-gallery-main { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-alt); }
.product-gallery-main.product-media { display: flex; }
.product-thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0 0; }
.product-thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); background: none; cursor: pointer; overflow: hidden; }
.product-thumbs button[aria-current="true"] { border-color: var(--brand); }
.product-thumbs img { width: 72px; height: 72px; object-fit: cover; }
.product-info h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 8px; }
.product-detail-price { font-size: 1.5rem; font-weight: 800; color: var(--brand); margin-bottom: 16px; }
.product-description { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 16px; }
.product-subhead { font-size: 1rem; letter-spacing: .06em; margin: 24px 0 10px; }
.size-table { display: grid; grid-template-columns: 1fr auto; margin: 0; max-width: 360px; }
.size-table dt, .size-table dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.size-table dd { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Quantity + add-to-cart row */
.add-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.add-row .qty { flex: none; }
/* Sits next to the quantity when there is room, otherwise wraps to a full-width row. */
.add-row .btn { flex: 1 1 150px; padding-left: 12px; padding-right: 12px; white-space: nowrap; }

/* Custom pages (admin editor content) */
.page-content { max-width: 760px; font-size: 1.05rem; }
.page-content h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 1.4em; }
.page-content h3 { margin-top: 1.2em; }
.page-content img { height: auto; border-radius: var(--radius); margin: 16px 0; }
.page-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.page-content th, .page-content td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.page-content blockquote { margin: 16px 0; padding: 12px 18px; border-left: 4px solid var(--accent); background: var(--surface-alt); border-radius: var(--radius-sm); }
.page-content ul, .page-content ol { padding-left: 1.4em; }

/* Admin bar (only for logged-in site admins) */
.admin-bar { background: var(--beige); color: var(--brand-contrast); font-size: .85rem; }
.admin-bar .container { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; padding-top: 6px; padding-bottom: 6px; }
.admin-bar a { color: var(--brand-contrast); font-weight: 600; }
.admin-bar a:hover { color: var(--brand-strong); }

/* Online ordering paused */
.pause-banner { background: var(--accent); color: var(--brand-contrast); font-weight: 700; text-align: center; padding: 10px 0; }

/* Pickup / delivery choice */
.start-choices { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .start-choices { grid-template-columns: 1fr 1fr; } }
.start-choice { display: block; padding: 20px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; }
.start-choice:hover, .start-choice.is-current { border-color: var(--brand); color: var(--ink); }
.start-choice strong { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.1rem; }
.start-choice span { color: var(--ink-soft); font-size: .92rem; }
.fulfillment-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 14px 0 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .92rem; }
.page-head .fulfillment-chip { color: var(--ink); }

/* Menu: highlighted sections, sold out and offers */
.menu-nav a.is-highlight { border-color: var(--accent); color: var(--accent); }
.product-media { position: relative; }
.product-flag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--brand); color: var(--brand-contrast); font-size: .78rem; font-weight: 800; }
.product-flag.is-sold-out { background: var(--beige); }
.product.is-sold-out .product-media img { filter: grayscale(1); opacity: .55; }
.sold-out-note { margin-top: auto; padding: 10px 12px; border: 1px dashed var(--line); border-radius: var(--radius-sm); text-align: center; font-weight: 700; color: var(--ink-soft); }
.group-rule { margin-left: 6px; font-weight: 600; color: var(--ink-soft); }
.group-rule.is-required { color: var(--accent); }
.extra-options + .extra-options { margin-top: 2px; }
.add-form > .add-options .popup-error:not([hidden]) { margin: 0; color: var(--danger); font-weight: 600; font-size: .92rem; }

/* Cart bar: stays visible while browsing */
.cart-bar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 60; width: min(520px, calc(100% - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-radius: 999px; background: var(--brand); color: var(--brand-contrast); font-weight: 800; text-decoration: none; box-shadow: 0 12px 32px rgba(0, 0, 0, .5); }
.cart-bar:hover { background: var(--brand-strong); color: var(--brand-contrast); }
.cart-bar[hidden] { display: none; }
.cart-bar-main { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-bar-cta { font-size: .92rem; white-space: nowrap; }
body:has(.cart-bar:not([hidden])) .site-footer { padding-bottom: 96px; }
body:has(.cart-bar:not([hidden])) .toast { bottom: 84px; }

/* Cart: discount code and suggestions */
.promo { margin: 0 0 16px; }
.promo summary { cursor: pointer; font-weight: 600; font-size: .95rem; }
.promo-form { display: flex; gap: 8px; margin-top: 10px; }
.promo-form input { flex: 1 1 auto; min-width: 0; padding: 10px 12px; border: 1px solid #4a433c; border-radius: var(--radius-sm); background: var(--field); color: var(--ink); font: 1rem var(--font-body); text-transform: uppercase; }
.promo-form .btn { min-height: 44px; padding: 8px 16px; }
.promo-applied { display: flex; align-items: center; gap: 10px; margin: 0; }
.promo-error { color: var(--danger); margin: 0 0 8px; }
.upsell { margin-top: clamp(32px, 6vw, 56px); }

/* Checkout */
[data-later-only][hidden] { display: none; }
.field select { appearance: auto; }

/* Order page (tracking) */
.track-status { margin: 0 0 10px; }
.track-pill { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: .9rem; background: var(--surface-alt); color: var(--ink); }
.track-pill.is-new, .track-pill.is-pending { background: var(--beige); color: var(--brand-contrast); }
.track-pill.is-confirmed, .track-pill.is-preparing { background: var(--accent); color: var(--brand-contrast); }
.track-pill.is-ready { background: var(--success); color: var(--brand-contrast); }
.track-pill.is-onway { background: var(--brand); color: var(--brand-contrast); }
.track-pill.is-canceled { background: var(--danger); color: var(--brand-contrast); }
.track-message { font-size: 1.2rem; font-weight: 700; margin: 0 0 8px; }
.track-eta { margin: 0 0 16px; color: var(--ink-soft); }
.track-eta strong { color: var(--accent); font-size: 1.15rem; }
.track-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 12px; }
.track-steps li { flex: 1 1 0; padding-top: 12px; border-top: 4px solid var(--line); font-size: .78rem; color: var(--ink-soft); line-height: 1.3; }
.track-steps li.is-done { border-color: var(--accent); color: var(--ink); }
.track-steps li.is-current { border-color: var(--brand); color: var(--ink); font-weight: 700; }
.track-rule { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.track-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.track-facts dt { color: var(--ink-soft); font-size: .9rem; }
.track-facts dd { margin: 0; }
.summary-list { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 16px 0 0; }
.summary-list dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.summary-list .total { font-size: 1.2rem; font-weight: 800; border-top: 1px solid var(--line); padding-top: 10px; }
@media (max-width: 520px) { .track-steps li { font-size: .68rem; } .track-facts { grid-template-columns: 1fr; } }

/* Special opening hours */
.hours-special { margin-top: 14px; }
.hours-special caption { text-align: left; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); padding-bottom: 4px; }
