/* Hide booking login on the specified page */
.page-id-2369 .sections_group .mcb-wrap-inner #etoBookingLoginForm {
  display: none !important;
}

/* Booking wrapper */
.module-booking {
  position: relative;
  z-index: 30;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
}

/* Booking panel */
.module-booking-inner {
  display: block;
  width: 490px;
  max-width: 100%;
  height: auto;
  min-height: 0;
  margin: 0 auto;
  padding: 24px 24px !important;
  border: 1px solid transparent;
  background-color: #005bb2bf;
  box-sizing: border-box;
}

/* Booking heading */
.module-booking .module-booking-title {
  margin: 0 0 14px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Content inside the panel */
.module-booking .sp-module-content {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

/* Keep the height managed by the booking widget */
.module-booking iframe {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

/* Current homepage: allow a full-width desktop booking panel */
.ti-home .ti-hero-inner {
  grid-template-columns: minmax(0, 1fr) 490px;
  gap: clamp(24px, 4vw, 56px);
}

.ti-home #outerslider {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.ti-home #outerslider .module-booking {
  position: static;
  width: 490px;
  margin: 0;
  padding: 0;
  transform: none;
}

.ti-home #outerslider .module-booking-inner {
  width: 490px !important;
  max-width: 490px;
  height: auto;
}

/* Tablet and mobile: booking below the hero text */
@media screen and (max-width: 960px) {
  .ti-home .ti-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .module-booking {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin: 0 auto;
    padding: 0;
  }

  .module-booking-inner {
    width: 100%;
    max-width: 490px;
    height: auto;
    padding: 20px 16px !important;
  }
}

/* Remove the old mobile offset */
@media screen and (max-width: 760px) {
  #main {
    margin-top: 0;
  }

  .module-booking {
    margin-top: 0;
    background: transparent;
  }
  .ti-home #outerslider .module-booking {
    position: static;
    width: 365px !important;
    margin: 0;
    transform: none;
}
.ti-home #outerslider .module-booking-inner {
    width: 370px !important;
    max-width: 490px;
    height: auto;
}
}