/* Guest shell for the redesigned routes (CH-GUEST-DESIGN v2). Loaded only on those routes. */
body { margin: 0; background: var(--bone-100); }
body.g-menu-open { overflow: hidden; }
.g-root { min-height: 100vh; background: var(--bg); color: var(--text); }
.g-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons inherit colour from `.ch-root button`; restate filled variants so labels stay readable. */
.ch-root .ch-btn--primary { color: var(--on-accent); }
.ch-root .ch-btn--solid { color: var(--on-solid); }
.ch-root .ch-btn--inverse { color: var(--bone-50); }
.ch-root .ch-btn--outline, .ch-root .ch-btn--ghost { color: var(--text); }

.g-skip { position: absolute; left: var(--s-4); top: -100px; z-index: 200; padding: var(--s-3) var(--s-4); border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.g-skip:focus { top: var(--s-3); }

.g-header .ch-header__brand img { height: clamp(40px, 3.4vw, 52px); }
.g-header.ch-header--over-media:not(.is-scrolled) .g-plan { border-color: rgb(247 242 233 / .4); color: var(--bone-50); }
.g-header.ch-header--over-media .g-login summary { color: var(--bone-100); }

.g-login { position: relative; }
.g-login summary { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 40px; padding: 0 var(--s-3); border-radius: var(--r-pill); list-style: none; cursor: pointer; font: 600 .875rem/1 var(--font-sans); color: var(--text); }
.g-login summary::-webkit-details-marker { display: none; }
.g-login summary:hover { background: color-mix(in srgb, currentColor 9%, transparent); }
.g-login__caret { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease-out); }
.g-login[open] .g-login__caret { transform: rotate(180deg); }
.g-login__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; display: grid; min-width: 260px; padding: var(--s-2); border-radius: var(--r-lg); background: var(--bone-50); border: 1px solid rgb(28 22 14 / .12); box-shadow: var(--shadow-3); }
.g-login__menu a { display: grid; gap: 2px; padding: var(--s-3) var(--s-4); border-radius: var(--r-md); text-decoration: none; color: #15201a; }
.g-login__menu a:hover { background: var(--bone-200); }
.g-login__menu strong { font-weight: 600; }
.g-login__menu small { color: var(--stone-700); font-size: .8125rem; }
@media (max-width: 1023px) { .g-login summary span { display: none; } }
@media (max-width: 640px) { .g-login { display: none; } }

.ch-root .g-footer { background: var(--bg); }
.g-footer__line { color: var(--text); }
.g-footer__contact li { display: flex; align-items: center; gap: var(--s-2); }
.ch-root .g-footer .ch-footer__bottom a { color: inherit; }

@media (prefers-reduced-motion: reduce) { .g-login__caret { transition: none; } }

/* Booking bar segments shared by every redesigned page. */
.g-bar { position: relative; }
.g-seg-label { font: 600 .75rem/1.2 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-subtle); }
.g-seg-control { appearance: none; -webkit-appearance: none; background: transparent; border: 0; padding: 0; margin: 0; font: 500 1rem/1.3 var(--font-sans); color: var(--text); width: 100%; min-height: 24px; cursor: pointer; }
[data-theme="night"] .g-seg-control { color-scheme: dark; }
.g-seg-control:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r-xs); }
.g-seg-control option { background: var(--bg-raised); color: var(--text); }
.g-guests { display: flex; align-items: center; gap: var(--s-3); }
.ch-root .g-guests button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-strong); background: none; color: var(--text); cursor: pointer; }
.ch-root .g-guests button:hover { border-color: var(--text); }
.g-guests output { font: 500 1rem/1 var(--font-sans); font-variant-numeric: tabular-nums; min-width: 2ch; text-align: center; }

