﻿/*
  GAUDERE'S Carta Digital
  Diseno premium oliva rustico moderno
  Z-index map:
  --z-header: 40
  --z-detail: 60
  --z-overlay: 55
  --z-preloader: 80
*/

:root {
  --color-bg: #f4efe6;
  --color-surface: #fffdf8;
  --color-surface-soft: #f8f3ea;
  --color-text: #1f2a22;
  --color-muted: #5d665f;
  --color-olive: #6d7f4f;
  --color-olive-dark: #4e5f36;
  --color-olive-soft: #c8d1b8;
  --color-accent: #b6824b;
  --color-line: #d8d3c6;
  --color-line-strong: rgba(109, 127, 79, 0.38);
  --color-error: #ae4d4d;
  --radius-sm: 0.5rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.2rem;
  --shadow-soft: 0 10px 22px rgba(20, 24, 20, 0.08);
  --shadow-mid: 0 16px 34px rgba(20, 24, 20, 0.14);
  --container: min(1120px, 94vw);
  --z-header: 40;
  --z-overlay: 55;
  --z-detail: 60;
  --z-preloader: 80;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--color-text);
  background:
    repeating-linear-gradient(
      0deg,
      rgba(32, 40, 30, 0.008),
      rgba(32, 40, 30, 0.008) 1px,
      transparent 1px,
      transparent 6px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(32, 40, 30, 0.006),
      rgba(32, 40, 30, 0.006) 1px,
      transparent 1px,
      transparent 8px
    ),
    radial-gradient(circle at 12% 0%, rgba(109, 127, 79, 0.15), transparent 36%),
    radial-gradient(circle at 85% 0%, rgba(182, 130, 75, 0.14), transparent 28%),
    var(--color-bg);
  min-height: 100dvh;
  line-height: 1.6;
  background-attachment: fixed;
}

body.nav-open {
  overflow: hidden;
}

body.detail-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.02em;
  color: #1b241d;
}

p,
ul,
ol {
  margin: 0;
}

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

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -50px;
  left: 1rem;
  z-index: calc(var(--z-preloader) + 1);
  background: #111712;
  color: #ffffff;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(109, 127, 79, 0.55);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: var(--color-olive-dark);
  margin-bottom: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid var(--color-olive);
  border-radius: 999px;
  background: var(--color-olive);
  color: #f7fbf4;
  text-decoration: none;
  padding: 0.6rem 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--color-olive-dark);
}

.btn:active {
  transform: translateY(0);
}

.btn.btn-outline {
  background: transparent;
  color: var(--color-olive-dark);
}

.btn.btn-outline:hover {
  color: #f7fbf4;
}

.btn.btn-sm {
  padding: 0.42rem 0.78rem;
  font-size: 0.9rem;
}

.link-soft {
  color: var(--color-olive-dark);
  text-decoration: underline;
  text-decoration-color: rgba(109, 127, 79, 0.5);
  text-underline-offset: 0.18rem;
  font-weight: 500;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(109, 127, 79, 0.22);
}

.header-shell {
  min-height: 76px;
  display: grid;
  align-items: center;
  gap: 1rem;
  grid-template-columns: auto auto 1fr;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  object-fit: contain;
  background: #fffdf8;
  border: 1px solid rgba(109, 127, 79, 0.25);
  box-shadow: var(--shadow-soft);
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  font-weight: 700;
}

.brand-motto {
  font-size: 0.72rem;
  color: var(--color-muted);
  letter-spacing: 0.03em;
}

.menu-toggle {
  border: 1px solid rgba(109, 127, 79, 0.34);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  background: transparent;
  padding: 0.6rem;
  display: none;
  flex-direction: column;
  gap: 0.24rem;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background: var(--color-text);
  transition: transform 0.24s ease, opacity 0.24s ease;
  transform-origin: center;
}

body.nav-open .menu-toggle {
  background: rgba(109, 127, 79, 0.12);
  border-color: rgba(109, 127, 79, 0.5);
}

body.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.primary-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.primary-nav a {
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-weight: 500;
}

