:root {
  --background: #050505;
  --panel: #0f0f0f;
  --panel-strong: #161616;
  --text: #f5d15c;
  --muted: #d5bf79;
  --line: rgba(245, 209, 92, 0.22);
  --accent: #f0c300;
  --accent-strong: #ffd84a;
  --accent-soft: rgba(240, 195, 0, 0.09);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(240, 195, 0, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(240, 195, 0, 0.08), transparent 30%),
    linear-gradient(180deg, var(--background) 0%, #0a0a0a 100%);
  overscroll-behavior-y: none;
}

html {
  scroll-padding-top: 150px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240, 195, 0, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(240, 195, 0, 0.08), transparent 30%),
    linear-gradient(180deg, var(--background) 0%, #0a0a0a 100%);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

.page-shell {
  width: min(980px, calc(100% - 28px));
  margin: 18px auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 88%, transparent), color-mix(in srgb, var(--panel) 96%, black 12%));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.language-gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.language-gate.is-visible {
  display: flex;
}

.language-card {
  width: min(560px, 100%);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(18, 18, 18, 0.96));
  box-shadow: var(--shadow);
  text-align: center;
}

.language-logo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-label {
  margin: 20px 0 10px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  font-weight: 700;
}

.language-title {
  margin: 0;
  font-size: clamp(3rem, 8vw, 4.8rem);
  line-height: 0.95;
}

.language-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.language-option,
.language-trigger {
  font: inherit;
  cursor: pointer;
}

.language-option {
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: #f7e8ad;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.language-option:hover,
.language-trigger:hover {
  transform: translateY(-1px);
}

.language-option:hover {
  border-color: var(--accent);
  background: rgba(240, 195, 0, 0.1);
}

.site-header,
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  margin: -6px 0 0;
  padding: 14px 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 92%, transparent), color-mix(in srgb, var(--panel) 96%, black 12%));
  backdrop-filter: blur(14px);
  flex-direction: column;
}

.header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.family-nav,
.subnav-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.subnav-row[hidden] {
  display: none;
}

.family-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.family-pill.active {
  background: rgba(240, 195, 0, 0.12);
  border-color: rgba(240, 195, 0, 0.35);
  color: var(--accent-strong);
}

.brand,
h1,
h2 {
  font-family: "Cormorant Garamond", serif;
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 100%;
}

.brand-logo {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.brand {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 12px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.nav-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #070707;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  white-space: nowrap;
}

#current-language-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  font-size: 1rem;
  line-height: 1;
}

.language-trigger-fixed {
  flex: 0 0 auto;
}

.language-trigger strong {
  color: var(--accent-strong);
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.featured-offer {
  padding: 26px 0 4px;
}

.featured-card {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(240, 195, 0, 0.15), transparent 32%),
    linear-gradient(180deg, rgba(28, 22, 3, 0.92), rgba(15, 15, 15, 0.98));
  box-shadow: var(--shadow);
}

.featured-card-secondary {
  margin-top: 16px;
  background:
    radial-gradient(circle at top right, rgba(240, 195, 0, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(12, 12, 12, 0.98));
}

.featured-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.featured-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.featured-price {
  flex: 0 0 auto;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-strong);
}

.featured-subtitle {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #f7e8ad;
}

.featured-copy {
  margin: 0;
  max-width: 980px;
  line-height: 1.8;
  color: var(--muted);
}

.featured-finish {
  margin: 18px 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: #f7e8ad;
}

.menu-section {
  padding: 28px 0 10px;
  scroll-margin-top: 150px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1;
}


.menu-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
}

.menu-board-compact {
  grid-template-columns: 1fr;
}

.menu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.menu-row:nth-child(2n) {
  border-right: 0;
}

.menu-row:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.menu-board-compact .menu-row {
  border-right: 0;
}

.menu-board-compact .menu-row:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.menu-board-compact .menu-row:last-child {
  border-bottom: 0;
}

.menu-row:nth-child(odd) {
  background: var(--accent-soft);
}

