/* Customer + shared styles — loaded on every page. Admin-only rules live
   in admin.css and are loaded on demand by ensureAdminModules() in main.js.
   See scripts/split-admin-css.js for the partitioning rules. */

@font-face {
  font-family: "Eikendal Display";
  src: url("/assets/fonts/eikendal-font.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #2d251f;
  --muted: #756a61;
  --paper: #fbf7ef;
  --panel: #fffdf8;
  --line: #e5d8c5;
  --gold: #D2AB67;
  --gold-hover: #BF9655;
  --gold-dark: #9d7938;
  --vine: #516344;
  --clay: #a35f45;
  --rose: #8f5b61;
  --shadow: 0 24px 60px rgba(49, 36, 24, 0.13);
  color-scheme: light;
  --body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: "Goudy Bookletter 1911", "Eikendal Display", Georgia, "Times New Roman", serif;
  font-family: var(--body-font);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(251, 247, 239, 0.6), rgba(251, 247, 239, 0.6)),
    var(--paper) url("/assets/booking-bg.jpg") center center / cover no-repeat fixed;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Stop iOS Safari from interpreting fast double-taps on buttons (e.g. the
   guest +/- stepper) as a request to double-tap-zoom. `manipulation`
   keeps panning and pinch-zoom working, just disables the tap-to-zoom
   gesture and the 300ms click delay. */
button,
[role="button"],
a,
input,
select,
textarea,
label {
  touch-action: manipulation;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

button, input, textarea, select {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(251, 247, 239, 0.9);
  border-bottom: 1px solid rgba(165, 124, 53, 0.18);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #d8b96d, #786229 70%);
  box-shadow: inset 0 0 0 5px #f8efdd;
}

.topbar nav,
.admin-tabs,
.segmented {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.72);
  border-radius: 999px;
}

.topbar nav button,
.admin-tabs button,
.segmented button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 9px 14px;
  text-transform: capitalize;
}

.topbar nav button.active,
.admin-tabs button.active,
.segmented button.active {
  background: var(--ink);
  color: #fffaf0;
}

main {
  width: min(1228px, calc(100% - 64px));
  margin: 0 auto;
  flex: 1 0 auto;
  padding-bottom: var(--footer-height, 56px);
}



.site-notice {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 14px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  background: var(--gold);
  border: 0;
  color: #fff;
  font-size: 0.96rem;
  line-height: 1.45;
}

.site-notice strong,
.site-notice a {
  color: #fff;
}

.site-notice-gold {
  background: var(--gold);
  color: #fff;
}

.site-notice-green {
  background: #56D364;
  color: #fff;
  font-weight: 700;
}

.site-notice-red {
  background: #FF6166;
  color: #fff;
}

.site-notice-yellow {
  background: #FFB224;
  color: #2d251f;
}

.site-notice-green strong,
.site-notice-green a,
.site-notice-yellow strong,
.site-notice-yellow a {
  color: inherit;
}

.site-notice > span {
  min-width: 0;
  white-space: nowrap;
}

