*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f3ede2;
  --card: #fbf8f2;
  --text: #2b2620;
  --text-muted: rgba(43, 38, 32, 0.65);
  --text-dim: rgba(43, 38, 32, 0.5);
  --accent: #c9974b;
  --accent-soft: rgba(201, 151, 74, 0.12);
  --accent-dim: rgba(201, 151, 74, 0.35);
  --border: rgba(43, 38, 32, 0.12);
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 8px 32px rgba(43, 38, 32, 0.08);
  --card-max: 100%;
  --page-pad: 16px;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Page shell ── */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--page-pad);
  padding-bottom: 32px;
}

.site-header {
  width: 100%;
  max-width: 640px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--accent-dim);
  margin-bottom: 20px;
}

.site-header__brand {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.site-header__brand:hover {
  text-decoration: underline;
}

.lang-switcher {
  display: flex;
  gap: 14px;
}

.lang-switcher a,
.lang-switcher span {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--text-dim);
  padding: 4px 0;
  min-width: 24px;
  text-align: center;
}

.lang-switcher a.is-active,
.lang-switcher span.is-active {
  color: var(--accent);
  font-weight: 600;
}

.card {
  width: 100%;
  max-width: 640px;
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 24px 20px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}

/* ── Typography ── */

.kicker {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.65rem, 4.5vw, 2rem);
  line-height: 1.2;
  margin-bottom: 4px;
}

.title--sm {
  font-size: clamp(1.45rem, 4vw, 1.85rem);
}

.divider {
  color: var(--accent);
  font-size: 16px;
  margin: 10px 0;
  line-height: 1;
}

.lead {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.lead--compact {
  margin-bottom: 0;
}

.lead--legal {
  text-align: left;
  margin-bottom: 0;
}

.legal-back {
  margin-top: 24px;
  text-align: center;
}

.legal-back__link {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.legal-back__link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.legal-prose {
  text-align: left;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.legal-prose h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  font-style: normal;
  color: var(--text);
  margin: 1.4rem 0 0.5rem;
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 1rem 0 0.4rem;
}

.legal-prose p {
  margin-bottom: 0.75rem;
}

.legal-prose ul {
  margin: 0.5rem 0 0.75rem 1.1rem;
}

.legal-prose li {
  margin-bottom: 0.35rem;
}

.legal-prose a {
  word-break: break-word;
}

/* ── Step header ── */

.step-header {
  text-align: center;
  margin-bottom: 24px;
}

.step-header__label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ── Progress ── */

.progress {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.progress__bar {
  flex: 1;
  height: 3px;
  background: rgba(43, 38, 32, 0.1);
  border-radius: 2px;
  transition: background 0.2s;
}

.progress__bar.is-active {
  background: var(--accent);
}

/* ── Menu form ── */

.menu-form {
  width: 100%;
  min-width: 0;
  text-align: left;
}

.menu-form fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

/* Menu picker tabs (multiple menus) */

.menu-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.menu-picker__item {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  text-align: center;
}

.menu-picker__item:hover {
  border-color: var(--accent-dim);
}

.menu-picker__item.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent);
}

.menu-picker__text {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
}

/* Hero banner (selected menu) */

.menu-hero {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  margin-bottom: 24px;
}

.menu-hero__banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 280px;
  overflow: hidden;
  background: var(--bg);
}

.menu-hero__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.menu-hero__body {
  padding: 18px 16px 16px;
  text-align: left;
}

.menu-hero__kicker {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.menu-hero__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 3.5vw, 1.6rem);
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--text);
}

.menu-hero__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Options panel */

.options-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 8px;
}

.category-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.category-block__title {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.category-block__badge {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
  text-transform: uppercase;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  min-height: 48px;
}

.option-card:hover {
  border-color: var(--accent-dim);
}

.option-card.is-selected,
.option-card:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent);
}

.option-card input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
}

.option-card__label {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
}

/* Submit */

.form-actions {
  margin-top: 28px;
  padding-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s, background 0.15s;
  text-decoration: none;
  width: 100%;
}

.btn:hover {
  opacity: 0.92;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.99);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Data rows (booking card) ── */

.data-rows {
  text-align: left;
  margin-bottom: 24px;
}

.data-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.data-row:last-child {
  border-bottom: 1px solid var(--border);
}

.data-row__label {
  color: var(--text-dim);
  flex-shrink: 0;
}

.data-row__value {
  text-align: right;
  word-break: break-word;
}

/* ── Alerts ── */

.alert {
  background: var(--accent-soft);
  border: 1px solid var(--accent-dim);
  color: var(--text);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
  text-align: left;
}

.alert--error {
  background: rgba(180, 60, 60, 0.08);
  border-color: rgba(180, 60, 60, 0.3);
}

.notice {
  text-align: left;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.notice--info {
  background: var(--accent-soft);
  border: 1px solid var(--accent-dim);
  color: var(--text-muted);
}

/* ── Review / success ── */

.review-guest {
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
  background: #fff;
}

.review-guest__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.review-guest__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.review-guest__edit {
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}

.review-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  border-top: 1px solid var(--border);
}

.review-item__label {
  color: var(--text-dim);
  flex-shrink: 0;
}

.summary-box {
  text-align: left;
  border: 1px solid var(--accent-dim);
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
}

/* ── Footer ── */

.site-footer {
  width: 100%;
  max-width: 640px;
  margin-top: 28px;
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

.site-footer a {
  margin: 0 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── Tablet ── */

@media (min-width: 600px) {
  :root {
    --page-pad: 24px;
  }

  .card {
    padding: 32px 28px 36px;
  }

  .option-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-picker__item {
    flex: 1 1 calc(50% - 4px);
  }
}

/* ── Desktop ── */

@media (min-width: 900px) {
  .page {
    padding-top: 32px;
  }

  .card {
    padding: 36px 40px 40px;
  }

  .menu-hero__banner {
    max-height: 320px;
  }

  .menu-hero__body {
    padding: 22px 20px 20px;
  }

  .category-block {
    padding: 18px 20px;
  }
}

/* ── Small phones ── */

@media (max-width: 380px) {
  .card {
    padding: 20px 14px 24px;
  }

  .category-block {
    padding: 14px 12px;
  }

  .option-card {
    padding: 10px 12px;
  }
}
