/* Silent Luxury design tokens (Elementor kit-6) */
.page-reservation,
.page-reservation-hero,
.reservation-results,
.reservation-checkout,
.reservation-success,
.reservation-modal,
.reservation-lightbox {
  --rsv-canvas: var(--e-global-color-86ff2ea, #f4f0ea);
  --rsv-surface: var(--e-global-color-f520f0b, #efe8de);
  --rsv-ink: var(--e-global-color-text, #1a233d);
  --rsv-accent: var(--e-global-color-secondary, #0b2153);
  --rsv-line: rgba(26, 35, 61, 0.14);
  --rsv-muted: rgba(26, 35, 61, 0.62);
  --rsv-serif: "EB Garamond", serif;
  --rsv-sans: "Montserrat", sans-serif;
}

body.page-template-page-reservation .elementor-element-b10d1da,
body.page-template-page-reservation-php .elementor-element-b10d1da,
.page-template-page-reservation .elementor-element-b10d1da,
.page-template-page-reservation-php .elementor-element-b10d1da,
.page-reservation .elementor-element-b10d1da {
  background-color: var(--rsv-ink) !important;
  box-shadow: none !important;
}

.page-reservation-hero {
  --rsv-header-offset: 100px;
  width: 100%;
  margin: 0;
  padding: calc(var(--rsv-header-offset) + 60px) 0 0;
  background: var(--rsv-canvas);
}

.page-reservation-hero__inner {
  width: min(1340px, calc(100% - 48px));
  margin: 0 auto;
}

.page-reservation-hero__close {
  position: fixed;
  top: calc(var(--rsv-header-offset) + 20px);
  right: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  transition: opacity 0.2s ease;
}

.page-reservation-hero__close svg {
  display: block;
  width: 32px;
  height: 32px;
}

.page-reservation-hero__close:hover,
.page-reservation-hero__close:focus,
.page-reservation-hero__close:active {
  background: transparent;
  background-color: transparent;
  box-shadow: none;
  outline: none;
  opacity: 0.55;
}

.page-reservation-hero__booking {
  border: 1px solid var(--rsv-line);
  background: var(--rsv-surface);
}

.page-reservation-hero__search {
  width: 100%;
  margin: 0;
  padding: 0;
}

.page-reservation-hero__search .online-reservation {
  width: 100%;
  margin: 0;
  padding: 32px 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--rsv-sans);
}

.reservation-progress {
  border-bottom: 1px solid var(--rsv-line);
  padding: 28px 36px 24px;
  background: var(--rsv-canvas);
}

.reservation-progress__list {
  display: flex;
  align-items: flex-start;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.reservation-progress__step {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.reservation-progress__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px;
  left: calc(50% + 20px);
  width: calc(100% - 40px);
  height: 1px;
  background: var(--rsv-line);
  pointer-events: none;
}

.reservation-progress__step.is-complete:not(:last-child)::after {
  background: var(--rsv-ink);
}

.reservation-progress__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0 8px;
  color: var(--rsv-muted);
  font-family: var(--rsv-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

a.reservation-progress__link:hover,
a.reservation-progress__link:focus {
  color: var(--rsv-ink);
  outline: none;
}

.reservation-progress__step.is-current .reservation-progress__link {
  color: var(--rsv-ink);
}

.reservation-progress__step.is-complete .reservation-progress__link {
  color: var(--rsv-ink);
}

.reservation-progress__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--rsv-line);
  border-radius: 50%;
  background: var(--rsv-surface);
  color: var(--rsv-muted);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.reservation-progress__number {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.reservation-progress__check {
  display: none;
}

.reservation-progress__step.is-current .reservation-progress__marker {
  border-color: var(--rsv-ink);
  background: var(--rsv-ink);
  color: var(--rsv-surface);
}

.reservation-progress__step.is-complete .reservation-progress__marker {
  border-color: var(--rsv-ink);
  background: var(--rsv-ink);
  color: var(--rsv-surface);
}

.reservation-progress__step.is-complete .reservation-progress__number {
  display: none;
}

.reservation-progress__step.is-complete .reservation-progress__check {
  display: block;
}

.reservation-progress__label--short {
  display: none;
}

.page-reservation {
  margin-top: 0;
  margin-bottom: 140px;
  background: var(--rsv-canvas) !important;
}

/* Hello Elementor parent caps `.site-main` at 1140px — override for reservation template. */
body:not([class*="elementor-page-"]) #content.site-main.page-reservation,
body.page-template-page-reservation-php #content.site-main.page-reservation,
body.page-template-page-reservation #content.site-main.page-reservation {
  width: 100%;
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: 0;
  background: var(--rsv-canvas) !important;
}

.page-reservation .reservation-results,
.page-reservation .reservation-results * {
  box-sizing: border-box;
}

.reservation-results {
  width: 100%;
  max-width: 1340px;
  margin: 64px auto 0;
  padding: 0;
  color: var(--rsv-ink);
  font-family: var(--rsv-sans);
  font-size: 16px;
  line-height: 1.65;
}

.reservation-results h2,
.reservation-results h3,
.reservation-modal__title {
  font-family: var(--rsv-serif);
  font-weight: 600;
}

.reservation-results button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  border: 0;
  box-shadow: none !important;
  font-family: var(--rsv-sans);
  text-transform: none;
  letter-spacing: normal;
}

.reservation-results--error {
  padding: 48px;
  border: 1px solid var(--rsv-line);
  background: var(--rsv-surface);
  text-align: center;
}

.reservation-results--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 280px;
  margin-top: 48px;
  padding: 64px 24px;
  border: 0;
  background: transparent;
  text-align: center;
}

.reservation-results__unavailable-message {
  margin: 0;
  color: var(--rsv-ink);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.reservation-results__unavailable-message strong {
  font-weight: 700;
}

.reservation-results__find-dates {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid rgba(26, 35, 61, 0.22) !important;
  border-radius: 4px;
  background: #fff !important;
  color: var(--rsv-ink) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.reservation-results__find-dates:hover,
.reservation-results__find-dates:focus {
  border-color: rgba(26, 35, 61, 0.4) !important;
  box-shadow: 0 2px 8px rgba(26, 35, 61, 0.08);
  outline: none;
}

.reservation-results__find-dates-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.reservation-results__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.reservation-results__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: var(--rsv-muted);
  font-size: 15px;
}

.reservation-results__summary-item {
  position: relative;
}

.reservation-results__summary-item:not(:last-child)::after {
  content: "•";
  position: absolute;
  right: -16px;
  color: var(--rsv-line);
}

.reservation-results__modify {
  padding: 0;
  background: transparent !important;
  color: var(--rsv-ink) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reservation-results__modify:hover,
.reservation-results__modify:focus {
  opacity: 0.85;
  outline: none;
}

.reservation-results__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.reservation-room {
  display: grid;
  grid-template-columns: minmax(380px, 42%) 1fr;
  border: 1px solid var(--rsv-line);
  background: var(--rsv-surface);
}

.reservation-room__media {
  border-right: 1px solid var(--rsv-line);
  min-height: 320px;
}

.reservation-room__carousel {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 320px;
  background: var(--rsv-canvas);
}

.reservation-room__image-button {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent !important;
  cursor: zoom-in;
}

.reservation-room__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.reservation-room__image--placeholder {
  background: linear-gradient(135deg, var(--rsv-canvas), var(--rsv-surface));
}

.reservation-room__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 0;
  border: 1px solid var(--rsv-line);
  background: rgba(244, 240, 234, 0.92) !important;
  color: var(--rsv-ink) !important;
  cursor: pointer;
}

.reservation-room__nav svg {
  display: block;
  width: 11px;
  height: 18px;
  flex-shrink: 0;
}

.reservation-room__nav--prev {
  left: 14px;
}

.reservation-room__nav--next {
  right: 14px;
}

.reservation-room__nav:hover,
.reservation-room__nav:focus {
  background: var(--rsv-canvas) !important;
  outline: none;
}

.reservation-room__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.reservation-room__dot {
  display: block;
  width: 7px;
  height: 7px;
  min-width: 7px;
  min-height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45) !important;
  cursor: pointer;
  flex-shrink: 0;
}

.reservation-room__dot.is-active {
  background: #fff !important;
}

.reservation-room__title {
  margin: 0 0 12px;
  color: var(--rsv-ink);
  font-family: var(--rsv-serif);
  font-size: 32px;
  line-height: 1.2;
}

.reservation-room__meta {
  margin: 0;
  color: var(--rsv-muted);
  font-size: 16px;
  line-height: 1.65;
}

.reservation-room__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 36px;
}

.reservation-room__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.reservation-room__header-text {
  flex: 1 1 auto;
  min-width: 0;
}

.reservation-room__from {
  flex: 0 0 auto;
  text-align: right;
}

.reservation-room__from-prefix {
  display: block;
  color: var(--rsv-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reservation-room__from-price {
  display: block;
  color: var(--rsv-ink);
  font-family: var(--rsv-serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.1;
}

.reservation-room__from-suffix {
  display: block;
  color: var(--rsv-muted);
  font-size: 14px;
  line-height: 1.4;
}

.reservation-room__from-label {
  display: block;
  margin-top: 6px;
  color: var(--rsv-muted);
  font-size: 12px;
  line-height: 1.4;
}

.reservation-room__view-rates {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  min-width: 240px;
  min-height: 50px;
  padding: 0 28px;
  border: 0;
  border-radius: 0;
  background: var(--rsv-ink) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.reservation-room__view-rates:hover,
.reservation-room__view-rates:focus {
  background: var(--rsv-accent) !important;
  outline: none;
}

.reservation-room__view-rates-icon {
  display: block;
  width: 12px;
  height: 8px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.reservation-room__view-rates[aria-expanded="true"]
  .reservation-room__view-rates-icon {
  transform: rotate(180deg);
}

.reservation-room__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
}

.reservation-room__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  flex: 1 1 auto;
}

.reservation-room__amenity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rsv-muted);
  font-size: 13px;
  line-height: 1.4;
}

.reservation-room__amenity-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--rsv-ink);
}