.primary-nav a:not(.btn):hover {
  background: rgba(109, 127, 79, 0.12);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(19, 25, 20, 0.34);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: calc(var(--z-header) + 1);
}

.nav-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-section {
  padding: clamp(1.8rem, 4vw, 3.2rem) 0;
}

.hero-shell {
  background:
    linear-gradient(120deg, rgba(20, 28, 21, 0.82), rgba(73, 90, 58, 0.78)),
    linear-gradient(35deg, #687b4d, #987653);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3.5vw, 2.2rem);
  color: #f4f8f1;
  box-shadow: var(--shadow-mid);
  border: 1px solid rgba(255, 255, 255, 0.22);
  position: relative;
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: calc(var(--radius-lg) - 0.55rem);
  pointer-events: none;
}

.hero-shell h1 {
  font-size: clamp(2.15rem, 6vw, 3.7rem);
  color: inherit;
}

.hero-copy {
  font-size: clamp(1rem, 2.2vw, 1.16rem);
  margin-top: 0.55rem;
}

.hero-motto {
  margin-top: 0.5rem;
  color: #e2dbc9;
  font-style: italic;
}

.hero-meta {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.reserve-cta-section {
  padding: 0 0 0.72rem;
}

.reserve-open-btn {
  width: 100%;
  max-width: 420px;
  border: 1px solid rgba(109, 127, 79, 0.4);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    132deg,
    rgba(255, 253, 248, 0.96),
    rgba(230, 238, 216, 0.92)
  );
  color: var(--color-olive-dark);
  padding: 0.72rem 0.95rem;
  display: grid;
  gap: 0.12rem;
  justify-items: start;
  cursor: pointer;
  box-shadow:
    0 10px 18px rgba(25, 32, 24, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.64) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.reserve-open-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 12px 24px rgba(25, 32, 24, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.64) inset;
}

.reserve-open-title {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.reserve-open-subtitle {
  font-size: 0.83rem;
  color: var(--color-muted);
}

.status-badge,
.status-line strong {
  border-radius: 999px;
  border: 1px solid rgba(240, 245, 236, 0.4);
  padding: 0.28rem 0.7rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
}

.status-badge.is-open,
.status-line strong.is-open {
  background: rgba(70, 151, 89, 0.18);
  border-color: rgba(70, 151, 89, 0.45);
}

.status-badge.is-closed,
.status-line strong.is-closed {
  background: rgba(177, 82, 82, 0.2);
  border-color: rgba(177, 82, 82, 0.44);
}

.menu-controls {
  margin-top: 1rem;
  padding: 0.8rem 0 0.7rem;
  background: rgba(244, 239, 230, 0.95);
  border-bottom: 1px solid rgba(109, 127, 79, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.controls-shell {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 2.1fr 2.1fr 1.35fr;
}

.controls-search,
.controls-extra {
  display: grid;
  gap: 0.35rem;
}

.controls-search label,
.controls-extra label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-olive-dark);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: linear-gradient(180deg, #fffdf8, #f6efe4);
  padding: 0.35rem 0.65rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.search-field i {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.search-field input {
  flex: 1;
  border: 0;
  background: transparent;
  min-width: 0;
  padding: 0.25rem 0;
}

.search-field input:focus {
  outline: 0;
}

.controls-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
  align-content: center;
}

.controls-tags label {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  background: var(--color-surface);
  border: 1px solid rgba(109, 127, 79, 0.25);
  border-radius: 999px;
  padding: 0.38rem 0.6rem;
  font-size: 0.88rem;
  cursor: pointer;
}

.controls-tags input {
  accent-color: var(--color-olive);
}

.controls-extra select {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fffdf8, #f6efe4);
  padding: 0.5rem 0.65rem;
  min-height: 42px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.controls-extra .btn strong {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  font-size: 0.72rem;
}

.controls-extra .btn.is-active {
  background: var(--color-error);
  border-color: var(--color-error);
  color: #fff7f7;
}

.category-chips {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.55rem;
  padding: 1.35rem 0 0.6rem;
  border-top: 1px dotted var(--color-line-strong);
  border-bottom: 1px dotted var(--color-line-strong);
  position: relative;
}

.category-chips::before {
  content: "Categorias";
  position: absolute;
  top: 0.25rem;
  left: 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.category-note {
  margin-top: 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  font-style: italic;
}

.category-note::before {
  content: "";
  width: 18px;
  height: 1px;
  background: rgba(109, 127, 79, 0.38);
}

.chip {
  width: 100%;
  border: 1px solid rgba(109, 127, 79, 0.3);
  border-radius: 999px;
  padding: 0.38rem 0.78rem;
  background: linear-gradient(180deg, #fffdf8, #f6efe4);
  cursor: pointer;
  color: var(--color-olive-dark);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  min-height: 2.35rem;
}

.chip.is-active {
  background: var(--color-olive);
  border-color: var(--color-olive);
  color: #f5faf2;
}

.menu-section {
  padding: 1.2rem 0 1.6rem;
  position: relative;
}

.menu-section::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 0.85rem;
  background: repeating-linear-gradient(
    90deg,
    rgba(109, 127, 79, 0.35) 0 6px,
    transparent 6px 12px
  );
}

.menu-layout {
  min-height: 220px;
}

.menu-grid,
.menu-skeleton {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.menu-card {
  background: linear-gradient(180deg, #fffdf8 0%, #f7f1e6 100%);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  padding: 0.85rem 0.9rem;
  display: grid;
  gap: 0.5rem;
  cursor: pointer;
  position: relative;
}

.menu-card::before {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border: 1px solid rgba(109, 127, 79, 0.16);
  border-radius: calc(var(--radius-lg) - 0.45rem);
  pointer-events: none;
}

.menu-card-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: flex-start;
  padding-bottom: 0.25rem;
  border-bottom: 1px dotted rgba(109, 127, 79, 0.28);
}

.menu-card-title {
  display: grid;
  gap: 0.15rem;
}

.menu-card h3 {
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  letter-spacing: 0.02em;
}

.price {
  font-weight: 700;
  color: var(--color-olive-dark);
  white-space: nowrap;
  font-variant-numeric: oldstyle-nums;
}

.menu-card-copy {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.menu-card-meta {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  align-items: center;
  padding-top: 0.25rem;
  border-top: 1px dotted rgba(109, 127, 79, 0.22);
}

.allergen-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
  align-items: flex-start;
  min-height: 3rem;
}

.alergeno-chip {
  border: 1px solid rgba(109, 127, 79, 0.36);
  border-radius: 0.8rem;
  background: var(--color-surface-soft);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.14rem;
  padding: 0.28rem 0.34rem;
  min-width: 3.25rem;
  max-width: 4.35rem;
  text-align: center;
}

.alergeno-chip-card {
  min-height: 3rem;
}

.alergeno-chip-detail {
  min-height: 3.45rem;
  min-width: 3.45rem;
  padding: 0.34rem 0.42rem;
}

.alergeno-chip-card .alergeno-icon,
.alergeno-chip-card .alergeno-fallback-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.alergeno-chip-detail .alergeno-icon,
.alergeno-chip-detail .alergeno-fallback-icon {
  width: 1.3rem;
  height: 1.3rem;
}

.alergeno-icon {
  object-fit: contain;
  display: block;
}

.alergeno-fallback {
  color: var(--color-olive-dark);
}

.alergeno-fallback-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.alergeno-fallback svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.alergeno-label {
  font-size: 0.62rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--color-olive-dark);
  opacity: 0.9;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.allergen-muted {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.favorite-btn {
  border: 1px solid var(--color-line);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  color: #6b716d;
  cursor: pointer;
}

.favorite-btn.is-on {
  color: var(--color-error);
  border-color: rgba(174, 77, 77, 0.4);
}

.menu-card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  padding-top: 0.05rem;
}

.link-btn {
  background: transparent;
  border: 0;
  color: var(--color-olive-dark);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 0.18rem;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.menu-skeleton {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-skeleton.is-hiding {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
}

.skeleton-card {
  height: 142px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(109, 127, 79, 0.17);
  background: linear-gradient(90deg, rgba(109, 127, 79, 0.09), rgba(109, 127, 79, 0.18), rgba(109, 127, 79, 0.09));
  background-size: 240% 100%;
  animation: skeletonPulse 1.15s linear infinite;
}

@keyframes skeletonPulse {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -120% 0;
  }
}

.menu-empty {
  margin-top: 0.9rem;
  background: #fff6f6;
  border: 1px dashed rgba(174, 77, 77, 0.35);
  border-radius: var(--radius-md);
  padding: 0.95rem;
}

.menu-error {
  background: #fff6f6;
  border: 1px solid rgba(174, 77, 77, 0.4);
  border-radius: var(--radius-md);
  padding: 0.8rem;
}

.contact-section {
  padding: 1.2rem 0 1.8rem;
  position: relative;
}

.contact-section::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 0.9rem;
  background: repeating-linear-gradient(
    90deg,
    rgba(109, 127, 79, 0.35) 0 6px,
    transparent 6px 12px
  );
}

.contact-shell {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
  background: linear-gradient(180deg, #fffdf8 0%, #f7f1e6 100%);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
  position: relative;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0.5rem;
  border: 1px solid rgba(109, 127, 79, 0.16);
  border-radius: calc(var(--radius-lg) - 0.5rem);
  pointer-events: none;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.34rem;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(109, 127, 79, 0.2);
  padding-bottom: 0.26rem;
}

.schedule-list li:last-child {
  border-bottom: 0;
}

.schedule-list.compact li {
  font-size: 0.93rem;
}

.site-footer {
  border-top: 1px solid rgba(109, 127, 79, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(239, 232, 219, 0.98)),
    #efe8db;
  padding: 1.6rem 0 1.8rem;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 6%;
  right: 6%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(109, 127, 79, 0.35) 0 7px,
    transparent 7px 14px
  );
}

.footer-shell {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-block {
  display: grid;
  gap: 0.55rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand-text {
  display: grid;
  gap: 0.18rem;
}

.footer-logo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 16px;
  object-fit: contain;
  background: #fffdf8;
  border: 1px solid rgba(109, 127, 79, 0.25);
  box-shadow: var(--shadow-soft);
}

.footer-block h2 {
  font-size: 1.35rem;
  letter-spacing: 0.05em;
}

.footer-block h3 {
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-olive-dark);
}

.footer-motto {
  color: var(--color-muted);
  font-style: italic;
}

.footer-actions {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
}

.footer-dev .dev-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(109, 127, 79, 0.25);
  background: linear-gradient(180deg, #fffdf8, #f4ecdf);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.dev-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: contain;
  background: #fffdf8;
  border: 1px solid rgba(109, 127, 79, 0.2);
  padding: 0.4rem;
}

.dev-meta {
  display: grid;
  gap: 0.2rem;
}

.dev-name {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-olive-dark);
}

.dev-role {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.dev-note {
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.dev-btn {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  padding-inline: 0.85rem;
  border-style: dashed;
}

.status-line {
  display: grid;
  gap: 0.3rem;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-preloader);
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(209, 217, 196, 0.5), transparent 45%),
    linear-gradient(180deg, rgba(248, 244, 236, 0.98), rgba(240, 233, 220, 0.98));
  transition: opacity 0.28s ease;
}

.preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.preloader::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.35) 0 1px,
      transparent 1px 5px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(109, 127, 79, 0.06) 0 2px,
      transparent 2px 16px
    );
  opacity: 0.45;
  animation: preloaderDrift 14s ease-in-out infinite;
}

.preloader::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 55%, rgba(23, 28, 22, 0.16) 100%);
  opacity: 0.4;
}

.preloader-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  border: 1px solid rgba(109, 127, 79, 0.28);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.96);
  padding: 1.5rem 1.75rem 1.4rem;
  width: min(360px, 90vw);
  box-shadow: var(--shadow-mid), inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.preloader-inner::before {
  content: "";
  position: absolute;
  inset: 0.5rem;
  border: 1px dotted rgba(109, 127, 79, 0.22);
  border-radius: 14px;
  pointer-events: none;
}

