:root {
  --red: #a91419;
  --red-dark: #650d12;
  --orange: #f59a23;
  --yellow: #ffd56a;
  --ink: #241719;
  --muted: #6f6264;
  --cream: #fff7e9;
  --paper: #fffdf8;
  --line: #eadcc9;
  --green: #32734b;
  --shadow: 0 18px 45px rgba(76, 21, 20, .12);
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.site-header { position: sticky; top: 0; z-index: 30; height: 76px; padding: 8px max(22px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; gap: 34px; background: rgba(101, 13, 18, .97); color: white; box-shadow: 0 5px 20px rgba(36, 10, 12, .18); }
.brand { align-self: stretch; display: grid; place-items: center; }
.brand img { width: 68px; max-height: 62px; object-fit: contain; }
.site-header nav { display: flex; gap: 26px; }
.site-header nav a { color: white; text-decoration: none; font-weight: 700; font-size: .92rem; }
.site-header nav a:hover { color: var(--yellow); }
.cart-button { margin-left: auto; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 11px 12px 11px 19px; color: var(--red-dark); background: var(--yellow); font-weight: 800; }
.cart-button b { min-width: 28px; height: 28px; padding: 0 7px; display: grid; place-items: center; border-radius: 999px; color: white; background: var(--red); }

.intro { position: relative; min-height: 480px; padding: 54px max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; overflow: hidden; color: white; background: var(--red-dark); }
.intro::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(66,6,10,.92) 0%, rgba(91,8,14,.76) 28%, rgba(91,8,14,.18) 51%, transparent 68%); }
.intro-media { position: absolute; z-index: 0; inset: 0; }
.intro-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.intro-copy { max-width: 610px; position: relative; z-index: 2; text-shadow: 0 3px 18px rgba(45,4,7,.45); }
.kicker { margin: 0 0 8px; color: var(--orange); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; }
.intro h1, .section-heading h2, .how-to h2, .cart-head h2, .order-dialog h2 { font-family: var(--display); text-transform: uppercase; line-height: .92; letter-spacing: .01em; }
.intro h1 { max-width: 600px; margin: 0; font-size: clamp(4.2rem, 7.5vw, 6.7rem); }
.intro-copy > p:not(.kicker) { max-width: 520px; margin: 24px 0; color: #ffe9d6; font-size: 1.1rem; line-height: 1.65; }

.menu-section { max-width: 1240px; margin: auto; padding: 82px 30px 110px; }
.section-heading { display: grid; grid-template-columns: 1fr 440px; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; color: var(--red-dark); font-size: clamp(3rem, 6vw, 5.3rem); }
.section-heading > p { margin: 0 0 8px; color: var(--muted); line-height: 1.6; }
.category-nav { position: sticky; top: 76px; z-index: 20; display: flex; gap: 9px; overflow-x: auto; padding: 14px 0; background: rgba(255,253,248,.96); scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-chip { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 10px 15px; color: var(--ink); background: white; font-weight: 700; }
.category-chip:hover, .category-chip.active { border-color: var(--red); color: white; background: var(--red); }
.category-block { padding-top: 52px; scroll-margin-top: 128px; }
.category-title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.category-title span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--red-dark); font: 800 1.05rem var(--display); }
.category-title h3 { margin: 0; color: var(--red-dark); font: 800 2.25rem var(--display); text-transform: uppercase; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 7px 25px rgba(87, 35, 28, .06); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-main { padding: 20px; }
.product-category { display: inline-block; margin-bottom: 12px; padding: 5px 9px; border-radius: 7px; background: var(--cream); color: var(--red); font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.product-main h4 { min-height: 52px; margin: 0 0 8px; font: 800 1.65rem/1 var(--display); text-transform: uppercase; }
.product-description { min-height: 50px; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.product-price { color: var(--red); font: 800 1.7rem var(--display); }
.quantity { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); }
.quantity button { width: 36px; height: 36px; border: 0; color: var(--red); background: transparent; font-size: 1.25rem; font-weight: 800; }
.quantity button:hover { background: var(--cream); }
.quantity output { min-width: 28px; text-align: center; font-weight: 800; }
.unit-configs { border-top: 1px dashed #ddc8ac; background: var(--cream); }
.unit-configs > p { margin: 0; padding: 14px 18px 6px; color: var(--red-dark); font-size: .8rem; font-weight: 800; }
.unit-config { margin: 10px; padding: 14px; border-radius: 13px; background: white; box-shadow: 0 4px 14px rgba(80,40,20,.06); }
.unit-config h5 { margin: 0 0 12px; color: var(--red-dark); font-size: .93rem; }
.option-label { margin: 12px 0 7px; color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.sauce-list { display: flex; flex-wrap: wrap; gap: 6px; }
.sauce-choice input { position: absolute; opacity: 0; pointer-events: none; }
.sauce-choice span { display: block; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .76rem; cursor: pointer; }
.sauce-choice input:checked + span { border-color: var(--green); color: white; background: var(--green); }
.extras-disclosure { margin-top: 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.extras-disclosure summary { display: flex; align-items: center; gap: 8px; padding: 11px 12px; color: var(--red-dark); cursor: pointer; list-style: none; font-size: .78rem; font-weight: 800; letter-spacing: .06em; }
.extras-disclosure summary::-webkit-details-marker { display: none; }
.extras-disclosure summary::after { content: "+"; margin-left: auto; color: var(--red); font-size: 1.15rem; }
.extras-disclosure[open] summary::after { content: "−"; }
.extras-selected-count { padding: 3px 7px; border-radius: 99px; color: white; background: var(--orange); font-size: .68rem; letter-spacing: 0; }
.extra-list { display: grid; gap: 0; padding: 0 10px 8px; }
.extra-row { min-height: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.extra-info { min-width: 0; display: flex; flex-direction: column; font-size: .78rem; font-weight: 700; }
.extra-info b { color: var(--red); font-size: .72rem; }
.extra-stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: white; }
.extra-stepper button { width: 30px; height: 30px; border: 0; color: var(--red); background: transparent; font-size: 1rem; font-weight: 800; }
.extra-stepper button:hover:not(:disabled) { background: var(--cream); }
.extra-stepper button:disabled { opacity: .28; cursor: not-allowed; }
.extra-stepper output { min-width: 25px; text-align: center; font-size: .78rem; font-weight: 800; }
.unit-subtotal { margin: 12px 0 0; color: var(--muted); text-align: right; font-size: .78rem; }
.unit-subtotal strong { color: var(--red); }
.drink-note { margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .78rem; }
.loading, .load-error { padding: 60px 0; color: var(--muted); text-align: center; }

.how-to { padding: 80px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; color: white; background: var(--red-dark); }
.how-to h2 { max-width: 470px; margin: 0; font-size: clamp(3rem, 5vw, 4.8rem); }
.how-to ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.2); }
.how-to li { display: grid; grid-template-columns: 60px 1fr; gap: 15px; align-items: center; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.how-to li b { color: var(--orange); font: 800 1.4rem var(--display); }
.how-to li span { font-size: 1.05rem; }
footer { padding: 32px; display: flex; justify-content: center; align-items: center; gap: 18px; background: #311014; color: #eecbaf; }
footer img { width: 58px; }
footer p { margin: 0; font-size: .84rem; }

.backdrop { position: fixed; z-index: 39; inset: 0; background: rgba(36, 10, 12, .64); backdrop-filter: blur(3px); }
.cart-drawer { position: fixed; z-index: 40; top: 0; right: 0; width: min(470px, 100vw); height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; transform: translateX(105%); transition: transform .25s ease; background: var(--paper); box-shadow: -15px 0 45px rgba(30,5,8,.2); }
.cart-drawer.open { transform: translateX(0); }
.cart-head { padding: 25px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.cart-head h2, .order-dialog h2 { margin: 0; color: var(--red-dark); font-size: 2.5rem; }
.icon-button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--red); background: white; font-size: 1.8rem; line-height: 1; }
.cart-items { padding: 8px 25px 25px; overflow-y: auto; }
.empty-cart { padding: 60px 20px; color: var(--muted); text-align: center; }
.empty-cart b { display: block; margin-bottom: 7px; color: var(--red-dark); font: 800 1.6rem var(--display); text-transform: uppercase; }
.cart-item { padding: 17px 0; border-bottom: 1px solid var(--line); }
.cart-item-head { display: flex; justify-content: space-between; gap: 15px; }
.cart-item h3 { margin: 0; font-size: .95rem; }
.cart-item strong { color: var(--red); white-space: nowrap; }
.cart-item p { margin: 7px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.remove-unit { margin-top: 8px; padding: 0; border: 0; color: var(--red); background: none; font-size: .75rem; font-weight: 700; }
.cart-footer { padding: 20px 25px 25px; border-top: 1px solid var(--line); background: white; }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; font: 800 1.5rem var(--display); text-transform: uppercase; }
.cart-total strong { color: var(--red); font-size: 2rem; }
.checkout-button, .secondary-button { min-height: 48px; display: grid; place-items: center; border: 0; border-radius: 11px; text-decoration: none; font-weight: 800; }
.checkout-button { width: 100%; color: white; background: var(--green); }
.checkout-button:disabled { opacity: .45; cursor: not-allowed; }
.clear-button { width: 100%; margin-top: 10px; border: 0; color: var(--red); background: none; font-size: .82rem; font-weight: 700; }
.order-dialog { width: min(620px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 20px; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.order-dialog::backdrop { background: rgba(36,10,12,.68); backdrop-filter: blur(4px); }
.dialog-head { padding: 22px 25px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.order-dialog textarea { width: calc(100% - 50px); min-height: 260px; margin: 20px 25px; padding: 16px; resize: vertical; border: 1px solid var(--line); border-radius: 12px; background: white; line-height: 1.5; }
.dialog-actions { padding: 0 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.secondary-button { border: 1px solid var(--red); color: var(--red); background: white; }
.dialog-note { margin: 12px 25px 22px; color: var(--muted); font-size: .78rem; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 22px; padding: 11px 18px; border-radius: 999px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; color: white; background: var(--ink); box-shadow: var(--shadow); transition: .2s; font-size: .85rem; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .intro { min-height: 430px; }
}

@media (max-width: 700px) {
  .site-header { height: 66px; padding: 7px 14px; gap: 12px; }
  .brand img { width: 55px; }
  .site-header nav { display: none; }
  .cart-button { padding: 9px 9px 9px 14px; }
  .cart-button span { font-size: .8rem; }
  .intro { min-height: 0; aspect-ratio: 1; padding: 24px 20px; align-items: flex-start; }
  .intro::after { background: linear-gradient(180deg, rgba(69,5,10,.88) 0%, rgba(87,7,13,.58) 31%, rgba(87,7,13,.08) 52%, transparent 68%); }
  .intro-copy { max-width: 92%; }
  .intro h1 { max-width: none; font-size: clamp(3rem, 13vw, 4.1rem); }
  .intro h1 span { display: block; white-space: nowrap; }
  .intro-copy > p:not(.kicker) { display: none; }
  .menu-section { padding: 58px 15px 80px; }
  .section-heading { grid-template-columns: 1fr; gap: 10px; }
  .section-heading > p { font-size: .9rem; }
  .category-nav { top: 66px; margin: 0 -15px; padding: 12px 15px; }
  .category-chip { padding: 9px 13px; font-size: .82rem; }
  .category-block { padding-top: 42px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-main h4, .product-description { min-height: 0; }
  .how-to { padding: 60px 22px; grid-template-columns: 1fr; gap: 40px; }
  .how-to h2 { font-size: 3.2rem; }
  footer { flex-direction: column; gap: 8px; }
  .dialog-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