.reservation-room__details-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 0;
  background: transparent !important;
  color: var(--rsv-ink) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.reservation-room__details-link svg {
  display: block;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.reservation-room__details-link:hover,
.reservation-room__details-link:focus {
  opacity: 0.85;
  outline: none;
}

.reservation-room__info-link,
.reservation-rate__policy,
.reservation-rate__daily {
  padding: 0;
  background: transparent !important;
  color: var(--rsv-ink) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.reservation-room__rates {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rsv-line);
}

.reservation-room__rates[hidden] {
  display: none;
}

.reservation-room__rates.is-open {
  display: flex;
}

.reservation-unavailable-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.reservation-unavailable-notice--page {
  width: 100%;
}

.reservation-room__rates-unavailable {
  width: 100%;
  padding: 48px 32px;
  border-bottom: 1px solid var(--rsv-line);
  background: rgba(26, 35, 61, 0.03);
}

.reservation-room__rates-unavailable .reservation-unavailable-notice {
  margin: 0 auto;
  max-width: 560px;
}

.reservation-rate {
  display: grid;
  grid-template-columns: minmax(200px, 1.1fr) minmax(240px, 1.2fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 148px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--rsv-line);
}

.reservation-rate:last-child {
  border-bottom: 0;
}

.reservation-rate__title {
  margin: 0 0 8px;
  color: var(--rsv-ink);
  font-family: var(--rsv-serif);
  font-size: 24px;
  line-height: 1.2;
}

.reservation-rate__description {
  margin: 0 0 12px;
  color: var(--rsv-muted);
  font-size: 15px;
  line-height: 1.55;
}

.reservation-rate__details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.reservation-rate__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.reservation-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 0;
  background: transparent !important;
  color: var(--rsv-ink);
  font-family: var(--rsv-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.reservation-badge--price {
  min-height: auto;
  padding: 0;
  border: 0;
  font-family: var(--rsv-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
}

.reservation-badge--rooms,
.reservation-badge--guests {
  background: transparent !important;
}

.reservation-rate__book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--rsv-ink);
  border-radius: 0;
  background: var(--rsv-ink) !important;
  color: #fff !important;
  font-family: var(--rsv-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease;
}

.reservation-rate__book:hover,
.reservation-rate__book:focus {
  background: var(--rsv-accent) !important;
  border-color: var(--rsv-accent);
  color: #fff !important;
  opacity: 1;
  outline: none;
}

.reservation-modal[hidden] {
  display: none;
}

body.reservation-modal-open {
  overflow: hidden;
}

.reservation-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  font-family: var(--rsv-sans);
}

.reservation-modal button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  border: 0;
  box-shadow: none !important;
  font-family: var(--rsv-sans);
}