.preloader-inner::after {
  content: "";
  position: absolute;
  inset: 0.9rem;
  border: 1px solid rgba(109, 127, 79, 0.12);
  border-radius: 12px;
  pointer-events: none;
}

.preloader-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  color: var(--color-olive-dark);
}

.preloader-ornament::before,
.preloader-ornament::after {
  content: "";
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109, 127, 79, 0.55), transparent);
}

.preloader-ornament span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(109, 127, 79, 0.5);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(109, 127, 79, 0.08);
}

.preloader-logo-shell {
  width: 96px;
  height: 96px;
  margin: 0 auto 0.65rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  position: relative;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(246, 239, 226, 0.92));
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(109, 127, 79, 0.2);
}

.preloader-logo-ring {
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  border: 1px solid rgba(109, 127, 79, 0.25);
  border-top-color: rgba(109, 127, 79, 0.55);
  animation: preloaderRing 5s linear infinite;
}

.preloader-logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: contain;
  background: #fffdf8;
  border: 1px solid rgba(109, 127, 79, 0.25);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
}

.preloader-title {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.preloader-text {
  color: var(--color-muted);
  margin-top: 0.2rem;
  font-size: 0.9rem;
}

.preloader-dots {
  display: inline-flex;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.preloader-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(109, 127, 79, 0.55);
  animation: preloaderDot 1.1s ease-in-out infinite;
}

.preloader-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.preloader-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes preloaderDot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes preloaderRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes preloaderDrift {
  0% {
    transform: translate3d(-1%, -1%, 0);
  }
  50% {
    transform: translate3d(1%, 1%, 0);
  }
  100% {
    transform: translate3d(-1%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader::before,
  .preloader-logo-ring,
  .preloader-dots span {
    animation: none;
  }
}

.reserve-shell {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-detail) + 8);
  pointer-events: none;
}

.reserve-shell.is-open {
  pointer-events: auto;
}

.reserve-overlay {
  border: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 21, 17, 0.45);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.reserve-shell.is-open .reserve-overlay {
  opacity: 1;
}

.reserve-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.98);
  width: min(620px, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 2rem);
  border: 1px solid rgba(109, 127, 79, 0.26);
  border-radius: var(--radius-lg);
  background: #fffdf8;
  box-shadow: var(--shadow-mid);
  opacity: 0;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.reserve-shell.is-open .reserve-modal {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.reserve-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.9rem 0.95rem 0.75rem;
  border-bottom: 1px solid var(--color-line);
}