.site-notice a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-notice-call {
  flex: 0 0 auto;
  text-decoration: none !important;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.site-notice-mobile-phone {
  display: none;
}

.site-notice-call:hover {
  color: var(--ink);
}

.site-notice + .experience-list {
  padding-top: 0;
}

@media (max-width: 1040px) {

  .site-notice {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 20px;
  }

  .site-notice-copy {
    display: none;
  }

  .site-notice-call {
    display: none;
  }

  .site-notice-mobile-phone {
    display: block;
    flex: 0 0 auto;
    color: inherit;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
  }
}

.site-footer {
  /* Booking SPA footer: scrolls with the page (not fixed/sticky) so
     it sits naturally at the end of the content. The previous
     position: fixed pinned it to the viewport bottom which made the
     page feel cramped and the footer always-present. */
  position: static;
  width: 100%;
  margin: 0;
  padding: 16px max(32px, env(safe-area-inset-left, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(32px, env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer button {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 400;
}

.site-footer button:hover,
.site-footer button.active {
  background: transparent;
  color: var(--gold-dark);
}

.site-footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-footer-actions a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  transition: color 160ms ease;
}

.site-footer-actions a:hover {
  color: var(--gold-dark);
}

.site-footer-sep {
  color: var(--line);
  font-size: 0.92rem;
  user-select: none;
}





.hero {
  min-height: 420px;
  display: grid;
  align-items: end;
  padding: 88px clamp(22px, 5vw, 72px) 56px;
  margin: 24px 0 28px;
  color: #fffaf0;
  background:
    linear-gradient(90deg, rgba(28, 22, 18, 0.82), rgba(28, 22, 18, 0.22)),
    url("https://images.unsplash.com/photo-1474722883778-792e7990302f?auto=format&fit=crop&w=1800&q=80") center/cover;
  border-radius: 8px;
  overflow: hidden;
}

.hero div {
  max-width: 720px;
}

.hero h1,
.detail-intro h2,
.admin-dashboard h1 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 610px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  /* Constant padding — interpolating with --header-progress was
     causing scroll-bounce: every scroll tick changed the header's
     flow height, the browser re-anchored scroll position to compensate,
     and the user saw the page oscillate around the sticky threshold.
     The logo morph (opacity-only on full→wordmark) still drives the
     visual change without touching layout. The c7-host's cart icon
     button is 52px tall (Commerce7 default) so it dominates the row
     height; 10/10 padding lands the header at exactly 72px — matching
     the previous sticky-state height. */
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #fff;
  box-shadow: 0 1px 0 rgba(45, 37, 31, 0.08);
  transition: background 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}
/* When the user lets go mid-morph, snap padding + the two logo
   variants smoothly to the nearer endpoint instead of leaving the
   full mark stuck mid-fade. The class is only on the header during
   the snap (~240ms) so the rest of the time scroll updates remain
   pixel-perfect. */
.site-header.is-snapping {
  transition: padding 220ms ease, background 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}
.site-header.is-snapping .site-header-logo--white,
.site-header.is-snapping .site-header-logo--type {
  transition: opacity 220ms ease;
}

.site-header-link {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

.site-header-back,
.site-header-phone {
  font-family: var(--body-font);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.site-header-back {
  grid-column: 1;
  justify-self: start;
  margin-left: clamp(18px, 4vw, 56px);
}

.site-header-phone {
  grid-column: 3;
  justify-self: end;
  margin-right: clamp(18px, 4vw, 56px);
}

.site-header-back:hover,
.site-header-phone:hover {
  background: rgba(45, 37, 31, 0.06);
}

.site-header.is-sticky {
  /* Solid translucent paper instead of backdrop-filter:blur — the
     blur creates a containing block for position:fixed descendants,
     which made the /shop side-cart resolve top/bottom relative to
     the header rather than the viewport, clipping it to the header
     strip on scroll. */
  background: #fff;
  box-shadow: 0 4px 16px rgba(45, 37, 31, 0.06);
}

@media (max-width: 720px) {

  .site-header {
    padding: 9px 0;
    background: #fff;
    box-shadow: 0 4px 16px rgba(45, 37, 31, 0.06);
  }

  .site-header-back,
  .site-header-phone {
    display: none;
  }

  /* Mobile: lock the header chrome so nothing about it can animate or
     resize as iOS shows/hides its bottom URL bar. The desktop
     scroll-driven logo morph relies on a CSS variable + vw widths; both
     are inert here so the wordmark stays exactly the same size at every
     scroll position. */
  .site-header,
  .site-header-logo,
  .site-header-logo--white,
  .site-header-logo--type,
  .site-header-logo-stack {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

  /* Mobile header has a paper background — hide the white wordmark
     variant. Logo stack stays at the global fixed 180px size. */
  .site-header-logo.site-header-logo--white {
    display: none;
  }

  .site-header-logo.site-header-logo--type {
    width: 100%;
    height: auto;
    opacity: 1;
    transform: none;
  }

  .site-header.is-sticky {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 4px 16px rgba(45, 37, 31, 0.06);
  }

  .site-header + .experience-list,
  .experience-list {
    padding-top: 0;
    padding-bottom: 0;
  }

  .experience-card {
    border-radius: 0;
  }

  .card-booking-image {
    display: none;
  }
}

.site-header-link {
  display: inline-block;
  line-height: 0;
}

.site-header-logo-stack {
  position: relative;
  display: inline-block;
  /* Lock the wordmark width across every page (the booking SPA loads
     styles.css only, so the constraint has to live here — not in
     site-nav.css, which the SPA doesn't include). Matches /home. */
  width: 124px;
  line-height: 0;
}

/* (Removed logoFadeIn) — the 480ms intro animation ran every time a
   page loaded, so navigating between pages produced an inconsistent
   visible "flash" on whichever pages painted before .has-loaded was
   added by JS. The logo now appears instantly. */

.site-header-logo {
  display: block;
  height: auto;
}

/* Dark logotype always shown — the header is now opaque at every
   scroll position so the white over-hero variant is unused. */
.site-header-logo--type {
  width: 100%;
  opacity: 1;
}
.site-header-logo--white { display: none; }

@media (prefers-reduced-motion: reduce) {

  .site-header,
  .site-header-logo,
  .site-header-logo--white,
  .site-header-logo--type,
  .site-header-logo-stack {
    transition: none;
    animation: none;
  }
}

.site-notice + .site-header {
  padding-top: 28px;
}

@media (min-width: 721px) {

  .site-header + .experience-list {
    padding-top: 16px;
  }
}

.experience-list > .experience-card {
  animation: experienceCardFadeIn 360ms ease-out both;
}

@keyframes experienceCardFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {

  .experience-list > .experience-card {
    animation: none;
  }
}

.experience-list {
  display: grid;
  gap: 32px;
  padding: 36px 0 32px;
}

.experience-list.is-booking-focus {
  justify-items: center;
  align-content: center;
  min-height: calc(100vh - 220px);
  padding: 24px 0 32px;
}

.experience-list.is-booking-focus .experience-card.is-booking {
  width: 100%;
  max-width: 1100px;
}

.experience-card {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1fr);
  min-height: 237px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: none;
  position: relative;
}

.experience-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fffaf0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.experience-image,
.detail-image {
  background-size: cover;
  background-position: center;
  background-color: #ece4d3;
  min-height: 237px;
}

.experience-copy,
.detail-intro,
.booking-panel,
.summary-panel,
.policy-panel,
.admin-section,
.manager-item,
.modal-card {
  background: var(--panel);
}

.experience-copy {
  padding: clamp(24px, 3vw, 34px) clamp(34px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

h2, h3, h4, p {
  overflow-wrap: anywhere;
}

.experience-copy h3,
.booking-panel h3,
.summary-panel h3,
.admin-section h2,
.manager-item h3 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 400;
  letter-spacing: 0;
}

.experience-copy h3 {
  font-family: var(--display-font);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
}

.experience-copy p,
.detail-intro p,
.policy-panel p,
.manager-item p,
.muted {
  color: var(--muted);
  line-height: 1.55;
}

.experience-copy > p {
  margin: -4px 0 0;
}

.experience-price-line {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 6px 0 14px;
  color: var(--ink) !important;
}

.experience-price-line strong {
  font-size: 1.24rem;
  font-weight: 500;
}

.experience-price-line small {
  color: var(--ink);
  font-size: 0.82rem;
}

.experience-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 14px;
}

.experience-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(225, 213, 188, 0.32);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.experience-note {
  max-width: 68ch;
  margin: -10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.experience-card.is-contact .contact-headline {
  margin: -2px 0 4px;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0;
}

.contact-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.contact-actions .contact-secondary {
  background: transparent;
  color: var(--gold-dark);
  border: 1px solid var(--gold);
}

.contact-actions .contact-secondary:hover {
  background: var(--gold);
  color: #fff;
}

.contact-fieldset {
  margin: 4px 0 0;
  padding: 14px 16px 18px;
  border: 1px solid #e0cda9;
  border-radius: 4px;
  background: #fffdf8;
}

.contact-fieldset legend {
  padding: 0 8px;
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#experienceEditor[data-booking-type="online"] [data-contact-fields] {
  display: none;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.meta-grid div,
.stat-row div {
  padding: 16px 14px;
  border: 1px solid #e0cda9;
  border-radius: 0;
  background: #fbf7ef;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
}

dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.included {
  border-left: 2px solid var(--gold);
  padding-left: 18px;
}

.included span,
.step-label {
  font-weight: 800;
  color: var(--ink);
}

.included p {
  margin: 4px 0 0;
}

.card-actions,
.section-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.button {
  min-height: 48px;
  border-radius: 0;
  border: 1px solid var(--gold);
  padding: 0 28px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.button.primary {
  background-color: var(--gold);
  color: #fff;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.button.primary:hover,
.button.primary:focus-visible {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: #fff;
}

.book-button {
  width: fit-content;
  min-height: 42px;
  padding: 0 30px;
  border-color: #c9a868;
  background: #c9a868;
  color: #fffdf8;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.book-button:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: #fffdf8;
}

.button.ghost {
  background: transparent;
  color: var(--gold-dark);
}

.button.wide {
  width: 100%;
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-size: 1.4rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: auto;
  padding: 36px;
  background: rgba(30, 24, 19, 0.48);
}

.modal-backdrop.center {
  display: grid;
  place-items: center;
}

.detail-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  background: var(--paper);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.experience-card.is-booking {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "calendar header"
    "calendar controls"
    "actions  actions";
  grid-template-rows: auto 1fr auto;
  min-height: 540px;
  background: #fff;
  border: 1px solid #e0cda9;
  overflow: hidden;
  animation: cardBookingEnter 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transform-origin: top center;
  will-change: opacity, transform;
  transition: min-height 240ms ease;
}

.experience-card.is-booking.is-settled {
  animation: none;
  transform: none;
  will-change: auto;
}

.experience-card.is-booking.has-open-menu {
  overflow: visible;
}

.experience-card.is-booking.is-settled > * {
  animation: none;
  transform: none;
  opacity: 1;
}

.experience-card.is-booking[data-booking-step="details"],
.experience-card.is-booking[data-booking-step="review"] {
  grid-template-columns: 1fr;
  grid-template-areas:
    "header"
    "controls";
  min-height: 540px;
}

.experience-card.is-booking.is-closing {
  overflow: hidden;
  animation: cardBookingExit 260ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes cardBookingEnter {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cardBookingExit {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.experience-card.is-booking > * {
  animation: cardBookingFadeIn 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.experience-card.is-booking > :nth-child(2) { animation-delay: 60ms; }
.experience-card.is-booking > :nth-child(3) { animation-delay: 120ms; }

@keyframes cardBookingFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-booking-header {
  grid-area: header;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px 16px;
  padding: clamp(20px, 3vw, 30px) clamp(24px, 4vw, 44px) 18px;
  border-bottom: 1px solid #ead9bd;
  background: var(--panel);
  position: relative;
  overflow: hidden;
}

.card-booking-header.has-image .card-booking-title,
.card-booking-header.has-image .booking-steps {
  position: relative;
  z-index: 1;
}

.card-booking-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.6) 55%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.6) 55%, #000 100%);
}

.card-booking-title {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.card-booking-title h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.card-booking-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  font-size: 0.95rem;
}

.card-booking-meta.experience-meta {
  margin: 10px 0 2px;
  align-items: center;
}

.card-booking-meta strong {
  font-size: 1.1rem;
  font-weight: 600;
}

.card-booking-meta small {
  color: var(--muted);
  font-size: 0.85rem;
}

.card-booking-meta span[aria-hidden] {
  color: var(--muted);
}

.card-booking-cancel {
  align-self: start;
  min-height: 40px;
  border: 1px solid var(--gold);
  padding: 0 18px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
}

.card-booking-cancel:hover {
  background: var(--gold);
  color: #fff;
}

.card-booking-header .booking-steps {
  grid-column: 1 / -1;
  min-height: 36px;
  margin: 6px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.card-booking-calendar {
  grid-area: calendar;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid #ead9bd;
  min-width: 0;
}

.card-booking-calendar .calendar {
  background: #fff;
  box-shadow: none;
}

.card-booking-calendar .calendar.calendar-loading {
  flex: 1;
  min-height: 0;
}

.card-booking-controls {
  grid-area: controls;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 12px;
  padding: clamp(18px, 3vw, 26px) clamp(22px, 4vw, 36px) clamp(22px, 3.5vw, 32px);
  background: #fffdf8;
}

.card-booking-controls .availability-controls {
  grid-template-columns: 1fr;
  padding: 0;
  background: transparent;
  border: 0;
  gap: 12px;
}

.card-booking-controls.card-booking-step {
  gap: 16px;
}

.card-booking-controls .booking-form .form-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {

  .card-booking-controls .booking-form .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {

  .experience-card.is-booking {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "calendar"
      "controls"
      "actions";
    min-height: 0;
  }

  .card-booking-header {
    padding: 20px clamp(16px, 4vw, 28px) 16px;
  }

  .card-booking-calendar {
    border-right: 0;
    border-top: 1px solid #ead9bd;
  }

  .card-booking-controls {
    padding: 20px clamp(16px, 4vw, 28px) 24px;
  }

  .card-booking-controls .availability-cta,
  .card-booking-controls .button.primary,
  .card-booking-controls .booking-form-actions .button {
    width: 100%;
  }

  .card-booking-controls .booking-form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .experience-card.is-booking .booking-form-actions {
    margin: 18px clamp(-28px, -4vw, -16px) -24px;
  }

  .card-booking-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {

  .card-booking-cancel {
    padding: 0 12px;
    letter-spacing: 0.12em;
  }

  .card-booking-title h3 {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {

  .experience-card.is-booking,
  .experience-card.is-booking.is-closing,
  .experience-card.is-booking > * {
    animation: none;
  }
}

.inline-booking-shell {
  width: 100%;
  margin: 0 0 24px;
  overflow: hidden;
  background: #fbf7ef;
  border: 0;
  border-top: 1px solid #e0cda9;
  box-shadow: none;
  transform-origin: top center;
  animation: bookingReveal 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  will-change: max-height, opacity, transform;
}

.inline-booking-shell.is-settled {
  overflow: visible;
}

.inline-booking-shell.is-updating {
  animation: none;
  opacity: 1;
  transform: none;
}

.inline-booking-shell.is-closing {
  overflow: hidden;
  animation: bookingCollapse 300ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes bookingReveal {
  from {
    max-height: 0;
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    max-height: 5000px;
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bookingCollapse {
  from {
    max-height: 5000px;
    opacity: 1;
    transform: translateY(0);
  }

  to {
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .inline-booking-shell,
  .inline-booking-shell.is-closing {
    animation: none;
  }
}

.booking-steps {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 clamp(18px, 3vw, 28px);
  background: #fff;
  border-bottom: 1px solid #e0cda9;
  color: #a6a29d;
}

.booking-steps span,
.booking-steps .step-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
  font-size: 0.95rem;
}

.booking-steps span.active,
.booking-steps .step-link.active {
  color: #2d2926;
}

.booking-steps .step-link {
  cursor: pointer;
}

.booking-steps .step-link:hover {
  color: var(--gold-dark);
}

.booking-steps b,
.booking-steps .step-sep {
  color: #c8c3bb;
  font-weight: 400;
  font-size: 0.95rem;
  user-select: none;
}

.inline-booking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding: 12px clamp(18px, 3vw, 28px);
  background: #fffdf8;
  border: 0;
  border-bottom: 1px solid #e0cda9;
}

.inline-booking-copy {
  display: grid;
  gap: 4px;
}

.inline-booking-head .eyebrow {
  margin: 0;
}

.inline-booking-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.inline-booking-copy a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}

.inline-booking-copy a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-booking-head .close-detail {
  position: static;
  min-height: 48px;
  border: 1px solid var(--gold);
  padding: 0 28px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--panel);
}

.inline-booking-head .close-detail:hover {
  background: var(--gold);
  color: #fff;
  text-decoration: none;
}

.detail-hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
}

.detail-hero .close-detail,
.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
}

.detail-intro {
  padding: clamp(28px, 5vw, 58px);
}

.detail-intro h2 {
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4.6rem);
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
  background: #f3eadc;
}

.gallery-row span {
  height: 94px;
  border-radius: 8px;
  background: linear-gradient(135deg, #dfd1bc, #b99c66);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 18px;
  padding: 18px;
}

.inline-booking-shell .detail-grid {
  grid-template-columns: 1fr;
  align-items: start;
  background: #fbf7ef;
  padding: 0;
}

.inline-booking-shell .booking-support-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.inline-booking-shell .summary-panel {
  position: static;
}

.inline-booking-shell .booking-support-panels .summary-panel,
.inline-booking-shell .booking-support-panels .policy-panel {
  align-self: start;
}

.inline-booking-shell .inline-policy-panel {
  margin-top: 10px;
  border: 0;
  background: transparent !important;
  padding: 0;
  color: #746d65;
}

.inline-policy-panel h4 {
  margin: 22px 0 4px;
}

.inline-policy-panel h4:first-child {
  margin-top: 0;
}

.inline-policy-panel p {
  margin: 0;
  line-height: 1.45;
}

.booking-panel,
.summary-panel,
.policy-panel,
.admin-section {
  border: 1px solid #e0cda9;
  border-radius: 0;
  padding: clamp(18px, 3vw, 28px);
}

.inline-booking-shell .booking-panel,
.inline-booking-shell .summary-panel,
.inline-booking-shell .policy-panel {
  background: #fffdf8;
  box-shadow: none;
}

.inline-booking-shell .booking-panel {
  border: 0;
  padding: 0;
  background: transparent;
}

.booking-panel h3 span {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  border: 1px solid #2d2926;
  border-radius: 50%;
  font-family: var(--body-font);
  font-size: 0.8rem;
  vertical-align: 3px;
}

.form-intro {
  margin: 8px 0 22px;
  color: #817c76;
  line-height: 1.55;
}

.booking-step {
  margin-top: 24px;
}

.booking-review {
  display: grid;
  gap: 18px;
}

.booking-review h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.05;
}

.booking-review-head {
  display: grid;
  gap: 10px;
  max-width: 760px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e0cda9;
}

.booking-review-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.review-card {
  border: 1px solid #e0cda9;
  background: #fffdf8;
  padding: 18px 20px;
}

.reservation-review-card {
  padding: 16px 20px;
}

.review-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0cda9;
}

.review-card-head .eyebrow {
  margin: 0;
}

.review-card-head h4 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  text-align: right;
}

.review-card h4 {
  margin: 0 0 14px;
  font-family: var(--display-font);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
}

.review-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.review-list div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 7px 0;
}

.review-list div + div {
  border-top: 1px solid #ece6db;
}

.review-list dt,
.review-list dd {
  margin: 0;
}

.review-list dt {
  color: var(--muted);
  font-size: 0.88rem;
}

.review-list dd {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: right;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #e0cda9;
  border-left: 1px solid #e0cda9;
}

.review-grid div {
  min-height: 84px;
  padding: 16px;
  border-right: 1px solid #e0cda9;
  border-bottom: 1px solid #e0cda9;
}

.review-grid dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.review-grid dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.4;
}

.customer-review dd {
  font-weight: 500;
  overflow-wrap: anywhere;
}

.review-card .customer-review {
  border-top-color: #dedbd6;
  border-left: 0;
}

.review-card .customer-review div {
  min-height: 0;
  border-right: 0;
  border-bottom-color: #dedbd6;
  padding: 14px 0;
}

.summary-card {
  border: 1px solid #e0cda9;
  background: #fffdf8;
  border-radius: 6px;
  padding: 22px clamp(20px, 3vw, 28px) clamp(20px, 3vw, 26px);
}

.summary-card + .summary-card {
  margin-top: 18px;
}

.summary-card-title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold);
  font-family: var(--display-font);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--gold-dark);
}

.summary-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.summary-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid #ead9bd;
  border-radius: 6px;
  background: #fffaf1;
}

.summary-tile-label,
.summary-detail .summary-tile-label {
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.summary-tile-value {
  font-family: var(--display-font);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
}

.summary-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
}

.summary-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-detail-value {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {

  .summary-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .summary-details {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.availability-widget {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: 0;
  align-items: stretch;
  margin-top: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.availability-calendar .calendar {
  min-width: 0;
  background: #fff;
  box-shadow: none;
}

.availability-controls {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 12px;
  height: 100%;
  padding: 22px 24px;
  background: #fffdf8;
  border-top: 0;
  border-left: 1px solid #e0cda9;
}

.inline-booking-shell .availability-widget {
  margin-top: 0;
}

.availability-control {
  min-height: 58px;
  height: 58px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  border: 1px solid #d9c79f;
  border-radius: 0;
  overflow: visible;
  background: #fff;
}

.control-icon {
  display: grid;
  place-items: center;
  border-right: 1px solid #d9d5ce;
  background: #f7f7f6;
  color: #383838;
  font-size: 1rem;
  line-height: 1;
}

/* Read-only seating info shown in place of the old "seating preference"
   dropdown — the seating arrangement is now defined by the experience. */
.availability-control.booking-seating-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: #f7f3eb;
  color: #4b4742;
  font-family: var(--body-font);
  font-size: 0.95rem;
  line-height: 1.4;
}

.booking-seating-info .booking-seating-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d9c79f;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #6b5320;
}

.booking-seating-info .booking-seating-desc {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
  color: #6e6a62;
}

.availability-control select {
  width: 100%;
  min-width: 0;
  border: 0;
  background: #fff;
  color: #4b4742;
  padding: 0 18px;
  font-family: var(--body-font);
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0;
}

.custom-select {
  position: relative;
  min-width: 0;
}

.custom-select-trigger {
  width: 100%;
  min-height: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: #fff;
  color: #4b4742;
  padding: 0 18px;
  font-family: var(--body-font);
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0;
  text-align: left;
}

.custom-select-trigger:hover,
.custom-select-trigger[aria-expanded="true"] {
  background: #fffaf1;
}

.custom-select-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select-trigger i {
  color: var(--gold-dark);
  font-style: normal;
}

.custom-select-menu {
  position: absolute;
  left: -1px;
  right: -1px;
  top: calc(100% + 1px);
  z-index: 25;
  max-height: 238px;
  overflow: auto;
  border: 1px solid #d9c79f;
  background: #fff;
  box-shadow: 0 18px 36px rgba(45, 37, 31, 0.13);
}

.custom-select-menu button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid #eee0c9;
  background: #fff;
  color: #4b4742;
  padding: 0 18px;
  text-align: left;
  font-family: var(--body-font);
  font-size: 0.94rem;
}

.custom-select-menu button:last-child {
  border-bottom: 0;
}

.custom-select-menu button:hover,
.custom-select-menu button.selected {
  background: var(--gold);
  color: #fff;
}

.custom-select-menu button:disabled {
  background: #f3eee6;
  color: #9b948c;
  cursor: not-allowed;
}

.custom-select.is-disabled {
  pointer-events: none;
}

.custom-select-trigger:disabled {
  background: #f3eee6;
  color: #9b948c;
  cursor: not-allowed;
  opacity: 0.7;
}

.custom-select-trigger:disabled i {
  color: #c7bda9;
}

.availability-cta {
  min-height: 56px;
  height: 56px;
  border: 0;
  border-radius: 0;
  background-color: var(--gold);
  color: white;
  font-family: var(--body-font);
  font-size: 0.82rem;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 160ms ease;
}

.availability-cta:hover,
.availability-cta:focus-visible {
  background-color: var(--gold-hover);
  color: #fff;
}

.availability-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}

.availability-actions .booking-back,
.availability-actions .availability-cta {
  width: 100%;
  min-height: 56px;
  height: 56px;
}

.card-booking-actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 0;
  background: transparent;
}

.card-booking-actions .booking-back,
.card-booking-actions .availability-cta {
  width: 100%;
  min-height: 64px;
  padding: 0;
  border-radius: 0;
  border: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.82rem;
}

.card-booking-actions .booking-back {
  background: #fff;
  color: var(--gold-dark);
  border-right: 1px solid rgb(234, 217, 189);
}

.card-booking-actions .booking-back:hover {
  background: #fffaf1;
}

.card-booking-actions .availability-cta {
  background: var(--gold);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1.1;
}

.card-booking-actions .availability-cta:hover,
.card-booking-actions .availability-cta:focus-visible {
  background: var(--gold-hover);
}

.card-booking-actions .availability-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.card-booking-actions .availability-cta.has-no-time {
  background: #e8dfcf;
  color: #a89a86;
  cursor: not-allowed;
}

.card-booking-actions .availability-cta.has-no-time:hover,
.card-booking-actions .availability-cta.has-no-time:focus-visible {
  background: #e8dfcf;
}

.card-booking-actions .availability-cta-hint {
  display: none;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.85;
}

.card-booking-actions .availability-cta.has-no-time .availability-cta-hint {
  display: block;
  color: #6e5a3f;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 1;
}

@media (max-width: 1024px) {

  .card-booking-actions .availability-cta.has-no-time .availability-cta-hint {
    display: none;
  }
}

.details-step {
  margin-top: 0;
}

.details-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.booking-back {
  min-height: 42px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-dark);
  padding: 0 22px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.booking-back:hover {
  background: #fffaf1;
}

.calendar {
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.calendar-loading {
  min-height: 502px;
  display: grid;
  place-content: center;
  padding: 32px;
  text-align: center;
  background: #fff;
  color: var(--gold);
}

.calendar-loading.is-error strong {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}

.calendar-loading p {
  margin: 6px 0 0;
  color: var(--muted);
}

.spinner {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #ead9bd;
  border-top-color: var(--gold);
  animation: spinnerRotate 0.8s linear infinite;
}

.spinner.spinner-button {
  width: 1.4em;
  height: 1.4em;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  vertical-align: middle;
}

.public-loader {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 200px);
  width: 100%;
}

@keyframes spinnerRotate {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {

  .spinner { animation-duration: 1.6s; }
}

.calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px 20px;
  background: #fff;
}

.calendar-head strong {
  font-size: 1.05rem;
  letter-spacing: 0;
  font-weight: 600;
}

.calendar-title-button,
.calendar-year-button {
  min-width: 160px;
  min-height: 48px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  padding: 0 28px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
}

.calendar-title-button:hover,
.calendar-year-button:hover {
  border-color: var(--gold);
  background: #fbf7ef;
}

.calendar-head-picker {
  border-bottom: 1px solid #ead9bd;
}

.calendar-picker {
  padding: 34px 32px 38px;
  background: #fff;
}

.calendar-picker-title {
  display: block;
  margin: 0 0 20px;
  text-align: center;
}

.calendar-month-grid,
.calendar-year-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.calendar-month-grid button,
.calendar-year-grid button {
  min-height: 58px;
  border: 1px solid #e0cda9;
  background: #fffdf8;
  color: var(--ink);
  font-weight: 700;
}

.calendar-month-grid button:hover,
.calendar-year-grid button:hover,
.calendar-month-grid button.active,
.calendar-year-grid button.active {
  border-color: var(--gold);
  background: #d2ab67;
  color: #fff;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  padding: 0 32px;
}

.calendar-weekdays span {
  padding: 16px 6px;
  text-align: center;
  color: #3f3b36;
  font-size: 0.94rem;
  font-weight: 600;
}

.calendar-grid button,
.calendar-blank {
  min-height: 48px;
  min-width: 0;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
}

.calendar-grid {
  padding: 0 32px 24px;
}

.calendar-grid button span {
  width: auto;
  height: auto;
  display: inline-grid;
  place-items: center;
  border-radius: 0;
  color: inherit;
  font-size: 1rem;
}

.calendar-grid button small {
  display: none;
}

.calendar-grid button.past {
  background: #dedbd6;
  color: #fff;
}

.calendar-grid button.closed {
  background: #eee9e1;
  color: #bbb4ac;
}

.calendar-grid button.available {
  background: #fffdf8;
  color: #2d2926;
  font-weight: 500;
}

.calendar-grid button.selected {
  outline: 0;
  background: var(--gold);
  color: #fff;
}

.calendar-grid button:disabled {
  cursor: not-allowed;
}

.calendar-grid.is-loading {
  pointer-events: none;
}

.calendar-grid.is-loading button:not(.is-loading) {
  opacity: 0.55;
}

.calendar-grid button.is-loading {
  position: relative;
  cursor: progress;
  background: var(--gold);
  color: #fff;
}

.calendar-grid button.is-loading > * {
  visibility: hidden;
}

.calendar-grid button.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  animation: spinnerRotate 0.7s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 32px 32px 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.calendar-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.calendar-group-note {
  margin: -8px 32px 28px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}

.calendar-group-note a {
  color: inherit;
  text-decoration: none;
}

.calendar-group-note a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.past-dot { background: #dedbd6; }
.available-dot { background: #fffdf8; border: 1px solid #d9c79f; }
.limited-dot { background: var(--gold); }
.closed-dot { background: #eee9e1; border: 1px solid #d9c79f; }
.today-dot { background: var(--gold); }

.calendar-grid button {
  position: relative;
}

.calendar-grid button.outside-month {
  color: #c9c2b8;
  background: #f5f2ec;
  font-weight: 400;
}

.calendar-grid button.outside-month.available {
  background: #faf6ec;
  color: #b3a890;
}

.calendar-grid button.outside-month.selected {
  background: var(--gold);
  color: #fff;
}

.calendar-grid button.today::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 10px 0;
  border-color: transparent #2e9d80 transparent transparent;
  pointer-events: none;
}

.calendar-grid button.today.selected::before {
  border-color: transparent #2e9d80 transparent transparent;
}

.hold-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 16px;
  padding: 10px 14px;
  background: #fff4d8;
  border: 1px solid #e5cf94;
  color: var(--gold-dark);
  font-size: 0.9rem;
  border-radius: 4px;
  transition: background 240ms ease, border-color 240ms ease, color 240ms ease;
  animation: hold-notice-fade-in 280ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  will-change: opacity, transform;
}

.hold-notice--idle {
  background: #f6f1e6;
  border-color: #e3dccd;
  color: #7d736a;
}

.hold-notice strong {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.hold-notice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: hold-pulse 2s ease-in-out infinite;
}

.hold-notice-dot--idle {
  background: #c9bfae;
  animation: none;
}

@keyframes hold-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes hold-notice-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.hold-error {
  margin: 12px 0 16px;
  padding: 10px 14px;
  background: #fdeceb;
  border: 1px solid #e5b9b6;
  color: #872a23;
  font-size: 0.9rem;
  border-radius: 4px;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
}

.slot {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel);
  text-align: left;
  padding: 12px;
}

.slot span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 3px;
}

.slot.selected {
  border-color: var(--gold);
  background: #fff4d8;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.form-grid-detail {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 48px 48px 48px 48px;
  grid-template-areas:
    "first   country"
    "last    tel"
    "email   special"
    "confirm special";
  gap: 12px 16px;
  align-content: start;
}

.form-grid-detail .field-bare,
.form-grid-detail .country-picker .country-picker-toggle,
.form-grid-detail .phone-local {
  width: 100%;
  border: 1px solid #d7d3cd;
  border-radius: 0;
  background: #fff;
  min-height: 48px;
  padding: 11px 13px;
  color: #2d2926;
  font: inherit;
}

.form-grid-detail input.field-bare,
.form-grid-detail .country-picker,
.form-grid-detail .phone-local {
  align-self: start;
}

.form-grid-detail textarea.field-bare {
  height: 100%;
  min-height: 110px;
  max-height: 100%;
  resize: vertical;
}

.form-grid-detail .country-picker {
  padding: 0;
  border: 0;
  background: transparent;
  min-height: 0;
}

.form-grid-detail .country-picker .country-picker-toggle {
  padding: 0 13px;
}

.form-grid-detail .phone-local {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
}

.form-grid-detail .phone-local input {
  border: 0;
  padding: 0;
  background: transparent;
  min-height: 0;
  flex: 1;
}

.form-grid-detail .phone-local .phone-local-icon {
  color: #4b4742;
  display: inline-flex;
}

@media (max-width: 720px) {

  .form-grid-detail {
    grid-template-columns: 1fr;
    grid-template-areas:
      "first"
      "last"
      "email"
      "confirm"
      "country"
      "tel"
      "special";
  }
}

.field {
  display: grid;
  gap: 9px;
}

.field span {
  color: #4b4742;
  font-weight: 500;
  font-size: 0.96rem;
}

.field input,
.field textarea,
.field select,
.filters input,
.filters select {
  width: 100%;
  border: 1px solid #d7d3cd;
  border-radius: 0;
  background: #fff;
  min-height: 48px;
  padding: 11px 13px;
  color: #2d2926;
}

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

.field small {
  color: var(--muted);
}

.span-2 {
  grid-column: span 2;
}

.booking-form .button.primary {
  min-height: 56px;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.booking-form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.booking-form-actions .booking-back,
.booking-form-actions .button.primary {
  width: 100%;
  min-height: 56px;
}

.experience-card.is-booking .booking-form-actions {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: clamp(18px, 3vw, 26px) calc(clamp(22px, 4vw, 36px) * -1) calc(clamp(22px, 3.5vw, 32px) * -1);
  border-top: 0;
  background: transparent;
}

.experience-card.is-booking .booking-form-actions .booking-back,
.experience-card.is-booking .booking-form-actions .button.primary {
  width: 100%;
  min-height: 64px;
  border-radius: 0;
  border: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.82rem;
}

.experience-card.is-booking .booking-form-actions .booking-back {
  background: transparent;
  color: var(--gold-dark);
}

.experience-card.is-booking .booking-form-actions .booking-back:hover {
  background: rgba(45, 37, 31, 0.04);
}

.experience-card.is-booking .booking-form-actions .button.primary {
  background: var(--gold);
  color: #fff;
}

.experience-card.is-booking .booking-form-actions .button.primary:hover,
.experience-card.is-booking .booking-form-actions .button.primary:focus-visible {
  background: var(--gold-hover);
}

.required-note {
  margin: 18px 0 0;
  color: #b2ada7;
  font-size: 0.94rem;
}

.phone-field {
  grid-column: span 2;
}

.phone-input-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
  gap: 12px;
}

@media (max-width: 720px) {

  .experience-card.is-booking .availability-actions,
  .experience-card.is-booking .booking-form-actions,
  .experience-card.is-booking .card-booking-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 44px;
    z-index: 35;
    margin: 0;
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    background: #fffdf8;
    border-top: 1px solid #e0cda9;
    box-shadow: 0 -6px 16px rgba(28, 22, 18, 0.06);
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .experience-card.is-booking .card-booking-actions .booking-back,
  .experience-card.is-booking .card-booking-actions .availability-cta,
  .experience-card.is-booking .booking-form-actions .booking-back,
  .experience-card.is-booking .booking-form-actions .button.primary {
    width: 100%;
    min-height: 46px;
    height: 46px;
  }

  .experience-card.is-booking .card-booking-actions .booking-back,
  .experience-card.is-booking .booking-form-actions .booking-back {
    border: 0;
    background: #fff;
    color: var(--gold-dark);
  }

  .experience-card.is-booking .card-booking-actions .booking-back:hover,
  .experience-card.is-booking .booking-form-actions .booking-back:hover {
    background: #fffaf1;
  }

  .experience-card.is-booking .card-booking-controls {
    padding-bottom: 110px;
  }

  .phone-input-row {
    grid-template-columns: 1fr;
  }
}

.country-picker {
  position: relative;
}

.country-picker-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 9px 13px;
  background: #fff;
  border: 1px solid #d7d3cd;
  border-radius: 0;
  color: #2d2926;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.country-picker-toggle:hover,
.country-picker-toggle[aria-expanded="true"] {
  border-color: var(--gold);
}

.country-picker-icon,
.country-picker-caret {
  display: inline-flex;
  color: #6b6862;
  flex-shrink: 0;
}

.country-picker-label {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-picker-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d7d3cd;
  box-shadow: 0 12px 28px rgba(45, 41, 38, 0.12);
  max-height: 280px;
  display: flex;
  flex-direction: column;
}

.country-picker-menu[hidden] {
  display: none;
}

.country-picker-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-bottom: 1px solid #ead9bd;
  color: #6b6862;
}

.country-picker-search input,
.field .country-picker-search input {
  flex: 1;
  width: auto;
  border: 0;
  outline: none;
  margin: 0;
  padding: 4px 0;
  min-height: 0;
  height: 28px;
  font: inherit;
  font-size: 0.94rem;
  color: #2d2926;
  background: transparent;
}

.country-picker-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
}

