/* Consistent booking actions across one-off and subscription bookings. */
html[data-site-refinements] body.client-body #top .vriq-order-box > a,
html[data-site-refinements]
  body.client-body
  :is(#booking, #washPassPayment)
  .stage-actions
  :is(.stage-next, .submit-booking-trigger) {
  background: #00a9e8 !important;
  color: #fff !important;
  border: 1px solid #00a9e8 !important;
  box-shadow: none !important;
  font-weight: 800 !important;
  min-height: 54px !important;
  font-size: 16px !important;
}
html[data-site-refinements] body.client-body #top .vriq-order-box > a {
  font-size: 18px !important;
}
html[data-site-refinements]
  body.client-body
  :is(#booking, #washPassPayment)
  .stage-actions
  .stage-back {
  background: #fff !important;
  color: #164661 !important;
  border: 1px solid #b5cbd7 !important;
  font-weight: 700 !important;
  min-height: 54px !important;
}
html[data-site-refinements] body.client-body #booking .choice input:not(:disabled) + label {
  border-color: #c4d4dd !important;
}
html[data-site-refinements] body.client-body #booking .choice input:checked + label {
  border-color: #00a9e8 !important;
  box-shadow: none !important;
  background: #eaf7fd !important;
}
html[data-site-refinements] body.client-body #booking :is(.day-option, .time-slot):not(:disabled) {
  border: 1px solid #b5cbd7 !important;
  color: #164661 !important;
}
html[data-site-refinements] body.client-body #booking :is(.day-option, .time-slot).selected {
  border: 1px solid #00a9e8 !important;
  background: #e6f5fc !important;
  color: #07557c !important;
}
html[data-site-refinements]
  body.client-body
  :is(#top .vriq-order-box > a, #booking .stage-next):hover {
  background: #00a9e8 !important;
  border-color: #00a9e8 !important;
}
html[data-site-refinements]
  body.client-body
  :is(#top .vriq-order-box > a, #booking button, #booking .choice input):focus-visible {
  outline: 3px solid #00a9e8 !important;
  outline-offset: 4px !important;
}
/* The mobile controller moves the same controls outside the form while scrolling. */
html[data-site-refinements]
  body.client-body
  > :is(.mobile-floating-booking, #membershipContinue)[data-mobile-action] {
  background: #00a9e8 !important;
  color: #fff !important;
  border: 1px solid #00a9e8 !important;
  box-shadow: none !important;
  font-weight: 800 !important;
  min-height: 54px !important;
}

/* Keep the original brand blue and white action text. */
html[data-site-refinements] body.client-body #top .vriq-order-box > a,
html[data-site-refinements]
  body.client-body
  :is(#booking, #washPassPayment)
  .stage-actions
  :is(.stage-next, .submit-booking-trigger),
html[data-site-refinements]
  body.client-body
  > :is(.mobile-floating-booking, #membershipContinue)[data-mobile-action] {
  color: #fff !important;
}
html[data-site-refinements]
  body.client-body
  :is(.stage-next, .submit-booking-trigger)
  :is(span, strong, svg) {
  color: inherit !important;
}
html[data-site-refinements][data-theme='dark']
  body.client-body
  #booking
  :is(.day-option, .time-slot):not(:disabled) {
  color: #eaf5fd !important;
}

html[data-site-refinements] body.client-body #booking .choice input:not(:disabled) + label {
  border-width: 1px !important;
}

/* Compact action with bold white text, preserving the brand blue. */
html[data-site-refinements] body.client-body #top .vriq-order-box,
html[data-site-refinements] body.client-body #top .vriq-order-box > a,
html[data-site-refinements] body.client-body > .mobile-floating-booking[data-mobile-action='hero'] {
  border-radius: 999px !important;
}
html[data-site-refinements] body.client-body #top .vriq-order-box > a {
  min-width: 142px !important;
  min-height: 54px !important;
  padding-inline: 24px !important;
  font-size: 17px !important;
}
@media (max-width: 760px) {
  html[data-site-refinements] body.client-body #top .vriq-order-box > a {
    min-width: 112px !important;
    min-height: 52px !important;
    padding-inline: 14px !important;
    font-size: 18px !important;
  }
  html[data-site-refinements]
    body.client-body
    > .mobile-floating-booking[data-mobile-action='hero'] {
    min-width: 168px !important;
    min-height: 54px !important;
    font-size: 18px !important;
  }
  html[data-site-refinements] body.client-body #top .vriq-visual-stack {
    width: 92% !important;
    margin-inline: auto !important;
    grid-template-rows: 200px auto !important;
  }
  html[data-site-refinements] body.client-body #top .vriq-main-photo {
    height: 200px !important;
  }
  html[data-site-refinements]:not([data-vriq-text='large']):not([data-vriq-text='larger'])
    body.client-body
    #top
    .vriq-mini-card {
    height: 140px !important;
  }
  html[data-site-refinements] body.client-body #top .vriq-mini-front :is(img, .vriq-mini-media) {
    height: 100px !important;
  }
}
@media (max-width: 380px) {
  html[data-site-refinements] body.client-body #top .vriq-visual-stack {
    grid-template-rows: 180px auto !important;
  }
  html[data-site-refinements] body.client-body #top .vriq-main-photo {
    height: 180px !important;
  }
}
html[data-site-refinements] body.client-body #top .vriq-mini-two img {
  object-position: 55% 62% !important;
  transform: none !important;
}

