@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Quicksand:wght@400;500;600;700;800&display=swap");

:root {
  --primary: #82c7be;
  --primary-soft: #edf7fa;
  --secondary: #ded2cf;
  --accent: #df2d3c;
  --accent-dark: #b51f2c;
  --ink: #111111;
  --muted: #5f6a68;
  --line: #ded2cf;
  --paper: #ffffff;
  --soft: #edf7fa;
  --success: #3f8f84;
  --success-soft: #e6f6f3;
  --warning: #8b625d;
  --warning-soft: #f4eeec;
  --danger: #df2d3c;
  --danger-soft: #fdebed;
  --footer-bg: #111111;
  --footer-text: #ded2cf;
  --white: #ffffff;
  --hero-image: url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1800&q=80");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Quicksand", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
input, textarea, select, button { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  font-weight: 800;
  letter-spacing: 0;
}
.brand img {
  display: block;
  width: auto;
  height: 65px;
  max-width: 240px;
  object-fit: contain;
  flex: 0 0 auto;
}
.nav-toggle {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}
.nav-toggle-label {
  display: none;
}
.site-header nav, .admin-sidebar nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-header nav a, .admin-sidebar nav a { color: var(--muted); font-weight: 650; }
.site-header nav a:hover, .admin-sidebar nav a:hover { color: var(--accent); }

.hero {
  min-height: 72vh;
  display: grid;
  align-items: end;
  padding: clamp(32px, 7vw, 90px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(20, 24, 20, .78), rgba(20, 24, 20, .25)),
    var(--hero-image) center/cover;
}
.hero-content { max-width: 720px; }
.hero h1 { font-size: clamp(42px, 8vw, 92px); line-height: .96; margin: 8px 0 18px; letter-spacing: 0; }
.hero p { font-size: 20px; max-width: 620px; }

.eyebrow { color: var(--accent); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.hero .eyebrow { color: var(--primary-soft); }
.section { padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px); max-width: 1240px; margin: 0 auto; }
.narrow { max-width: 820px; }
.two-col { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.section-title { max-width: 760px; margin-bottom: 24px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; margin-top: 0; }
h1, h2,
.hero h1,
.about-card h2,
.section-title h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
}
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(26px, 4vw, 42px); }

.about-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  max-width: 1180px;
  min-height: 0;
  padding-top: clamp(48px, 7vw, 92px);
  padding-bottom: clamp(48px, 7vw, 92px);
}
.about-media {
  grid-column: 1 / 2;
  grid-row: 1;
  height: clamp(360px, 42vw, 470px);
  overflow: hidden;
  background: var(--line);
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-card {
  grid-column: 2 / 3;
  grid-row: 1;
  position: relative;
  margin-left: -110px;
  padding: clamp(30px, 4vw, 48px);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(17, 17, 17, .12);
  z-index: 2;
}
.script-label {
  display: block;
  margin-bottom: -8px;
  color: var(--primary);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(46px, 6vw, 66px);
  line-height: .9;
  font-weight: 400;
}
.about-card h2 {
  margin-bottom: 12px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 900;
}
.about-kicker {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.about-card p:not(.about-kicker) {
  margin-bottom: 22px;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 800;
  background: transparent;
}
.btn.primary { color: var(--white); background: var(--accent); }
.btn.primary:hover { background: var(--accent-dark); }
.btn.ghost { color: var(--accent); }
.btn.dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.btn.dark:hover { background: #000; border-color: #000; }
.btn.mini { min-height: 32px; padding: 6px 10px; font-size: 13px; }
.btn.danger { border-color: var(--danger); color: var(--danger); }

.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.dish-card, .stat-card, .panel, .form-card, .login-box, .install-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(17, 17, 17, .08);
}
.dish-card { padding: 0; overflow: hidden; }
.dish-card > span,
.dish-card > h3,
.dish-card > p,
.dish-card > strong { display: block; margin-left: 22px; margin-right: 22px; }
.dish-card > span { margin-top: 20px; }
.dish-card > strong { margin-bottom: 22px; }
.dish-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--line);
}
.dish-card span, .muted { color: var(--muted); }
.home-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  background: var(--ink);
}
.home-gallery figure {
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
}
.home-gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0), rgba(17,17,17,.38));
  opacity: 0;
  transition: opacity .28s ease;
  z-index: 1;
}
.home-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  filter: saturate(.95);
  transition: transform .45s ease, filter .45s ease;
}
.home-gallery figure:hover img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.04);
}
.home-gallery figure:hover::after {
  opacity: 1;
}
.split-band { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: var(--soft); max-width: none; }
.hours-list { padding: 0; margin: 0; list-style: none; }
.hours-list li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 11px 0; }
.map { width: 100%; min-height: 260px; border: 0; border-radius: 8px; background: var(--line); }
.map.tall { min-height: 420px; }

