:root {
  --bg: #0c0b0a;
  --bg2: #141210;
  --card: #1a1714;
  --text: #f3efe6;
  --muted: #9a9186;
  --accent: #d4a574;
  --accent2: #e8c49a;
  --line: rgba(212, 165, 116, 0.22);
  --ok: #7dcea0;
  --danger: #e07a6a;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --font: "Century Gothic", "Trebuchet MS", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 420px at 80% -5%, rgba(212, 165, 116, 0.14), transparent 55%),
    var(--bg);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
button, input, select { font: inherit; }

.demo-banner {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.03em;
  padding: 8px 12px;
  background: #171410;
  color: #b5a99a;
  border-bottom: 1px solid var(--line);
}

.top {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.logo {
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--accent);
}
.nav { display: flex; gap: 16px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--text); }
.top-actions { display: flex; align-items: center; gap: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: #1a120c;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-sm { padding: 8px 12px; font-size: 13px; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.cart-btn {
  position: relative;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent2);
  color: #1a120c;
  font-size: 11px;
  font-weight: 750;
  display: grid;
  place-items: center;
}
.cart-count:empty, .cart-count[data-empty="1"] { display: none; }

.hero {
  position: relative;
  padding: 56px 0 48px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12,11,10,0.88) 0%, rgba(12,11,10,0.55) 55%, rgba(12,11,10,0.35) 100%),
    url("assets/rest-hero.jpg") center / cover no-repeat;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-panel {
  border-radius: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(18, 15, 12, 0.72);
  backdrop-filter: blur(8px);
  padding: 36px 28px;
  box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.lead {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 36em;
  font-size: 17px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.promos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.promo {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.promo strong { color: var(--accent2); }

.section { padding: 52px 0; }
.section.alt { background: color-mix(in srgb, var(--bg2) 85%, transparent); }
.section h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.5vw, 34px);
}
.section-lead {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 40em;
}

.menu-tools {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
@media (min-width: 720px) {
  .menu-tools { grid-template-columns: 1fr auto; align-items: center; }
}
.search {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.chip.active {
  background: rgba(212, 165, 116, 0.15);
  color: var(--accent2);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
}

.menu-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .menu-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .menu-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.dish {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dish-pic {
  aspect-ratio: 16 / 10;
  background: #12100e;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.dish-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dish-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dish-cat {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.dish h3 { margin: 0; font-size: 17px; }
.dish p { margin: 0; color: var(--muted); font-size: 13px; flex: 1; }
.dish-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}
.price { font-weight: 750; color: var(--text); }
.dish[hidden] { display: none !important; }

.about-grid {
  display: grid;
  gap: 18px;
}
@media (min-width: 860px) {
  .about-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.info-card, .form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.info-card p { color: var(--muted); margin: 0 0 10px; }
.map-fake {
  min-height: 220px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.map-fake img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.form { display: grid; gap: 10px; }
.form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #100e0c;
  color: var(--text);
}
.form textarea { min-height: 80px; resize: vertical; }
.consent {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}
.consent input { width: auto; margin-top: 3px; }
.consent a { color: var(--accent); text-decoration: underline; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.form-note.ok { color: var(--ok); font-weight: 700; }

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 50;
}
.drawer-backdrop[hidden] { display: none; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100%);
  height: 100%;
  z-index: 60;
  background: var(--bg2);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  padding: 18px;
}
.drawer[hidden] { display: none; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.drawer-head h2 { margin: 0; font-size: 20px; }
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.cart-list {
  flex: 1;
  overflow: auto;
  display: grid;
  gap: 8px;
  align-content: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
}
.cart-item strong { display: block; font-size: 14px; }
.cart-item span { color: var(--muted); font-size: 12px; }
.qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.qty button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.cart-empty { color: var(--muted); font-size: 14px; padding: 20px 0; }
.cart-footer {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: grid;
  gap: 10px;
}
.total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 750;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,0.65);
}
.modal[hidden] { display: none; }
.modal-card {
  width: min(440px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.modal-card h3 { margin: 0 0 8px; }
.modal-card p { margin: 0 0 16px; color: var(--muted); }

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.footer a { color: var(--accent); }

@media (max-width: 720px) {
  .nav { display: none; }
}
