/* Editorial stay: a full-frame photograph and a quiet, fully functional booking rail. */
:root { --booking-panel-width: clamp(390px, 31vw, 448px); }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--paper); color: var(--ink); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
button { touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .45; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
.skip-link { position: fixed; left: 16px; top: -80px; padding: 12px 18px; background: var(--ink); color: var(--paper); z-index: 30; }
.skip-link:focus { top: 12px; }
.editorial-header { position: sticky; top: 0; z-index: 10; background: var(--paper); }
.editorial-header nav a { white-space: nowrap; }
#booking-heading, .property-disclosure, .booking-confirmation, .stay-summary, .inline-booking :is(input, select, button) { scroll-margin-top: 100px; }
.stay-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--booking-panel-width); align-items: start; }
.property-panel { grid-column: 2; grid-row: 1; min-width: 0; min-height: calc(100dvh - 76px); padding: 24px 30px; border-left: 1px solid var(--line); }
.eyebrow { font-size: 10px; font-weight: 400; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.property-overview .eyebrow { color: var(--muted); margin: 0 0 12px; }
.property-overview h1 { font-family: var(--display-font); font-size: clamp(48px, 3.7vw, 58px); font-weight: 300; letter-spacing: -.015em; line-height: 1; text-transform: uppercase; margin: 0; overflow-wrap: anywhere; }
.property-subtitle { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 12px 0 0; }
.property-summary { font-size: 13px; line-height: 1.5; margin: 12px 0 0; }
.property-facts { display: grid; gap: 4px; margin-top: 10px; font-size: 12px; line-height: 1.5; }
.property-shortcuts { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0 0 12px; font-size: 12px; }
.property-shortcuts a { display: inline-flex; align-items: center; min-height: 32px; text-decoration-color: var(--line); }
.property-shortcuts a:hover { text-decoration-color: var(--ink); }
.inline-booking { border-top: 1px solid var(--line); padding-top: 18px; }
.booking-heading-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.inline-booking h2 { font-family: var(--display-font); font-size: 30px; font-weight: 300; letter-spacing: .015em; line-height: 1; text-transform: uppercase; margin: 0; }
.booking-badge { color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.booking-intro { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 8px 0 12px; }
.booking-steps { display: flex; gap: 24px; padding: 0; margin: 0; list-style: none; font-size: 11px; line-height: 1.5; color: var(--muted); }
.booking-steps li { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid transparent; }
.booking-steps li > span { font-variant-numeric: tabular-nums; color: var(--muted); }
.booking-steps [aria-current="step"] { color: var(--ink); border-bottom-color: var(--ink); }
.inline-booking fieldset { display: grid; gap: 16px; border: 0; min-width: 0; margin: 12px 0 0; padding: 0; }
.inline-booking label { display: grid; gap: 8px; font-size: 12px; line-height: 1.4; }
.inline-booking input, .inline-booking select { background: var(--panel); border: 1px solid var(--control-line); border-radius: 0; color: var(--ink); font-size: 16px; min-height: 46px; min-width: 0; padding: 10px 12px; width: 100%; }
.inline-booking input:focus, .inline-booking select:focus { border-color: var(--ink); }
.inline-booking .field-label { display: flex; justify-content: space-between; gap: 8px; }
.field-label small { font-size: 11px; font-weight: 400; color: var(--muted); }
.guest-name-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking-actions { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 12px; align-items: end; }
.inline-booking .booking-primary { background: var(--ink); border: 1px solid var(--ink); border-radius: 0; color: var(--paper); font-size: 13px; font-weight: 400; min-height: 46px; padding: 12px; transition: background 150ms; }
.inline-booking .booking-primary:hover:not(:disabled) { background: var(--accent-dark); }
.inline-booking .booking-primary:disabled { background: var(--paper-deep); border-color: var(--line); color: var(--muted); opacity: 1; }
.booking-status { margin: 0; font-size: 12px; line-height: 1.5; }
.booking-status.bad { border-left: 2px solid var(--bad); padding: 8px 12px; color: var(--bad); }
.booking-status.is-loading { color: var(--muted); }
.request-access { margin-top: 10px; }
.request-access a { display: flex; gap: 12px; align-items: center; justify-content: space-between; min-height: 44px; font-size: 12px; color: var(--muted); text-decoration: none; }
.request-access a:hover { color: var(--ink); text-decoration: underline; }
.booking-reassurance { padding: 0 0 22px; margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.stay-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; line-height: 1.5; }
.stay-summary button, .booking-confirmation button { background: transparent; border: 0; color: inherit; min-height: 44px; padding: 6px 0; text-decoration: underline; text-underline-offset: 4px; }
.booking-estimate { display: grid; gap: 12px; border-block: 1px solid var(--line); padding: 18px 0; }
.booking-estimate > p { font-size: 11px; color: var(--muted); margin: 0; }
.booking-estimate > div { display: grid; gap: 10px; }
.booking-estimate-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 12px; line-height: 1.5; }
.booking-estimate-row > :last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.booking-estimate-row.is-total { border-top: 1px solid var(--line); padding-top: 12px; font-size: 18px; }
.booking-estimate-row.is-deposit { color: var(--muted); }
.booking-estimate > small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.inline-booking .whatsapp-consent { font-size: 12px; line-height: 1.5; }
.booking-confirmation { display: grid; gap: 12px; padding-top: 24px; font-size: 13px; line-height: 1.5; }
.booking-confirmation > p { font-family: var(--display-font); font-size: 36px; text-transform: uppercase; margin: 0; }
.booking-confirmation > strong { display: block; background: var(--paper-deep); padding: 16px; font-size: 18px; font-weight: 400; overflow-wrap: anywhere; }
.booking-confirmation > div { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.booking-confirmation a { min-height: 44px; display: inline-flex; align-items: center; }
.booking-unavailable { padding: 24px 0; font-size: 14px; }

/* Date controls retain native keyboard behavior and distinct unavailable/range states. */
.inline-booking .booking-calendar { font-family: var(--ui-font); }
.inline-booking .booking-calendar button { border-color: var(--line); border-radius: 0; }
.inline-booking .booking-calendar .calendar-selection { gap: 12px; }
.inline-booking .booking-calendar .calendar-selection button { background: var(--panel); min-height: 58px; padding: 9px 12px; border: 0; border-bottom: 1px solid var(--control-line); }
.inline-booking .booking-calendar .calendar-selection span { font-size: 11px; color: var(--muted); }
.inline-booking .booking-calendar .calendar-selection strong { font-size: 13px; font-weight: 400; margin-top: 8px; }
.inline-booking .booking-calendar .calendar-selection [aria-pressed="true"] { border-color: var(--ink); box-shadow: none; }
.inline-booking .booking-calendar .calendar-navigation { margin: 4px 0; }
.inline-booking .booking-calendar .calendar-navigation button { border: 0; min-width: 44px; min-height: 44px; padding: 0; font-size: 24px; }
.inline-booking .booking-calendar .calendar-navigation strong { font-size: 12px; font-weight: 400; }
.inline-booking .booking-calendar th { color: var(--muted); font-size: 10px; padding: 8px 0; }
.inline-booking .booking-calendar td { padding: 1px; }
.inline-booking .booking-calendar td button { min-height: 32px; font-size: 12px; font-variant-numeric: tabular-nums; }
.inline-booking .booking-calendar td button:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--ink); }
.inline-booking .booking-calendar td button.is-selected { background: var(--ink); color: var(--paper); }
.inline-booking .booking-calendar td button.is-in-range { background: var(--paper-deep); color: var(--ink); }
.inline-booking .booking-calendar td button.is-blocked:not(:disabled) { outline-color: var(--muted); }
.inline-booking .booking-calendar button:focus-visible { outline-color: var(--ink); }
.inline-booking .booking-calendar .calendar-rules, .inline-booking .booking-calendar .calendar-legend, .inline-booking .booking-calendar .calendar-status { font-size: 11px; line-height: 1.6; margin: 8px 0; color: var(--muted); }
.inline-booking .booking-calendar .calendar-status { color: var(--ink); }
.inline-booking .booking-calendar .calendar-status:empty { display: none; }
.inline-booking .booking-calendar .calendar-actions { justify-content: space-between; gap: 8px; }
.inline-booking .booking-calendar .calendar-actions button { font-size: 11px; min-height: 40px; border: 0; padding: 6px 0; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; }
.inline-booking .booking-calendar .calendar-actions button:hover:not(:disabled) { text-decoration-color: var(--ink); }
.property-disclosure { border-top: 1px solid var(--line); }
.property-disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; list-style: none; font-size: 12px; }
.property-disclosure summary::-webkit-details-marker { display: none; }
.disclosure-mark { font-size: 20px; font-weight: 300; color: var(--muted); }
.property-disclosure[open] .disclosure-mark { transform: rotate(45deg); }
.disclosure-content { padding: 0 0 24px; }
.property-kind { margin: 0 0 12px; font-size: 11px; text-transform: capitalize; color: var(--muted); }
.property-address { display: grid; font-size: 13px; font-style: normal; line-height: 1.65; }
.map-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; }
.map-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.property-disclosure .host-contact { border: 0; margin: 0; padding: 0 0 20px; }
.property-disclosure .host-contact h2 { font-size: 15px; }
.property-disclosure .host-contact-person { border-top: 1px solid var(--line); padding-top: 12px; }
.property-disclosure .host-contact-person strong { font-size: 14px; }
.property-disclosure .host-contact-links { gap: 4px 20px; }
.property-disclosure .host-contact-links a { display: inline-flex; align-items: center; min-height: 40px; font-size: 12px; }
.property-disclosure .contact-note { color: var(--muted); }

