:root {
  --green: #073f2e;
  --green-soft: #0f5a43;
  --gold: #9c7d1a;
  --gold-light: #c3a84a;
  --cream: #faf8f0;
  --paper: #fffefa;
  --ink: #17231d;
  --muted: #6d756f;
  --line: #dfddd1;
  --drink: #9b6338;
  --shadow: 0 18px 45px rgba(7, 63, 46, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header { position: sticky; top: 0; z-index: 50; height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 10px 22px; background: rgba(7, 63, 46, .97); box-shadow: 0 8px 24px rgba(0,0,0,.12); backdrop-filter: blur(12px); }
.brand { display: block; width: 172px; height: 50px; overflow: hidden; border-radius: 4px; }
.brand img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: screen; filter: brightness(1.28) saturate(.8); }
.menu-button { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-button span { width: 18px; height: 1.5px; background: white; border-radius: 3px; }

.hero { min-height: 410px; display: grid; align-content: center; justify-items: center; padding: 56px 24px 66px; text-align: center; color: white; background: radial-gradient(circle at 75% 20%, rgba(195,168,74,.22), transparent 30%), linear-gradient(145deg, #0a4d38 0%, #052e23 100%); position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; width: 260px; height: 260px; border: 1px solid rgba(195,168,74,.18); border-radius: 50%; }
.hero::before { left: -170px; top: -60px; }
.hero::after { right: -145px; bottom: -120px; width: 310px; height: 310px; }
.eyebrow { margin: 0 0 14px; color: #ddca87; font-size: .72rem; font-weight: 750; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 13vw, 5.7rem); line-height: .88; letter-spacing: -.045em; text-transform: uppercase; }
.hero h1 em { color: #d3b95f; font-weight: 400; text-transform: none; }
.hero-copy { max-width: 360px; margin: 22px auto 24px; color: rgba(255,255,255,.78); font-family: Georgia, serif; font-size: 1.05rem; line-height: 1.55; }
.hero-action { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; color: white; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: .82rem; font-weight: 700; text-decoration: none; }

.menu-shell { max-width: 1240px; margin: 0 auto; padding: 36px 18px 70px; }
.section-heading { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin-bottom: 24px; }
.section-heading span { height: 1px; background: linear-gradient(90deg, transparent, var(--line)); }
.section-heading span:last-child { background: linear-gradient(90deg, var(--line), transparent); }
.section-heading p { margin: 0; color: var(--green); font-family: Georgia, serif; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.section-heading--products { margin-top: 38px; margin-bottom: 8px; }

.categories { display: grid; grid-template-columns: repeat(4, minmax(72px, 1fr)); gap: 8px; }
.category { min-width: 0; display: grid; justify-items: center; gap: 9px; padding: 14px 4px; color: var(--muted); border: 0; border-radius: 18px; background: transparent; font: inherit; cursor: pointer; transition: .22s ease; }
.category-icon { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); box-shadow: 0 7px 20px rgba(7,63,46,.06); transition: .22s ease; }
.category-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.category > span:last-child { max-width: 86px; font-size: .7rem; font-weight: 650; line-height: 1.2; }
.category.is-active { color: var(--green); }
.category.is-active .category-icon { color: white; border-color: var(--green); background: var(--green); box-shadow: 0 10px 24px rgba(7,63,46,.24); transform: translateY(-3px); }

.products-content { scroll-margin-top: 90px; }
.product-section { padding: 28px 0 0; }
.product-title-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.product-title-row p { margin: 0 0 4px; color: var(--gold); font-size: .68rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.product-title-row h2 { margin: 0; color: var(--green); font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; }
.carousel-actions { display: flex; gap: 7px; }
.carousel-actions button { width: 38px; height: 38px; color: var(--green); border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 1.05rem; cursor: pointer; }
.product-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(205px, 73vw); gap: 14px; padding: 4px 4px 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.product-track::-webkit-scrollbar { display: none; }
.product-card { position: relative; min-height: 315px; overflow: hidden; border: 1px solid rgba(156,125,26,.16); border-radius: 22px; background: var(--paper); box-shadow: var(--shadow); scroll-snap-align: start; }
.product-card--drink { border-color: rgba(255,255,255,.16); background: linear-gradient(145deg, #a56d42, #6e4028); color: white; }
.product-badge { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 9px; color: white; border-radius: 999px; background: var(--green); font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-card--drink .product-badge { color: var(--green); background: #f5e3a6; }
.product-visual { height: 190px; display: grid; place-items: center; background: radial-gradient(circle, #fff 0 28%, #f7f2df 29% 64%, #eee8d6 65%); }
.product-card--drink .product-visual { background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.22), transparent 33%), linear-gradient(145deg, #b67b4e, #83502f); }
.product-visual span { display: block; font-size: 6.2rem; filter: drop-shadow(0 15px 12px rgba(45,32,13,.18)); transform: translateY(4px); transition: transform .25s ease; }
.product-card:hover .product-visual span { transform: translateY(0) scale(1.04); }
.product-info { padding: 17px 18px 20px; }
.product-info h3 { margin: 0; font-family: Georgia, serif; font-size: 1.06rem; font-weight: 700; }
.product-info p { min-height: 32px; margin: 6px 0 10px; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.product-card--drink .product-info p { color: rgba(255,255,255,.7); }
.product-info strong { color: var(--green); font-size: .95rem; }
.product-card--drink .product-info strong { color: #f5e3a6; }
.swipe-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 3px 0 0; color: #8a8f8c; font-size: .68rem; }
.swipe-hint span { color: var(--gold); font-size: 1rem; }

.loading-card, .error-card { min-height: 260px; display: grid; place-content: center; justify-items: center; text-align: center; }
.loading-mark { width: 34px; height: 34px; border: 2px solid var(--line); border-top-color: var(--green); border-radius: 50%; animation: spin .7s linear infinite; }
.loading-card p, .error-card p { color: var(--muted); }
.error-card button { padding: 10px 15px; color: white; border: 0; border-radius: 999px; background: var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }

.site-footer { display: grid; justify-items: center; padding: 38px 24px 42px; color: white; text-align: center; background: #062d22; }
.site-footer img { width: 180px; height: 65px; object-fit: contain; mix-blend-mode: screen; filter: brightness(1.25) saturate(.8); }
.site-footer p { margin: 8px 0 12px; color: #d9c87e; font-family: Georgia, serif; font-size: 1.2rem; }
.site-footer small { max-width: 480px; color: rgba(255,255,255,.55); font-size: .65rem; line-height: 1.5; }
.noscript { margin: 0; padding: 20px; color: white; text-align: center; background: #9b2c2c; }

@media (min-width: 680px) {
  .site-header { height: 88px; padding-inline: 6vw; }
  .brand { width: 210px; height: 60px; }
  .hero { min-height: 520px; }
  .menu-shell { padding: 52px 5vw 90px; }
  .categories { max-width: 720px; margin: 0 auto; gap: 28px; }
  .category-icon { width: 68px; height: 68px; }
  .category > span:last-child { font-size: .78rem; }
  .product-track { grid-auto-columns: minmax(230px, 31vw); gap: 18px; }
}

@media (min-width: 1040px) {
  .hero { min-height: 470px; }
  .hero h1 { font-size: 5.4rem; }
  .product-track { grid-auto-columns: minmax(220px, 1fr); }
  .product-card { min-height: 330px; }
}

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