.reservation-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 61, 0.45);
}

.reservation-modal__dialog {
  position: relative;
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 64px);
  margin: 32px auto;
  padding: 40px 36px 32px;
  overflow: auto;
  background: var(--rsv-canvas);
  border: 1px solid var(--rsv-line);
  box-shadow: none;
}

.reservation-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent !important;
  color: var(--rsv-ink) !important;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.reservation-modal__title {
  margin: 0 0 20px;
  padding-right: 40px;
  color: var(--rsv-ink);
  font-family: var(--rsv-serif);
  font-size: 32px;
  line-height: 1.2;
}

.reservation-modal__content {
  color: var(--rsv-muted);
  font-size: 16px;
  line-height: 1.7;
}

.reservation-modal__list {
  margin: 0;
  padding-left: 20px;
}

.reservation-modal__table {
  width: 100%;
  border-collapse: collapse;
}

.reservation-modal__table th,
.reservation-modal__table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--rsv-line);
  text-align: left;
}

.reservation-modal__table th {
  color: var(--rsv-ink);
  font-family: var(--rsv-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.reservation-lightbox[hidden] {
  display: none;
}

body.reservation-lightbox-open {
  overflow: hidden;
}

.reservation-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.reservation-lightbox button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  border: 0;
  box-shadow: none !important;
  font-family: var(--rsv-sans);
}

.reservation-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 61, 0.92);
}