.country-picker-menu li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  cursor: pointer;
  color: #2d2926;
}

.country-picker-menu li[hidden] {
  display: none;
}

.country-picker-menu li:hover {
  background: #fbf6ec;
}

.country-picker-menu li[aria-selected="true"] {
  background: #f6ecd8;
  font-weight: 600;
}

.country-picker-menu .country-dial {
  color: #8a8680;
  font-variant-numeric: tabular-nums;
}

.country-picker-empty {
  margin: 0;
  padding: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.phone-local {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #d7d3cd;
  padding: 0 12px;
  min-height: 48px;
}

.phone-local:focus-within {
  border-color: var(--gold);
}

.phone-local-icon {
  display: inline-flex;
  color: #6b6862;
  flex-shrink: 0;
}

.phone-local input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  min-height: 0;
  padding: 11px 0;
  font: inherit;
  color: #2d2926;
}

.stepper {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.stepper button,
.stepper input {
  border: 0;
  min-height: 44px;
  background: #fffefa;
  text-align: center;
}

.summary-panel {
  position: sticky;
  top: 92px;
}

.summary-panel dl {
  display: grid;
  gap: 10px;
}

.summary-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #dedbd6;
  padding: 13px 0;
}

.policy-panel {
  margin-top: 14px;
}

.confirmation {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 10vh, 120px) clamp(20px, 5vw, 48px);
  background: transparent;
  animation: confirmationFadeIn 600ms ease both;
}

