:root {
  --cream: #F7F3EC; --ink: #23201A; --tan: #A9713C; --green: #2E4A3B;
  --card: #FFFFFF; --line: rgba(35, 32, 26, 0.12);
  --radius: 18px; --max: 1120px;
  --shadow: 0 14px 40px rgba(35, 32, 26, 0.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "Karla", system-ui, sans-serif; line-height: 1.6; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.08; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: 56px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--tan); font-weight: 700; margin-bottom: 14px; }

.topbar { position: sticky; top: 0; z-index: 30; background: rgba(247, 243, 236, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 20px; padding: 12px 0; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 18px; margin-left: auto; align-items: center; font-size: 0.95rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--tan); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem; background: transparent; color: var(--ink); cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--green); border-color: var(--green); }
.btn:disabled { opacity: 0.5; cursor: default; }

.hero { position: relative; }
.hero picture img { width: 100%; height: min(76vh, 680px); object-fit: cover; }
.hero-card { position: relative; margin: -120px auto 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; max-width: 640px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill { background: var(--green); color: var(--cream); border-radius: 999px; padding: 7px 14px; font-size: 0.85rem; font-weight: 700; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-pad { padding: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.menu-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.menu-group h3 { border-bottom: 2px solid var(--tan); padding-bottom: 8px; }
.menu-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.menu-row .price { color: var(--tan); font-weight: 700; white-space: nowrap; }

.site-footer { background: var(--green); color: var(--cream); margin-top: 56px; padding: 40px 0; }
.site-footer a { color: inherit; }

.order-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; margin-top: 24px; }
.basket { position: sticky; top: 84px; }
.product { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.product .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product select { padding: 8px; border-radius: 10px; border: 1px solid var(--line); font: inherit; background: #fff; }
.product .controls { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.price { color: var(--tan); font-weight: 700; white-space: nowrap; }
.qty-btn { border: 1px solid var(--line); background: #fff; border-radius: 8px; width: 32px; height: 32px; cursor: pointer; font-size: 1rem; }
.basket-line { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 0.95rem; }
.basket-total { font-weight: 700; font-size: 1.1rem; border-top: 2px solid var(--tan); padding-top: 10px; }
.muted { opacity: 0.72; font-size: 0.9rem; }
.error { color: #a33; font-weight: 700; }
label { display: block; margin-bottom: 12px; font-weight: 700; font-size: 0.9rem; }
input { width: 100%; padding: 10px; border-radius: 10px; border: 1px solid var(--line); font: inherit; }

@media (max-width: 800px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; flex-wrap: wrap; }
  .hero-card { margin: -60px 16px 0; padding: 24px; }
  .order-layout { grid-template-columns: 1fr; }
  .basket { position: static; }
}