.menu-row:nth-child(4n + 3),
.menu-row:nth-child(4n + 4) {
  background: var(--accent-soft);
}

.item-name {
  font-size: 1rem;
  font-weight: 600;
  color: #f7e8ad;
}

.item-name-stacked {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-name-stacked small {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--muted);
}

.item-price {
  font-size: 0.98rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent-strong);
}

.site-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  flex-wrap: wrap;
}

.admin-footer-button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(240, 195, 0, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(245, 209, 92, 0.82);
  font: inherit;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.admin-footer-button:hover {
  border-color: rgba(240, 195, 0, 0.4);
  background: rgba(240, 195, 0, 0.08);
}

.admin-gate {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
}

.admin-gate.is-visible {
  display: flex;
}

.admin-panel {
  width: min(1040px, 100%);
  max-height: min(92vh, 980px);
  overflow: auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.99), rgba(18, 18, 18, 0.97));
  box-shadow: var(--shadow);
}

.admin-eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.admin-copy {
  margin: 12px 0 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.admin-login-form,
.admin-editor {
  margin-top: 24px;
}

.admin-editor-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.admin-field {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.admin-field span {
  font-size: 0.9rem;
  color: #f7e8ad;
}

.admin-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: #f7e8ad;
  font: inherit;
}

.admin-error {
  margin: 14px 0 0;
  color: #ff9d76;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.admin-structure-actions,
.admin-structure-list {
  display: grid;
  gap: 12px;
}

.admin-structure-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(240, 195, 0, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.admin-structure-meta {
  display: grid;
  gap: 4px;
}

.admin-structure-meta strong {
  color: #f7e8ad;
}

.admin-structure-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-button-danger {
  border-color: rgba(255, 116, 116, 0.25);
  color: #ffb3b3;
}

.admin-button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.admin-button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #070707;
  font-weight: 700;
}

.admin-groups {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.admin-group {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.admin-group[hidden] {
  display: none;
}

.admin-group-head {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(240, 195, 0, 0.08);
}

.admin-group-head h3 {
  margin: 0;
  font-size: 1.2rem;
  font-family: "Cormorant Garamond", serif;
}

.admin-group-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

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

.admin-item {
  display: grid;
  gap: 8px;
}

.admin-item label {
  font-size: 0.9rem;
  color: #f7e8ad;
}

.admin-item input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(240, 195, 0, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: inherit;
}

.admin-field-file input {
  min-height: auto;
  padding: 12px 14px;
}

.admin-status {
  margin: 0 auto 0 0;
  color: #f7e8ad;
  font-weight: 700;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.88);
  color: var(--accent-strong);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.back-to-top span {
  font-size: 1.2rem;
  line-height: 1;
}

.admin-actions-sticky {
  position: sticky;
  bottom: 0;
  padding-top: 16px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0), rgba(18, 18, 18, 0.98) 34%);
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 16px, 980px);
    padding: 18px;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-top {
    align-items: center;
    flex-direction: row;
  }

  .brand-wrap {
    min-width: 0;
  }

  .brand {
    font-size: clamp(1.55rem, 6.4vw, 2.15rem);
    line-height: 0.95;
  }

  .language-trigger-fixed {
    margin-left: auto;
    min-height: 38px;
    padding: 0 10px;
    gap: 8px;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .family-nav,
  .subnav-row {
    justify-content: flex-start;
  }

  .subnav-row {
    align-items: flex-start;
  }

  .brand-wrap {
    flex-direction: row;
    align-items: center;
  }

  .site-nav {
    flex-wrap: wrap;
    width: 100%;
  }

  .language-options {
    grid-template-columns: 1fr;
  }

  .menu-row {
    border-right: 0;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 18px;
  }

  .featured-card {
    padding: 20px;
  }

  .featured-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-panel {
    padding: 18px;
  }

  .admin-editor-head {
    flex-direction: column;
  }

  .admin-identity-grid {
    grid-template-columns: 1fr;
  }

  .menu-board {
    grid-template-columns: 1fr;
  }

  .menu-row:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .menu-row:last-child {
    border-bottom: 0;
  }
}