.confirmation-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(28px, 4vw, 44px);
  max-width: 560px;
  width: 100%;
}

.confirmation-logo-link {
  display: inline-block;
  line-height: 0;
}

.confirmation-logo {
  width: clamp(140px, 20vw, 200px);
  height: auto;
  display: block;
}

.confirmation-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.confirmation-message {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 44ch;
}

.confirmation-message p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.65;
}

.confirmation-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 40px;
  margin-top: clamp(8px, 1.5vw, 16px);
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #fff;
  font-family: var(--body-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.confirmation-cta:hover,
.confirmation-cta:focus-visible {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: #fff;
}

@media (max-width: 600px) {

  .confirmation-cta {
    width: 100%;
    padding: 0 24px;
  }
}

@keyframes confirmationFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.manage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(32px, 6vh, 72px) clamp(20px, 5vw, 48px);
  background: transparent;
  animation: confirmationFadeIn 500ms ease both;
}

.manage-header {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(28px, 5vh, 56px);
}

.manage-logo-link {
  display: inline-block;
  line-height: 0;
}

.manage-logo {
  width: clamp(120px, 16vw, 168px);
  height: auto;
  display: block;
}

.manage-card {
  width: 100%;
  max-width: 560px;
  background: #fffdf8;
  border: 1px solid #e6d5b0;
  padding: clamp(32px, 5vw, 56px) clamp(28px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.manage-loading {
  align-items: center;
  text-align: center;
  gap: 16px;
}

.manage-loading p,
.manage-error p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.manage-error {
  text-align: center;
  align-items: center;
}

.manage-error h1 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--ink);
}

.manage-banner {
  margin: -6px 0 6px;
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  background: #faf2dd;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

.manage-banner-cancel {
  border-left-color: #b14b4b;
  background: #fbe9e9;
}

.manage-eyebrow {
  margin: 0;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.manage-title {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  line-height: 1.15;
  color: var(--ink);
}

.manage-greeting {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.manage-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 4px 0 0;
  border-top: 1px solid #ead9bd;
}

.manage-details > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.6fr) minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #f0e5cc;
  align-items: baseline;
}

.manage-details dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.manage-details dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 500;
  word-break: break-word;
}

.manage-mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.manage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.manage-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #fff;
  font-family: var(--body-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(45, 37, 31, 0.04);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 220ms ease, transform 220ms ease;
  flex: 1 1 220px;
}

.manage-cta-arrow {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  transform: translateX(0);
  transition: transform 220ms ease;
}

.manage-cta:hover,
.manage-cta:focus-visible {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: #fff;
  box-shadow: 0 12px 26px -16px rgba(157, 121, 56, 0.55);
  transform: translateY(-1px);
}

.manage-cta:hover .manage-cta-arrow,
.manage-cta:focus-visible .manage-cta-arrow {
  transform: translateX(4px);
}

.manage-cta:active {
  transform: translateY(0);
  box-shadow: 0 1px 0 rgba(45, 37, 31, 0.04);
}

.manage-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid #d8c5c5;
  background: transparent;
  color: #8a4a4a;
  font-family: var(--body-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  flex: 1 1 200px;
}

.manage-cancel-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.manage-cancel:hover,
.manage-cancel:focus-visible {
  background: #b14b4b;
  border-color: #b14b4b;
  color: #fff;
}

.manage-help {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.manage-help a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: none;
}

.manage-help a:hover {
  text-decoration: underline;
}

.manage-modal-card {
  background: #fffdf8;
  padding: clamp(28px, 4vw, 40px);
  max-width: 440px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid #e6d5b0;
}

.manage-modal-card h2 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.7rem);
  color: var(--ink);
}

.manage-modal-card p {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.manage-modal-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.manage-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.manage-modal-keep,
.manage-modal-cancel {
  flex: 1 1 160px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 0;
  font-family: var(--body-font);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.manage-modal-keep {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.manage-modal-keep:hover {
  background: #f5efe1;
}

.manage-modal-cancel {
  border: 1px solid #b14b4b;
  background: #b14b4b;
  color: #fff;
}

.manage-modal-cancel:hover {
  background: #993f3f;
  border-color: #993f3f;
}

@media (max-width: 540px) {

  .manage-actions {
    flex-direction: column;
  }
  .manage-cta,
  .manage-cancel {
    width: 100%;
  }
  .manage-details > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.booking-review.is-confirming {
  place-items: center;
  align-content: center;
  justify-items: center;
}

.booking-confirm-loader {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: inherit;
  padding: 24px;
}

.booking-confirm-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  gap: 12px;
  padding: 24px;
  animation: bookingConfirmFadeIn 320ms ease both;
}

.booking-confirm-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eef6f0;
  color: #2f7d3e;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.booking-confirm-thanks h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
}

.booking-confirm-thanks p {
  margin: 0;
  color: var(--ink);
}

.booking-confirm-thanks .booking-confirm-sub {
  color: var(--muted);
  font-size: 0.92rem;
}

.booking-confirm-thanks .booking-confirm-ref {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.booking-confirm-thanks .booking-confirm-ref strong {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.booking-confirm-cta {
  margin-top: 14px;
  padding: 8px 14px;
  border: 0;
  background: rgba(45, 37, 31, 0.06);
  text-decoration: none;
  color: var(--muted);
  font-family: var(--body-font);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  white-space: nowrap;
  border-radius: 999px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.booking-confirm-cta:hover,
.booking-confirm-cta:focus-visible {
  background: rgba(45, 37, 31, 0.12);
  color: var(--ink);
}

.booking-confirm-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}

.booking-confirm-actions .booking-confirm-cta {
  margin-top: 0;
}

@keyframes bookingConfirmFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.confirmation-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(252, 247, 238, 0.94);
  backdrop-filter: blur(2px);
  animation: confirmationLoaderFade 240ms ease both;
}

.confirmation-loader-overlay.is-leaving {
  animation: confirmationLoaderFade 240ms ease reverse forwards;
}

.confirmation-loader-overlay .spinner {
  width: 38px;
  height: 38px;
  border-width: 3px;
}

@keyframes confirmationLoaderFade {
  from { opacity: 0; }
  to { opacity: 1; }
}





.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.stat-row span {
  color: var(--muted);
  display: block;
}

.stat-row strong {
  font-size: 1.6rem;
}





.filters {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.booking-table {
  display: grid;
  gap: 8px;
}

.booking-row {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.3fr 0.8fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
  padding: 12px;
  text-align: left;
}

.booking-row small,
.mini-booking small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.status {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 9px;
  background: #e9ddcb;
  color: var(--ink);
  text-transform: capitalize;
}

.status.confirmed { background: #dfe9d6; color: #31432a; }
.status.pending { background: #f5e4bb; color: #654c16; }
.status.cancelled { background: #ead6d2; color: #6e2d20; }
.status.completed { background: #d9e4e7; color: #234751; }

.staff-grid .staff-day {
  min-height: 98px;
}

.staff-day span {
  display: flex;
  gap: 4px;
}

.staff-day i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.tone-1 { background: var(--gold); }
.tone-2 { background: var(--vine); }
.tone-3 { background: var(--clay); }
.tone-4 { background: var(--rose); }
.tone-5 { background: #60798c; }

.day-drawer {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.mini-booking {
  width: 100%;
  display: grid;
  grid-template-columns: 70px 1fr 1.4fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
  padding: 10px;
  margin-top: 8px;
  text-align: left;
}

.manager-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.manager-item {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.modal-card {
  position: relative;
  width: min(860px, 100%);
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 28px;
  box-shadow: var(--shadow);
}

.modal-loader-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(252, 247, 238, 0.88);
  border-radius: inherit;
  z-index: 5;
  backdrop-filter: blur(2px);
}

.modal-loader-overlay .spinner {
  width: 36px;
  height: 36px;
  border-width: 3px;
}

.editor-form h2 {
  margin-top: 0;
  font-family: var(--display-font);
  font-weight: 400;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.check-grid label,
.toggle {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.weekday-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.weekday-pill {
  display: inline-flex;
  min-height: 36px;
}

.weekday-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.weekday-pill span {
  min-width: 118px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1477f2;
  background: #fff;
  color: #1477f2;
  padding: 9px 18px;
  font-weight: 700;
  text-transform: capitalize;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.weekday-pill:hover span {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(20, 119, 242, 0.16);
}

.weekday-pill input:checked + span {
  background: #1477f2;
  color: #fff;
}

.weekday-pill input:focus-visible + span {
  outline: 2px solid #8bbcff;
  outline-offset: 2px;
}































.empty-state,
.loading {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.empty-state.compact {
  padding: 14px;
}

.experience-list:has(> .empty-state) {
  min-height: calc(100vh - var(--footer-height, 56px) - 200px);
  align-content: center;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

.load-error {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.load-error h2,
.load-error p {
  margin: 0;
}

























@keyframes skeletonShimmer {
  to {
    transform: translateX(100%);
  }
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  background: var(--ink);
  color: #fffaf0;
  border-radius: 8px;
  padding: 13px 16px;
  box-shadow: var(--shadow);
}

.toast.warn {
  background: #7b3428;
}

/* Admin settings workspace */










.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

























.settings-grid {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.admin-box {
  width: var(--admin-content-width);
  margin: 24px auto 0;
  border: 0;
  background: transparent;
}

.admin-box .settings-grid {
  padding: 0;
}

.settings-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 150px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: var(--admin-panel);
  color: var(--admin-text);
  text-align: left;
  padding: 22px;
  box-shadow: var(--admin-shadow);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.settings-card:hover {
  border-color: #9bb7ff;
  background: #fff;
  box-shadow: 0 16px 34px rgba(23, 32, 51, 0.12);
  transform: translateY(-2px);
}

.settings-card span {
  display: none;
}

.settings-card strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.15;
}

.settings-card p {
  margin: 0;
  color: var(--admin-muted);
  line-height: 1.5;
  max-width: 36ch;
}

.settings-reservations {
  margin-top: 0;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: var(--admin-panel);
  box-shadow: var(--admin-shadow);
  padding: 18px;
}



























@keyframes adminAccordionFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.reservations-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--admin-line);
}

.reservations-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.reservations-title-row h2 {
  margin: 0;
  font-family: var(--body-font);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0;
}

.reservations-title-row p {
  flex-basis: 100%;
  margin: -4px 0 0;
  color: var(--admin-muted);
}

.reservation-date-control input,
.admin-view-select,
.reservations-filters select {
  min-height: 40px;
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  background: var(--admin-panel);
  color: var(--admin-text);
  padding: 0 12px;
  font: inherit;
}

.admin-view-select,
.reservations-filters select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%2367717a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='1 1 6 6 11 1'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 40px;
}

.reservation-date-control input {
  min-width: 170px;
}

.reservations-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.reservations-filters {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) repeat(4, minmax(130px, 0.9fr));
  gap: 10px;
  margin-bottom: 16px;
}



.settings-reservations-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.settings-reservations-head h2 {
  margin: 0;
  font-family: var(--body-font);
  font-size: 1.35rem;
  font-weight: 800;
}

.settings-reservations-head p {
  margin: 4px 0 0;
  color: var(--admin-muted);
}



.reservation-reference {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.reservation-table-row.is-past {
  box-shadow: inset 3px 0 0 0 #dc2626;
}

.reservation-table-row.is-upcoming {
  box-shadow: inset 3px 0 0 0 #16a34a;
}

.reservation-now-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 14px 16px;
  min-width: 1080px;
}

.reservation-now-divider::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  height: 1px;
  background: var(--admin-line);
  border-top: 1px dashed var(--admin-line-strong);
  background: transparent;
}

.reservation-now-divider span {
  position: relative;
  z-index: 1;
  background: var(--admin-panel);
  padding: 4px 14px;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--admin-muted-strong);
  font-variant-numeric: tabular-nums;
}

.reservation-row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.reservation-icon-button {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  background: var(--admin-panel);
  color: var(--admin-muted);
  cursor: pointer;
  padding: 0;
  transition: color 140ms ease, border-color 140ms ease, background 140ms ease;
}

.reservation-icon-button:hover {
  background: #fff;
}

.reservation-icon-button.reservation-checkin:hover {
  color: #1b8c4f;
  border-color: #b9e0c7;
}

.reservation-icon-button.reservation-cancel:hover {
  color: #b1241f;
  border-color: #ecc1be;
}

.reservations-admin-table {
  overflow-x: auto;
}

.reservations-admin-table small {
  display: block;
  margin-top: 4px;
  color: var(--admin-muted);
  font-size: 0.82rem;
}

.reservation-guest {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reservation-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #d7e3ff;
  border-radius: 6px;
  background: var(--admin-blue-soft);
  color: var(--admin-blue);
  font-size: 0.78rem;
  font-weight: 800;
}



.reservations-empty {
  border: 1px solid var(--admin-line);
  background: var(--admin-panel);
}

.reservations-empty h3,
.admin-dark .reservations-empty h3 {
  font-weight: 400;
  color: var(--admin-text);
}

.reservation-timeline {
  --reservation-days: 1;
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  background: var(--admin-panel);
  overflow: auto;
}

.timeline-days,
.timeline-row {
  display: grid;
  grid-template-columns: 76px repeat(var(--reservation-days), minmax(150px, 1fr));
  min-width: calc(76px + (150px * var(--reservation-days)));
}

.timeline-days {
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid var(--admin-line);
  background: #f6f8fb;
}

.timeline-days > span,
.timeline-days strong {
  min-height: 48px;
  display: grid;
  place-items: center;
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.timeline-days strong b {
  display: block;
  color: var(--admin-text);
  font-size: 1rem;
  letter-spacing: 0;
}

.timeline-row {
  min-height: 76px;
  border-bottom: 1px solid var(--admin-line);
}

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

.timeline-row > span {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 12px 10px 0 0;
  color: var(--admin-muted);
  font-size: 0.8rem;
}

.timeline-row > div {
  border-left: 1px solid var(--admin-line);
  padding: 8px;
}

.timeline-row button {
  display: block;
  width: 100%;
  border: 1px solid #b8cbff;
  border-radius: 6px;
  background: var(--admin-blue-soft);
  color: var(--admin-text);
  padding: 8px 10px;
  text-align: left;
}

.timeline-row button + button {
  margin-top: 6px;
}

.timeline-row button strong,
.timeline-row button small {
  display: block;
}

.timeline-row button small {
  margin-top: 2px;
  color: var(--admin-muted);
}

.reservation-month {
  display: grid;
  grid-template-columns: repeat(7, minmax(86px, 1fr));
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  background: var(--admin-panel);
  overflow: hidden;
}

.reservation-month > span {
  min-height: 36px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--admin-line);
  border-bottom: 1px solid var(--admin-line);
  background: #f6f8fb;
  color: var(--admin-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reservation-month > span:nth-child(7) {
  border-right: 0;
}

.reservation-month i,
.reservation-month button {
  min-height: 96px;
  border: 0;
  border-right: 1px solid var(--admin-line);
  border-bottom: 1px solid var(--admin-line);
  background: var(--admin-panel);
}

.reservation-month i:nth-child(7n),
.reservation-month button:nth-child(7n) {
  border-right: 0;
}

.reservation-month button {
  display: grid;
  align-content: start;
  gap: 8px;
  color: var(--admin-text);
  padding: 12px;
  text-align: left;
}

.reservation-month button:hover {
  background: #f8fbff;
}

.reservation-month button.has-bookings {
  background: var(--admin-blue-soft);
}

.reservation-month button strong {
  font-size: 1rem;
}

.reservation-month button small {
  color: var(--admin-muted);
}

.analytics-dashboard {
  display: grid;
  gap: 24px;
}

.analytics-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.analytics-hero h2 {
  margin: 0;
  font-size: 2.2rem;
}

.analytics-hero p {
  margin: 6px 0 0;
  color: var(--admin-muted);
}

.analytics-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.analytics-kpis article,
.analytics-panel {
  border: 1px solid var(--admin-line);
  background: var(--admin-panel);
}

.analytics-kpis article {
  display: grid;
  gap: 10px;
  min-height: 112px;
  padding: 20px;
}

.analytics-kpis span,
.analytics-table-head,
.analytics-list dt {
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-kpis strong {
  color: var(--admin-text);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.analytics-panel {
  padding: 22px;
}

.analytics-panel.wide {
  grid-column: 1 / -1;
}

.analytics-panel h3 {
  margin: 0 0 18px;
  font-family: var(--body-font);
  font-size: 1.25rem;
  font-weight: 800;
}

.analytics-table {
  border: 1px solid var(--admin-line);
}

.analytics-table-head,
.analytics-table-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) 0.55fr 0.55fr 0.75fr 0.75fr;
  gap: 16px;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--admin-line);
}

.analytics-table-head {
  background: #f7f0e6;
}

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

.analytics-table-row span:first-child {
  display: grid;
  gap: 8px;
}

.analytics-table-row i,
.analytics-bar i {
  display: block;
  height: 4px;
  overflow: hidden;
  background: #eee4d6;
}

.analytics-table-row i {
  width: 100%;
}

.analytics-table-row i b,
.analytics-bar b {
  display: block;
  height: 100%;
  background: var(--gold);
}

.analytics-bar {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.analytics-bar:last-child {
  margin-bottom: 0;
}

.analytics-bar div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.analytics-bar span {
  font-weight: 700;
}

.analytics-bar small {
  color: var(--admin-muted);
}

.analytics-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.analytics-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--admin-line);
  padding-bottom: 12px;
}

.analytics-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.analytics-list dd {
  margin: 0;
  font-weight: 800;
}

.customer-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 28px 24px;
}

.customer-stats.compact {
  padding: 0;
  margin: 24px 0;
}

.customer-stats div {
  border: 1px solid var(--admin-line);
  background: #fffaf1;
  padding: 18px;
}

.customer-stats span {
  display: block;
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-stats strong {
  display: block;
  margin-top: 8px;
  color: var(--admin-text);
  font-size: 1.3rem;
}

.customer-section-title {
  padding: 0 28px;
}

.customer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 18px;
  padding: 0 28px 28px;
}

.customer-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--admin-line);
  background: var(--admin-panel);
  color: var(--admin-text);
  padding: 22px;
  text-align: left;
  border-radius: var(--admin-radius);
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.customer-card:hover {
  border-color: var(--admin-line-strong);
  box-shadow: var(--admin-shadow);
}

.customer-card-name {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--admin-text);
}

.customer-card-contact,
.customer-card-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.customer-card-stats {
  border-top: 1px solid var(--admin-line);
  padding-top: 14px;
}

.customer-card-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--admin-muted-strong);
  line-height: 1.3;
}

.customer-card-row svg {
  flex: 0 0 auto;
  color: var(--admin-muted);
}

.customer-card-row.is-muted {
  color: var(--admin-muted);
  font-style: italic;
}

.customer-card.is-archived {
  opacity: 0.55;
  background: repeating-linear-gradient(
    135deg,
    var(--admin-panel),
    var(--admin-panel) 10px,
    var(--admin-line) 10px,
    var(--admin-line) 11px
  );
}

.customer-card.is-archived:hover {
  opacity: 0.85;
}

.customer-archived-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--admin-line);
  color: var(--admin-muted-strong);
  margin-left: 8px;
  vertical-align: middle;
}

.customer-archive-toggle.is-active {
  background: var(--admin-text);
  color: var(--admin-panel);
  border-color: var(--admin-text);
}

.customer-avatar {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #5f6572;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.customer-avatar.large {
  width: 96px;
  height: 96px;
  font-size: 2rem;
}

.customer-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
  gap: 0;
}

.customer-profile-panel,
.customer-reservations {
  padding: 32px;
}

.customer-reservations {
  border-left: 1px solid var(--admin-line);
}

.customer-profile-head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.customer-profile-head h2,
.customer-reservations h2 {
  margin: 0;
}

.customer-profile-head p {
  margin: 6px 0 0;
  color: var(--admin-muted);
}

.customer-insights {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.customer-insights div {
  border-bottom: 1px solid var(--admin-line);
  padding-bottom: 12px;
}

.customer-insights dt {
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-insights dd {
  margin: 6px 0 0;
}

.customer-reservation-row {
  grid-template-columns: 0.9fr 1.5fr 0.55fr 0.7fr 0.7fr;
}

.customer-reservation-row small {
  display: block;
  margin-top: 3px;
  color: var(--admin-muted);
}

.admin-outline,
.admin-primary {
  min-height: 40px;
  border-radius: 6px;
  padding: 0 20px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}



.admin-primary {
  border: 1px solid var(--admin-blue);
  background: var(--admin-blue);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}







.admin-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}





button:disabled,
.admin-primary:disabled,
.admin-outline:disabled,
.admin-danger:disabled {
  opacity: 0.62;
  cursor: wait;
}





















.admin-box .admin-list-actions,
.admin-box .admin-subpage-head {
  padding: 0 0 18px;
}















.admin-box .admin-table {
  margin: 0;
}

















.notices-table .notice-row-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}









.experience-list-row.dragging {
  opacity: 0.5;
  background: #fffaf1;
}

.experience-list-row.drag-over {
  outline: 1px solid var(--gold);
  outline-offset: -1px;
}































.admin-box .admin-edit-main {
  padding: 32px 0 90px;
}



.admin-box .admin-edit-main.compact {
  padding: 32px 0 90px;
}











.general-settings-form .lead-time-field {
  max-width: 48%;
  margin-bottom: 6px;
}





























.upload-box {
  height: 184px;
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--admin-line);
  background: var(--admin-panel);
  color: var(--admin-muted);
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms ease, background 160ms ease;
}

.upload-box:hover {
  border-color: var(--gold);
  background: #fffaf1;
}

.upload-box input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-box img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-box.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(45, 37, 31, 0.72), rgba(45, 37, 31, 0.08));
}