/* Range date picker (RangePicker.tsx). */
.dp { display: contents; }
.ch-root .dp-seg { font: inherit; color: var(--text); cursor: pointer; }
.ch-root .dp-seg.is-active { background: color-mix(in srgb, var(--text) 9%, transparent); }
.ch-root .dp-seg .dp-val { color: var(--text); }
.dp-pop { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); z-index: 30; width: min(740px, calc(100vw - 32px)); display: grid; gap: var(--s-4); padding: var(--s-5) var(--s-6); border-radius: var(--r-xl); background: var(--bg-raised); border: 1px solid var(--border); box-shadow: var(--shadow-3); color: var(--text); text-align: left; }
.dp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); }
.dp-step { margin: 0; font: var(--display-weight) var(--display-xs)/1.25 var(--font-display); font-variation-settings: "SOFT" var(--display-soft); }
.dp-sub { margin: 4px 0 0; font-size: var(--text-sm); color: var(--text-muted); }
.dp-navs { display: flex; gap: var(--s-2); }
.ch-root .dp-nav { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); background: none; color: var(--text); cursor: pointer; }
.ch-root .dp-nav:hover:not(:disabled) { border-color: var(--text); }
.ch-root .dp-nav:disabled { opacity: .3; cursor: not-allowed; }
.dp-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); }
.dp-month h4 { margin: 0 0 var(--s-3); text-align: center; font: var(--display-weight) 1.125rem/1.3 var(--font-display); font-variation-settings: "SOFT" var(--display-soft); }
.dp-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; }
.dp-dow { text-align: center; padding-bottom: 6px; font: 600 .75rem/1.4 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--text-subtle); }
.dp-dow abbr { text-decoration: none; }
.dp-cell { position: relative; height: 44px; display: grid; place-items: center; }
.dp-cell::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 0; right: 0; pointer-events: none; }
.dp-cell.is-band::before { background: var(--accent-soft); }
.dp-cell.is-band-start::before { left: 50%; background: var(--accent-soft); }
.dp-cell.is-band-end::before { right: 50%; background: var(--accent-soft); }
.dp-cell.is-preview::before { opacity: .6; }
.ch-root .dp-day { position: relative; z-index: 1; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1.5px solid transparent; background: none; color: var(--text); font: 500 .9375rem/1 var(--font-sans); font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.ch-root .dp-day:hover:not(:disabled) { border-color: var(--text); }
.ch-root .dp-day:focus-visible, .ch-root .dp-nav:focus-visible, .ch-root .dp-seg:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ch-root .dp-day.is-pick { background: var(--solid); border-color: var(--solid); color: var(--on-solid); font-weight: 600; }
.ch-root .dp-day.is-today { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ch-root .dp-day:disabled { color: var(--text-subtle); opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.dp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--border); }
.dp-times { font-size: var(--text-xs); color: var(--text-subtle); }
@media (max-width: 760px) {
  .dp-pop { left: 0; transform: none; width: 100%; padding: var(--s-4); }
  .dp-months { grid-template-columns: 1fr; }
  .dp-month + .dp-month { display: none; }
  .dp-times { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ch-root .dp-day { transition: none; } }

/* Full-screen photo viewer (PhotoViewer.tsx). */
.g-viewer { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto auto; gap: var(--s-4); padding: var(--s-4) var(--gutter); background: rgb(4 5 7 / .97); color: var(--bone-100); }
.g-viewer__bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.g-viewer__where { display: grid; gap: 2px; margin-right: auto; }
.g-viewer__where small { font: 600 .75rem/1.4 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--lamp-300); }
.g-viewer__where strong { font: var(--display-weight) var(--display-xs)/1.2 var(--font-display); font-variation-settings: "SOFT" var(--display-soft); color: var(--bone-50); }
.g-viewer__chips { flex: 0 1 auto; }
.g-viewer__count { font: 600 .75rem/1.4 var(--font-sans); letter-spacing: .2em; font-variant-numeric: tabular-nums; color: var(--bone-200); }
.ch-root .g-viewer__round { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid rgb(247 242 233 / .3); background: rgb(247 242 233 / .06); color: var(--bone-50); cursor: pointer; transition: background-color var(--dur-fast), border-color var(--dur-fast); }
.ch-root .g-viewer__round:hover { background: rgb(247 242 233 / .14); border-color: var(--bone-50); }
.ch-root .g-viewer__round:focus-visible, .ch-root .g-viewer__strip button:focus-visible { outline: 2px solid var(--lamp-400); outline-offset: 3px; }
.g-viewer__stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-4); min-height: 0; }
.g-viewer__stage figure { margin: 0; height: 100%; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--s-3); }
.g-viewer__stage img { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: var(--r-md); }
.g-viewer__stage figcaption { display: grid; gap: 2px; justify-items: center; text-align: center; }
.g-viewer__stage figcaption strong { font: italic var(--display-weight) var(--display-xs)/1.3 var(--font-display); font-variation-settings: "SOFT" var(--display-soft); color: var(--bone-50); }
.g-viewer__stage figcaption span { font-size: var(--text-sm); color: var(--bone-200); max-width: 70ch; }
.g-viewer__strip { display: flex; gap: var(--s-2); overflow-x: auto; padding: var(--s-1) 2px var(--s-2); scrollbar-width: thin; }
.ch-root .g-viewer__strip button { flex: none; width: 88px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: var(--night-800); cursor: pointer; opacity: .5; transition: opacity var(--dur-fast), border-color var(--dur-fast); }
.g-viewer__strip img { width: 100%; height: 100%; object-fit: cover; }
.ch-root .g-viewer__strip button:hover { opacity: .9; }
.ch-root .g-viewer__strip button[aria-current="true"] { opacity: 1; border-color: var(--lamp-400); }
.g-viewer__phone-nav { display: none; justify-content: center; gap: var(--s-4); }
.g-viewer__hint { margin: 0; text-align: center; font-size: var(--text-xs); color: var(--bone-300); }
@media (max-width: 760px) {
  .g-viewer__stage { grid-template-columns: 1fr; }
  .g-viewer__stage > .g-viewer__round { display: none; }
  .g-viewer__phone-nav { display: flex; }
  .g-viewer__chips { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .ch-root .g-viewer__strip button { width: 64px; height: 46px; }
  .g-viewer__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ch-root .g-viewer__round, .ch-root .g-viewer__strip button { transition: none; } }
