:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --text: #1d1b19;
  --muted: #6b645c;
  --line: rgba(29, 27, 25, 0.1);
  --accent-soft: color-mix(in srgb, var(--accent) 10%, #ffffff);
  --accent-line: color-mix(in srgb, var(--accent) 30%, #ffffff);
  --r: 16px;
  --shadow: 0 10px 30px rgba(29, 27, 25, 0.08);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  -webkit-font-smoothing: antialiased; padding-bottom: 96px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.02em; }

/* Banner demo */
.demo-banner { background: #1d1b19; color: #fff; text-align: center; font-size: 13px; padding: 9px 16px; }
.demo-banner a { color: #ffd7a8; font-weight: 700; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 243, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; text-decoration: none; letter-spacing: -0.01em; min-width: 0; }
.brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 18px; }
.nav { display: flex; gap: 22px; margin-left: auto; margin-right: 8px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav a:hover { color: var(--text); }

/* Tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s, color 0.15s; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* Hero */
.hero { padding: 48px 0 32px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b9b3aa; }
.status[data-state="open"] { color: #14703f; border-color: #bfe3cf; background: #effaf3; }
.status[data-state="open"]::before { background: #1fa45b; box-shadow: 0 0 0 4px rgba(31, 164, 91, 0.18); }
.status[data-state="closed"] { color: #9a3412; border-color: #f4d3c0; background: #fff6f0; }
.status[data-state="closed"]::before { background: #e8590c; }
h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; }
.lead { font-size: clamp(17px, 2.4vw, 21px); font-weight: 600; color: var(--accent); margin: 10px 0 12px; }
.desc { color: var(--muted); max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-art img { width: 100%; max-width: 440px; margin-left: auto; border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }
.hero-emoji { width: min(100%, 340px); aspect-ratio: 1; margin-left: auto; border-radius: 50%; display: grid; place-items: center; font-size: clamp(90px, 18vw, 150px); background: radial-gradient(circle at 30% 25%, #fff, var(--accent-soft) 60%, var(--accent-line)); box-shadow: var(--shadow); }

/* Section umum */
.sec { padding: 40px 0; }
.sec h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; margin-bottom: 6px; }
.sub { color: var(--muted); margin-bottom: 22px; }
.hl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.hl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.hl-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); font-size: 22px; margin-bottom: 12px; }
.hl h4 { font-size: 16px; margin-bottom: 4px; }
.hl p { font-size: 14px; color: var(--muted); }

/* Menu */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; position: sticky; top: 64px; z-index: 20; background: linear-gradient(var(--bg) 80%, transparent); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all 0.15s; }
.chip:hover { border-color: var(--accent-line); color: var(--text); }
.chip.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.menu-cat { margin-top: 18px; }
.menu-cat[hidden] { display: none; }
.menu-cat h3 { font-size: 20px; margin: 14px 0 12px; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.item { display: flex; gap: 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px; transition: border-color 0.15s, box-shadow 0.15s; }
.item.in-cart { border-color: var(--accent); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 14%, transparent); }
.item-media { position: relative; flex-shrink: 0; width: 96px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--accent-soft); display: grid; place-items: center; }
.item-media img { width: 100%; height: 100%; object-fit: cover; }
.item-emoji { font-size: 44px; }
.item-badge { position: absolute; top: 6px; left: 6px; background: var(--accent); color: var(--on-accent); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.item-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.item-body h4 { font-size: 16px; }
.item-body p { font-size: 13px; color: var(--muted); margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.item-foot strong { font-size: 15px; }
.qty { display: inline-flex; align-items: center; gap: 4px; background: var(--accent-soft); border-radius: 999px; padding: 3px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; font-family: inherit; }
.qty button:disabled { background: transparent; color: #b9b3aa; cursor: default; }
.qty-val { min-width: 24px; text-align: center; font-weight: 700; font-size: 14px; }

/* Galeri, testimoni */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 16px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.quote blockquote { font-size: 15px; }
.quote figcaption { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--accent); }

/* Lokasi */
.loc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.addr { color: var(--muted); margin: 8px 0 16px; }
.hours { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 18px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { font-weight: 600; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.map { width: 100%; height: 320px; border: 0; border-radius: var(--r); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.credit a { font-weight: 700; color: var(--text); }

/* Keranjang */
.cart { position: fixed; left: 50%; bottom: 14px; transform: translate(-50%, 160%); width: min(580px, calc(100% - 24px)); background: #1d1b19; color: #fff; border-radius: 20px; padding: 12px 12px 12px 18px; display: flex; align-items: center; gap: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); z-index: 50; }
.cart.show { transform: translate(-50%, 0); }
.cart-info { display: flex; flex-direction: column; line-height: 1.3; margin-right: auto; }
.cart-info strong { font-size: 13px; font-weight: 600; color: #cfc8be; }
.cart-info span { font-size: 17px; font-weight: 800; }
.cart-clear { background: none; border: 0; color: #cfc8be; font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; }

/* Responsif */
@media (max-width: 820px) {
  .hero-grid, .loc { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-emoji, .hero-art img { margin: 0 auto; max-width: 220px; }
  .hero { padding-top: 28px; }
  .nav { display: none; }
  .top-in .btn { margin-left: auto; }
}
@media (max-width: 420px) {
  .menu-grid { grid-template-columns: 1fr; }
  .cart-clear { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