.upload-box b,
.upload-box small {
  position: relative;
  z-index: 2;
}

.upload-box b {
  color: var(--admin-text);
  font-weight: 500;
}

.upload-box.has-image b,
.upload-box.has-image small {
  color: #fff;
}

.upload-box small {
  color: var(--admin-muted);
  line-height: 1.8;
}











.admin-box .admin-empty {
  min-height: 360px;
  margin: 0;
  padding: 48px 0;
}











.construction-empty {
  gap: 8px;
}

.construction-empty h3 {
  font-family: var(--display-font);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--ink);
}

.construction-empty p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 1.05rem;
}









.time-columns {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.time-day {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--admin-line);
  background: var(--admin-panel);
  padding: 18px;
}

.time-day-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  border-bottom: 1px solid var(--admin-line);
  padding-bottom: 12px;
}

.time-day-head h3 {
  margin: 0;
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: normal;
  white-space: nowrap;
}

.time-day-head span {
  color: var(--admin-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.time-slot-list {
  display: grid;
  gap: 12px;
}

.time-slot-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 10px;
  align-items: center;
}

.time-input {
  margin: 0;
}

.time-input input {
  width: 100%;
  min-width: 0;
  height: 44px;
}

.time-remove {
  width: 34px;
  height: 44px;
  border: 1px solid var(--admin-line);
  background: transparent;
  color: var(--admin-muted);
  font-size: 1.1rem;
}

.time-remove:hover {
  border-color: #8b2d25;
  color: #8b2d25;
  background: #fff6f3;
}













.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: 28px -28px -28px;
  padding: 22px 28px;
  border-top: 1px solid var(--admin-line);
  background: var(--admin-panel);
}

.table-modal {
  width: min(640px, 100%);
}

.confirm-modal {
  width: min(560px, 100%);
}

.confirm-modal h2 {
  margin: 0 0 12px;
}

