:root {
  --green: #14532d;
  --green-2: #166534;
  --green-soft: #e7f3ea;
  --gold: #f5b301;
  --gold-2: #d99a00;
  --cream: #fbf7ef;
  --paper: #ffffff;
  --ink: #1c1917;
  --muted: #6b645c;
  --line: #ebe4d8;
  --red: #b42318;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(28, 25, 23, .08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green-2); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 700; text-decoration: none; transition: transform .08s, background .15s, box-shadow .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-2); }
.btn-gold { background: var(--gold); color: #2a1d00; }
.btn-gold:hover { background: #ffc21f; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Announcement + header */
.announce { background: var(--green); color: #fff; text-align: center; font-size: 14px; padding: 8px 16px; }
.announce:empty { display: none; }
header.top { position: sticky; top: 0; z-index: 30; background: rgba(251, 247, 239, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; }
nav.links { display: flex; gap: 22px; margin-left: auto; }
nav.links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
nav.links a:hover { color: var(--green-2); }
.cart-btn { position: relative; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.cart-btn .count { background: var(--gold); color: #2a1d00; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; padding: 0 6px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(245, 179, 1, .25), transparent 60%), linear-gradient(180deg, #fff8e6 0%, var(--cream) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #fff; border: 1px solid var(--line); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #9ca3af; }
.pill.open .dot { background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }
.pill.closed .dot { background: var(--red); }
.hero h1 { font-family: var(--display); font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -.02em; margin: 18px 0 14px; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 520px; margin: 0 0 26px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .facts { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; color: var(--muted); font-size: 14px; }
.hero .facts b { color: var(--ink); display: block; font-size: 15px; }
.hero-art { position: relative; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 200deg, var(--green), #1f7a44, var(--green)); display: grid; place-items: center; box-shadow: var(--shadow); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hero-art .badge { position: absolute; bottom: 8%; left: -4%; background: #fff; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow); font-weight: 700; display: flex; gap: 10px; align-items: center; }
.hero-art .badge span { font-size: 26px; }
.hero-art .plate { width: 74%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 14px #f3ede2; font-size: clamp(70px, 12vw, 140px); }

/* Sections */
section.block { padding: 64px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--display); font-size: clamp(30px, 4vw, 42px); margin: 0; letter-spacing: -.01em; }
.section-head p { margin: 4px 0 0; color: var(--muted); }

/* Featured */
.featured { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.featured .card { scroll-snap-align: start; }

/* Menu controls */
.menu-bar { position: sticky; top: 68px; z-index: 20; background: var(--cream); padding: 12px 0; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.menu-bar .row { display: flex; gap: 12px; align-items: center; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.tabs::-webkit-scrollbar { display: none; }
.tab { white-space: nowrap; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; color: var(--ink); }
.tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.search { position: relative; width: 240px; flex-shrink: 0; }
.search input { width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 14px 9px 36px; outline: none; }
.search input:focus { border-color: var(--green-2); }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }

.cat { margin-bottom: 44px; }
.cat h3 { font-family: var(--display); font-size: 28px; margin: 0 0 4px; }
.cat > p { margin: 0 0 18px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }

/* Item card */
.card { display: flex; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-align: left; width: 100%; color: inherit; transition: box-shadow .15s, transform .15s, border-color .15s; }
.card:hover { box-shadow: var(--shadow); border-color: #ddd3c3; transform: translateY(-1px); }
.card .info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.card h4 { margin: 0 0 4px; font-size: 17px; }
.card .desc { margin: 0 0 10px; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .foot { margin-top: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card .price { font-weight: 800; }
.card .thumb { width: 112px; height: 112px; border-radius: 12px; flex-shrink: 0; object-fit: cover; position: relative; }
.card .add { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 22px; line-height: 1; border: 0; }
.card.soldout { opacity: .6; }
.card.soldout .add { background: #a8a29e; }
.tag { white-space: nowrap; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.tag.gold { background: #fff3cc; color: #7a5600; }
.tag.red { background: #fde8e6; color: var(--red); }
.ph { display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 40px; color: rgba(255, 255, 255, .92); }
.empty-note { text-align: center; color: var(--muted); padding: 40px 0; }

/* Info section */
.info-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h3 { font-family: var(--display); margin: 0 0 12px; font-size: 24px; }
.panel p { color: var(--muted); margin: 0 0 12px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; }
.hours tr.today td { font-weight: 800; color: var(--green); }
.contact-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.contact-line span:first-child { font-size: 18px; }

footer { background: var(--ink); color: #d6d3d1; padding: 36px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: #fff; }

/* Drawer + modal */
.overlay { position: fixed; inset: 0; background: rgba(28, 25, 23, .45); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .2s; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 60; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; }
.drawer.show { transform: none; }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer header h3 { margin: 0; font-family: var(--display); font-size: 24px; }
.x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; line-height: 1; }
.drawer .body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer .foot { border-top: 1px solid var(--line); padding: 16px 20px; }
.line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line .meta { flex: 1; min-width: 0; }
.line .name { font-weight: 700; }
.line .opts { font-size: 13px; color: var(--muted); }
.line .row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; font-size: 18px; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.link-btn { background: none; border: 0; color: var(--red); font-size: 13px; padding: 0; }
.totals { display: grid; gap: 6px; margin-bottom: 14px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 19px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }

.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; pointer-events: none; opacity: 0; transition: opacity .18s; }
.modal.show { opacity: 1; pointer-events: auto; }
.modal .sheet { background: #fff; border-radius: 20px; width: min(560px, 100%); max-height: 92vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); transform: translateY(10px); transition: transform .2s; }
.modal.show .sheet { transform: none; }
.modal .sheet .scroll { overflow-y: auto; }
.modal .hero-img { width: 100%; height: 220px; object-fit: cover; }
.modal .content { padding: 22px; }
.modal h3 { margin: 0 0 6px; font-family: var(--display); font-size: 28px; }
.modal .sheet-foot { padding: 16px 22px; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.modal .close-float { position: absolute; margin: 12px; right: 0; }
.group { margin-top: 18px; }
.group-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.group-head b { font-size: 16px; }
.group-head small { color: var(--muted); }
.req { font-size: 11px; font-weight: 700; text-transform: uppercase; background: #fff3cc; color: #7a5600; border-radius: 999px; padding: 2px 8px; }
.req.done { background: var(--green-soft); color: var(--green); }
.choice { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.choice input { accent-color: var(--green); width: 18px; height: 18px; }
.choice .cp { margin-left: auto; color: var(--muted); font-size: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; background: #fff; outline: none; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-2); }
.field small { color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; font-weight: 600; }
.seg label:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.seg label small { display: block; font-weight: 400; color: var(--muted); }
.seg input { accent-color: var(--green); margin-right: 6px; }
.seg label.disabled { opacity: .5; cursor: not-allowed; }
.note { background: #fff8e1; border: 1px solid #f6e3a6; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.error { background: #fde8e6; color: var(--red); padding: 10px 14px; border-radius: 12px; font-size: 14px; margin-bottom: 12px; }
.hp { position: absolute; left: -9999px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; opacity: 0; transition: all .2s; z-index: 90; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.mobile-cart { display: none; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 40px; gap: 28px; }
  .hero-art { max-width: 260px; margin: 0 auto; width: 100%; }
  .info-grid { grid-template-columns: 1fr; }
  nav.links { display: none; }
  header.top .cart-btn { margin-left: auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .menu-bar .row { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .card .thumb { width: 92px; height: 92px; }
  .two { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: end; }
  .modal .sheet { border-radius: 20px 20px 0 0; max-height: 94vh; }
  .mobile-cart { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; justify-content: space-between; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
  body.has-items { padding-bottom: 84px; }
  section.block { padding: 44px 0; }
}
@media (max-width: 640px) { body.has-items .toast { bottom: 92px; } }
