:root {
  --bg: #14201c;
  --bg-soft: #1c2c26;
  --surface: #f3efe6;
  --surface-2: #e7e1d4;
  --ink: #13201b;
  --ink-muted: #4d5c55;
  --brand: #1f3d32;
  --accent: #c48a3a;
  --accent-deep: #9a6828;
  --line: rgba(19, 32, 27, 0.12);
  --white: #fffaf3;
  --shadow: 0 24px 60px rgba(10, 18, 14, 0.28);
  --radius: 18px;
  --font-display: "Literata", Georgia, serif;
  --font-body: "Geologica", "Segoe UI", sans-serif;
  --header-h: 72px;
  --shell: min(1120px, calc(100% - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  color: var(--white);
  background: linear-gradient(180deg, rgba(12, 20, 17, 0.72), rgba(12, 20, 17, 0));
  transition: background 0.35s ease, backdrop-filter 0.35s ease, color 0.35s ease;
}

.site-header.is-solid {
  background: rgba(243, 239, 230, 0.92);
  color: var(--ink);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 1.35rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 450;
  opacity: 0.88;
}

.nav a:hover {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-cart,
.nav-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.62rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 250, 243, 0.4);
  background: rgba(255, 250, 243, 0.12);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  flex-shrink: 0;
}

.site-header.is-solid .header-cart {
  border-color: rgba(19, 32, 27, 0.18);
  background: #fff;
  color: var(--brand);
  box-shadow: 0 1px 0 rgba(19, 32, 27, 0.06);
}

.header-cart .cart-badge,
.nav-cart .cart-badge {
  background: var(--accent);
  color: #1a1408;
}

.nav-cart {
  display: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1408;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--white);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    url("images/hero.png")
    center / cover no-repeat;
  transform: scale(1.06);
  animation: hero-zoom 12s ease-out forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 22, 18, 0.72) 0%, rgba(12, 22, 18, 0.4) 50%, rgba(12, 22, 18, 0.65) 100%),
    linear-gradient(180deg, rgba(12, 22, 18, 0.2) 0%, rgba(12, 22, 18, 0.55) 55%, rgba(12, 22, 18, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
  padding: clamp(5rem, 12vh, 8rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 8vh, 5rem);
  animation: rise 0.9s ease-out both;
  display: grid;
  justify-items: center;
}

.brand-mark {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero h1 {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  font-size: 1.08rem;
  color: rgba(255, 250, 243, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #1a1408;
}

.btn-primary:hover {
  background: #d49a48;
}

.btn-ghost {
  border-color: rgba(255, 250, 243, 0.45);
  color: var(--white);
  background: rgba(255, 250, 243, 0.06);
}

.btn-secondary {
  border-color: rgba(31, 61, 50, 0.28);
  color: var(--brand);
  background: rgba(255, 250, 243, 0.55);
}

.btn-secondary:hover {
  background: rgba(255, 250, 243, 0.9);
  border-color: var(--brand);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 1rem;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

#top,
#menu,
#about,
#reviews,
#booking,
#contacts {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head.is-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2,
.about-copy h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  color: var(--brand);
}

.section-head p,
.about-copy > p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.menu-section {
  background:
    radial-gradient(circle at top right, rgba(196, 138, 58, 0.12), transparent 40%),
    var(--surface);
}

.menu-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1.6rem;
}

.menu-tab {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-muted);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.menu-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.menu-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 250, 243, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.55s ease forwards;
}

.menu-item-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}

.menu-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.menu-item:hover .menu-item-photo img {
  transform: scale(1.04);
}

.menu-item-body {
  padding: 1.05rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.menu-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
  font-weight: 600;
}

.menu-item p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
  flex: 1;
}