@media (max-width: 860px) {

  .experience-card,
  .detail-hero,
  .detail-grid,
  .availability-widget,
  .inline-booking-shell .detail-grid > div:last-child,
  .inline-booking-shell .detail-grid,
  .manager-item,
  .booking-row {
    grid-template-columns: 1fr;
  }

  .meta-grid,
  .stat-row,
  .confirmation-grid,
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-panel {
    position: static;
  }

  .availability-control {
    grid-template-columns: 1fr;
    min-height: 58px;
    height: 58px;
  }

  .availability-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 18px;
  }

  .inline-booking-shell .availability-widget {
    grid-template-columns: 1fr;
  }

  .inline-booking-shell .availability-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #e0cda9;
    border-left: 0;
    padding: 22px 18px;
  }

  .inline-booking-shell .availability-cta,
  .inline-booking-shell .inline-policy-panel {
    grid-column: 1 / -1;
  }

  .inline-booking-shell .inline-policy-panel {
    max-width: 58ch;
  }

  .hero {
    min-height: 520px;
  }

  .experience-card {
    min-height: 0;
    border-radius: 0;
  }

  .experience-list {
    gap: 0;
  }

  .experience-image {
    min-height: 152px;
  }

  

  

  

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

  .admin-box {
    width: calc(100% - 48px);
  }

  .settings-card {
    min-height: 0;
  }

  .settings-reservations-head {
    align-items: stretch;
    flex-direction: column;
  }

  .reservations-toolbar,
  .reservations-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .reservations-title-row {
    align-items: stretch;
  }

  .reservations-title-row h2,
  .reservations-title-row p {
    flex-basis: 100%;
  }

  .reservation-date-control input,
  .admin-view-select,
  .reservations-actions .admin-primary,
  .reservations-actions .admin-outline {
    width: 100%;
  }

  .reservations-filters {
    grid-template-columns: 1fr;
  }

  .reservation-month {
    grid-template-columns: repeat(7, minmax(56px, 1fr));
    overflow-x: auto;
  }

  .reservation-month i,
  .reservation-month button {
    min-height: 78px;
    padding: 9px;
  }

  .analytics-kpis,
  .analytics-grid {
    grid-template-columns: 1fr;
  }

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

  .analytics-table-head,
  .analytics-table-row {
    min-width: 760px;
  }

  

  

  

  .customer-stats,
  .customer-detail,
  .admin-four {
    grid-template-columns: 1fr;
  }

  .general-settings-form .lead-time-field {
    max-width: none;
  }

  .customer-reservations {
    border-left: 0;
    border-top: 1px solid var(--admin-line);
  }

  

  .admin-box .admin-table {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 1180px) {

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

@media (max-width: 620px) {

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

  .site-footer {
    width: 100%;
    align-items: center;
    flex-direction: row;
    padding: 12px max(20px, env(safe-area-inset-left, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-right, 0px));
  }

  main {
    width: 100%;
  }

  

  

  

  .site-notice {
    margin: 0;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 20px;
  }

  .site-notice-copy {
    display: none;
  }

  .site-notice-call {
    display: none;
  }

  .site-notice-mobile-phone {
    display: block;
    flex: 0 0 auto;
    color: inherit;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
  }

  .hero {
    padding: 42px 20px 30px;
    min-height: 460px;
  }

  .form-grid,
  .meta-grid,
  .stat-row,
  .confirmation-grid,
  .filters,
  .mini-booking,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: span 1;
  }

  .modal-backdrop {
    padding: 10px;
  }

  .calendar-grid button,
  .calendar-blank {
    min-height: 62px;
    padding: 6px;
  }

  .availability-widget {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .availability-controls {
    grid-template-columns: 1fr;
    border-top: 1px solid #e0cda9;
    border-left: 0;
  }

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

  .availability-control {
    grid-template-columns: 1fr;
    height: 58px;
  }

  .availability-control select {
    padding: 0 18px;
  }

  .booking-steps {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 18px;
    min-height: 0;
    gap: 10px;
    font-size: 0.9rem;
  }

  .inline-booking-shell .detail-grid {
    padding: 0;
  }

  .inline-booking-shell .details-step {
    padding: 20px;
  }

  .inline-booking-shell .details-step .form-intro {
    margin-top: 0;
  }

  .booking-form-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .review-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .review-list dd {
    text-align: left;
  }

  .confirmation {
    padding: 40px 16px 60px;
    min-height: 0;
  }

  .confirmation-stage {
    gap: 24px;
  }

  .confirmation-logo {
    width: 180px;
  }

  .confirmation-actions {
    flex-direction: column;
  }

  .confirmation-actions .button {
    width: 100%;
  }

  .calendar-grid,
  .calendar-legend,
  .calendar-weekdays {
    padding-left: 14px;
    padding-right: 14px;
  }

  .calendar-head {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* === Modernised Experience Editor === */

.experience-editor-box {
  margin-bottom: 0;
  padding-bottom: 0;
  background: transparent;
}

.editor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  margin: 0 0 20px;
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  background: var(--admin-panel);
  box-shadow: var(--admin-shadow);
}

.editor-tab {
  flex: 1 1 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--admin-muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.editor-tab:hover {
  background: var(--admin-blue-soft);
  color: var(--admin-blue);
}

.editor-tab.active {
  background: var(--admin-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
}

.editor-tab.active:hover {
  background: #1d4ed8;
  color: #fff;
}

.experience-editor {
  display: block;
  position: relative;
}

.experience-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
  padding-bottom: 96px;
}

.experience-editor-main,
.experience-editor-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.editor-card {
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  background: var(--admin-panel);
  box-shadow: var(--admin-shadow);
  overflow: hidden;
}

.editor-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 0;
}

.editor-card-head h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.editor-card-head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.editor-card-head p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.editor-card-action {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  background: var(--admin-panel);
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.editor-card-action:hover:not(:disabled) {
  border-color: var(--admin-blue);
  color: var(--admin-blue);
  background: var(--admin-blue-soft);
}

.editor-card-action:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.editor-card-body {
  padding: 18px 24px 22px;
}

















.editor-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.editor-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.editor-radio {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 12px;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  background: var(--admin-panel);
  color: var(--admin-text);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.editor-radio input {
  accent-color: var(--admin-blue);
}

.editor-radio:has(input:checked) {
  border-color: var(--admin-blue);
  background: var(--admin-blue-soft);
  color: var(--admin-blue);
}

.blackout-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.blackout-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--admin-line, #d9e0ea);
  border-radius: 999px;
  background: #fff;
  color: var(--admin-text, #172033);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.blackout-pill:hover {
  border-color: var(--admin-text, #172033);
}

.blackout-pill.active {
  border-color: var(--admin-text, #172033);
  background: var(--admin-text, #172033);
  color: #fff;
}

.blackout-modal {
  background: var(--admin-panel, #ffffff);
  color: var(--admin-text, #172033);
  border: 1px solid var(--admin-line, #d9e0ea);
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(23, 32, 51, 0.18);
  width: min(720px, 100%);
}

.blackout-modal h2 {
  margin: 0 0 4px;
  font-family: var(--sans-font, "Inter", system-ui, sans-serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--admin-text, #172033);
  letter-spacing: -0.01em;
}

.blackout-modal > .icon-button.modal-close {
  border: 1px solid var(--admin-line, #d9e0ea);
  background: #fff;
  color: var(--admin-text, #172033);
}

.blackout-modal > .icon-button.modal-close:hover {
  background: var(--admin-panel-2, #f2f5f9);
  border-color: var(--admin-text, #172033);
}

.blackout-modal .form-grid {
  margin-top: 18px;
}

.blackout-modal .field span {
  color: var(--admin-text, #172033);
  font-family: var(--sans-font, "Inter", system-ui, sans-serif);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
}

.blackout-modal .field input,
.blackout-modal .field textarea,
.blackout-modal .field select {
  background: #fff;
  border: 1px solid var(--admin-line, #d9e0ea);
  border-radius: 8px;
  color: var(--admin-text, #172033);
  font-family: var(--sans-font, "Inter", system-ui, sans-serif);
}

.blackout-modal .field input:focus-visible,
.blackout-modal .field textarea:focus-visible,
.blackout-modal .field select:focus-visible {
  outline: none;
  border-color: var(--admin-text, #172033);
  box-shadow: 0 0 0 3px rgba(23, 32, 51, 0.08);
}

.blackout-modal .modal-actions {
  margin: 24px -28px -28px;
  padding: 18px 28px;
  border-top: 1px solid var(--admin-line, #d9e0ea);
  background: var(--admin-panel-2, #f7f9fc);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.editor-readonly {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.editor-readonly-value {
  margin: 0;
  padding: 10px 14px;
  border: 1px dashed var(--admin-line);
  border-radius: 8px;
  background: var(--admin-panel-2);
  color: var(--admin-text);
  font-weight: 600;
}

.editor-segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  background: var(--admin-panel-2);
}

.editor-segment {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 7px;
  color: var(--admin-muted);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.editor-segment input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.editor-segment:hover {
  color: var(--admin-text);
}

.editor-segment:has(input:checked) {
  background: var(--admin-panel);
  color: var(--admin-blue);
  box-shadow: 0 4px 10px rgba(23, 32, 51, 0.06);
}

.editor-toggle-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.editor-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  color: var(--admin-text);
  font-weight: 600;
}

.editor-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.editor-toggle-track {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background 160ms ease;
  flex-shrink: 0;
}

.editor-toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);
  transition: transform 160ms ease;
}

.editor-toggle input:checked + .editor-toggle-track {
  background: var(--admin-blue);
}

.editor-toggle input:checked + .editor-toggle-track::after {
  transform: translateX(16px);
}

.editor-toggle-label {
  font-size: 0.92rem;
}

.editor-toggle.no-margin {
  margin: 0;
}

.editor-seo {
  display: grid;
  gap: 6px;
}

.editor-seo strong {
  color: var(--admin-blue);
  font-size: 1.05rem;
}

.editor-seo a {
  color: #1f7a50;
  font-size: 0.86rem;
  word-break: break-all;
  text-decoration: none;
}

.editor-seo a:hover {
  text-decoration: underline;
}

.editor-seo p {
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.82rem;
}

.editor-seo code {
  background: var(--admin-panel-2);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.78rem;
}

.experience-editor-side .upload-box {
  border-radius: 8px;
  height: 168px;
}

.experience-editor-side .editor-card-body {
  padding: 16px 18px 18px;
}



.experience-editor-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--admin-line);
  box-shadow: 0 -8px 24px rgba(23, 32, 51, 0.08);
}

.experience-editor-footer-inner {
  width: var(--admin-content-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.experience-editor-footer-hint {
  color: var(--admin-muted);
  font-size: 0.84rem;
}

.experience-editor-footer-actions {
  display: flex;
  gap: 10px;
}

.experience-editor-footer-actions .admin-primary,
.experience-editor-footer-actions .admin-outline {
  min-height: 42px;
  padding: 0 22px;
}

@media (max-width: 1080px) {

  .experience-editor-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {

  .editor-card-head {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 18px 0;
  }

  .editor-card-body {
    padding: 14px 18px 18px;
  }

  .experience-editor-footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .experience-editor-footer-actions {
    justify-content: flex-end;
  }

  .editor-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .editor-tab {
    flex: 0 0 auto;
  }
}

/* === Reservation row action buttons (✓ check-in / 🗑 cancel) === */

.reservation-row-actions {
  gap: 8px;
}

.reservation-icon-button {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.reservation-icon-button svg {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 140ms ease;
}

.reservation-icon-button:hover svg {
  transform: scale(1.06);
}

.reservation-icon-button:active {
  transform: translateY(1px);
}

.reservation-icon-button.reservation-checkin {
  background: #eaf8ee;
  border-color: #c8ebd1;
  color: #2c8a45;
}

.reservation-icon-button.reservation-checkin:hover {
  background: #d8f1de;
  border-color: #56D364;
  box-shadow: 0 6px 16px rgba(86, 211, 100, 0.22);
}

.reservation-icon-button.reservation-checkin.is-checked-in,
.reservation-icon-button.reservation-checkin:disabled {
  background: var(--admin-panel-2);
  border-color: var(--admin-line);
  color: #9aa4b2;
  cursor: not-allowed;
  box-shadow: none;
}

.reservation-icon-button.reservation-checkin.is-checked-in:hover svg,
.reservation-icon-button.reservation-checkin:disabled:hover svg {
  transform: none;
}

.reservation-icon-button.reservation-cancel {
  background: #fdecec;
  border-color: #f6cfd0;
  color: #c0383d;
}

.reservation-icon-button.reservation-cancel:hover {
  background: #fbdcdd;
  border-color: #FF6166;
  box-shadow: 0 6px 16px rgba(255, 97, 102, 0.22);
}

.reservation-icon-button.reservation-checkin:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(86, 211, 100, 0.32);
}

.reservation-icon-button.reservation-cancel:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 97, 102, 0.32);
}

/* Confirm modal header layout — keep title and close button apart */
.confirm-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.confirm-modal-head .eyebrow {
  margin: 0;
}

.confirm-modal-head .modal-close {
  position: static;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--admin-line);
  border-radius: 50%;
  color: var(--admin-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.confirm-modal-head .modal-close:hover {
  background: #fff;
  color: var(--admin-text);
  border-color: var(--admin-text);
}

/* Manual booking modal */
.manual-booking-modal {
  width: min(1080px, 100%);
  padding: 0;
  background: #fffdf8;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  overflow: visible;
}

.manual-booking-modal .modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--admin-line);
  color: var(--admin-muted);
  font-size: 1.2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.manual-booking-header {
  padding: 22px 28px 16px;
  border-bottom: 1px solid #ead9bd;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--panel);
}

.manual-booking-title h3 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 1.4rem;
}

.manual-booking-meta {
  margin: 4px 0 0;
  color: var(--muted);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.manual-booking-meta strong {
  color: var(--ink);
  font-weight: 700;
}

.manual-booking-meta small {
  color: var(--muted);
}

.manual-booking-steps {
  margin-top: 4px;
}

.manual-booking-body {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(0, 1fr);
  min-height: 420px;
}

.manual-booking-modal[data-manual-step="details"] .manual-booking-body {
  grid-template-columns: 1fr;
}

.manual-booking-calendar {
  border-right: 1px solid #ead9bd;
  background: var(--panel);
}

.manual-booking-controls {
  padding: 56px 28px 28px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  align-content: start;
}

.manual-booking-controls .availability-control {
  height: 56px;
}

.manual-booking-experience {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--admin-muted);
}

.manual-booking-experience select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  background: #fff;
  color: var(--admin-text);
  font-size: 0.95rem;
}

.manual-booking-controls .availability-actions {
  margin-top: 4px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.manual-booking-details {
  padding: 24px 28px;
}

@media (max-width: 860px) {

  .manual-booking-body {
    grid-template-columns: 1fr;
  }
  .manual-booking-calendar {
    border-right: 0;
    border-bottom: 1px solid #ead9bd;
  }
}

/* Booking detail modal */
.booking-detail-modal {
  width: min(720px, 100%);
}

.booking-detail-head {
  margin-bottom: 18px;
}

.booking-detail-head h2 {
  margin: 4px 0 0;
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 1.6rem;
}

.booking-detail-head .muted {
  margin: 4px 0 0;
  color: var(--admin-muted);
}

.booking-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.booking-detail-card {
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  padding: 16px 18px;
  background: #fff;
}

.booking-detail-card h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--admin-text);
}

.booking-detail-card dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

.booking-detail-card dl > div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
}

.booking-detail-card dt {
  color: var(--admin-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.booking-detail-card dd {
  margin: 0;
  color: var(--admin-text);
  font-size: 0.92rem;
  word-break: break-word;
}

.booking-detail-actions {
  flex-wrap: wrap;
}

@media (max-width: 720px) {

  .booking-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Reservation row click affordance */
.reservation-table-row {
  cursor: pointer;
  transition: background 140ms ease;
}

.reservation-table-row:hover {
  background: rgba(155, 183, 255, 0.08);
}

.reservation-table-row:focus-visible {
  outline: 2px solid var(--admin-blue);
  outline-offset: -2px;
}

/* Reservations table loader (blue) */
.reservations-table-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  min-height: 160px;
}

.spinner.spinner-blue {
  border-color: var(--admin-blue-soft);
  border-top-color: var(--admin-blue);
}

.reservations-loader-host {
  display: block;
}

/* Admin skeleton accordion */




/* Inline Cancel buttons that double as modal-close should not be positioned absolute */
.modal-actions .modal-close,
.confirm-modal-head .modal-close {
  position: static;
  right: auto;
  top: auto;
}

/* Make sure the icon close button still floats top-right by default outside .confirm-modal-head */
.modal-card > .icon-button.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
}

.confirm-modal > .icon-button.modal-close,
.confirm-modal > .modal-close {
  position: static;
}

/* Updated time slot UI */
.time-section {
  margin: 18px 0 24px;
}

.time-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.time-section h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
}

.time-weekday-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.time-weekday-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  background: var(--admin-panel);
  color: var(--admin-muted);
  cursor: pointer;
  user-select: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.time-weekday-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.time-weekday-pill.is-active {
  background: var(--admin-blue-soft);
  border-color: var(--admin-blue);
  color: var(--admin-blue);
}

.time-weekday-pill:hover {
  border-color: var(--admin-blue);
}







.schedule-summary {
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
  color: var(--admin-muted);
  font-size: 0.9rem;
}

.schedule-summary strong {
  color: var(--admin-text);
  font-weight: 700;
}

.schedule-day-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.schedule-day {
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  background: var(--admin-panel);
  transition: border-color 140ms ease, background 140ms ease;
}

.schedule-day.is-closed {
  background: #fafbfd;
}

.schedule-day.is-open {
  border-color: #c9d6f5;
}

.schedule-day-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
}

.schedule-day-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.schedule-day-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.schedule-day-toggle-track {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #d6d9de;
  flex-shrink: 0;
  transition: background 140ms ease;
}

.schedule-day-toggle-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  transition: transform 140ms ease;
}

.schedule-day-toggle input:checked + .schedule-day-toggle-track {
  background: var(--admin-blue);
}

.schedule-day-toggle input:checked + .schedule-day-toggle-track::after {
  transform: translateX(16px);
}

.schedule-day-toggle input:focus-visible + .schedule-day-toggle-track {
  outline: 2px solid var(--admin-blue);
  outline-offset: 2px;
}

.schedule-day-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--admin-text);
}

.schedule-day.is-closed .schedule-day-name {
  color: var(--admin-muted);
}

.schedule-day-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.schedule-day-count {
  color: var(--admin-muted);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.schedule-day-copy select {
  height: 32px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--admin-line);
  border-radius: 6px;
  background: #fff;
  color: var(--admin-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.schedule-day-body {
  padding: 0 18px 16px;
}

.schedule-day.is-closed .schedule-day-body {
  display: none;
}

.schedule-day-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
  max-width: 820px;
}

.schedule-day-times .time-slot-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.schedule-day-times .time-input input {
  height: 40px;
}

.schedule-add-time {
  margin-top: 0;
  align-self: flex-start;
}

@media (max-width: 640px) {

  .schedule-day-head {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .schedule-day-meta {
    width: 100%;
    justify-content: space-between;
  }
}

/* ============================================================
   shadcn-inspired admin shell — neutral luxury vineyard palette
   ============================================================ */





/* ---------- Sidebar ---------- */



































/* ---------- Main column ---------- */



.admin-dark .admin-content,
.admin-dark .admin-box,
.admin-dark .settings-reservations {
  min-width: 0;
}























/* Topbar breadcrumb */






/* ---------- Content ---------- */



.admin-dark .admin-box,
.admin-dark .admin-page-context {
  width: auto;
  max-width: 1280px;
  margin: 0 auto;
}



.admin-dark .admin-box {
  padding: 0;
}

.admin-dark .admin-box + .admin-box,
.admin-dark .admin-pageactions + .admin-box {
  margin-top: 16px;
}



/* ---------- Compact stat cards ---------- */





















/* ---------- Cards / panels ---------- */





/* ---------- Buttons ---------- */

.admin-dark .admin-primary,
.admin-dark .admin-outline {
  min-height: 36px;
  border-radius: var(--admin-radius-sm);
  padding: 0 14px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
}

.admin-dark .admin-primary {
  border: 1px solid var(--admin-blue);
  background: var(--admin-blue);
  color: #fafaf9;
  box-shadow: none;
}

.admin-dark .admin-primary:hover {
  background: #27272a;
  border-color: #27272a;
}













/* ---------- Inputs ---------- */

















/* ---------- Tables ---------- */















/* status pill colors based on text content via :has-like fallback (approximation) */


/* ---------- Tabs ---------- */

















/* ---------- Reservations toolbar ---------- */





/* ---------- Settings accordion ---------- */



















/* ---------- Analytics ---------- */























/* ---------- Customer cards ---------- */



























/* ---------- Empty state ---------- */





/* ---------- Modal polish ---------- */





/* ---------- Reservation row badges by status ---------- */



/* generic neutral pill, then override by classnames if present */


/* ---------- Reservation icon buttons ---------- */







/* ---------- Subview / Time slots ---------- */









/* ---------- Editor radio / segmented active ---------- */





/* ---------- Footer savebar (stays attached) ---------- */





/* ---------- Mobile responsive ---------- */







/* ---------- Sidebar overlay on mobile ---------- */





/* ---------- Hide stale topbar above admin shell ---------- */



/* ---------- Tighten experience editor card body ---------- */







/* ---------- Loading skeleton overrides ---------- */







/* ---------- Tighter section headings ---------- */









/* ---------- Customer profile + table polish ---------- */









/* ---------- Reservation status pill colors ---------- */









/* Make the open booking button keep up on small screens */


/* ---------- Lucide icon sizing ---------- */

.icon-4 { width: 16px; height: 16px; flex-shrink: 0; }
.icon-5 { width: 20px; height: 20px; flex-shrink: 0; }
.icon-6 { width: 24px; height: 24px; flex-shrink: 0; }

/* Drag handle now hosts a Lucide grip icon — center it */


/* Delete row icon button — keep the red affordance but render the trash icon centered */




/* Sidebar icon already sized via .icon-4 from the helper; keep the wrapper neutral */


/* Reservation row check/cancel icons render at 18px; keep button cleaner */


/* ============================================================
   Admin modal — make popups inherit the dashboard look
   The backdrop carries `.admin-dark` so all `.admin-dark .X`
   rules cascade into the modal markup. We just have to keep
   the overlay translucent and the padding intact.
   ============================================================ */























/* Promote all admin buttons inside the modal to dashboard styling.
   The legacy gold/uppercase rules applied because the modal lived
   outside `.admin-dark`; with the backdrop carrying the class we
   just have to make sure the dashboard button rules win. */
.modal-backdrop.admin-dark .admin-primary,
.modal-backdrop.admin-dark .admin-outline,
.modal-backdrop.admin-dark .admin-danger {
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--admin-radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-backdrop.admin-dark .admin-primary {
  border: 1px solid var(--admin-blue);
  background: var(--admin-blue);
  color: #fafaf9;
}

.modal-backdrop.admin-dark .admin-primary:hover {
  background: #27272a;
  border-color: #27272a;
}









/* Editor-style modals (booking/blackout/experience) get the same
   tightening so inputs and labels match the dashboard. */








/* ============================================================
   Sidebar — keep the icon visible when an active item is hovered
   The previous rule made the icon adopt --admin-text on hover,
   which is dark — invisible on the dark active pill.
   ============================================================ */





/* ============================================================
   Customer detail — cleaner two-column layout, readable history table
   ============================================================ */

























































































/* ============================================================
   Reservations table — fit a 14" MacBook (≈1264px content area)
   without horizontal scrolling. Width breakdown:
     time 130 + guests 56 + name 170 + ref 110 + experience 150
     + location 130 + status 100 + actions 84 ≈ 930 + gaps.
   ============================================================ */

















/* Tighten the filter row so it doesn't push the table into overflow */




/* ============================================================
   Skeleton — extend with toolbar/filter/table placeholders
   so the dashboard skeleton matches what actually renders.
   ============================================================ */


























/* ============================================================
   Tasting Room Roster
   Monthly calendar + weekly shifts + inline day editor
   Print-friendly via the .is-printing-roster body class
   ============================================================ */























/* Month grid — borderless cells with rounded hover, like the booking calendar */












































/* Weekly view — card grid, no spreadsheet borders */


















































/* Legend */










/* Day editor modal */












































/* Print styles — hide chrome and render the panel as a clean sheet */
@media print {

  body.is-printing-roster {
    background: #ffffff !important;
    color: #1c1917 !important;
  }
  body.is-printing-roster .admin-sidebar,
  body.is-printing-roster .admin-topbar,
  body.is-printing-roster .admin-mobile-menu,
  body.is-printing-roster .roster-toolbar,
  body.is-printing-roster .roster-week-edit,
  body.is-printing-roster .site-footer,
  body.is-printing-roster .toast,
  body.is-printing-roster .roster-legend {
    display: none !important;
  }
  body.is-printing-roster .admin-dark,
  body.is-printing-roster .admin-shell,
  body.is-printing-roster .admin-main-col,
  body.is-printing-roster .admin-content,
  body.is-printing-roster .admin-box {
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    grid-template-columns: none !important;
    max-width: none !important;
  }
  
  
  
  
  
  
  
  
  @page {
    margin: 16mm;
    size: landscape;
  }
}

/* ============================================================
   Reservation date picker — replaces the native <input type="date">
   with the same calendar UI used throughout the booking flow so
   staff see one consistent control.
   ============================================================ */









.reservation-date-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--admin-muted-strong);
}

.reservation-date-trigger-label {
  font-variant-numeric: tabular-nums;
}

.reservation-date-trigger-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--admin-muted);
  margin-left: 2px;
}





























.reservation-date-popover-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--admin-line);
}

.reservation-date-popover-foot button {
  background: transparent;
  border: 0;
  padding: 6px 8px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--admin-blue);
  cursor: pointer;
  border-radius: var(--admin-radius-sm);
}

.reservation-date-popover-foot button:hover {
  background: var(--admin-panel-2);
}



/* Sidebar credit block — appears under the Logout button */










/* ============================================================
   Dark mode — opt-in via [data-theme="dark"] on <html>.
   Overrides only the admin shell tokens; rest of the marketing
   site stays untouched.
   ============================================================ */





/* Topbar uses a hardcoded translucent white — flip to translucent dark. */


/* Active nav item & primary buttons use --admin-blue as fill with
   hardcoded near-white text. In dark mode the fill flips to light, so
   text needs to flip dark to stay legible. */
[data-theme="dark"] .admin-dark .admin-sidebar-item.is-active,
[data-theme="dark"] .admin-dark .admin-sidebar-item.is-active .admin-sidebar-icon,
[data-theme="dark"] .admin-dark .admin-primary,
[data-theme="dark"] .admin-dark .admin-outline.is-active {
  color: #18181b;
}

[data-theme="dark"] .admin-dark .admin-primary:hover,
[data-theme="dark"] .admin-dark .admin-outline.is-active:hover {
  background: #d6d3d1;
  border-color: #d6d3d1;
  color: #18181b;
}

/* Native form controls: hint UA to render dark popups/scrollbars. */


/* Select chevron in the day editor uses an inline SVG with the muted
   stroke baked into the URL — swap it for a lighter one in dark mode. */


/* Empty Next-reservation card — render the playful one-liner as the
   main content instead of a tiny hint. */






/* Staff Schedule — Staff tab */










































/* ============================================================
   Messages — admin email log, rules, templates
   ============================================================ */





.admin-dark .messages-head .admin-muted {
  margin: 0;
}

.admin-dark .admin-muted {
  color: var(--admin-muted);
  font-size: 0.85rem;
}



























.admin-dark .users-head .admin-muted {
  margin: 0;
}

.admin-dark .users-head .admin-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}







































/* ── Site Protection ─────────────────────────────────────────────────── */







.admin-dark .protection-head .admin-muted {
  margin: 0;
  max-width: 60ch;
  font-size: 0.86rem;
  line-height: 1.5;
}































.admin-dark .admin-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.admin-dark .admin-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.admin-dark .admin-toggle-track {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--admin-line);
  position: relative;
  transition: background-color 160ms ease;
}

.admin-dark .admin-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 160ms ease;
}

.admin-dark .admin-toggle input:checked + .admin-toggle-track {
  background: #1f6f3a;
}

.admin-dark .admin-toggle input:checked + .admin-toggle-track .admin-toggle-thumb {
  transform: translateX(18px);
}

.admin-dark .admin-toggle input:disabled + .admin-toggle-track {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Public-facing unlock screen (renders into #app on the public booking site) */

.site-unlock {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background: transparent;
  font-family: inherit;
}

.site-unlock-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.site-unlock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f3ecdc;
  color: #6b5320;
  margin-bottom: 4px;
}

.site-unlock-card h1 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-unlock-card p {
  margin: 0;
  color: #6e6a62;
  font-size: 0.9rem;
}

.site-unlock-card form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.site-unlock-card input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
}

.site-unlock-card input:focus {
  outline: 2px solid #b3955b;
  outline-offset: -1px;
}

.site-unlock-card button,
.site-unlock-card button.admin-primary,
.site-unlock-card button.admin-primary:hover,
.site-unlock-card button.admin-primary:focus-visible,
.site-unlock-card button.admin-primary:disabled {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #1f1c18;
  border-radius: 10px;
  background: #1f1c18;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
  transition: opacity 120ms ease;
}

.site-unlock-card button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.site-unlock-error {
  margin: 0;
  color: #9a1f1f;
  font-size: 0.85rem;
}





@keyframes usersTableLoaderFade {
  from { opacity: 0; }
  to { opacity: 1; }
}









































































































































































































/* Sent — neutral dark */



/* Delivered — green */



/* Opened — blue */



/* Clicked — purple */



/* Failed */

/* ===================================================================
   Mobile booking redesign — time-selection step on (max-width: 720px)
   =================================================================== */

.mb-availability { display: none; }

@media (min-width: 721px) {

  .mb-availability { display: none !important; }
}

@media (max-width: 720px) {

  .experience-card.is-booking[data-booking-step="availability"] {
    display: block;
    background: transparent;
    border: 0;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 88px;
  }

  .experience-card.is-booking[data-booking-step="availability"] > .card-booking-calendar,
  .experience-card.is-booking[data-booking-step="availability"] > .card-booking-controls,
  .experience-card.is-booking[data-booking-step="availability"] > .card-booking-actions {
    display: none;
  }

  .experience-list.is-booking-focus {
    padding-top: 12px;
    padding-bottom: 0;
    min-height: 0;
  }

  .experience-card.is-booking[data-booking-step="availability"] > .card-booking-header {
    background: #fff;
    border: 1px solid #ead9bd;
    border-radius: 12px;
    margin: 0 12px 12px;
    padding: 18px 18px 14px;
    grid-template-columns: 1fr;
  }

  .experience-card.is-booking[data-booking-step="availability"] > .card-booking-header > .card-booking-title h3 {
    font-size: 1.55rem;
  }

  .experience-card.is-booking[data-booking-step="availability"] > .card-booking-header > .booking-steps {
    margin-top: 10px;
  }

  .mb-availability {
    display: block;
    padding: 0 12px;
  }
}

.mb-section {
  background: #fff;
  border: 1px solid #ead9bd;
  border-radius: 12px;
  padding: 16px 16px;
  margin-bottom: 12px;
  min-width: 0;
  overflow: hidden;
}

.mb-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mb-section-head h4 {
  margin: 0;
  font-family: var(--body-font);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.mb-section-head--with-icon {
  margin-bottom: 14px;
}

.mb-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4ecdc;
  color: #735423;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.mb-text {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mb-text strong {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

.mb-text small {
  color: var(--muted);
  font-size: 0.82rem;
}

.mb-toggle-month {
  background: transparent;
  border: 0;
  padding: 4px 0;
  color: var(--gold-dark);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.mb-toggle-month:hover { color: var(--gold); }

/* Date strip ------------------------------------------------------- */

.mb-day-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;
  padding: 2px 4px;
  scrollbar-width: none;
}

.mb-day-strip::-webkit-scrollbar { display: none; }

.mb-day-chip {
  flex: 0 0 calc((100% - 24px) / 4);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 8px;
  background: #fff;
  border: 1px solid #ead9bd;
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--body-font);
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.mb-day-chip-weekday {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.mb-day-chip-num {
  font-family: var(--display-font);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}

.mb-day-chip-month {
  font-size: 0.72rem;
  color: var(--muted);
}

.mb-day-chip.is-selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.mb-day-chip.is-selected .mb-day-chip-weekday,
.mb-day-chip.is-selected .mb-day-chip-month {
  color: rgba(255, 255, 255, 0.92);
}

.mb-day-chip.is-past,
.mb-day-chip:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.mb-day-chip.is-closed {
  background: #f6f1e6;
  border-color: #e3dccd;
  color: #b2a692;
  opacity: 1;
  cursor: not-allowed;
}

.mb-day-chip.is-closed .mb-day-chip-num,
.mb-day-chip.is-closed .mb-day-chip-weekday {
  color: #b2a692;
}

.mb-day-chip.is-closed .mb-day-chip-month {
  color: #c0a96d;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.62rem;
}

.mb-month-host .calendar {
  background: transparent;
}

.mb-month-host .calendar-head {
  padding: 4px 0 8px;
}

/* Guests stepper --------------------------------------------------- */

.mb-guests-section {
  display: block;
  padding: 14px 16px;
}

.mb-guests-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mb-guests-section .mb-text strong {
  font-size: 0.98rem;
}

.mb-guest-cap-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  padding: 10px 12px;
  background: #fff4d8;
  border: 1px solid #e5cf94;
  border-radius: 8px;
  color: var(--gold-dark);
  font-size: 0.86rem;
  line-height: 1.4;
}

.mb-guest-cap-notice a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.mb-guest-cap-notice-icon {
  flex: 0 0 auto;
  color: var(--gold-dark);
  margin-top: 2px;
}

.mb-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mb-stepper-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ead9bd;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.mb-stepper-btn:hover:not(:disabled) {
  background: #fffaf1;
}

.mb-stepper-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.mb-stepper-value {
  min-width: 32px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

/* Time grid -------------------------------------------------------- */

.mb-time-section { padding-bottom: 14px; }

.mb-time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.mb-time-pill {
  padding: 12px 0;
  border: 1px solid #ead9bd;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.mb-time-pill:hover:not(:disabled):not(.is-selected) {
  background: #fffaf1;
  border-color: var(--gold);
}

.mb-time-pill.is-selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.mb-time-pill:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.mb-time-empty {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 16px 0;
}

.mb-time-loading {
  display: grid;
  place-items: center;
  padding: 20px 0;
}

.mb-time-loading .spinner {
  width: 24px;
  height: 24px;
  border-width: 2px;
}

.mb-time-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid #f1e6cf;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.mb-time-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: var(--gold-dark);
  flex: 0 0 auto;
  margin-top: 1px;
}

/* Action bar ------------------------------------------------------- */

.mb-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  background: rgba(251, 247, 239, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid #ead9bd;
  padding: 10px 12px;
  gap: 10px;
  z-index: 50;
}

@media (max-width: 720px) {

  body:has(.experience-card.is-booking[data-booking-step="availability"]) .site-footer,
  body:has(.experience-card.is-booking[data-booking-step="details"]) .site-footer {
    display: none;
  }
}

/* Mobile-only Back/Next bar for the details step.
   The desktop view keeps the inline form actions; on mobile we render this
   floating bar instead and hide the inline ones. */
.mb-action-bar--details { display: none; }

@media (max-width: 720px) {

  .experience-card.is-booking[data-booking-step="details"] .booking-form-actions {
    display: none;
  }

  .experience-card.is-booking[data-booking-step="details"] .card-booking-controls {
    padding-bottom: 88px;
  }

  .mb-action-bar--details {
    display: grid;
  }
}

.mb-action-bar .mb-back {
  border: 1px solid var(--gold);
  background: #fff;
  color: var(--gold-dark);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 56px;
  height: 56px;
}

.mb-action-bar .mb-next {
  background: var(--gold);
  border: 0;
  color: #fff;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mb-action-bar .mb-next:disabled {
  background: #d6d2c8;
  color: #fff;
  cursor: not-allowed;
}

/* === Commerce7 host (account + cart icons) for the booking SPA's
   public pages (/experiences, /lodge, /restaurant, …). Mirrors the
   shop/home host so the cart icon, Login link, and the c7 theme vars
   that paint the side-cart all behave identically. The host now also
   carries the Wine Club + Contact text links so the right side reads
   "Wine Club · Contact · Login · Cart" in a single inline-flex row. */
.site-c7-host {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  /* Height + margin-right come from the canonical .home-c7-host /
     .site-c7-host / .shop-c7-host rule in site-nav.css (52px fixed).
     A stale `min-height: 55px` here used to push the row 3px taller on
     every page except /home, which was the source of the "header
     bigger on events than home" jump when navigating between them. */
  /* Theme vars Commerce7 reads — give the side-cart's empty-state
     "Start Shopping" button + summary CTAs the same gold paint as the
     rest of the site, regardless of which page surfaced the cart. */
  --c7-alt-text-color: #c9a868;
  --c7-heading-font-family: "Goudy Bookletter 1911";
  --c7-heading-font-weight: 600;
  --c7-link-color: #1b1b1b;
  --c7-field-option-selected-color: #C9A868;
  --c7-field-option-focus-color: #c9a968c2;
  --c7-primary-button-bg: #C9A868;
  --c7-primary-button-bg-hover: transparent;
  --c7-alt-button-bg: transparent;
  --c7-alt-button-bg-hover: #C9A868;
  --c7-cart-count-bg: #C9A868;
  --c7-cart-count-bg-focus: #C9A868;
}
.site-c7-host #c7-cart {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 35px;
}
/* Cart is hidden until the customer adds an item — c7's trigger
   button drops "contains 0 items" from its aria-label as soon as
   the cart count goes above 0, so a negation match flips display
   on. */
.site-c7-host #c7-cart:has(button[aria-label*="contains"]:not([aria-label*="contains 0 items"])) {
  display: inline-flex;
}
/* Official Commerce7 account widget — c7's bundle injects "Login"
   when logged out and "Hello, [Name]" + dropdown when logged in. Gate
   the slot on first paint the same way we do the cart so it doesn't
   blink an empty box before c7 boots. */
.site-c7-host #c7-account {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  opacity: 0;
  transition: opacity 320ms ease;
}
.site-c7-host:has(#c7-account > *) #c7-account { opacity: 1; }
/* Header cart styling — match /shop. */
.site-c7-host .c7-user-nav__cart button { border: none; }
.site-c7-host .c7-user-nav__cart button:hover,
.site-c7-host .c7-user-nav__cart button:focus { background-color: transparent !important; }
.site-c7-host .c7-user-nav__cart__title svg { stroke: var(--ink); }
@media (max-width: 720px) {
  .site-c7-host { margin-right: 14px; gap: 8px; }
}

/* === Document scrollbar — a slim, branded replacement for the OS
   default, with a dark track + lighter thumb (Waterford-style).
   Applied at the html level only (NOT *) so nested scrollable
   regions like Commerce7's side-cart can keep their own
   `scrollbar-width: none`. */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.4) rgba(20, 14, 10, 0.85);
}
html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
html::-webkit-scrollbar-track {
  background: rgba(20, 14, 10, 0.85);
}
html::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  transition: background 220ms ease;
}
html::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.6);
}