.testimonials-section {
  max-width: none;
  background: var(--white);
}
.testimonials-section .section-title {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.testimonial-shell {
  display: grid;
  grid-template-columns: 48px minmax(0, 820px) 48px;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.testimonial-track {
  position: relative;
  min-height: 280px;
}
.testimonial-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(222, 210, 207, .95);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(17, 17, 17, .07);
  opacity: 0;
  transform: translateX(18px) scale(.98);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.testimonial-card.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.stars {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: .14em;
}
.testimonial-card blockquote {
  margin: 0;
  font-family: "Quicksand", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.45;
  font-weight: 650;
  color: var(--ink);
}
.testimonial-card footer {
  display: grid;
  gap: 3px;
  color: var(--muted);
}
.testimonial-card footer strong {
  color: var(--accent);
  font-size: 18px;
}
.carousel-btn {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 46px;
  line-height: 1;
  box-shadow: none;
  display: grid;
  place-items: center;
}
.carousel-btn:hover {
  background: transparent;
  color: var(--accent);
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}
.testimonial-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(222, 210, 207, .95);
  cursor: pointer;
}
.testimonial-dots button.is-active {
  width: 28px;
  background: var(--accent);
}

.menu-list { display: grid; gap: 12px; margin-bottom: 28px; }
.menu-anchor-nav {
  position: sticky;
  top: 98px;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 34px;
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.menu-anchor-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 800; }
.menu-anchor-nav a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.menu-category-section { scroll-margin-top: 170px; }
.menu-list article { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.menu-item-image {
  width: 132px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: var(--line);
}
.menu-list h3 { margin-bottom: 4px; }
.menu-list p { margin: 0; color: var(--muted); }

.form-card { padding: 24px; display: grid; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 7px; font-weight: 750; }
label.inline { display: inline-flex; align-items: center; gap: 8px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--white);
  color: var(--ink);
}
.field-help {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.hp { position: absolute; left: -9999px; opacity: 0; }
.notice { border-radius: 8px; padding: 13px 14px; margin-bottom: 16px; font-weight: 750; }
.notice.success { background: var(--success-soft); color: var(--success); }
.notice.error { background: var(--danger-soft); color: var(--danger); }
.closure-banner { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; background: var(--accent); color: var(--white); font-weight: 800; text-align: center; }
.closure-banner strong { text-transform: uppercase; letter-spacing: .06em; }

.site-footer {
  position: relative;
  margin-top: 82px;
  padding: 0 clamp(18px, 5vw, 72px);
  color: var(--footer-text);
  background: var(--footer-bg);
  isolation: isolate;
}
.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -82px;
  height: 82px;
  background: var(--white);
  z-index: 0;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -54px;
  height: 110px;
  background: var(--footer-bg);
  border-radius: 52% 52% 0 0 / 38% 38% 0 0;
  z-index: 1;
}
.footer-contact-card {
  position: relative;
  z-index: 2;
  top: -120px;
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
  max-width: 1060px;
  margin: 0 auto -18px;
  padding: 22px;
  border: 16px solid var(--primary);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(17, 17, 17, .16);
}
.footer-contact-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.footer-pill {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-contact-content h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 42px);
}
.footer-contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: start;
}
.footer-contact-form textarea {
  grid-column: 1 / 3;
  min-height: 74px;
  resize: vertical;
}
.footer-contact-form .btn {
  grid-column: 3;
  grid-row: 1 / 3;
  height: 100%;
  min-width: 128px;
}
.footer-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr 1fr;
  gap: clamp(24px, 5vw, 56px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 6px 0 52px;
}
.footer-main h2,
.footer-main h3 {
  color: var(--white);
}
.footer-main h2 {
  font-size: clamp(30px, 4vw, 44px);
}
.footer-main h3 {
  margin-bottom: 16px;
  font-family: "Quicksand", ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
}
.footer-main h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 8px;
  background: var(--primary);
}
.footer-brand p,
.footer-links,
.footer-hours,
.footer-contact-list {
  color: var(--footer-text);
}
.footer-links,
.footer-hours,
.footer-contact-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-links a::before {
  content: "→ ";
  color: var(--primary);
}
.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 7px;
}
.footer-hours strong {
  color: var(--white);
  white-space: nowrap;
}
.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  color: var(--footer-text);
  font-size: 14px;
}