.menu-item-foot {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.menu-item .price {
  font-weight: 650;
  color: var(--accent-deep);
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem;
  background: rgba(255, 250, 243, 0.9);
}

.qty-controls button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.qty-controls button:hover {
  background: #2a5244;
}

.qty-value {
  min-width: 1.2rem;
  text-align: center;
  font-weight: 600;
}

.about-section {
  background: var(--bg);
  color: var(--white);
}

.about-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.about-copy h2 {
  color: var(--white);
}

.about-copy > p {
  color: rgba(255, 250, 243, 0.78);
}

.about-points {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.about-points li {
  padding-left: 1.1rem;
  position: relative;
  color: rgba(255, 250, 243, 0.9);
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.about-visual {
  min-height: 360px;
  border-radius: calc(var(--radius) + 4px);
  background:
    url("images/about.png")
    center / cover no-repeat;
  box-shadow: var(--shadow);
}

.reviews-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(196, 138, 58, 0.1), transparent 42%),
    var(--surface-2);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

@media (max-width: 980px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.review {
  padding: 1.35rem 1.3rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.88);
}

.review-stars {
  color: var(--accent-deep);
  letter-spacing: 0.08em;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.review-text {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--ink);
}

.review-author {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.booking-section {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.booking-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: start;
}

.booking-form,
.status-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1.35rem;
  border-radius: calc(var(--radius) + 6px);
  background: rgba(255, 250, 243, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(20, 32, 28, 0.08);
}

.booking-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-form h3,
.status-panel h3 {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--brand);
}

.status-panel > p {
  margin: 0;
  color: var(--ink-muted);
}

.booking-form label,
.status-inline-form label,
.status-form label {
  display: grid;
  gap: 0.35rem;
}

.booking-form label span,
.status-inline-form label span,
.status-form label span {
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--ink-muted);
}

.booking-form input,
.booking-form textarea,
.status-inline-form input,
.status-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: #fff;
  color: var(--ink);
}

.booking-form input:focus,
.booking-form textarea:focus,
.status-inline-form input:focus,
.status-form input:focus {
  outline: 2px solid rgba(196, 138, 58, 0.45);
  border-color: var(--accent);
}

.booking-form .full {
  grid-column: 1 / -1;
}

.comment-with-cart {
  display: grid;
  gap: 0.55rem;
}

.comment-with-cart label {
  display: grid;
  gap: 0.35rem;
}

.comment-cart-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
}

.btn-compact {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  border-radius: 12px;
  width: fit-content;
}

.btn-compact:disabled,
.btn-compact[aria-disabled="true"],
.btn-compact.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.comment-cart-hint {
  margin: 0;
  flex: 1 1 12rem;
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

.comment-cart-hint.is-toast {
  color: var(--brand);
  font-weight: 560;
}

.table-map-block {
  display: grid;
  gap: 0.65rem;
  padding: 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.65);
}

.table-map-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.table-map-head span {
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--ink-muted);
}

.table-map-head strong {
  color: var(--brand);
  font-size: 0.95rem;
}

.table-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(72px, auto));
  gap: 0.55rem;
  padding: 0.85rem;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(31, 61, 50, 0.08), rgba(31, 61, 50, 0.03)),
    #e8e2d4;
  border: 1px dashed rgba(19, 32, 27, 0.18);
}