/* Cart button — Commerce7's stock styles set padding: 15px 0 on the
   trigger, making it ~55px tall, which then dominates vertically and
   reads as if the bag sits above the row of text links next to it.
   Re-flow it as an inline-flex centered box at the same height as the
   neighbouring text links (35px), so Wine Club / Contact / Login /
   Cart all sit on one line. */
.c7-user-nav__cart .c7-link {
  position: relative;
  padding: 0 !important;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* The bag glyph's visual weight lives in the lower body, so a true
   box-centered SVG appears to "hang low" relative to the cap-height
   of neighbouring text (Wine Club / Contact / Login). Pull the icon
   up a few pixels so its body lines up with the text x-height instead
   of extending below the baseline. */
.c7-user-nav__cart .c7-user-nav__cart__title svg {
  transform: translateY(-3px);
}
/* Cart count badge — Commerce7 ships it as a static <span> right after
   the icon, which lands it next to (and slightly below) the bag. Pin
   it absolute to the top-right corner of the icon so it reads as a
   classic "items in cart" pill. Pulled further to the right of the bag
   per design, with a small upward nudge so it sits clear of the
   icon's outline. Applied on every page that mounts the c7 cart
   widget. */
.c7-user-nav__cart__count {
  position: absolute;
  top: -2px;
  right: -18px;
  pointer-events: none;
}

/* Wine Club + Contact text links — sit inside any of the c7-host
   wrappers (.site-c7-host, .shop-c7-host, .home-c7-host) before the
   account / cart widgets so the right side reads "Wine Club · Contact
   · Login · Cart" in one inline row. Class-based styling (rather than
   parent-scoped) so the same hover state works regardless of which
   host class wraps it. The over-hero white state is handled per page
   (only /home runs a transparent header). */
.site-c7-host-link {
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 4px;
  white-space: nowrap;
  transition: color 220ms ease;
}
.site-c7-host-link:hover { color: var(--gold); }
@media (max-width: 720px) {
  /* The four-item row is too cramped on phones; the page-level mobile
     drawer is the better place to surface Wine Club + Contact, so we
     hide them in the header on narrow viewports. */
  .site-c7-host-link { display: none; }
}

/* Commerce7 account widget — global selectors (no parent prefix) so
   they apply on any page that mounts #c7-account, the same pattern we
   use for .c7-user-nav__cart below. Force the trigger to look like a
   .site-c7-host-link; style the dropdown panel to match site paper.
   c7 renders an anchor with class __account__login when logged out and
   a button with class __account__title when logged in. The over-hero
   white state is layered on per page (only /home runs a transparent
   header). */
#c7-account .c7-user-nav__account,
#c7-account .c7-user-nav__account__login,
#c7-account .c7-user-nav__account__title,
#c7-account .c7-user-nav__account__name,
#c7-account .c7-user-nav__account button,
#c7-account .c7-user-nav__account .c7-link {
  background: transparent !important;
  border: 0 !important;
  padding: 8px 4px !important;
  margin: 0 !important;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
  transition: color 220ms ease;
}
#c7-account .c7-user-nav__account__login:hover,
#c7-account .c7-user-nav__account__login:focus,
#c7-account .c7-user-nav__account__title:hover,
#c7-account .c7-user-nav__account__title:focus,
#c7-account .c7-user-nav__account button:hover,
#c7-account .c7-user-nav__account button:focus,
#c7-account .c7-user-nav__account .c7-link:hover,
#c7-account .c7-user-nav__account .c7-link:focus { color: var(--gold); }
#c7-account .c7-user-nav__account__dropdown {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(45, 37, 31, 0.12);
  padding: 0;
  min-width: 280px;
  overflow: hidden;
}
#c7-account .c7-user-nav__account__dropdown__header {
  padding: 18px 22px 16px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