.admin-body { min-height: 100vh; display: grid; grid-template-columns: 240px 1fr; background: var(--primary-soft); }
.admin-sidebar { padding: 22px; border-right: 1px solid var(--line); background: var(--white); }
.admin-sidebar nav { flex-direction: column; margin-top: 28px; }
.admin-nav-divider { display: block; width: 100%; height: 1px; background: var(--line); margin: 6px 0 2px; }
.admin-nav-label { color: var(--accent); font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.admin-main { padding: 28px; min-width: 0; }
.admin-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.stats-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card { padding: 18px; }
.stat-card span { color: var(--muted); text-transform: capitalize; }
.stat-card strong { display: block; font-size: 32px; }
.panel { padding: 18px; margin-bottom: 18px; overflow: hidden; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--muted); font-size: 13px; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.actions form { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 16px; }
.filters input, .filters select { width: auto; min-width: 160px; }
.empty-state { padding: 18px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); background: var(--paper); }
.reservation-day-list { display: grid; gap: 18px; }
.reservation-day-group { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); overflow: hidden; }
.reservation-day-group.is-today { border-color: var(--accent); box-shadow: 0 16px 34px rgba(223, 45, 60, .12); }
.reservation-day-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--primary-soft); border-bottom: 1px solid var(--line); }
.reservation-day-group.is-today .reservation-day-header { background: color-mix(in srgb, var(--accent) 10%, var(--paper)); }
.reservation-day-label { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 900; letter-spacing: .08em; }
.reservation-day-header p { margin: 0; color: var(--muted); font-weight: 750; }
.reservation-today-pill { display: inline-flex; margin-left: 8px; border-radius: 999px; padding: 4px 9px; background: var(--accent); color: var(--white); font-size: 12px; font-weight: 850; }
.reservation-cards { display: grid; gap: 0; }
.reservation-card { display: grid; grid-template-columns: 86px minmax(220px, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.reservation-card:last-child { border-bottom: 0; }
.reservation-time { color: var(--accent); font-family: "Playfair Display", serif; font-size: 28px; font-weight: 800; line-height: 1; }
.reservation-main { display: grid; gap: 3px; min-width: 0; }
.reservation-main strong { color: var(--ink); }
.reservation-main span, .reservation-main small { color: var(--muted); overflow-wrap: anywhere; }
.reservation-main small { margin-top: 3px; }
.reservation-meta { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.reservation-guests { border-radius: 999px; padding: 4px 9px; background: var(--primary-soft); color: var(--ink); font-weight: 850; font-size: 12px; white-space: nowrap; }
.reservation-actions { justify-content: flex-end; min-width: 210px; }
.closure-list { display: grid; gap: 10px; margin-top: 14px; }
.closure-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.closure-item div { display: grid; gap: 4px; }
.closure-item strong { color: var(--ink); }
.closure-item span { color: var(--muted); }
.suggestion-page { background: var(--paper); }
.suggestion-page .section-title { max-width: 820px; }
.suggestion-page .section-title p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.suggestion-media { margin: 0 auto; max-width: 980px; border-radius: 8px; overflow: hidden; box-shadow: 0 22px 60px rgba(36, 18, 13, .12); }
.suggestion-media img { display: block; width: 100%; height: auto; }
.suggestion-pdf { max-width: 720px; margin: 0 auto; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--primary-soft); text-align: center; }
.suggestion-pdf strong { display: block; font-family: "Playfair Display", serif; font-size: 32px; margin-bottom: 8px; }
.suggestion-admin-media { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.suggestion-admin-media > div { display: grid; gap: 10px; }
.suggestion-admin-media img { width: 100%; max-width: 360px; border-radius: 8px; border: 1px solid var(--line); }
.check-row { display: flex; align-items: center; gap: 10px; font-weight: 750; }
.check-row input { width: auto; }
.settings-section {
  display: grid;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.settings-section h2 {
  margin-bottom: 0;
}
.appearance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.appearance-section {
  display: grid;
  gap: 16px;
}
.appearance-section h2 {
  margin: 0;
}
.appearance-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.appearance-media-grid.media-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.appearance-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.appearance-content-grid .wide {
  grid-column: 1 / -1;
}
.appearance-content-grid textarea {
  resize: vertical;
}
.appearance-upload-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.appearance-upload-card > span,
.appearance-upload-card small {
  color: var(--muted);
  font-weight: 700;
}
.appearance-logo-preview,
.appearance-hero-preview {
  display: grid;
  place-items: center;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--primary-soft);
}
.appearance-logo-preview img {
  width: auto;
  max-width: 240px;
  max-height: 96px;
}
.appearance-hero-preview img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.appearance-color-field {
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.appearance-color-field input {
  height: 48px;
  padding: 4px;
  cursor: pointer;
}
.appearance-color-field strong {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}
.appearance-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--white), var(--primary-soft));
}
.appearance-preview h2 {
  margin-bottom: 10px;
}
.appearance-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.appearance-swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 128px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.appearance-swatches span {
  min-height: 64px;
}
.menu-editor-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr .7fr .5fr;
  gap: 12px;
  align-items: end;
}
.menu-editor-grid .wide { grid-column: span 3; }
.menu-item-list { display: grid; gap: 10px; }
.menu-item-row {
  display: grid;
  grid-template-columns: 92px 1fr 1.4fr .55fr .45fr .9fr auto auto auto;
  gap: 10px;
  align-items: end;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.menu-admin-image {
  width: 92px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  background: var(--soft);
}
.menu-admin-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.menu-delete-row {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.badge { border-radius: 999px; padding: 4px 9px; font-weight: 800; font-size: 12px; background: var(--line); }
.badge.confirmed { color: var(--success); background: var(--success-soft); }
.badge.pending { color: var(--warning); background: var(--warning-soft); }
.badge.cancelled { color: var(--danger); background: var(--danger-soft); }

.login-page, .install-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: var(--soft); }
.login-box, .install-box { width: min(440px, 100%); padding: 26px; }
.login-box form, .install-box form { display: grid; gap: 16px; }

@media (max-width: 860px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 72px;
    gap: 12px;
    padding: 10px 18px;
  }
  .site-header .brand {
    align-self: center;
    min-width: 0;
    min-height: 44px;
  }
  .site-header .brand img {
    height: 42px;
    max-width: min(190px, 68vw);
  }
  .menu-anchor-nav {
    top: 72px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 0 12px;
    scrollbar-width: thin;
  }
  .menu-anchor-nav a {
    white-space: nowrap;
  }
  .menu-category-section {
    scroll-margin-top: 132px;
  }
  .nav-toggle-label {
    align-self: center;
    display: grid;
    gap: 5px;
    align-content: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
  }
  .nav-toggle-label span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .site-header .primary-nav {
    grid-column: 1 / -1;
    display: grid;
    gap: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    border-top: 1px solid transparent;
    transition: max-height .24s ease, opacity .18s ease, border-color .18s ease, padding-top .18s ease;
  }
  .site-header .primary-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle:checked ~ .primary-nav {
    max-height: 360px;
    opacity: 1;
    padding-top: 8px;
    border-top-color: var(--line);
  }
  .two-col, .split-band, .menu-grid, .grid-2, .admin-body, .menu-editor-grid, .menu-item-row, .appearance-preview, .appearance-media-grid, .appearance-media-grid.media-3, .appearance-content-grid { grid-template-columns: 1fr; }
  .appearance-content-grid .wide { grid-column: auto; }
  .menu-editor-grid .wide { grid-column: auto; }
  .about-feature {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding-left: 18px;
    padding-right: 18px;
    overflow: hidden;
  }
  .about-media,
  .about-card {
    grid-column: 1;
    width: 100%;
    max-width: 640px;
    min-width: 0;
    margin: 0;
  }
  .about-media { grid-row: 1; height: clamp(280px, 68vw, 420px); }
  .about-card { grid-row: 2; }
  .about-card h2 { overflow-wrap: anywhere; }
  .admin-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-main { padding: 18px; }
  .reservation-card { grid-template-columns: 76px minmax(0, 1fr); }
  .reservation-meta, .reservation-actions { grid-column: 2; justify-content: flex-start; min-width: 0; }
  .footer-contact-card,
  .footer-main { grid-template-columns: 1fr; }
  .testimonial-shell { grid-template-columns: 1fr; }
  .carousel-btn { display: none; }
  .footer-contact-form { grid-template-columns: 1fr; }
  .footer-contact-form textarea,
  .footer-contact-form .btn { grid-column: auto; grid-row: auto; }
  .footer-bottom { flex-direction: column; }
  .home-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .hero { min-height: 62vh; padding: 28px 18px; }
  .stats-grid { grid-template-columns: 1fr; }
  .filters input, .filters select, .filters .btn { width: 100%; }
  .reservation-day-header { align-items: flex-start; flex-direction: column; }
  .reservation-card { grid-template-columns: 1fr; gap: 9px; }
  .reservation-time, .reservation-meta, .reservation-actions { grid-column: auto; }
  .reservation-actions .btn, .reservation-actions form { flex: 1 1 120px; }
  .reservation-actions button { width: 100%; }
  .closure-banner, .closure-item { flex-direction: column; align-items: flex-start; }
  .menu-list article { grid-template-columns: 1fr; }
  .menu-item-image { width: 100%; }
  .home-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