.table-spot {
  display: grid;
  place-content: center;
  gap: 0.1rem;
  border: 1px solid rgba(31, 61, 50, 0.22);
  border-radius: 14px;
  background: #fffaf3;
  color: var(--ink);
  cursor: pointer;
  padding: 0.45rem;
  min-height: 72px;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.table-spot strong {
  font-size: 1.15rem;
  line-height: 1;
}

.table-spot span,
.table-spot em {
  font-size: 0.72rem;
  font-style: normal;
  color: var(--ink-muted);
}

.table-spot:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.table-spot.is-picked {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.table-spot.is-picked span,
.table-spot.is-picked em {
  color: rgba(255, 250, 243, 0.82);
}

.table-spot.is-busy,
.table-spot.is-small,
.table-spot:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: rgba(19, 32, 27, 0.08);
}

.table-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.table-map-legend .leg::before {
  content: "";
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 3px;
  margin-right: 0.3rem;
  vertical-align: middle;
}

.table-map-legend .free::before {
  background: #fffaf3;
  border: 1px solid rgba(31, 61, 50, 0.25);
}

.table-map-legend .picked::before {
  background: var(--brand);
}

.table-map-legend .busy::before {
  background: rgba(19, 32, 27, 0.25);
}

.status-inline-form {
  display: grid;
  gap: 0.85rem;
}

.form-note {
  margin: 0;
  min-height: 1.4em;
  color: var(--brand);
  font-weight: 500;
}

.text-link-btn {
  border: 0;
  background: transparent;
  color: var(--accent-deep);
  font-weight: 560;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.status-result {
  display: grid;
  gap: 0.75rem;
}

.status-empty {
  margin: 0;
  color: var(--ink-muted);
}

.status-card {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.85);
}

.status-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.status-card p {
  margin: 0;
  font-size: 0.95rem;
}

.status-decision {
  margin: 0.35rem 0 0.55rem !important;
  font-weight: 700;
  font-size: 1.05rem !important;
  color: var(--brand);
}

.status-meta {
  margin-top: 0.25rem !important;
  color: var(--ink-muted) !important;
  font-size: 0.88rem !important;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(31, 61, 50, 0.1);
  color: var(--brand);
}

.status-badge.status-new {
  background: rgba(196, 138, 58, 0.18);
  color: var(--accent-deep);
}

.status-badge.status-approved,
.status-badge.status-confirmed {
  background: rgba(56, 128, 90, 0.16);
  color: #1f6a43;
}

.status-badge.status-rejected {
  background: rgba(180, 70, 55, 0.14);
  color: #9b3a2e;
}

.status-badge.status-done {
  background: rgba(19, 32, 27, 0.1);
  color: var(--ink-muted);
}

.contacts-section {
  background: var(--surface);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.7);
  border: 1px solid var(--line);
}

.contact-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.contact-card p {
  margin: 0 0 0.75rem;
  color: var(--ink-muted);
}

.text-link {
  display: block;
  color: var(--accent-deep);
  font-weight: 560;
  margin-top: 0.25rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  background: var(--surface-2);
}

.map-embed iframe {
  width: 100%;
  height: 340px;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.25rem;
  width: var(--shell);
  margin: 0 auto;
  padding: 1.4rem 0;
  color: rgba(255, 250, 243, 0.82);
}

.site-footer .footer-staff {
  order: -1;
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 250, 243, 0.45);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer .footer-staff:hover {
  color: var(--accent);
}

footer.site-footer {
  position: relative;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 1.4rem clamp(1rem, 4vw, 2.5rem) 1.6rem;
  background: var(--bg);
  z-index: 1;
}

.site-footer div {
  display: grid;
  gap: 0.2rem;
}

.site-footer strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
}

.site-footer a {
  color: var(--accent);
  font-weight: 560;
}

.cart-badge {
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1408;
  font-size: 0.8rem;
  display: inline-grid;
  place-items: center;
}

.cart-badge[hidden] {
  display: none !important;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(12, 20, 17, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cart-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 55;
  width: min(380px, 100%);
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(104%);
  transition: transform 0.28s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1.1rem;
}

.cart-panel.is-open {
  transform: translateX(0);
}

.cart-panel-head,
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cart-panel-head h2 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--brand);
}

.cart-empty {
  color: var(--ink-muted);
}

.cart-lines {
  overflow: auto;
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 0.75rem 0;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 250, 243, 0.85);
}

.cart-line strong {
  display: block;
}

.cart-line span {
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.cart-line-side {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
}

.cart-panel-foot {
  display: grid;
  gap: 0.65rem;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

body.modal-open,
body.cart-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 17, 0.55);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 1.5rem 1.4rem 1.35rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.modal-panel h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--brand);
}