/* Plain links keep social discovery optional and load no third-party scripts. */
.property-socials { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 20px; border-top: 1px solid var(--line); padding-top: 8px; font-size: 12px; }
.property-socials > span { margin-right: auto; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.property-socials a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration-color: var(--line); }
.property-socials a:hover { text-decoration-color: var(--ink); }

/* The image stays uncropped. Caption and controls form one quiet baseline. */
.gallery-panel { grid-column: 1; grid-row: 1; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; gap: 14px; height: calc(100dvh - 76px); min-height: 520px; min-width: 0; padding: 28px 32px 24px; position: sticky; top: 76px; }
.photo-viewer { position: relative; margin: 0; min-height: 0; display: grid; place-items: center; }
.selected-photo-button { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; background: transparent; z-index: 1; }
.selected-photo-button img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; transition: opacity 160ms linear; }
.photo-expand { position: absolute; right: 12px; bottom: 12px; padding: 12px; background: rgb(18 18 17 / 88%); color: var(--ink); font-size: 10px; letter-spacing: .04em; }
.selected-photo-button:hover .photo-expand { background: var(--ink); color: var(--paper); }
.selected-photo-button img.is-loading, #photo-lightbox img.is-loading { opacity: .35; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; }
.photo-caption { margin: 0; max-width: 56ch; color: var(--muted); font-size: 12px; line-height: 1.6; }
.gallery-controls { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.gallery-controls > span { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: .06em; margin-right: 12px; }
.gallery-controls button { display: inline-grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 1px solid transparent; border-radius: 0; color: var(--ink); font-size: 22px; }
.gallery-controls button:hover:not(:disabled) { border-color: var(--line); }
.thumbnail-list { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; min-width: 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.thumbnail-list button { background: transparent; border: 0; border-bottom: 1px solid transparent; flex: 0 0 52px; padding: 0 0 6px; height: 58px; }
.thumbnail-list img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity 150ms; }
.thumbnail-list button[aria-pressed="true"] { border-color: var(--ink); }
.thumbnail-list button[aria-pressed="true"] img, .thumbnail-list button:hover img { opacity: 1; }
.empty-photo { display: grid; place-items: center; font-size: 14px; color: var(--muted); }
.site-error { max-width: 680px; margin: 0 auto; padding: 80px 24px; }
.site-error h1 { font-family: var(--display-font); font-size: 48px; font-weight: 300; }
.site-error .brand { text-transform: uppercase; letter-spacing: .12em; font-size: 14px; }
#photo-lightbox {
  background: var(--overlay);
  border: 0;
  color: var(--ink);
  height: 100dvh;
  margin: 0;
  max-height: none;
  max-width: none;
  padding: 18px;
  position: fixed;
  width: 100vw;
}

