:root {
  --forest: #17362b;
  --forest-soft: #284c3d;
  --cream: #f5f0e6;
  --paper: #fffdf8;
  --ink: #213129;
  --muted: #6f776f;
  --line: rgba(33, 49, 41, 0.13);
  --gold: #c99347;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 9rem; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "DM Sans", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.sr-only, .skip-link { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { z-index: 20; width: auto; height: auto; clip: auto; top: 1rem; left: 1rem; padding: .75rem 1rem; background: white; }

.menu-header { height: 76px; padding: 0 clamp(1rem, 4vw, 3.5rem); display: flex; align-items: center; justify-content: space-between; background: var(--paper); border-bottom: 1px solid var(--line); }
.menu-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-family: "Playfair Display", serif; font-weight: 600; font-size: 1.05rem; }
.menu-brand img { width: 43px; height: 43px; object-fit: contain; }
.home-link { text-decoration: none; font-size: .83rem; font-weight: 700; letter-spacing: .04em; }
.home-link span { color: var(--gold); margin-left: .25rem; }

.menu-intro { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) 0 2rem; }
.eyebrow { margin: 0 0 .7rem; color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; }
h1 { margin: 0; color: var(--forest); font-family: "Playfair Display", serif; font-size: clamp(3.4rem, 12vw, 6.5rem); font-weight: 600; line-height: .9; }
.menu-intro-copy { margin: 1rem 0 0; color: var(--muted); }
.quick-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 2rem; }
.quick-link { min-width: 0; display: flex; align-items: center; gap: .7rem; padding: .85rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.quick-link:hover, .quick-link:focus-visible { transform: translateY(-2px); border-color: rgba(201,147,71,.7); box-shadow: 0 10px 26px rgba(33,49,41,.08); outline: none; }
.quick-link-map { color: white; background: var(--forest); border-color: var(--forest); }
.quick-link-mark { flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center; color: var(--gold); background: rgba(201,147,71,.12); border-radius: 50%; font-size: .72rem; font-weight: 700; }
.quick-link-map .quick-link-mark { color: var(--forest); background: #efd39d; font-size: 1.1rem; }
.quick-link > span:last-child { min-width: 0; display: grid; gap: .12rem; }
.quick-link strong { font-size: .82rem; }
.quick-link small { color: var(--muted); font-size: .66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick-link-map small { color: rgba(255,255,255,.65); }

.menu-tools { position: sticky; top: 0; z-index: 10; padding: .9rem max(1rem, calc((100% - 1120px)/2)); background: rgba(245,240,230,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.search-box { height: 46px; display: flex; align-items: center; gap: .7rem; padding: 0 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 100px; }
.search-box > span { color: var(--gold); font-size: 1.4rem; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); }
.category-nav { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-top: .75rem; }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav a { flex: 0 0 auto; padding: .58rem .9rem; border: 1px solid var(--line); border-radius: 100px; background: rgba(255,255,255,.45); text-decoration: none; font-size: .78rem; font-weight: 700; }
.category-nav a.active { background: var(--forest); color: white; border-color: var(--forest); }

.menu-content { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 1rem 0 4rem; }
.menu-category { padding-top: 2rem; }
.category-heading { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.category-heading > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--forest); color: #efd39d; }
.category-heading h2 { margin: 0; font-family: "Playfair Display", serif; font-size: clamp(1.7rem, 5vw, 2.5rem); }
.category-heading small { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-top: 1rem; }
.product-card { min-width: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(33,49,41,.04); }
.product-info { min-width: 0; min-height: 112px; padding: 1.1rem 1.2rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.product-copy { min-width: 0; }
.product-info h3 { margin: 0 0 .35rem; font-family: "Playfair Display", serif; font-size: 1.25rem; }
.product-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.product-title-row h3 { margin-bottom: 0; }
.product-info p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.product-title-row + p { margin-top: .35rem; }
.product-price { flex: 0 0 auto; color: var(--forest); font-size: .88rem; white-space: nowrap; }
.product-prices { flex: 0 0 auto; display: grid; justify-items: end; gap: .2rem; }
.old-price { color: var(--muted); font-size: .72rem; text-decoration: line-through; }
.discount-price { color: #a3402d; }
.availability-badge { padding: .24rem .45rem; color: #8b3728; background: #f8e1d9; border-radius: 100px; font-size: .62rem; font-weight: 700; }
.product-unavailable { background: rgba(255,253,248,.62); }
.product-unavailable .product-copy, .product-unavailable .product-prices { opacity: .62; }
.empty-state { width: min(1120px, calc(100% - 2rem)); margin: 3rem auto; text-align: center; color: var(--muted); }

.menu-note { width: min(1120px, calc(100% - 2rem)); margin: 0 auto 4rem; padding: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; background: var(--forest); color: white; border-radius: 14px; }
.menu-note p { margin: 0; color: rgba(255,255,255,.72); font-size: .85rem; }
.menu-note a { flex: 0 0 auto; color: #efd39d; font-weight: 700; }
.menu-footer { min-height: 130px; padding: 2rem max(1rem, calc((100% - 1120px)/2)); display: flex; align-items: center; gap: .8rem; background: #10271f; color: white; }
.menu-footer img { width: 48px; }
.menu-footer div { display: grid; gap: .25rem; }
.menu-footer strong { font-family: "Playfair Display", serif; }
.menu-footer span { color: rgba(255,255,255,.6); font-size: .75rem; }

@media (max-width: 720px) {
  .menu-header { height: 66px; }
  .menu-brand img { width: 38px; height: 38px; }
  .menu-brand span { font-size: .92rem; }
  .menu-intro { padding-top: 2.5rem; }
  .quick-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: 1fr; }
  .menu-note { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  .home-link { font-size: 0; }
  .home-link span { font-size: 1rem; }
  .product-info { padding: .85rem; }
  .quick-link { padding: .72rem; }
  .quick-link-mark { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