.reservation-lightbox__stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1100px, calc(100vw - 120px));
  max-height: calc(100vh - 48px);
}

.reservation-lightbox__image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 96px);
  object-fit: contain;
}

.reservation-lightbox__counter {
  margin-top: 14px;
  color: var(--rsv-canvas);
  font-family: var(--rsv-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reservation-lightbox__close,
.reservation-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: #fff !important;
  cursor: pointer;
}

.reservation-lightbox__close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 34px;
  line-height: 1;
}

.reservation-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 0;
  border: 1px solid rgba(244, 240, 234, 0.35);
  background: rgba(244, 240, 234, 0.08) !important;
}

.reservation-lightbox__nav svg {
  display: block;
  width: 12px;
  height: 20px;
}

.reservation-lightbox__nav--prev {
  left: 18px;
}

.reservation-lightbox__nav--next {
  right: 18px;
}

.reservation-lightbox__nav:hover,
.reservation-lightbox__nav:focus,
.reservation-lightbox__close:hover,
.reservation-lightbox__close:focus {
  background: rgba(244, 240, 234, 0.18) !important;
  outline: none;
}

.reservation-lightbox.is-single .reservation-lightbox__nav {
  display: none;
}

@media (max-width: 960px) {
  .page-reservation-hero {
    --rsv-header-offset: 88px;
    padding-top: calc(var(--rsv-header-offset) + 60px);
  }

  .page-reservation-hero__inner {
    width: min(1340px, calc(100% - 32px));
  }

  .reservation-progress {
    padding: 20px 16px 18px;
  }

  .reservation-progress__link {
    gap: 8px;
    padding: 0 4px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .reservation-progress__marker {
    width: 30px;
    height: 30px;
  }

  .reservation-progress__step:not(:last-child)::after {
    top: 15px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
  }

  .reservation-progress__label {
    display: none;
  }

  .reservation-progress__label--short {
    display: block;
  }

  .page-reservation-hero__search .online-reservation {
    padding: 24px 20px;
  }

  .page-reservation {
    margin-bottom: 96px;
  }

  .reservation-results,
  .reservation-checkout {
    width: 100%;
    max-width: 1340px;
    padding: 0 24px;
    margin-top: 48px;
  }

  .reservation-room {
    grid-template-columns: 1fr;
  }

  .reservation-room__media {
    border-right: 0;
    border-bottom: 1px solid var(--rsv-line);
    min-height: 0;
  }

  .reservation-room__carousel {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
  }

  .reservation-room__content {
    padding: 24px;
  }

  .reservation-room__header {
    flex-direction: column;
    gap: 16px;
  }

  .reservation-room__from {
    text-align: left;
  }

  .reservation-room__view-rates {
    align-self: stretch;
    width: 100%;
  }

  .reservation-rate {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
    padding: 24px;
  }

  .reservation-rate__details,
  .reservation-rate__action {
    justify-self: start;
  }

  .reservation-room__title {
    font-size: 28px;
  }

  .reservation-rate__title {
    font-size: 22px;
  }
}

.reservation-checkout {
  width: 100%;
  max-width: 1340px;
  margin: 64px auto 0;
  padding: 0;
  color: var(--rsv-ink);
  font-family: var(--rsv-sans);
  font-size: 16px;
  line-height: 1.65;
}

.page-reservation .reservation-checkout,
.page-reservation .reservation-checkout * {
  box-sizing: border-box;
}

.reservation-checkout h2,
.reservation-checkout h3 {
  font-family: var(--rsv-serif);
  font-weight: 600;
}

.reservation-checkout button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  border: 0;
  box-shadow: none !important;
  font-family: var(--rsv-sans);
  text-transform: none;
  letter-spacing: normal;
}

