:root {
  color-scheme: light;
  --paper: #f8f6f0;
  --surface: #fffefa;
  --soft: #f3f1e9;
  --ink: #212720;
  --muted: #5b6258;
  --line: #e3dfd4;
  --green: #283b2e;
  --green-dark: #202e24;
  --green-light: #e9eee5;
  --gold: #edc490;
  --serif: Georgia, "Bitstream Charter", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 93px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
h1, h2, h3, h4, p { margin: 0; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #7b4d20; outline-offset: 4px; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: 0; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; flex: none; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.sr-only, .skip-link:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; position: absolute; white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 10px 16px; background: white; color: var(--ink); }
.frame { width: min(calc(100% - 80px), 1216px); margin-inline: auto; }

.site-header { position: sticky; z-index: 4; top: 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header-inner { min-height: 77px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
.brand img { flex: none; width: 51px; height: 48px; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 26px; }
.header-menu { font-size: 14px; font-weight: 650; }
.header-menu:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.preview-label { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 650; white-space: nowrap; }
.preview-label > span { width: 6px; height: 6px; border-radius: 100%; background: #a97644; }
.header-cart { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 0 10px 0 13px; border: 1px solid #dcded5; border-radius: 8px; background: var(--surface); color: var(--green); font-size: 14px; font-weight: 700; }
.header-cart:hover { background: var(--green-light); }
.header-cart .icon { width: 17px; height: 17px; }
.header-count, .mobile-count { display: grid; min-width: 22px; height: 22px; padding: 0 5px; place-items: center; border-radius: 50px; background: var(--green-light); font-size: 12px; line-height: 1; font-weight: 700; }

.hero { min-height: 366px; margin-top: 26px; display: grid; grid-template-columns: 45% 55%; overflow: hidden; isolation: isolate; border-radius: 14px; background: var(--green-dark); color: #fcf7eb; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 29px clamp(30px, 5.25vw, 76px); }
.hero-location { display: inline-flex; align-items: center; gap: 6px; color: #e6d0ae; font-size: 11px; font-weight: 700; letter-spacing: .135em; text-transform: uppercase; }
.hero-location .icon { width: 14px; height: 14px; }
.hero h1 { margin: 13px 0 17px; font: normal clamp(57px, 6.15vw, 94px)/.92 var(--serif); letter-spacing: -.067em; }
.hero h1 em { color: var(--gold); font-weight: normal; }
.hero-description { max-width: 340px; color: #e3e0d3; font-size: 15px; line-height: 1.55; }
.hero-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 46px; margin-top: 23px; padding: 0 15px; border: 1px solid transparent; border-radius: 7px; background: #f5e9d4; color: #243128; font-size: 14px; font-weight: 700; }
.hero-button:hover { background: #fff7e9; }
.hero-button .icon { width: 16px; height: 16px; }
.hero-button:focus-visible { outline-color: var(--gold); }
.hero-photo { display: block; position: relative; min-width: 0; min-height: 0; background: #725039; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; }

.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(305px, 345px); align-items: start; gap: 32px; margin: 36px 0 65px; }
.menu { min-width: 0; }
.menu-heading h2 { font: normal clamp(39px, 4vw, 53px)/1.02 var(--serif); letter-spacing: -.052em; }
.menu-heading p { margin-top: 7px; color: var(--muted); font-size: 14px; }
.menu-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 19px 0 0; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.category-button { flex: none; min-height: 43px; padding: 0 14px; background: transparent; border: 1px solid #dedbcf; border-radius: 50px; color: #3d483d; font-size: 13px; font-weight: 650; white-space: nowrap; }
.category-button[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: #fff; }
.category-button:hover:not([aria-pressed="true"]) { background: var(--green-light); }
.menu-group { margin-top: 26px; }
.menu-group + .menu-group { margin-top: 35px; }
.menu-group h3 { margin-bottom: 13px; font: normal 29px/1.15 var(--serif); letter-spacing: -.038em; }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.menu-card { position: relative; min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); transition: border-color .15s ease; }
.menu-card:hover, .menu-card:focus-within { border-color: #aab2a3; }
.card-image { display: block; width: 100%; height: auto; aspect-ratio: 2.35; object-fit: cover; }
.card-content { display: flex; flex-direction: column; flex: 1; min-height: 131px; padding: 14px 15px 13px; }
.card-content h4 { font: 700 17px/1.22 var(--sans); letter-spacing: -.022em; }
.card-details { padding: 0; border: 0; background: transparent; font: inherit; color: inherit; text-align: left; }
.card-details::after { content: ""; position: absolute; inset: 0; }
.card-details:focus-visible { outline-offset: 3px; }
.card-content p { margin: 5px 0 7px; color: var(--muted); font-size: 13px; line-height: 1.43; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: auto; }
.price { color: #29382d; font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }
.quick-add { z-index: 1; min-width: 61px; min-height: 44px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; gap: 3px; border: 1px solid #dfe5d9; border-radius: 7px; background: #edf1e9; color: var(--green); font-size: 13px; font-weight: 750; }
.quick-add .icon { width: 14px; height: 14px; }
.quick-add:hover { background: #dfe8d9; }

.desktop-cart { position: sticky; top: 96px; max-height: calc(100dvh - 110px); overflow: auto; scrollbar-width: thin; }
.cart-panel { min-width: 0; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 3px 9px #272d1e06; }
.cart-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 17px; }
.cart-heading h2 { font: normal 29px/1.1 var(--serif); letter-spacing: -.045em; }
.cart-count { flex: none; padding: 4px 9px; border-radius: 50px; background: var(--green-light); color: #3e503d; font-size: 12px; font-weight: 700; }
.pickup-info { background: var(--soft); border: 1px solid #ebe7da; border-radius: 8px; color: #39483b; }
.pickup-location, .pickup-time { display: flex; gap: 10px; align-items: center; padding: 11px 12px; }
.pickup-location > .icon, .pickup-time > .icon:not(.chevron) { width: 18px; height: 18px; }
.pickup-location div, .pickup-time > span { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.pickup-location strong, .pickup-time strong { color: var(--ink); font-size: 13px; line-height: 1.3; }
.pickup-location span, .pickup-time small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.pickup-time { width: 100%; min-height: 58px; border: 0; border-top: 1px solid #e5e1d5; border-radius: 0 0 8px 8px; background: transparent; text-align: left; }
.pickup-time:hover { background: #ebece1; }
.pickup-time .chevron { width: 14px; height: 14px; margin-left: auto; }
.cart-contents { min-height: 131px; }
.empty-cart { min-height: 131px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; padding: 14px 4px 15px; text-align: center; }
.empty-cart-mark { display: grid; width: 37px; height: 37px; place-items: center; margin-bottom: 4px; border-radius: 50%; color: #455746; background: var(--green-light); }
.empty-cart-mark .icon { width: 18px; height: 18px; }
.empty-cart strong { font-size: 14px; }
.empty-cart p { color: var(--muted); font-size: 12px; }
.cart-lines { max-height: min(24dvh, 242px); overflow: auto; margin: 0; padding: 2px 0 6px; list-style: none; scrollbar-width: thin; overscroll-behavior: contain; }
.cart-line { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "name price" "controls controls"; gap: 5px 8px; padding: 10px 0 8px; }
.cart-line + .cart-line { border-top: 1px solid var(--line); }
.line-name { grid-area: name; font-size: 13px; align-self: center; font-weight: 700; overflow-wrap: anywhere; }
.line-price { grid-area: price; font-size: 13px; align-self: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.line-controls { grid-area: controls; display: flex; align-items: center; gap: 9px; }
.remove-button { min-height: 44px; border: 0; padding: 0 4px; background: transparent; color: var(--muted); font-size: 12px; }
.remove-button:hover { text-decoration: underline; }
.cart-total { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 13px 0 12px; font-size: 14px; font-weight: 700; }
.cart-total strong { font-size: 18px; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 15px; border: 1px solid var(--green); border-radius: 7px; background: var(--green); color: white; font-size: 14px; font-weight: 700; text-align: center; }
.primary-button:hover:not(:disabled) { border-color: #18281e; background: #18281e; }
.secondary-button { border-color: #cfd6cb; background: transparent; color: var(--green); }
.secondary-button:hover { background: var(--green-light); }
.checkout-button { width: 100%; justify-content: space-between; }
.checkout-button:disabled { border-color: #e0e4db; background: #e6e9e1; color: #596458; }
.checkout-button .icon { width: 17px; height: 17px; }
.cart-note { margin: 9px 0 0; color: var(--muted); font-size: 11.5px; text-align: center; }

.site-footer { border-top: 1px solid var(--line); background: var(--soft); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 100px; padding-block: 15px; }
.footer-inner > div { display: flex; flex-direction: column; gap: 4px; }
.footer-inner strong { font-size: 14px; }
.footer-inner span, .footer-inner a { color: var(--muted); font-size: 13px; }
.footer-inner a { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.footer-inner a .icon { width: 14px; height: 14px; }

.mobile-cart-bar, .mobile-close { display: none !important; }
.sheet { width: min(calc(100% - 28px), 500px); max-height: min(88dvh, 760px); padding: 0; overscroll-behavior: contain; overflow: auto; border: 1px solid #e1ddcf; border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: 0 20px 70px #1016103d; }
.sheet::backdrop { background: #18261db0; }
.dialog-shell { padding: 21px 23px 23px; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dialog-heading h2 { font: normal clamp(29px, 5vw, 39px)/1.08 var(--serif); letter-spacing: -.046em; }
.icon-button { display: grid; flex: none; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--green); }
.icon-button:hover { background: var(--green-light); }
.icon-button .icon { width: 18px; height: 18px; }
.detail-image { width: 100%; height: auto; max-height: 230px; aspect-ratio: 2.1; object-fit: cover; margin-top: 12px; border-radius: 8px; }
.dialog-intro, .detail-description { margin: 9px 0 14px; color: var(--muted); }
.detail-description { margin-top: 13px; }
.detail-footer { display: flex; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 17px; }
.detail-footer > .primary-button { min-width: 155px; }
.stepper { display: inline-grid; grid-template-columns: 44px minmax(23px, auto) 44px; align-items: center; min-height: 44px; border: 1px solid #dfe3d9; background: #f9faf5; border-radius: 7px; color: var(--green); }
.stepper button { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 0; border-radius: 6px; background: none; }
.stepper button:hover:not(:disabled) { background: var(--green-light); }
.stepper button:disabled { color: #a3ab9e; }
.stepper button .icon { width: 15px; height: 15px; }
.stepper output { padding: 0 2px; min-width: 23px; text-align: center; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.timing-options { display: grid; gap: 8px; min-width: 0; margin: 0 0 17px; padding: 0; border: 0; }
.time-option { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.time-option:has(input:checked) { border-color: #849682; background: #f1f5ee; }
.time-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.time-option > span { display: flex; flex-direction: column; }
.time-option strong { font-size: 14px; }
.time-option small { color: var(--muted); font-size: 12px; }
.schedule-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; padding-top: 5px; }
.schedule-fields label { display: flex; flex-direction: column; gap: 4px; color: #354437; font-size: 12px; font-weight: 700; }
.schedule-fields select { width: 100%; min-height: 44px; padding: 7px; border: 1px solid #d6dbd0; border-radius: 6px; background: var(--surface); color: var(--ink); font-size: 14px; }
.full-button { width: 100%; }
.review-pickup { display: grid; gap: 8px; margin: 14px 0 12px; padding: 12px; border-radius: 8px; background: var(--soft); }
.review-pickup > div { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; }
.review-pickup .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--green); }
.review-pickup strong { display: block; }
.review-pickup span { display: block; color: var(--muted); }
.review-items { margin: 0; padding: 0 0 5px; list-style: none; }
.review-items li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; }
.review-items li > span:last-child { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.preview-notice { display: flex; gap: 8px; margin: 4px 0 15px; padding: 11px 12px; background: #f8f0e0; border-radius: 8px; color: #5c4327; }
.preview-notice .icon { width: 17px; height: 17px; margin-top: 2px; }
.preview-notice strong { font-size: 13px; }
.preview-notice p { font-size: 13px; }
.checkout-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.toast { position: fixed; z-index: 5; left: 50%; bottom: 22px; max-width: calc(100% - 24px); transform: translate(-50%, 5px); opacity: 0; pointer-events: none; padding: 9px 14px; border-radius: 8px; background: #24352a; color: white; font-size: 13px; font-weight: 650; transition: opacity .15s, transform .15s; text-align: center; }
.toast.visible { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 960px) {
  .frame { width: min(calc(100% - 44px), 800px); }
  .hero { min-height: 340px; }
  .order-layout { display: block; margin-bottom: 43px; }
  .desktop-cart { display: none; }
  .mobile-close { display: grid !important; }
  .cart-sheet .cart-panel { border: 0; border-radius: 0; box-shadow: none; }
  .cart-sheet .cart-heading { justify-content: flex-start; gap: 9px; }
  .cart-sheet .cart-heading h2 { margin-right: auto; }
  .cart-sheet .cart-lines { max-height: none; }
  .mobile-cart-bar { display: block !important; position: fixed; z-index: 3; inset: auto 0 0; padding: 9px max(22px, env(safe-area-inset-right)) max(9px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left)); background: var(--surface); border-top: 1px solid var(--line); }
  .mobile-cart-button { min-height: 49px; width: min(100%, 800px); display: flex; margin-inline: auto; justify-content: space-between; }
  .mobile-cart-button > span { display: flex; align-items: center; gap: 8px; }
  .mobile-count { min-width: 22px; color: #fff; background: #ffffff26; }
  .site-footer { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  .frame { width: calc(100% - 32px); }
  .site-header-inner { min-height: 63px; gap: 8px; }
  .brand { gap: 6px; font-size: 14px; }
  .brand img { width: 42px; height: 40px; }
  .header-actions { gap: 10px; }
  .header-menu { display: none; }
  .header-cart { padding: 0 7px; min-width: 44px; gap: 4px; }
  .header-cart > span:nth-child(2) { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .header-count { min-width: 19px; height: 19px; font-size: 11px; }
  .preview-label { font-size: 11px; gap: 4px; }
  .preview-label > span { width: 5px; height: 5px; }
  .hero { min-height: 0; margin-top: 14px; display: flex; flex-direction: column; border-radius: 11px; }
  .hero-copy { padding: 24px 22px 23px; }
  .hero-location { font-size: 10px; }
  .hero h1 { font-size: clamp(51px, 11vw, 68px); margin: 9px 0 10px; letter-spacing: -.062em; }
  .hero-description { font-size: 13px; max-width: 250px; }
  .hero-button { min-height: 44px; margin-top: 14px; }
  .hero-photo { height: clamp(145px, 41vw, 235px); }
  .hero-photo img { object-position: 50% 53%; }
  .order-layout { margin-top: 25px; }
  .menu-heading h2 { font-size: 40px; }
  .menu-heading p { font-size: 13px; }
  .menu-filters { flex-wrap: nowrap; overflow-x: auto; margin: 15px -1px 0; padding: 4px 3px 13px; scrollbar-width: thin; scrollbar-color: #bdc5b8 transparent; }
  .category-button { padding: 0 12px; }
  .menu-group { margin-top: 20px; }
  .menu-group + .menu-group { margin-top: 27px; }
  .menu-group h3 { font-size: 27px; margin-bottom: 10px; }
  .menu-grid { grid-template-columns: 1fr; gap: 9px; }
  .menu-card.has-image { display: grid; grid-template-columns: minmax(0, 33%) minmax(0, 1fr); }
  .card-image { height: 100%; max-height: 150px; aspect-ratio: auto; align-self: stretch; }
  .card-content { min-height: 108px; padding: 10px 11px 8px; }
  .card-content h4 { font-size: 16px; }
  .card-content p { margin: 4px 0; }
  .quick-add { min-height: 44px; }
  .sheet { width: 100%; max-width: 100%; max-height: 90dvh; margin: auto 0 0; border-radius: 15px 15px 0 0; }
  .dialog-shell { padding: 16px 17px max(17px, env(safe-area-inset-bottom)); }
  .cart-sheet .cart-panel { padding: 16px 17px max(17px, env(safe-area-inset-bottom)); }
  .mobile-cart-bar { padding-inline: max(16px, env(safe-area-inset-left)); }
  .footer-inner { min-height: 88px; }
}

@media (max-width: 355px) {
  .preview-label { display: none; }
  .card-content h4 { font-size: 15px; }
  .detail-footer > .primary-button { min-width: 0; }
}

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

.pickup-category-note { margin: -5px 0 12px; color: var(--muted); font-size: 13px; }
.detail-menu-note { margin: 0 0 9px; color: var(--muted); font-size: 13px; }
.dialog-heading + .detail-menu-note { margin-top: 12px; }