#photo-lightbox[open] {
  display: grid;
  gap: 12px;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  grid-template-rows: 42px minmax(0, 1fr);
}

#photo-lightbox::backdrop {
  background: var(--backdrop);
}

#photo-lightbox button {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--corner-control);
  color: var(--ink);
}

#photo-lightbox button:hover {
  background: var(--paper-deep);
  color: var(--ink);
}

#photo-lightbox button:disabled {
  cursor: default;
  opacity: 0.3;
}

.lightbox-close {
  font-size: 17px;
  grid-column: 2 / 4;
  justify-self: end;
  padding: 6px 14px 7px;
}

.lightbox-nav {
  align-self: center;
  font-size: 28px;
  height: 46px;
  line-height: 1;
  width: 46px;
}

.lightbox-previous {
  grid-column: 1;
  grid-row: 2;
}

.lightbox-next {
  grid-column: 3;
  grid-row: 2;
}

#photo-lightbox figure {
  align-items: center;
  display: flex;
  grid-column: 2;
  grid-row: 2;
  justify-content: center;
  margin: 0;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  position: relative;
  touch-action: none;
}

#photo-lightbox figure img {
  border-radius: var(--corner-media);
  display: block;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  user-select: none;
  will-change: transform;
  width: auto;
  z-index: 1;
}