.reserve-form {
  padding: 0.82rem 0.95rem 0.95rem;
  overflow: auto;
  display: grid;
  gap: 0.72rem;
}

.reserve-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.62rem;
}

@media (min-width: 640px) {
  .reserve-row {
    grid-template-columns: 1fr minmax(130px, 170px);
  }

  .reserve-row .reserve-field:first-child:last-child {
    grid-column: 1 / -1;
  }
}

.reserve-field {
  display: grid;
  gap: 0.32rem;
}

.reserve-field span {
  font-size: 0.86rem;
  font-weight: 600;
}

.reserve-field input,
.reserve-field select,
.reserve-field textarea {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  padding: 0.52rem 0.62rem;
}

.reserve-field textarea {
  resize: vertical;
  min-height: 72px;
}

.reserve-calendar {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: linear-gradient(
    180deg,
    rgba(248, 243, 234, 0.75),
    rgba(255, 253, 248, 0.86)
  );
  padding: 0.58rem;
}

.reserve-calendar-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.4rem;
}

.reserve-calendar-head strong {
  text-align: center;
  font-size: 0.96rem;
}

.reserve-calendar-nav {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(109, 127, 79, 0.34);
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-olive-dark);
  cursor: pointer;
}

.reserve-calendar-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.reserve-weekdays {
  margin-top: 0.48rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-muted);
  text-align: center;
}