/* Frame the landscape hero photo at its original proportions. */
body.client-body #top .vriq-main-photo > img {
  object-fit: contain !important;
  transform: none !important;
}
@media (min-width: 761px) {
  body.client-body #top .vriq-main-photo {
    top: 50% !important;
    bottom: auto !important;
    height: auto !important;
    aspect-ratio: 3 / 2 !important;
    translate: 0 -50%;
  }
}
@media (max-width: 760px) {
  html[data-site-refinements] body.client-body #top .vriq-visual-stack {
    grid-template-rows: auto auto !important;
  }
  html[data-site-refinements] body.client-body #top .vriq-main-photo {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 2 !important;
  }
}
/* Keep the photo caption aligned to the bottom-right with consistent line spacing. */
@media (max-width: 760px) {
  html[data-site-refinements]
    body.client-body
    :is(#booking, #washPassPayment)
    .booking-final-actions {
    margin-top: 12px !important;
    padding-top: 0 !important;
    border-top: 0 !important;
  }
}
@media (max-width: 760px) {
  html[data-site-refinements] body.client-body #top .vriq-main-photo figcaption {
    inset-inline: 14px !important;
    bottom: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
    text-align: right !important;
    line-height: 1.4 !important;
  }
  html[data-site-refinements] body.client-body #top .vriq-main-photo figcaption span {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
  html[data-site-refinements] body.client-body #top .vriq-main-photo figcaption strong {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }
}

/* Subscription actions share the one-off booking's flat brand treatment. */
html[data-site-refinements]
  body.memberships-body
  :is(.membership-refresh-button, #membershipContinue, #membershipSubmit) {
  background: #00a9e8 !important;
  color: #fff !important;
  border: 1px solid #00a9e8 !important;
  box-shadow: none !important;
  font-weight: 800 !important;
}
html[data-site-refinements]
  body.memberships-body
  :is(.membership-refresh-button, #membershipContinue, #membershipSubmit)
  :is(span, strong, svg) {
  color: inherit !important;
}
html[data-site-refinements] body.memberships-body #membershipBack {
  background: #fff !important;
  color: #164661 !important;
  border: 1px solid #b5cbd7 !important;
  min-height: 48px !important;
  font-weight: 700 !important;
}
html[data-site-refinements] body.memberships-body #membership-booking .membership-option > span {
  border: 1px solid #c4d4dd !important;
}
html[data-site-refinements]
  body.memberships-body
  #membership-booking
  .membership-option
  input:checked
  + span {
  border-color: #00a9e8 !important;
  background: #eaf7fd !important;
  box-shadow: none !important;
}
html[data-site-refinements][data-theme='dark']
  body.client-body
  :is(
    #booking .choice input:not(:checked) + label,
    #membership-booking .membership-option > span,
    #membershipBack,
    #booking .stage-back
  ) {
  background: #152b3a !important;
  border-color: #4b697c !important;
  color: #eaf5fd !important;
}
html[data-site-refinements][data-theme='dark']
  body.client-body
  :is(
    #booking .choice input:checked + label,
    #membership-booking .membership-option input:checked + span
  ) {
  background: #123a50 !important;
  border-color: #54c6f2 !important;
  color: #effaff !important;
}
@media (max-width: 760px) {
  html[data-site-refinements] body.memberships-body .membership-hero-visual {
    width: 92% !important;
    margin-inline: auto !important;
    height: 220px !important;
  }
  html[data-site-refinements] body.memberships-body .membership-hero-photo {
    height: 200px !important;
  }
}
@media (max-width: 380px) {
  html[data-site-refinements] body.memberships-body .membership-hero-visual {
    height: 200px !important;
  }
  html[data-site-refinements] body.memberships-body .membership-hero-photo {
    height: 180px !important;
  }
}
/* Leave room for the subscription pass below the compact photo. */
@media (max-width: 760px) {
  html[data-site-refinements] body.memberships-body .membership-hero-visual {
    height: 240px !important;
  }
  html[data-site-refinements] body.memberships-body .membership-hero-photo figcaption {
    top: 12px !important;
    inset-inline: 12px !important;
    max-width: none !important;
    padding: 6px 10px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
}
@media (max-width: 380px) {
  html[data-site-refinements] body.memberships-body .membership-hero-visual {
    height: 220px !important;
  }
}