.reservation-checkout--error {
  padding: 48px;
  border: 1px solid var(--rsv-line);
  background: var(--rsv-surface);
  text-align: center;
}

.reservation-checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
  gap: 48px;
  align-items: start;
}

.reservation-checkout__section,
.reservation-checkout__summary {
  border: 1px solid var(--rsv-line);
  background: var(--rsv-canvas);
}

.reservation-checkout__section + .reservation-checkout__section,
.reservation-checkout__main
  .reservation-checkout__section
  + .reservation-checkout__section {
  margin-top: 40px;
}

.reservation-checkout__section-title {
  margin: 0;
  padding: 28px 32px 0;
  background: transparent;
  color: var(--rsv-ink);
  font-family: var(--rsv-serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}

.reservation-checkout__section-body {
  padding: 24px 32px 32px;
}

.reservation-checkout__section--payment .reservation-checkout__section-body {
  padding-top: 20px;
}

.reservation-checkout__section-body--payment {
  padding-top: 24px;
  border-top: 1px solid var(--rsv-line);
  background: var(--rsv-canvas);
}

.reservation-checkout__stripe {
  width: 100%;
  min-height: 360px;
  margin-top: 20px;
  padding: 0;
  background: transparent;
}

.reservation-checkout__stripe > div,
.reservation-checkout__stripe iframe {
  width: 100% !important;
  max-width: 100%;
}

.reservation-checkout__stripe-error {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--rsv-line);
  background: var(--rsv-canvas);
  color: #8b2e2e;
  font-size: 14px;
  line-height: 1.5;
}

.reservation-checkout__notice {
  margin-bottom: 28px;
  padding: 20px 24px;
  border: 1px solid var(--rsv-line);
  font-size: 15px;
  line-height: 1.6;
}

.reservation-checkout__notice--success {
  border-color: var(--rsv-line);
  background: var(--rsv-surface);
  color: var(--rsv-ink);
}

.reservation-checkout__notice--error {
  border-color: rgba(139, 46, 46, 0.35);
  background: var(--rsv-canvas);
  color: #8b2e2e;
}

.reservation-checkout__notice--payment-pending {
  border-color: var(--rsv-line);
  background: var(--rsv-surface);
  color: var(--rsv-ink);
}

.reservation-checkout__notice-title {
  margin: 0 0 10px;
  color: inherit;
  font-family: var(--rsv-serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}

.reservation-checkout__payment-ref {
  margin: 12px 0;
  font-size: 15px;
}

.reservation-checkout__support-link {
  color: var(--rsv-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reservation-checkout__stripe-hint {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--rsv-line);
  background: var(--rsv-canvas);
  color: var(--rsv-muted);
  font-size: 14px;
  line-height: 1.55;
}

.reservation-checkout__stripe-hint[hidden] {
  display: none;
}

.reservation-checkout__terms--inline {
  margin-bottom: 0;
}

.reservation-checkout__grid {
  display: grid;
  gap: 28px 28px;
}

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

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

.reservation-checkout__field--card-number {
  grid-column: 1 / -1;
}

.reservation-checkout__field--cvc {
  max-width: 220px;
}

.reservation-checkout__grid--personal {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
}

.reservation-checkout__field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.reservation-checkout__address-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 28px;
}

.reservation-checkout__field--request {
  grid-column: 1 / -1;
}

.reservation-checkout__label {
  color: var(--rsv-muted);
  font-family: var(--rsv-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.reservation-checkout__input,
.reservation-checkout__select,
.reservation-checkout__textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0 0 12px;
  border: 0 !important;
  border-bottom: 1px solid var(--rsv-line) !important;
  border-radius: 0;
  background-color: transparent !important;
  color: var(--rsv-ink);
  font-family: var(--rsv-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  box-shadow: none !important;
  outline: none;
  transition: border-color 0.2s ease;
}

.reservation-checkout__select-wrap {
  position: relative;
  width: 100%;
}

.reservation-checkout__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 24px;
  cursor: pointer;
}

.reservation-checkout__textarea {
  min-height: 100px;
  padding-top: 0;
  padding-bottom: 12px;
  resize: none;
  overflow: hidden;
}

.reservation-checkout__input:focus,
.reservation-checkout__select:focus,
.reservation-checkout__textarea:focus {
  border-bottom-color: var(--rsv-ink) !important;
  outline: none;
}

.reservation-checkout__input::placeholder {
  color: transparent;
}

.reservation-checkout__summary-body {
  padding: 0 32px 32px;
}

.reservation-checkout__summary-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 24px;
  object-fit: cover;
  background: var(--rsv-canvas);
}

.reservation-checkout__summary-room {
  margin: 0 0 12px;
  color: var(--rsv-ink);
  font-family: var(--rsv-serif);
  font-size: 32px;
  line-height: 1.2;
}

.reservation-checkout__summary-rate {
  margin: 0 0 8px;
  color: var(--rsv-ink);
  font-family: var(--rsv-serif);
  font-size: 24px;
  line-height: 1.2;
}

.reservation-checkout__summary-rate-desc {
  margin: 0 0 16px;
  color: var(--rsv-muted);
  font-size: 15px;
  line-height: 1.65;
}

.reservation-checkout__summary-list {
  margin: 0;
}

.reservation-checkout__summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--rsv-line);
}