.reserve-calendar-grid {
  margin-top: 0.32rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.24rem;
}

.reserve-day {
  border: 1px solid rgba(109, 127, 79, 0.24);
  border-radius: 0.55rem;
  min-height: 36px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--color-text);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.reserve-day:hover {
  border-color: var(--color-olive);
  color: var(--color-olive-dark);
}

.reserve-day.is-selected {
  background: var(--color-olive);
  color: #f7fbf4;
  border-color: var(--color-olive);
}

.reserve-day.is-disabled {
  opacity: 0.35;
  cursor: default;
}

.reserve-day.is-empty {
  border: 0;
  background: transparent;
  cursor: default;
}

.reserve-help-text {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.reserve-submit {
  width: 100%;
}

body.reserve-open {
  overflow: hidden;
}

.detail-shell {
  position: fixed;
  inset: 0;
  z-index: var(--z-detail);
  pointer-events: none;
}

.detail-shell.is-open {
  pointer-events: auto;
}

.detail-overlay {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.detail-shell.is-open .detail-overlay {
  opacity: 1;
  pointer-events: auto;
}

.menu-detail {
  position: fixed;
  top: 0;
  right: 0;
  width: min(460px, 100vw);
  height: 100dvh;
  background: linear-gradient(180deg, #fffdf8 0%, #f7f1e6 100%);
  border-left: 1px solid var(--color-line);
  box-shadow: var(--shadow-mid);
  transform: translateX(105%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.detail-shell.is-open .menu-detail {
  transform: translateX(0);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem;
  border-bottom: 1px dotted var(--color-line-strong);
}

.detail-content {
  padding: 0.85rem;
  overflow: auto;
  display: grid;
  gap: 0.8rem;
}

.detail-media {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface-soft);
  min-height: 180px;
  border: 1px solid rgba(109, 127, 79, 0.18);
}

.detail-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.detail-media-placeholder {
  display: grid;
  place-items: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(109, 127, 79, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.detail-media-placeholder::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-repeat: repeat;
  background-position: var(--pattern-x, 20%) var(--pattern-y, 30%);
  animation: parchmentDrift var(--pattern-speed, 18s) ease-in-out infinite;
  opacity: 0.95;
  z-index: 0;
}

.detail-media-placeholder::after {
  content: "";
  position: absolute;
  inset: 0.6rem;
  border: 1px dotted rgba(109, 127, 79, 0.22);
  border-radius: calc(var(--radius-md) - 0.35rem);
  pointer-events: none;
  z-index: 2;
}

.detail-media-variant-1::before {
  background-image:
    linear-gradient(
      160deg,
      hsl(var(--fallback-hue, 30) 30% 96%),
      hsl(var(--fallback-hue, 30) 30% 90%)
    ),
    radial-gradient(
      circle,
      rgba(109, 127, 79, 0.15) 0 2px,
      transparent 2px 100%
    ),
    repeating-linear-gradient(
      90deg,
      rgba(109, 127, 79, 0.08) 0 1px,
      transparent 1px 12px
    );
  background-size:
    cover,
    var(--pattern-scale, 32px) var(--pattern-scale, 32px),
    var(--pattern-scale-sm, 18px) var(--pattern-scale-sm, 18px);
}

.detail-media-variant-2::before {
  background-image:
    linear-gradient(
      145deg,
      hsl(var(--fallback-hue, 28) 24% 96%),
      hsl(var(--fallback-hue, 28) 24% 89%)
    ),
    repeating-linear-gradient(
      45deg,
      rgba(109, 127, 79, 0.12) 0 2px,
      transparent 2px 10px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(109, 127, 79, 0.08) 0 1px,
      transparent 1px 8px
    );
  background-size:
    cover,
    var(--pattern-scale, 30px) var(--pattern-scale, 30px),
    var(--pattern-scale-sm, 16px) var(--pattern-scale-sm, 16px);
}

.detail-media-variant-3::before {
  background-image:
    linear-gradient(
      155deg,
      hsl(var(--fallback-hue, 26) 28% 96%),
      hsl(var(--fallback-hue, 26) 28% 90%)
    ),
    radial-gradient(
      circle,
      rgba(109, 127, 79, 0.12) 0 3px,
      transparent 3px 100%
    ),
    repeating-linear-gradient(
      0deg,
      rgba(109, 127, 79, 0.08) 0 1px,
      transparent 1px 10px
    );
  background-size:
    cover,
    var(--pattern-scale, 36px) var(--pattern-scale, 36px),
    var(--pattern-scale-sm, 18px) var(--pattern-scale-sm, 18px);
}

.detail-media-variant-4::before {
  background-image:
    linear-gradient(
      140deg,
      hsl(var(--fallback-hue, 30) 26% 96%),
      hsl(var(--fallback-hue, 30) 26% 89%)
    ),
    repeating-linear-gradient(
      135deg,
      rgba(109, 127, 79, 0.09) 0 2px,
      transparent 2px 12px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(109, 127, 79, 0.06) 0 1px,
      transparent 1px 16px
    );
  background-size:
    cover,
    var(--pattern-scale, 34px) var(--pattern-scale, 34px),
    var(--pattern-scale-sm, 18px) var(--pattern-scale-sm, 18px);
}

.detail-media-fallback {
  width: 100%;
  min-height: 160px;
  display: grid;
  place-items: center;
  border-radius: calc(var(--radius-md) - 0.3rem);
  border: 1px dashed rgba(109, 127, 79, 0.35);
  background: rgba(255, 255, 255, 0.78);
  padding: 1rem;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(109, 127, 79, 0.12);
  position: relative;
  z-index: 1;
}

.detail-media-label {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: var(--color-olive-dark);
  letter-spacing: 0.05em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

@keyframes parchmentDrift {
  0% {
    background-position: var(--pattern-x, 20%) var(--pattern-y, 30%);
  }
  50% {
    background-position: calc(var(--pattern-x, 20%) + 14%)
      calc(var(--pattern-y, 30%) + 10%);
  }
  100% {
    background-position: var(--pattern-x, 20%) var(--pattern-y, 30%);
  }
}

.detail-main {
  display: grid;
  gap: 0.72rem;
}

.detail-head {
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
  align-items: flex-start;
}

.detail-head h2 {
  letter-spacing: 0.02em;
}

.detail-copy {
  color: var(--color-muted);
  line-height: 1.55;
}

.detail-block {
  display: grid;
  gap: 0.4rem;
}

.detail-block h3 {
  font-size: 0.92rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-olive-dark);
  padding-bottom: 0.25rem;
  border-bottom: 1px dotted rgba(109, 127, 79, 0.32);
}

.detail-block ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.26rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.tag {
  border: 1px dotted rgba(109, 127, 79, 0.4);
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
  background: #fff9ef;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag.muted {
  color: var(--color-muted);
}

.detail-actions {
  padding-top: 0.2rem;
}

.legal-main,
.error-main {
  padding-bottom: 1.4rem;
}

.legal-hero .hero-shell {
  background:
    linear-gradient(120deg, rgba(20, 28, 21, 0.84), rgba(67, 84, 54, 0.79)),
    linear-gradient(45deg, #617449, #8e6f51);
}

.legal-section {
  margin-top: 1rem;
}

.legal-shell {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 0.7rem;
}

.legal-tabs button {
  border: 1px solid rgba(109, 127, 79, 0.32);
  border-radius: 999px;
  padding: 0.4rem 0.72rem;
  background: var(--color-surface-soft);
  color: var(--color-olive-dark);
  font-weight: 600;
  cursor: pointer;
}

.legal-tabs button.is-active {
  background: var(--color-olive);
  color: #f5faf2;
  border-color: var(--color-olive);
}

.legal-panel {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.65rem;
}

.legal-panel ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  padding: 0.45rem;
}

.error-shell {
  padding: 2.3rem 0;
  display: grid;
  gap: 0.95rem;
  max-width: 720px;
}

.error-search {
  display: grid;
  gap: 0.45rem;
  max-width: 420px;
}

.error-search label {
  font-weight: 600;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.include-error {
  border: 1px solid rgba(174, 77, 77, 0.38);
  background: #fff3f3;
  border-radius: var(--radius-md);
  padding: 0.55rem 0.7rem;
}

@media (max-width: 1024px) {
  .controls-shell {
    grid-template-columns: 1fr 1fr;
  }

  .controls-extra {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: end;
  }

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

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

  .contact-shell,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .category-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    overflow: visible;
    padding-bottom: 0;
  }

  .chip {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 2.35rem;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 860px) {
  body.has-mobile-fixed-header {
    padding-top: var(--mobile-header-offset, 78px);
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: calc(var(--z-header) + 2);
    padding-top: env(safe-area-inset-top);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 72px;
  }

  .primary-nav {
    position: fixed;
    top: calc(var(--mobile-header-offset, 78px) + 0.3rem);
    left: 1rem;
    right: 1rem;
    width: auto;
    max-height: calc(100dvh - var(--mobile-header-offset, 78px) - 1rem);
    overflow-y: auto;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0.38rem;
    padding: 0.7rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(109, 127, 79, 0.24);
    background: rgba(255, 253, 248, 0.93);
    backdrop-filter: blur(11px);
    box-shadow: var(--shadow-mid);
    opacity: 0;
    transform: translateY(-14px);
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.24s ease,
      transform 0.24s ease,
      visibility 0s linear 0.24s;
    z-index: calc(var(--z-header) + 2);
  }

  .primary-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .primary-nav a {
    border: 1px solid rgba(109, 127, 79, 0.24);
    background: var(--color-surface);
    border-radius: 0.7rem;
    padding: 0.72rem 0.8rem;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
  }

  .primary-nav a.btn {
    background: linear-gradient(135deg, var(--color-olive), var(--color-olive-dark));
    color: #f7fbf4;
    border-color: rgba(78, 95, 54, 0.9);
    font-weight: 700;
    box-shadow:
      0 8px 18px rgba(78, 95, 54, 0.22),
      0 1px 0 rgba(255, 255, 255, 0.18) inset;
  }

  .primary-nav a.btn:hover,
  .primary-nav a.btn:focus-visible {
    background: linear-gradient(135deg, #5f7342, #445430);
  }

  .menu-detail {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 84dvh;
    height: auto;
    border-left: 0;
    border-top: 1px solid var(--color-line);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(104%);
  }

  .detail-shell.is-open .menu-detail {
    transform: translateY(0);
  }

  .reserve-open-btn {
    max-width: none;
  }

  .reserve-modal {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: min(90dvh, 760px);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(104%);
  }

  .reserve-shell.is-open .reserve-modal {
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .footer-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  .preloader-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .preloader-logo-shell {
    width: 86px;
    height: 86px;
  }

  .preloader-title {
    font-size: 1.55rem;
  }

  .controls-shell {
    grid-template-columns: 1fr;
  }

  .controls-extra {
    grid-template-columns: 1fr;
  }

  .controls-tags {
    gap: 0.4rem;
  }

  .controls-tags label {
    font-size: 0.82rem;
    padding: 0.34rem 0.52rem;
  }

  .reserve-open-btn {
    padding: 0.66rem 0.82rem;
  }

  .reserve-open-title {
    font-size: 1.03rem;
  }

  .reserve-open-subtitle {
    font-size: 0.76rem;
  }

  .category-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .chip {
    min-height: 2.25rem;
    font-size: 0.9rem;
    padding-inline: 0.45rem;
  }

  .allergen-row {
    gap: 0.35rem;
  }

  .alergeno-chip {
    min-width: 3rem;
    padding: 0.24rem 0.3rem;
  }

  .alergeno-chip-detail {
    min-width: 3.2rem;
  }

  .alergeno-label {
    font-size: 0.58rem;
  }

  .reserve-form {
    padding-inline: 0.78rem;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .error-actions,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

