.ctub-security-hold {
  display: none !important;
}

.ctub-booking-guide {
  box-sizing: border-box;
  max-width: 920px;
  margin: 0 auto 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid #23422c;
  border-radius: 0;
  background: #f7f2ec;
  color: #23422c;
}

.ctub-booking-guide p {
  margin: 0;
  color: inherit;
}

.ctub-booking-live-price {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.45;
}

.ctub-booking-live-price.is-calculated {
  color: #23422c;
}

.ctub-stripe-express-checkout[hidden] {
  display: none !important;
}

.ctub-stripe-express-checkout {
  box-sizing: border-box;
  margin: 0 0 1.25rem;
  padding: 1rem;
  border: 1px solid var(--dark-forest-green, #23422c);
  border-radius: 0;
  background: var(--warm-off-white, #f7f2ec);
  color: var(--dark-forest-green, #23422c);
}

.ctub-stripe-express-checkout__label {
  margin: 0 0 0.75rem;
  color: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.ctub-stripe-express-checkout__divider {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 1rem 0 0;
  color: inherit;
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: center;
}

.ctub-stripe-express-checkout__divider::before,
.ctub-stripe-express-checkout__divider::after {
  height: 1px;
  flex: 1 1 auto;
  background: currentColor;
  content: '';
  opacity: 0.35;
}

.ctub-stripe-express-checkout__divider span {
  flex: 0 0 auto;
}

.wpbs-payment-confirmation-stripe-form #wpbs-stripe-card-button.ctub-payment-submit {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  box-sizing: border-box;
  width: min(100%, 360px);
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin: 20px auto 0;
  padding: 13px 24px;
  border: 1px solid var(--dark-forest-green, #23422c);
  border-radius: 0;
  background: var(--dark-forest-green, #23422c);
  color: var(--warm-sand, #e3e0ca);
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  text-transform: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.wpbs-payment-confirmation-stripe-form #wpbs-stripe-card-button.ctub-payment-submit:hover {
  background: var(--warm-sand, #e3e0ca);
  color: var(--dark-forest-green, #23422c);
}

.wpbs-payment-confirmation-stripe-form #wpbs-stripe-card-button.ctub-payment-submit:focus-visible {
  outline: 3px solid var(--dark-forest-green, #23422c);
  outline-offset: 3px;
}

.wpbs-payment-confirmation-stripe-form #wpbs-stripe-card-button.ctub-payment-submit:disabled,
.wpbs-payment-confirmation-stripe-form #wpbs-stripe-card-button.ctub-payment-submit[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (max-width: 600px) {
  .wpbs-payment-confirmation-stripe-form #wpbs-stripe-card-button.ctub-payment-submit {
    width: 100%;
    min-height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wpbs-payment-confirmation-stripe-form #wpbs-stripe-card-button.ctub-payment-submit {
    transition: none;
  }
}

.ctub-primary-booking .wpbs-date[role="button"]:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid #24543a;
  outline-offset: 2px;
}

.ctub-primary-booking .ctub-calendar-next-month {
  display: none !important;
}

.ctub-primary-booking {
  --ctub-calendar-occupied: var(--dark-chocolate, #3d1c11);
  --ctub-calendar-available: var(--light-stone-grey, #ebe8df);
}

/* Keep every occupied half in Casa Calma's dark-chocolate palette. */
.ctub-primary-booking .wpbs-container .wpbs-legend-item-icon-2 > .wpbs-legend-item-icon-color:first-of-type,
.ctub-primary-booking .wpbs-container .wpbs-legend-item-icon-3 > .wpbs-legend-item-icon-color:nth-of-type(2),
.ctub-primary-booking .wpbs-container .wpbs-legend-item-icon-4 > .wpbs-legend-item-icon-color:first-of-type {
  background-color: var(--ctub-calendar-occupied) !important;
}

.ctub-primary-booking .wpbs-container .wpbs-legend-item-icon-2 > .wpbs-legend-item-icon-color:first-of-type svg,
.ctub-primary-booking .wpbs-container .wpbs-legend-item-icon-3 > .wpbs-legend-item-icon-color:nth-of-type(2) svg,
.ctub-primary-booking .wpbs-container .wpbs-legend-item-icon-4 > .wpbs-legend-item-icon-color:first-of-type svg {
  fill: var(--ctub-calendar-occupied) !important;
}

.ctub-primary-booking .wpbs-date.wpbs-legend-item-2 .wpbs-date-number {
  color: var(--ctub-calendar-available) !important;
}

.ctub-primary-booking .wpbs-date-past,
.ctub-primary-booking .wpbs-date[class*="past"] {
  opacity: 0.48;
}

.ctub-sauna-feature,
.ctub-sauna-feature * {
  box-sizing: border-box;
}

.ctub-sauna-feature {
  width: 100%;
  color: var(--dark-chocolate, #3d1c11);
}

.ctub-sauna-feature__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ctub-sauna-feature__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
  padding: clamp(32px, 5vw, 64px);
  margin-bottom: 30px;
  border-radius: 50px;
  background: var(--dark-chocolate, #3d1c11);
  color: var(--light-stone-grey, #ebe8df);
}

.ctub-sauna-feature__intro h2,
.ctub-sauna-feature__intro p {
  margin: 0;
  color: inherit;
}

.ctub-sauna-feature__intro h2 {
  max-width: 780px;
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.ctub-sauna-feature__eyebrow {
  margin-bottom: 16px !important;
  color: var(--burnt-orange, #d75d25) !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ctub-sauna-feature__text {
  max-width: 440px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
}

.ctub-sauna-feature__figure {
  margin: 0;
  border: 0;
}

.ctub-sauna-feature__figure picture,
.ctub-sauna-feature__figure img {
  display: block;
  width: 100%;
}

.ctub-sauna-feature__figure img {
  height: auto;
  background: var(--dark-chocolate, #3d1c11);
}

.ctub-repeated-booking {
  box-sizing: border-box;
  max-width: 720px;
  margin: 2rem auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.ctub-repeated-booking-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  border: 1px solid #23422c;
  border-radius: 0;
  background: #23422c;
  color: #e3e0ca !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  text-decoration: none !important;
}

.ctub-repeated-booking-link:hover,
.ctub-repeated-booking-link:focus-visible {
  background: #e3e0ca;
  color: #23422c !important;
}

@media (max-width: 768px) {
  .ctub-booking-guide {
    margin-right: 0.75rem;
    margin-left: 0.75rem;
    padding: 0.9rem 1rem;
  }

  .ctub-primary-booking .ctub-calendar-next-month {
    display: block !important;
  }

  .ctub-primary-booking .ctub-calendar-next-month:focus-visible {
    outline: 3px solid #d75d25;
    outline-offset: 2px;
  }

  .ctub-primary-booking .ctub-calendar-next-month:disabled {
    cursor: default;
    opacity: 0.45;
  }

  .ctub-sauna-feature__inner {
    padding: 0 20px;
  }

  .ctub-sauna-feature__intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 36px 20px;
    margin-bottom: 20px;
  }

  .ctub-sauna-feature__intro h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .ctub-primary-booking {
    box-sizing: border-box;
    width: calc(100vw - 2rem) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 2rem) !important;
  }

  .ctub-primary-booking > .wpbs-container,
  .ctub-primary-booking > .wpbs-form-container,
  .ctub-primary-booking .wpbs-calendars-wrapper {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .ctub-primary-booking .wpbs-calendars {
    display: flex !important;
    gap: 0.75rem;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .ctub-primary-booking .wpbs-calendars > .wpbs-calendar {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    scroll-snap-align: center;
  }
}