#photo-lightbox figure[data-zoomed="true"] {
  cursor: grab;
}

#photo-lightbox figure[data-dragging="true"] {
  cursor: grabbing;
}

.lightbox-zoom-controls {
  align-items: center;
  bottom: 24px;
  display: flex;
  gap: 5px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 4;
}

.lightbox-zoom-controls button {
  font-size: 20px;
  height: 39px;
  line-height: 1;
  min-width: 39px;
  padding: 0 10px 2px;
}

.lightbox-zoom-controls button[data-zoom-reset] {
  font-size: 15px;
  min-width: 68px;
}

.loading-label {
  animation: loading-pulse 1.2s ease-in-out infinite alternate;
  font-size: 18px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes loading-pulse {
  from { opacity: 0.25; }
  to { opacity: 1; }
}


@media (min-width: 901px) and (max-height: 800px) {
  .property-panel { padding-top: 24px; }
  .gallery-panel { padding: 20px 24px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .property-panel { padding-inline: 24px; }
  .gallery-panel { padding-inline: 24px; }
  .gallery-toolbar { flex-wrap: wrap; gap: 0; }
  .gallery-controls { margin-left: auto; }
}
@media (max-width: 900px) {
  .stay-layout { display: flex; flex-direction: column; }
  .property-panel { display: contents; }
  .property-overview { order: 1; padding: 28px 24px 0; width: 100%; }
  .property-overview h1 { font-size: clamp(48px, 9vw, 68px); }
  .property-overview .eyebrow { margin-bottom: 10px; }
  .property-subtitle { margin-top: 10px; }
  .property-facts { margin-top: 14px; }
  .property-shortcuts { margin: 2px 0 0; }
  .gallery-panel { order: 2; position: static; height: auto; min-height: 0; width: 100%; gap: 8px; padding: 18px 24px 24px; }
  .photo-viewer { height: clamp(230px, 65vw, 540px); }
  .gallery-toolbar { align-items: center; gap: 12px; }
  .photo-caption { font-size: 12px; }
  .gallery-controls { gap: 0; }
  .gallery-controls > span { margin-right: 4px; font-size: 9px; }
  .gallery-controls button { width: 40px; height: 44px; }
  .photo-expand { right: 8px; bottom: 8px; padding: 10px; font-size: 9px; }
  .thumbnail-list { gap: 8px; }
  .thumbnail-list button { flex-basis: 48px; height: 54px; }
  .inline-booking { order: 3; width: calc(100% - 48px); max-width: 560px; margin: 0 auto; padding-top: 26px; }
  .inline-booking .booking-calendar td button { min-height: 44px; }
  .inline-booking .booking-calendar .calendar-rules, .inline-booking .booking-calendar .calendar-legend, .inline-booking .booking-calendar .calendar-status { font-size: 11px; }
  .inline-booking .booking-calendar .calendar-actions button { font-size: 11px; min-height: 44px; }
  .booking-reassurance { padding-bottom: 28px; }
  .property-disclosure { order: 4; width: calc(100% - 48px); max-width: 560px; margin: 0 auto; }
  .property-disclosure:last-child { margin-bottom: 20px; }
  .property-socials { order: 5; width: calc(100% - 48px); max-width: 560px; margin: 0 auto 20px; }
  .booking-unavailable { order: 3; padding-inline: 24px; }
  #photo-lightbox { padding: 10px; }
  #photo-lightbox[open] { gap: 8px; grid-template-columns: 32px minmax(0, 1fr) 32px; grid-template-rows: 44px minmax(0, 1fr); }
  .lightbox-nav { width: 32px; height: 44px; font-size: 22px; }
  .lightbox-zoom-controls { bottom: 16px; }
  .lightbox-zoom-controls button { height: 44px; min-width: 44px; }
}
@media (max-width: 360px) {
  body > .editorial-header { padding-inline: 18px; gap: 12px; }
  .editorial-header .editorial-wordmark { font-size: 24px; letter-spacing: .09em; }
  .editorial-header nav[aria-label] { gap: 12px; }
  .property-overview { padding-inline: 18px; }
  .gallery-panel { padding-inline: 18px; }
  .inline-booking, .property-disclosure, .property-socials { width: calc(100% - 36px); }
  .gallery-toolbar { flex-wrap: wrap; gap: 0; }
  .gallery-controls { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .loading-label { animation: none; }
  .selected-photo-button img, #photo-lightbox img, .thumbnail-list img, .booking-primary { transition: none; }
}
