@font-face { font-family: "Oswald"; src: url("/assets/fonts/oswald-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("/assets/fonts/oswald-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("/assets/fonts/oswald-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("/assets/fonts/oswald-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "PT Sans"; src: url("/assets/fonts/pt-sans-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PT Sans"; src: url("/assets/fonts/pt-sans-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --black: #000000;
  --ink: #090909;
  --bone: #e9e4da;
  --muted: #aaa399;
  --amber: #e3b23c;
  --oxblood: #6e0f13;
  --line: rgba(233, 228, 218, 0.18);
  --header-height: 4rem;
  --pad: clamp(1rem, 4vw, 4rem);
}

* { box-sizing: border-box; }
html { color-scheme: dark; background: var(--black); scroll-behavior: auto; }
body { margin: 0; min-width: 320px; background: var(--black); color: var(--bone); font: 400 1rem/1.5 "PT Sans", sans-serif; padding-bottom: 5.75rem; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
::selection { background: var(--amber); color: var(--black); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Oswald", sans-serif; text-transform: uppercase; line-height: 0.98; }
h2 { font-size: clamp(2.5rem, 9vw, 6rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.45rem, 5vw, 2.25rem); }

.skip-link { position: fixed; z-index: 100; top: 0.75rem; left: 0.75rem; padding: 0.75rem 1rem; background: var(--amber); color: var(--black); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.preview-notice {
  position: relative;
  z-index: 45;
  margin: 0;
  padding: 0.65rem var(--page-pad);
  border-bottom: 1px solid #5b4514;
  background: #211807;
  color: var(--bone);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}
.site-header { position: fixed; z-index: 20; inset: 0 0 auto; height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem var(--pad); background: rgba(0, 0, 0, 0.78); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.wordmark { display: inline-grid; line-height: 0.8; font-family: "Oswald", sans-serif; font-weight: 700; letter-spacing: 0.04em; }
.wordmark span { font-size: 1.25rem; }
.wordmark small { color: var(--amber); font-size: 0.58rem; letter-spacing: 0.34em; }
.desktop-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.language-switch { display: flex; border: 1px solid var(--line); }
.language-switch button { min-width: 2.25rem; min-height: 2rem; border: 0; background: transparent; color: var(--muted); font: 600 0.72rem "Oswald", sans-serif; cursor: pointer; }
.language-switch button.is-active { background: var(--bone); color: var(--black); }
.header-cart { display: flex; align-items: center; gap: 0.5rem; font-family: "Oswald", sans-serif; text-transform: uppercase; }
.header-cart span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.header-cart strong { display: grid; place-items: center; min-width: 2rem; height: 2rem; background: var(--amber); color: var(--black); }

.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; border: 1px solid var(--amber); background: var(--amber); color: var(--black); padding: 0.75rem 1.35rem; font: 700 0.92rem "Oswald", sans-serif; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: transform 180ms ease, background 180ms ease, color 180ms ease; }
.button:hover { background: var(--bone); border-color: var(--bone); }
.button:active { transform: translateY(1px) scale(0.98); }
.button.is-disabled, .button[disabled] { border-color: #716b60; background: #302d28; color: #c8c1b6; opacity: 1; pointer-events: none; }
.button-small { width: 100%; min-height: 2.65rem; padding: 0.55rem 0.75rem; font-size: 0.76rem; }
.button-small.is-confirmed { background: var(--bone); border-color: var(--bone); }
.button-wide { width: 100%; }
.text-link { padding: 0.75rem 0; border-bottom: 1px solid var(--amber); color: var(--bone); font: 600 0.9rem "Oswald", sans-serif; letter-spacing: 0.05em; text-transform: uppercase; }

.menu-section { position: relative; z-index: 3; padding: clamp(5rem, 12vw, 9rem) var(--pad) 7rem; background: var(--black); }
.menu-header { max-width: 62rem; margin-bottom: 3rem; }
.menu-header h2 { max-width: 10ch; margin-bottom: 1rem; }
.menu-header p { max-width: 42rem; color: var(--muted); font-size: 1.08rem; }
.menu-header .shop-closed-banner { max-width: 54rem; padding: 1rem; border-left: 4px solid #ff7b72; background: #211010; color: var(--bone); font-weight: 700; }
.shop-layout { display: grid; gap: 2rem; max-width: 90rem; margin: 0 auto; }
.product-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.product-row { display: grid; grid-template-columns: minmax(7rem, 34vw) 1fr; min-height: 11rem; border-bottom: 1px solid var(--line); }
.product-media { margin: 0; min-height: 100%; overflow: hidden; background: var(--oxblood); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-media.is-placeholder { display: grid; place-items: center; padding: 0.75rem; background-color: #180d0d; background-image: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(227,178,60,0.13) 10px 11px); color: var(--muted); text-align: center; }
.product-media span { max-width: 10rem; font-size: 0.7rem; }
.product-media strong { display: block; color: var(--bone); overflow-wrap: anywhere; }
.product-copy { display: grid; align-content: space-between; gap: 0.75rem; padding: 1rem; }
.product-main h3 { margin-bottom: 0.55rem; font-size: clamp(1.55rem, 7vw, 3.4rem); letter-spacing: -0.025em; }
.product-main p { margin-bottom: 0.55rem; color: var(--muted); font-size: 0.87rem; line-height: 1.35; }
.product-main small { color: #c6bfb4; font-size: 0.72rem; }
.product-buy { display: grid; gap: 0.6rem; }
.product-buy > strong { font-family: "Oswald", sans-serif; font-size: 1.15rem; }
.menu-state { min-height: 16rem; display: grid; align-content: center; gap: 0.75rem; padding: 2rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.menu-state.error { color: var(--bone); border-left: 4px solid var(--oxblood); }
.skeleton-line { display: block; width: 75%; height: 1.25rem; background: #1b1b1b; animation: skeleton 1.1s ease-in-out infinite alternate; }
.skeleton-line.short { width: 42%; }
@keyframes skeleton { to { opacity: 0.45; } }

.cart-rail { display: none; }
.cart-lines { display: grid; gap: 1rem; }
.cart-empty { color: var(--muted); }
.cart-line { display: grid; gap: 0.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.cart-line > div:first-child { display: flex; justify-content: space-between; gap: 1rem; }
.cart-line strong { font-family: "Oswald", sans-serif; text-transform: uppercase; }
.quantity-control { display: inline-flex; align-items: center; justify-self: start; border: 1px solid var(--line); }
.quantity-control button { width: 2.35rem; height: 2.25rem; border: 0; background: transparent; color: var(--bone); cursor: pointer; }
.quantity-control output { min-width: 2rem; text-align: center; }
.cart-total { display: flex; justify-content: space-between; padding: 1.25rem 0; font-family: "Oswald", sans-serif; font-size: 1.15rem; text-transform: uppercase; }
.cart-rail > small { display: block; margin-top: 0.75rem; color: var(--muted); }
.mobile-cart-bar { position: fixed; z-index: 30; inset: auto 0 0; min-height: 5rem; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.8rem; padding: 0.75rem max(1rem, env(safe-area-inset-right)) calc(0.75rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); background: var(--bone); color: var(--black); box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.42); }
.mobile-cart-bar > div { display: grid; line-height: 1.2; }
.mobile-cart-bar .button { min-height: 2.85rem; }

.site-footer { display: grid; gap: 2rem; padding: 4rem var(--pad) 7rem; border-top: 1px solid var(--line); background: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.site-footer a { color: var(--muted); }
.site-footer p { margin: 0; color: var(--muted); }

.page-main { min-height: 100dvh; padding: calc(var(--header-height) + 3rem) var(--pad) 6rem; }
.page-shell { max-width: 76rem; margin: 0 auto; }
.page-heading { max-width: 12ch; margin-bottom: 1rem; }
.page-lede { max-width: 42rem; color: var(--muted); }
.back-link { display: inline-block; margin-bottom: 2rem; border-bottom: 1px solid var(--amber); }
.legal-content { max-width: 52rem; margin-top: 3rem; }
.legal-content h2 { margin-top: 2.5rem; font-size: 2rem; }
.todo-block { padding: 1rem; border-left: 4px solid var(--amber); background: #17130a; }

.checkout-layout { display: grid; gap: 3rem; margin-top: 3rem; }
.checkout-form { display: grid; gap: 1.5rem; }
.form-section { display: grid; gap: 1rem; padding: 1.25rem; border: 1px solid var(--line); }
.form-section legend { padding: 0 0.5rem; font: 600 1.1rem "Oswald", sans-serif; text-transform: uppercase; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.choice { display: flex; align-items: center; gap: 0.6rem; min-height: 3.25rem; padding: 0.75rem; border: 1px solid var(--line); }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 700; }
.field input, .field textarea { width: 100%; min-height: 3.25rem; border: 1px solid #716c65; background: #101010; color: var(--bone); padding: 0.75rem; border-radius: 0; }
.field textarea { min-height: 7rem; resize: vertical; }
.field small { color: #c6bfb4; }
.field-error { color: #ffb4ab; min-height: 1.25rem; }
.delivery-fields[hidden] { display: none; }
.zone-message { padding: 1rem; border-left: 4px solid var(--amber); background: #17130a; }
.checkout-summary { align-self: start; padding: 1.25rem; border: 1px solid var(--line); }
.checkout-summary h2 { font-size: 2rem; }
.payment-note { padding: 1rem; background: #17130a; color: var(--muted); }
.turnstile-box { min-height: 4.5rem; overflow: hidden; }
.turnstile-box > div:first-child { min-height: 4rem; }
.storefront-error { position: fixed; z-index: 90; inset: var(--header-height) 0 auto; padding: 1rem var(--pad); border-bottom: 3px solid #ff7b72; background: #351111; color: #ffffff; font-weight: 700; text-align: center; }
.zone-message.is-error { border-left-color: #ff7b72; background: #211010; }
.status-shell { max-width: 58rem; }
.status-kicker { margin-bottom: 1rem; color: var(--amber); font: 600 0.8rem "Oswald", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; }
.status-panel { position: relative; overflow: hidden; margin-top: 3rem; padding: clamp(1.5rem, 6vw, 3rem); border: 1px solid var(--line); background: radial-gradient(circle at 100% 0, rgba(227, 178, 60, 0.1), transparent 35%), #090909; }
.status-panel::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0.25rem; background: var(--amber); transform: scaleY(0.25); transform-origin: bottom; transition: transform 500ms ease, background 500ms ease; }
.status-panel.is-confirmed::after { transform: scaleY(1); background: #70b779; }
.status-signal { display: block; width: 0.8rem; height: 0.8rem; margin-bottom: 1.5rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(227, 178, 60, 0.5); animation: status-pulse 1.6s ease-out infinite; }
.status-panel.is-confirmed .status-signal { background: #70b779; box-shadow: none; animation: none; }
.status-panel.has-error .status-signal { background: #ff7b72; animation: none; }
.status-label { margin-bottom: 0.75rem; color: var(--amber); font: 600 0.84rem "Oswald", sans-serif; letter-spacing: 0.09em; text-transform: uppercase; }
.status-panel.is-confirmed .status-label { color: #91d49a; }
.status-number { margin-bottom: 1.5rem; font-size: clamp(2.1rem, 12vw, 5.5rem); overflow-wrap: anywhere; }
.status-number span { display: block; margin-bottom: 0.35rem; color: var(--muted); font-size: 0.7em; }
.status-number strong { color: var(--bone); font-weight: 600; }
.status-estimate { display: inline-block; margin-bottom: 1.5rem; padding: 0.6rem 0.8rem; background: var(--bone); color: var(--black); font: 700 0.85rem "Oswald", sans-serif; text-transform: uppercase; }
.status-confirmation { max-width: 36rem; font-size: 1.08rem; font-weight: 700; }
.status-background { max-width: 38rem; margin-bottom: 0; color: var(--muted); }
.status-home { margin-top: 2rem; }
@keyframes status-pulse { 70% { box-shadow: 0 0 0 0.7rem rgba(227, 178, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 178, 60, 0); } }

@media (min-width: 48rem) {
  body { padding-bottom: 0; }
  .desktop-nav { display: flex; gap: 1.75rem; margin-left: auto; }
  .desktop-nav a { color: var(--muted); font: 500 0.85rem "Oswald", sans-serif; text-transform: uppercase; }
  .header-cart span { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; }
  .product-row { grid-template-columns: 15rem 1fr; min-height: 14rem; }
  .product-copy { grid-template-columns: minmax(0, 1fr) 10rem; align-items: center; padding: 1.5rem 2rem; }
  .product-main p { max-width: 42rem; font-size: 1rem; }
  .product-buy { justify-items: stretch; text-align: right; }
  .site-footer { grid-template-columns: 1fr auto auto; align-items: end; padding-bottom: 4rem; }
  .checkout-layout { grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr); }
  .form-section { padding: 1.75rem; }
}

@media (min-width: 64rem) {
  .shop-layout { grid-template-columns: minmax(0, 1fr) 22rem; align-items: start; }
  .cart-rail { position: sticky; top: calc(var(--header-height) + 1.5rem); display: block; padding: 1.5rem; border: 1px solid var(--line); }
  .cart-rail h2 { font-size: 2rem; }
  .mobile-cart-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
