:root {
  --gold: #e9c349;
  --gold-dark: #af8d11;
  --gold-soft: rgba(233, 195, 73, 0.16);
  --bg: #141313;
  --bg-deep: #0e0e0e;
  --surface: #1c1b1b;
  --surface-2: #242323;
  --surface-3: #353434;
  --text: #e5e2e1;
  --muted: #c4c7c7;
  --dim: #807d7b;
  --danger: #ffb4ab;
  --success: #8ee6a6;
  --line: rgba(233, 195, 73, 0.22);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  --glow: 0 0 34px rgba(233, 195, 73, 0.24);
  --radius: 14px;
  --container: 1180px;
  --gutter: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 0%, rgba(233, 195, 73, 0.08), transparent 34%),
    linear-gradient(180deg, #171615, var(--bg) 38%, #101010);
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.6;
}

body.locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  min-height: 100vh;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(233, 195, 73, 0.14);
  background: rgba(20, 19, 19, 0.84);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #241a00;
  background: linear-gradient(145deg, #ffe088, #8c6d07);
  font-family: "Playfair Display", serif;
  font-weight: 800;
  box-shadow: var(--glow);
}

.brand-name {
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.nav-link {
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn,
.hamburger {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(53, 52, 52, 0.45);
}

.hamburger {
  display: none;
}

.cart-count {
  min-width: 20px;
  height: 20px;
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-dark);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.hero {
  min-height: 510px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(233, 195, 73, 0.12);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.20)),
    var(--hero-image) center / cover no-repeat,
    #111;
}

.hero.compact {
  min-height: 390px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 1.14;
}

h1 {
  max-width: 780px;
  font-size: clamp(38px, 5vw, 62px);
}

h2 {
  font-size: clamp(30px, 3.6vw, 44px);
}

h3 {
  font-size: clamp(24px, 2.5vw, 32px);
}

.gold {
  color: var(--gold);
}

.lead {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.grid-2,
.grid-3,
.menu-grid,
.checkout-grid,
.footer-grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.menu-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-grid {
  grid-template-columns: minmax(0, 1fr) 400px;
  align-items: start;
}

.footer-grid {
  grid-template-columns: 1.35fr 1fr 1fr;
}

.glass,
.card {
  border: 1px solid var(--line);
  background: rgba(30, 30, 30, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.glass {
  border-radius: 26px;
}

.card {
  overflow: hidden;
  border-radius: 16px;
}

.feature {
  padding: 26px;
  text-align: center;
}

.feature .material-symbols-outlined {
  color: var(--gold);
  font-size: 44px;
}

.collection-card {
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.25)),
    var(--image) center / cover no-repeat,
    var(--surface-2);
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #3c2f00;
  background: var(--gold);
  box-shadow: var(--glow);
}

.btn-secondary {
  color: var(--gold);
  border: 1px solid var(--line);
  background: transparent;
}

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(53, 52, 52, 0.56);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--muted);
  background: rgba(43, 42, 42, 0.86);
  font-weight: 900;
}

.pill.active {
  color: #3c2f00;
  background: var(--gold);
}

.dish-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: var(--surface-3);
}

.dish-body {
  padding: 22px;
}

.dish-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.dish-price {
  color: var(--text);
  font-size: 24px;
  font-weight: 900;
  white-space: nowrap;
}

.dish-desc {
  min-height: 50px;
  color: var(--muted);
  font-size: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(233, 195, 73, 0.22);
  border-radius: 12px;
  outline: 0;
  padding: 13px 15px;
  color: var(--text);
  background: rgba(7, 7, 7, 0.75);
}

textarea.input {
  resize: vertical;
}

.input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(233, 195, 73, 0.12);
}

.error-text {
  min-height: 18px;
  color: var(--danger);
  font-size: 12px;
}

.cart-panel {
  position: sticky;
  top: 98px;
  padding: 22px;
}

.cart-panel.is-empty {
  display: none;
}

.cart-item {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(233, 195, 73, 0.10);
}

.cart-item img {
  width: 66px;
  height: 66px;
  border-radius: 12px;
  object-fit: cover;
}

.cart-title {
  font-weight: 800;
}

.cart-meta {
  color: var(--dim);
  font-size: 13px;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--surface-3);
}

.qty button {
  border: 0;
  color: var(--text);
  background: transparent;
  font-weight: 900;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  color: var(--muted);
}

.summary-row.strong {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
}

.status-card {
  padding: 26px;
}

.admin-gate {
  max-width: 680px;
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--text);
  background: var(--surface-3);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.footer {
  margin-top: 64px;
  padding: 56px 0;
  border-top: 1px solid rgba(233, 195, 73, 0.10);
  background: var(--bg-deep);
}

.footer p {
  color: var(--muted);
}

@media (max-width: 920px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .hamburger {
    display: inline-grid;
  }

  .nav-links {
    width: 100%;
    display: none;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    padding: 10px 0;
  }

  .brand-name {
    font-size: 24px;
  }

  .hero {
    min-height: 420px;
  }

  .section {
    padding: 50px 0;
  }

  .section-head {
    display: block;
  }

  .grid-2,
  .grid-3,
  .menu-grid,
  .checkout-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: static;
  }

  .dish-card img {
    height: 220px;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 18px;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    min-height: 380px;
  }

  .glass {
    border-radius: 18px;
  }

  .dish-title-row {
    display: block;
  }
}