.modal-lead {
  margin: 0 0 1.1rem;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.status-form {
  display: grid;
  gap: 0.85rem;
}

.code-panel {
  text-align: center;
}

.code-value {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.8rem);
  letter-spacing: 0.08em;
  color: var(--brand);
}

@keyframes hero-zoom {
  to {
    transform: scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-layout,
  .about-shell,
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .header-actions .header-cta {
    display: none;
  }

  .header-actions {
    display: flex;
  }

  .header-cart {
    display: inline-flex;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 0.55rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-header.is-open {
    background: rgba(243, 239, 230, 0.98);
    color: var(--ink);
  }

  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: rgba(243, 239, 230, 0.98);
    z-index: 41;
    max-height: calc(100dvh - var(--header-h));
    overflow: auto;
    box-shadow: 0 12px 24px rgba(12, 20, 17, 0.12);
  }

  .site-header.is-open .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    opacity: 1;
  }

  .site-header.is-open .nav-cart {
    display: flex;
    font-weight: 600;
    color: var(--brand);
  }

  .site-header.is-open .nav-cart {
    margin-top: 0.5rem;
    width: fit-content;
    background: var(--accent);
    color: #1a1408;
    border: 0;
  }
}

@media (max-width: 640px) {
  .menu-grid,
  .booking-form,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: left;
    justify-items: start;
  }

  .hero-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .header-cart {
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
  }

  .qty-controls button {
    width: 40px;
    height: 40px;
  }

  .table-map {
    gap: 0.4rem;
    padding: 0.55rem;
    grid-template-rows: repeat(3, minmax(58px, auto));
  }

  .table-spot {
    min-height: 58px;
    padding: 0.3rem 0.2rem;
    border-radius: 10px;
  }

  .table-spot strong {
    font-size: 1.05rem;
  }

  .table-spot span {
    font-size: 0.65rem;
  }

  .table-spot em {
    display: none;
  }

  .table-map-legend {
    font-size: 0.72rem;
    gap: 0.5rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .cart-panel {
    width: 100%;
  }

  .modal-panel {
    width: min(100%, 460px);
    max-height: min(90dvh, 720px);
    overflow: auto;
  }

  .staff-panel {
    width: 100%;
  }

  .staff-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .staff-tabs {
    width: 100%;
  }

  .staff-tab {
    flex: 1;
  }

  .staff-row-2 {
    grid-template-columns: 1fr;
  }
}

/* —— Staff mode (same site, drawer) —— */
.staff-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(12, 20, 17, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.staff-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.staff-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 56;
  width: min(760px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.2rem 1.4rem;
  background: linear-gradient(180deg, #f7f3ea, var(--surface));
  color: var(--ink);
  box-shadow: -18px 0 50px rgba(10, 18, 14, 0.28);
  transform: translateX(104%);
  transition: transform 0.32s ease;
  overflow: auto;
}

.staff-panel.is-open {
  transform: translateX(0);
}

.staff-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
}

.staff-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-deep);
}

.staff-panel-head h2 {
  margin: 0.15rem 0 0;
  font-size: 1.25rem;
}

.staff-login-lead {
  margin: 0 0 0.85rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.staff-login-form {
  display: grid;
  gap: 0.75rem;
  max-width: 360px;
}

.staff-login-form label,
.staff-menu-form label,
.staff-settings-form label {
  display: grid;
  gap: 0.3rem;
}

.staff-login-form label span,
.staff-menu-form label span,
.staff-settings-form label span {
  color: var(--ink-muted);
  font-size: 0.85rem;
}

.staff-login-form input,
.staff-menu-form input,
.staff-menu-form textarea,
.staff-menu-form select,
.staff-settings-form input,
.staff-settings-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  background: #fffaf3;
  color: var(--ink);
}

.password-field {
  position: relative;
  display: grid;
}