.reservation-checkout__summary-row:last-of-type {
  border-bottom: 0;
}

.reservation-checkout__summary-row dt {
  margin: 0;
  color: var(--rsv-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reservation-checkout__summary-row dd {
  margin: 0;
}

.reservation-checkout .reservation-badge {
  border-radius: 0;
  min-height: 32px;
  font-size: 11px;
}

.reservation-checkout .reservation-badge--price {
  font-size: 18px;
}

.reservation-checkout__grand-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0 0;
  padding: 20px 22px;
  border: 1px solid var(--rsv-ink);
  background: var(--rsv-ink);
  color: #fff;
  font-family: var(--rsv-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reservation-checkout__grand-total-value {
  font-family: var(--rsv-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
}

.reservation-checkout__terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--rsv-muted);
  cursor: pointer;
}

.reservation-checkout__terms-input {
  margin-top: 4px;
  flex: 0 0 auto;
  accent-color: var(--rsv-ink);
}

.reservation-checkout__terms-text {
  font-size: 14px;
  line-height: 1.6;
}

.reservation-checkout__submit {
  width: 100%;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--rsv-ink);
  border-radius: 0;
  background: var(--rsv-ink) !important;
  color: #fff !important;
  font-family: var(--rsv-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease;
}

.reservation-checkout__submit:hover,
.reservation-checkout__submit:focus {
  background: var(--rsv-accent) !important;
  border-color: var(--rsv-accent);
  color: #fff !important;
  opacity: 1;
  outline: none;
}

@media (max-width: 1100px) {
  .reservation-checkout__layout {
    grid-template-columns: 1fr;
  }

  .reservation-checkout__grid--personal {
    grid-template-columns: 1fr 1fr;
  }

  .reservation-checkout__field--request {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .reservation-results,
  .reservation-checkout {
    width: 100%;
    max-width: 1340px;
    padding: 0 16px;
    margin-top: 32px;
  }

  .reservation-results__list {
    gap: 32px;
  }

  .reservation-room__media {
    min-height: 0;
  }

  .reservation-room__content {
    padding: 20px;
  }

  .reservation-rate {
    padding: 20px;
  }

  .reservation-checkout__section-title {
    padding: 20px 20px 0;
    font-size: 24px;
  }

  .reservation-checkout__section-body,
  .reservation-checkout__summary-body {
    padding: 16px 20px 20px;
  }

  .reservation-checkout__grid--2,
  .reservation-checkout__grid--payment,
  .reservation-checkout__grid--personal {
    grid-template-columns: 1fr;
  }

  .reservation-checkout__field--card-number,
  .reservation-checkout__field--cvc {
    grid-column: auto;
    max-width: none;
  }

  .reservation-checkout__address-row {
    grid-template-columns: 1fr;
  }

  .reservation-checkout__field--request {
    grid-column: auto;
  }

  .reservation-checkout__summary-room {
    font-size: 26px;
  }

  .reservation-checkout__summary-rate {
    font-size: 22px;
  }
}

/* Reservation success page */
.reservation-success {
  max-width: 960px;
  margin: 0 auto;
  padding: 8px 0 48px;
  font-family: var(--rsv-sans);
  color: var(--rsv-ink);
}

.reservation-success__hero {
  margin-bottom: 40px;
  padding: 48px 36px 40px;
  text-align: center;
  border: 1px solid var(--rsv-line);
  background: var(--rsv-surface);
}

.reservation-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 0;
  border: 1px solid var(--rsv-ink);
  background: transparent;
  color: var(--rsv-ink);
}

.reservation-success__title {
  margin: 0 0 14px;
  color: var(--rsv-ink);
  font-family: var(--rsv-serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
}

.reservation-success__lead {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--rsv-muted);
  font-size: 16px;
  line-height: 1.7;
}

.reservation-success__number {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 32px;
  border: 1px solid var(--rsv-line);
  background: var(--rsv-canvas);
}

.reservation-success__number-label {
  color: var(--rsv-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reservation-success__number-value {
  color: var(--rsv-ink);
  font-family: var(--rsv-serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.reservation-success__layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.reservation-success__card,
.reservation-success__summary {
  border: 1px solid var(--rsv-line);
  background: var(--rsv-surface);
}

.reservation-success__card--full {
  margin-bottom: 32px;
}

.reservation-success__card-title {
  margin: 0;
  padding: 20px 24px;
  border-bottom: 1px solid var(--rsv-line);
  background: transparent;
  color: var(--rsv-ink);
  font-family: var(--rsv-serif);
  font-size: 22px;
  font-weight: 600;
}

.reservation-success__list {
  margin: 0;
  padding: 20px 24px 24px;
}

.reservation-success__row {
  display: grid;
  grid-template-columns: minmax(120px, 38%) 1fr;
  gap: 12px 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rsv-line);
}

.reservation-success__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.reservation-success__row--stack {
  grid-template-columns: 1fr;
  gap: 6px;
}

.reservation-success__row dt {
  margin: 0;
  color: var(--rsv-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reservation-success__row dd {
  margin: 0;
  color: var(--rsv-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

.reservation-success__row dd a {
  color: var(--rsv-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reservation-success__muted {
  display: block;
  margin-top: 4px;
  color: var(--rsv-muted);
  font-size: 13px;
  font-weight: 400;
}

.reservation-success__summary {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.reservation-success__summary-main {
  flex: 1 1 auto;
}

.reservation-success__list--inline {
  padding-top: 16px;
}

.reservation-success__total {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  padding: 28px 32px;
  border-left: 1px solid var(--rsv-line);
  background: var(--rsv-canvas);
  text-align: right;
}

.reservation-success__total-label {
  color: var(--rsv-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.reservation-success__total-value {
  color: var(--rsv-ink);
  font-family: var(--rsv-serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
}

.reservation-success__request {
  margin: 0;
  padding: 20px 24px 24px;
  color: var(--rsv-ink);
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.reservation-success__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
}

.reservation-success__footer-note {
  flex: 1 1 320px;
  margin: 0;
  color: var(--rsv-muted);
  font-size: 14px;
  line-height: 1.65;
}

.reservation-success__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 32px;
  border: 1px solid var(--rsv-ink);
  background: var(--rsv-ink) !important;
  color: #fff !important;
  font-family: var(--rsv-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease;
}

.reservation-success__cta:hover,
.reservation-success__cta:focus {
  background: var(--rsv-accent) !important;
  border-color: var(--rsv-accent);
  opacity: 1;
  color: #fff !important;
  outline: none;
}

@media (max-width: 767px) {
  .page-reservation-hero {
    --rsv-header-offset: 68px;
    padding-top: calc(var(--rsv-header-offset) + 16px);
  }

  .reservation-success__hero {
    padding: 28px 20px 24px;
  }

  .reservation-success__title {
    font-size: 26px;
  }

  .reservation-success__number-value {
    font-size: 22px;
  }

  .reservation-success__layout {
    grid-template-columns: 1fr;
  }

  .reservation-success__row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .reservation-success__summary {
    flex-direction: column;
  }

  .reservation-success__total {
    min-width: 0;
    border-left: 0;
    border-top: 1px solid #e8e3da;
    text-align: left;
  }

  .reservation-success__footer {
    flex-direction: column;
    align-items: stretch;
  }
}
