:root {
  color-scheme: light;
  --paper: #f5f1e8;
  --paper-deep: #ebe4d6;
  --ink: #27231f;
  --muted: #777168;
  --accent: #ad823b;
  --accent-dark: #956d2d;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: 85px; background: var(--paper); }
html:has(body.panel-open) { overflow: hidden; }
button, input, select, textarea { border-radius: 0; -webkit-appearance: none; appearance: none; touch-action: manipulation; }
button { -webkit-tap-highlight-color: transparent; }
@media (hover: none) and (pointer: coarse) {
  .checkout-form input, .checkout-form select, .checkout-form textarea, .menu-search-input { font-size: 16px; }
  .item-actions button { min-height: 36px; padding: 6px 0 6px 10px; font-size: 11px; }
  .menu-tab { min-height: 38px; font-size: 11px; }
  .quantity-control button { width: 34px; height: 34px; font-size: 16px; }
  .panel-close, .customizer-close { width: 42px; height: 42px; }
  .customizer-option { min-height: 46px; }
  .checkout-button, .customizer-footer button { min-height: 50px; font-size: 12px; }
}
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.panel-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { color: inherit; font: inherit; }
img { display: block; width: 100%; }
[hidden] { display: none !important; }

.site-header { position: sticky; z-index: 5; top: 0; height: calc(82px + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); padding: 0 max(6%, calc((100% - 1300px) / 2)); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-bottom: 1px solid rgba(39,35,31,.12); background: rgba(245,241,232,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.brand-logo { justify-self: start; width: 120px; height: 52px; display: grid; place-items: center; }
.brand-logo img { width: 100%; height: auto; }
.header-note { justify-self: center; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .18em; }
.order-fab { justify-self: end; min-height: 45px; padding: 0 13px; display: flex; align-items: center; gap: 9px; border: 0; border-radius: 40px; background: var(--ink); color: white; cursor: pointer; transition: transform .2s, background .2s; }
.order-fab:hover { transform: translateY(-2px); background: var(--accent-dark); }
.bag-icon { font-size: 16px; }
.order-fab-label { font-size: 10px; }
.order-count { min-width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: #e3c88e; color: var(--ink); font-size: 10px; }

.menu-section { width: min(1380px, 100%); margin: 0 auto; padding: 64px 38px 55px; }
.menu-intro { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.eyebrow-line { display: inline-block; width: 23px; height: 1px; background: var(--accent); }
.menu-heading h1 { margin: 21px 0 0; font-family: var(--serif); font-size: clamp(52px, 6vw, 75px); font-weight: 500; letter-spacing: -.065em; line-height: .99; }
.menu-heading h1 em { color: var(--accent-dark); font-weight: 500; }
.intro-note { margin: 0 0 7px; color: var(--muted); font-size: 11px; line-height: 1.8; }

.menu-toolbar { margin-top: 37px; display: grid; grid-template-columns: 1fr minmax(210px, 260px); align-items: center; gap: 18px; }
.menu-tabs { min-width: 0; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #c9b99b transparent; }
.menu-tab { flex-shrink: 0; padding: 9px 14px; border: 1px solid rgba(39,35,31,.18); border-radius: 30px; background: transparent; color: #615b52; cursor: pointer; font-size: 10px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.menu-tab:hover, .menu-tab.is-active { color: white; background: var(--ink); border-color: var(--ink); }
.menu-search { min-height: 39px; padding: 0 11px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(39,35,31,.2); background: rgba(255,255,255,.25); }
.search-icon { color: var(--accent-dark); font-family: var(--serif); font-size: 23px; line-height: 1; transform: rotate(-15deg); }
.menu-search-input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 10px; }
.menu-search-input::placeholder { color: #8e887e; }
.menu-search:focus-within { border-color: var(--accent-dark); box-shadow: 0 0 0 2px #ad823b20; }
.menu-status { min-height: 35px; display: flex; align-items: center; justify-content: space-between; }
.menu-count { color: #928b80; font-size: 8px; font-weight: 600; letter-spacing: .12em; }
.clear-search { border: 0; background: transparent; color: var(--accent-dark); cursor: pointer; font-size: 10px; }
.clear-search span { padding-left: 4px; font-size: 15px; }

.menu-layout { width: 100%; }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 19px; align-items: start; }
.menu-layout.is-filtered .menu-grid { grid-template-columns: minmax(0, 1fr); }
.menu-category { min-width: 0; overflow: hidden; border: 1px solid rgba(39,35,31,.1); background: #fbf8f1; box-shadow: 0 4px 15px rgba(39,35,31,.035); animation: card-arrive .32s ease both; }
.menu-category.is-hidden { display: none; }
.category-photo { position: relative; height: 172px; overflow: hidden; background: var(--paper-deep); }
.category-photo--full { height: 260px; isolation: isolate; background: var(--ink); }
.category-photo--full::before { position: absolute; z-index: -1; inset: -12px; background: var(--category-image) center / cover no-repeat; content: ""; filter: blur(14px); opacity: .75; transform: scale(1.05); }
.category-photo--full::after { display: none; }
.category-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.category-photo--full img { position: relative; z-index: 1; object-fit: contain; filter: drop-shadow(0 3px 12px rgba(0,0,0,.2)); }
.menu-category:hover .category-photo img { transform: scale(1.035); }
.category-photo::after { position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(28,24,18,.38)); content: ""; }
.category-index { position: absolute; z-index: 1; right: 13px; bottom: 11px; color: #fffaf1; font-family: var(--serif); font-size: 17px; }
.category-body { padding: 16px 17px 9px; }
.category-heading { min-height: 39px; margin-bottom: 8px; padding-bottom: 9px; display: flex; align-items: baseline; justify-content: space-between; gap: 9px; border-bottom: 1px solid rgba(39,35,31,.14); }
.category-heading h2 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -.035em; }
.category-subtitle { color: var(--muted); font-size: 8px; text-align: right; }
.menu-subsection + .menu-subsection { margin-top: 12px; }
.menu-subsection-title { margin: 0; padding: 4px 0 5px; color: var(--accent-dark); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.menu-items { margin: 0; padding: 0; list-style: none; }
.menu-item { padding: 8px 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 5px 8px; border-bottom: 1px solid rgba(39,35,31,.09); }
.menu-item:last-child { border-bottom: 0; }
.menu-item.is-hidden { display: none; }
.item-copy { min-width: 0; }
.item-name { margin: 0; font-size: 11px; font-weight: 600; line-height: 1.35; }
.item-description { margin: 3px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.item-price { color: var(--ink); font-size: 10px; font-weight: 600; text-align: right; white-space: nowrap; }
.item-actions { display: flex; flex-direction: column; align-items: end; gap: 3px; }
.item-actions button { padding: 2px 0 2px 7px; border: 0; background: none; color: var(--accent-dark); cursor: pointer; font-size: 9px; white-space: nowrap; }
.item-actions button:hover { color: var(--ink); text-decoration: underline; }
.item-actions button span { font-size: 13px; }
.menu-note { margin: 26px 0 0; color: var(--muted); font-size: 9px; }
.no-results { padding: 40px 10px; color: var(--muted); font-family: var(--serif); font-size: 19px; text-align: center; }

.site-footer { padding: 35px max(6%, calc((100% - 1300px) / 2)) 18px; background: #282520; color: #f5f1e8; }
.footer-topline { padding-bottom: 20px; display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(255,255,255,.18); }
.footer-topline > span { color: #d3b373; font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.footer-topline p { margin: 0; color: #c0b9ab; font-size: 10px; }
.location-grid { padding: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.location-card { display: flex; gap: 14px; }
.location-icon { width: 31px; height: 31px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid #ad823b; border-radius: 50%; color: #dfc58e; font-family: var(--serif); font-size: 11px; }
.location-card h2 { margin: 0 0 5px; font-family: var(--serif); font-size: 17px; font-weight: 500; }
.location-card p { margin: 0 0 3px; color: #c0b9ab; font-size: 10px; }
.location-card .location-hours { color: #dfc58e; font-size: 9px; }
.location-card a { display: inline-block; margin-top: 6px; color: #fffaf1; font-size: 10px; }
.location-card a span { padding-left: 5px; color: #dfc58e; }
.footer-bottom { padding-top: 15px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid rgba(255,255,255,.18); }
.footer-logo { display: block; width: 132px; }
.footer-logo img { width: 100%; height: auto; }
.footer-bottom > span { color: #c0b9ab; font-size: 8px; letter-spacing: .14em; }
.social-links { display: flex; gap: 14px; }
.social-links a { color: #e9e2d5; font-size: 9px; }
.social-links a span { color: #d3b373; }

.panel-backdrop { position: fixed; z-index: 9; inset: 0; background: rgba(29,26,22,.45); opacity: 0; transition: opacity .25s; }
.panel-backdrop.is-open { opacity: 1; }
.order-panel { position: fixed; z-index: 10; top: 0; right: 0; bottom: 0; width: min(420px, 100%); height: 100dvh; padding: 27px 27px max(27px, env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; background: var(--paper); transform: translateX(102%); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.order-panel.is-open { transform: translateX(0); }
.panel-header { padding-top: env(safe-area-inset-top); padding-bottom: 19px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(39,35,31,.15); }
.panel-header .eyebrow { font-size: 8px; }
.panel-header h2 { margin: 8px 0 0; font-family: var(--serif); font-size: 30px; font-weight: 500; }
.panel-header h2 span { color: var(--accent-dark); }
.panel-close { width: 35px; height: 35px; border: 1px solid rgba(39,35,31,.2); border-radius: 50%; background: transparent; cursor: pointer; font-size: 22px; }
.order-items { flex-shrink: 0; }
.order-row { padding: 14px 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 15px; border-bottom: 1px solid rgba(39,35,31,.12); }
.order-row h3 { margin: 0 0 5px; font-family: var(--serif); font-size: 15px; }
.order-row p { margin: 0; color: var(--muted); font-size: 10px; }
.row-price { color: var(--accent-dark); font-size: 11px; font-weight: 700; }
.quantity-control { display: flex; align-items: center; gap: 10px; }
.quantity-control button { width: 23px; height: 23px; border: 1px solid rgba(39,35,31,.2); border-radius: 50%; background: transparent; cursor: pointer; }
.quantity-control span { min-width: 12px; text-align: center; font-size: 11px; }
.order-list-title { margin: 16px 0 0; color: var(--accent-dark); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.order-row .order-extras { margin: 0 0 4px; color: var(--ink); font-size: 10px; line-height: 1.4; }
.floating-order { position: fixed; z-index: 6; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); min-height: 52px; padding: 0 18px 0 8px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 40px; background: var(--ink); color: white; box-shadow: 0 10px 30px rgba(0,0,0,.28); cursor: pointer; font-size: 12px; animation: fab-pop .35s cubic-bezier(.2,.9,.3,1.3); }
.floating-order:hover { background: var(--accent-dark); }
.floating-order-count { min-width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #e3c88e; color: var(--ink); font-weight: 700; }
.floating-order-total { color: #e3c88e; }
@keyframes fab-pop { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
.empty-order { flex: 1; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-order > span { color: var(--accent-dark); font-size: 32px; }
.empty-order p { margin: 14px 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.panel-footer { padding-top: 18px; border-top: 1px solid rgba(39,35,31,.15); }
.order-total { display: flex; justify-content: space-between; margin-bottom: 13px; font-size: 12px; }
.order-total strong { color: var(--accent-dark); font-size: 13px; }
.checkout-button { width: 100%; min-height: 45px; padding: 0 14px; display: flex; justify-content: space-between; align-items: center; border: 0; background: var(--ink); color: white; cursor: pointer; font-size: 10px; }
.checkout-form { display: grid; gap: 8px; }
.checkout-form label { display: grid; gap: 3px; font-size: 10px; color: var(--muted); }
.checkout-form input, .checkout-form select, .checkout-form textarea { padding: 9px 10px; border: 1px solid var(--paper-deep); background: white; font: inherit; font-size: 13px; color: var(--ink); }
.checkout-form select { padding-right: 34px; cursor: pointer; background-color: white; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23956d2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px; }
.checkout-form [hidden] { display: none; }
.form-error { margin: 0; color: #b3261e; font-size: 11px; }
.checkout-button:disabled { opacity: .4; cursor: not-allowed; }
.checkout-button span { font-size: 16px; }
.panel-footer > p { margin: 9px 0 0; color: var(--muted); font-size: 9px; text-align: center; }
.toast { position: fixed; z-index: 12; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); max-width: calc(100% - 32px); padding: 12px 18px; background: var(--ink); color: white; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .2s, transform .2s; font-size: 11px; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.pizza-customizer { width: min(520px, calc(100% - 28px)); max-height: min(88vh, 88dvh, 760px); padding: 0; overflow: hidden; border: 1px solid rgba(39,35,31,.14); background: var(--paper); color: var(--ink); box-shadow: 0 20px 70px rgba(0,0,0,.25); }
.pizza-customizer::backdrop { background: rgba(29,26,22,.58); }
.pizza-customizer-form { max-height: inherit; display: flex; flex-direction: column; }
.customizer-header { padding: 22px 24px 16px; display: flex; justify-content: space-between; align-items: start; gap: 15px; border-bottom: 1px solid rgba(39,35,31,.14); }
.customizer-header h2 { margin: 8px 0 4px; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.customizer-item-name { margin: 0; color: var(--muted); font-size: 10px; }
.customizer-close { width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid rgba(39,35,31,.2); border-radius: 50%; background: transparent; cursor: pointer; font-size: 21px; }
.customizer-options { padding: 4px 24px; overflow-y: auto; }
.customizer-group { margin: 12px 0; padding: 0; border: 0; }
.customizer-group legend { margin-bottom: 5px; color: var(--accent-dark); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.customizer-option { min-height: 38px; padding: 7px 9px; display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 8px; border-bottom: 1px solid rgba(39,35,31,.08); font-size: 11px; }
.customizer-option-price { color: var(--muted); font-size: 10px; }
.customizer-quantity { display: flex; align-items: center; gap: 7px; }
.customizer-quantity button { width: 25px; height: 25px; padding: 0; border: 1px solid rgba(39,35,31,.2); background: transparent; cursor: pointer; }
.customizer-quantity button:disabled { opacity: .4; cursor: default; }
.customizer-quantity span { min-width: 12px; text-align: center; }
.customizer-footer { padding: 14px 24px 20px; display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(39,35,31,.14); }
.customizer-footer button { min-height: 42px; padding: 0 14px; cursor: pointer; font-size: 10px; }
.customizer-skip { border: 1px solid rgba(39,35,31,.2); background: transparent; }
.customizer-add { flex: 1; display: flex; justify-content: space-between; align-items: center; border: 0; background: var(--ink); color: white; }
.customizer-add span { color: #e3c88e; font-weight: 700; }

@keyframes card-arrive { from { opacity: .5; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1500px) { .menu-section { padding-top: 79px; } }
@media (max-width: 1000px) {
  .menu-section { padding-right: 28px; padding-left: 28px; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .category-photo { height: 190px; }
  .category-photo--full { height: 240px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 70px; }
  .site-header { height: 70px; padding: 0 15px; grid-template-columns: 1fr auto 1fr; }
  .brand-logo { width: 88px; height: 42px; }
  .header-note { max-width: 110px; font-size: 7px; text-align: center; line-height: 1.5; }
  .order-fab { min-height: 39px; padding: 0 9px; gap: 6px; }
  .order-fab-label { font-size: 9px; }
  .order-count { min-width: 19px; height: 19px; }
  .menu-section { padding: 42px 17px 42px; }
  .menu-intro { display: block; }
  .menu-heading h1 { margin-top: 19px; font-size: clamp(48px, 12vw, 65px); }
  .intro-note { margin-top: 13px; font-size: 10px; }
  .menu-toolbar { margin-top: 24px; grid-template-columns: 1fr; gap: 12px; }
  .menu-tabs { padding-bottom: 3px; }
  .menu-tab { padding: 8px 12px; font-size: 9px; }
  .menu-search { min-height: 37px; }
  .menu-status { min-height: 30px; }
  .menu-grid { grid-template-columns: 1fr; gap: 20px; }
  .category-photo { height: 52vw; max-height: 250px; }
  .category-photo--full { height: min(68vw, 270px); max-height: 270px; }
  .category-body { padding-right: 15px; padding-left: 15px; }
  .category-heading h2 { font-size: 21px; }
  .item-name { font-size: 11px; }
  .item-description { font-size: 9px; }
  .site-footer { padding: 28px 18px 16px; }
  .footer-topline { display: block; }
  .footer-topline p { margin-top: 7px; font-size: 9px; }
  .location-grid { padding: 20px 0; grid-template-columns: 1fr; gap: 19px; }
  .footer-bottom { flex-wrap: wrap; }
  .footer-bottom > span { order: 3; width: 100%; }
  .social-links { gap: 9px; }
  .social-links a { font-size: 8px; }
  .order-panel { padding: 23px 19px; }
  .customizer-header { padding: 19px 17px 14px; }
  .customizer-header h2 { font-size: 22px; }
  .customizer-options { padding-right: 17px; padding-left: 17px; }
  .customizer-footer { padding: 12px 17px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