.password-field input {
  padding-right: 2.8rem;
}

.password-toggle {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 0;
}

.password-toggle:hover {
  color: var(--accent-deep);
  background: rgba(196, 138, 58, 0.12);
}

.password-toggle svg {
  grid-area: 1 / 1;
  display: block;
  pointer-events: none;
}

.password-toggle svg[hidden],
.password-toggle svg.is-hidden {
  display: none !important;
}

.staff-error {
  color: #b45445;
  min-height: 1.2em;
}

.staff-workspace {
  display: grid;
  gap: 1rem;
  min-height: 0;
}

.staff-workspace.is-hidden,
.staff-login.is-hidden,
.staff-pane {
  display: none;
}

.staff-pane.is-active {
  display: grid;
  gap: 0.9rem;
}

#staff-pane-menu.is-active {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.staff-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.staff-toolbar-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.staff-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.staff-tab {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-muted);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  font-weight: 560;
}

.staff-tab.is-active,
.staff-tab:hover {
  background: rgba(196, 138, 58, 0.14);
  color: var(--ink);
  border-color: transparent;
}

.staff-logout {
  white-space: nowrap;
}

.staff-pane-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.staff-pane-head h3,
.staff-menu-form h3,
.staff-settings-form h3 {
  margin: 0;
  font-size: 1.1rem;
}

.staff-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.staff-stats div {
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(31, 61, 50, 0.06);
  border: 1px solid var(--line);
}

.staff-stats span {
  display: block;
  color: var(--ink-muted);
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.staff-stats strong {
  font-size: 1.35rem;
}

.staff-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 250, 243, 0.7);
}

.staff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 640px;
}

.staff-table th,
.staff-table td {
  text-align: left;
  padding: 0.7rem 0.55rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.staff-table th {
  color: var(--ink-muted);
  font-weight: 500;
}

.staff-table .booking-summary-meta {
  margin-top: 0.2rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.staff-status {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.staff-status-new {
  background: rgba(196, 138, 58, 0.18);
  color: #8a5a18;
}

.staff-status-approved,
.staff-status-confirmed {
  background: rgba(70, 140, 96, 0.16);
  color: #2f6d45;
}

.staff-status-rejected {
  background: rgba(180, 84, 69, 0.16);
  color: #9a4034;
}

.staff-status-done {
  background: rgba(77, 92, 85, 0.12);
  color: var(--ink-muted);
}

.staff-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.staff-row-actions button {
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: rgba(196, 138, 58, 0.16);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 560;
}

.staff-row-actions .danger {
  background: rgba(180, 84, 69, 0.14);
  color: #9a4034;
}

.staff-menu-form,
.staff-settings-form {
  display: grid;
  gap: 0.7rem;
  padding: 0.95rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.75);
}

.staff-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.staff-form-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.staff-image-preview {
  width: 96px;
  height: 72px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2) center / cover no-repeat;
}

.staff-image-preview.is-empty {
  background-image: none;
}

.staff-menu-list {
  display: grid;
  gap: 0.65rem;
}

.staff-menu-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.7rem;
  align-items: start;
  padding: 0.8rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.7);
}

.staff-menu-photo {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(196, 138, 58, 0.18), rgba(31, 61, 50, 0.08))
    center / cover no-repeat;
}

.staff-menu-item h4 {
  margin: 0 0 0.2rem;
  font-size: 0.98rem;
}

.staff-menu-item p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

.staff-menu-item .meta {
  margin-top: 0.35rem;
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.86rem;
}

body.staff-open {
  overflow: hidden;
}

@media (max-width: 820px) {
  #staff-pane-menu.is-active {
    grid-template-columns: 1fr;
  }

  .staff-stats {
    grid-template-columns: 1fr;
  }

  .staff-menu-item {
    grid-template-columns: 56px 1fr;
  }

  .staff-menu-item .staff-row-actions {
    grid-column: 1 / -1;
  }
}