#c7-account .c7-user-nav__account__dropdown__header p { margin: 0; }
#c7-account .c7-user-nav__account__dropdown__header a {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: var(--ink) !important;
  font-family: var(--body-font);
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  line-height: 1.2;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
#c7-account .c7-user-nav__account__dropdown__header a > span {
  display: block;
  color: var(--gold) !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  line-height: 1.2;
  word-break: break-all;
}
#c7-account .c7-user-nav__account__dropdown ul {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
#c7-account .c7-user-nav__account__dropdown ul li { margin: 0; }
#c7-account .c7-user-nav__account__dropdown ul li a {
  display: flex;
  align-items: center;
  width: 100%;
  color: var(--ink) !important;
  font-family: var(--body-font);
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  padding: 10px 22px !important;
  text-decoration: none;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}
#c7-account .c7-user-nav__account__dropdown ul li a:hover {
  color: var(--gold) !important;
  background: rgba(201, 168, 104, 0.08) !important;
}
#c7-account .c7-user-nav__account__dropdown ul li a[href*="reservation" i] {
  display: none !important;
}
#c7-account .c7-link.c7-user-nav__account__dropdown__logout,
#c7-account a.c7-user-nav__account__dropdown__logout {
  display: flex !important;
  align-items: center;
  width: 100%;
  color: var(--ink) !important;
  font-family: var(--body-font);
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  padding: 12px 22px !important;
  text-decoration: none !important;
  background: transparent !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-top: 1px solid var(--line) !important;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}
#c7-account .c7-user-nav__account__dropdown__logout:hover {
  color: var(--gold) !important;
  background: rgba(201, 168, 104, 0.08) !important;
}
#c7-account .c7-user-nav__account__dropdown__logout svg {
  margin-left: auto;
  stroke: currentColor;
}

