/* FareHarbor-ish tokens inside modal (tiles use light text on imagery) */
#booking-modal-root,
#booking-modal.booking-modal {
  --fh-color-text-default: #ffffff;
  --fh-color-text-primary: #ffffff;
  --fh-color-heading: #ffffff;
  --fh-color-text-subtle: rgba(255, 255, 255, 0.92);
      font-family: Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

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

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
}

.booking-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  border-radius: 12px;
  background-color: #1b1c1d;
}

.booking-modal__panel .overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  z-index: -1;
}

.booking-modal__panel .main-container {
  border: 1px solid #afb8c0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.17);
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
  background-color: #1b1c1d;
  border-radius: 12px;
}

.booking-modal__panel .book-embed-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.booking-modal__panel .ben-left {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.booking-modal__panel .ben-translate-button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.booking-modal__panel .close-embed-control {
  position: relative;
  display: flex;
  align-items: center;
}

.booking-modal__panel .close-embed-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
}

.booking-modal__panel .close-embed-button svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.booking-modal__panel .flow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 25px 45px 25px 40px;
  border-bottom: 1px solid #3a3a3a;

}

.booking-modal__panel .flow-header[hidden] {
  display: none;
}

.booking-modal__panel .flow-header-logo-wrap img {
  max-height: 80px;
  width: auto;
}

.booking-modal__panel .flow-date-search {
  position: relative;
}

.booking-modal__panel .date-search-control {
  display: flex;
  align-items: center;
  background: #1a1b1d;
  border: 1px solid #afb8c0;
  border-radius: 5px;
  overflow: hidden;
}

.booking-modal__panel .date-search-trigger {
  flex: 1;
  min-height: 40px;
  background: transparent;
  border: none;
  color: #4aa3ff;
  padding: 0 22px 0 18px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  min-width: 220px;
}

.booking-modal__panel .date-search-submit {
  flex: 0 0 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1976d2;
  border: none;
  cursor: pointer;
}

.booking-modal__panel .date-search-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  background: #34363b;
  border-radius: 14px;
  padding: 22px 18px 18px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
  z-index: 20;
}

.booking-modal__panel .date-search-popover[hidden] {
  display: none;
}

.booking-modal__panel .calendar-header {
  display: grid;
  grid-template-columns: 20px 1fr 20px;
  align-items: center;
  margin-bottom: 18px;
}

.booking-modal__panel .calendar-month {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #f0f2f5;
}

.booking-modal__panel .calendar-nav {
  position: relative;
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.booking-modal__panel .calendar-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-top: 3px solid #f0f2f5;
  border-right: 3px solid #f0f2f5;
}

.booking-modal__panel .calendar-nav--prev::before {
  transform: rotate(-135deg);
}

.booking-modal__panel .calendar-nav--next::before {
  transform: rotate(45deg);
}

.booking-modal__panel .calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

.booking-modal__panel .calendar-day-slot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-modal__panel .calendar-day {
  width: 32px;
  height: 28px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: #eef1f5;
  font-size: 14px;
  cursor: pointer;
}

.booking-modal__panel .calendar-day:hover,
.booking-modal__panel .calendar-day.is-selected,
.booking-modal__panel .calendar-day.is-today {
  background: #4b4f55;
}

.booking-modal__panel .confirm-modal {
  position: absolute;
  top: calc(100% + 14px);
  right: -10px;
  width: min(354px, calc(100vw - 32px));
  background: #33363c;
  border-radius: 4px;
  padding: 20px 18px 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  z-index: 40;
}

.booking-modal__panel .confirm-modal[hidden] {
  display: none;
}

.booking-modal__panel .confirm-modal h2 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #f1f2f4;
  margin-bottom: 4px;
}

.booking-modal__panel .confirm-modal p {
  font-size: 14px;
  line-height: 1.35;
  color: #8f959e;
  margin-bottom: 14px;
  letter-spacing: -0.25px;
}

.booking-modal__panel .confirm-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-modal__panel .confirm-stay-button,
.booking-modal__panel .confirm-leave-button {
  min-height: 32px;
  padding: 0 15px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.booking-modal__panel .confirm-stay-button {
  background: #1976d2;
  color: #fff;
}

.booking-modal__panel .confirm-leave-button {
  background: #575b61;
  color: #f1f3f5;
}

.booking-modal__panel .item-grid-container {
  padding: 18px 20px 20px;
}

.booking-modal__panel .fh-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.booking-modal__panel .fh-grid-item--span-6 {
  grid-column: span 6;
}

.booking-modal__panel .fh-grid-item--span-3 {
  grid-column: span 3;
}

.booking-modal__panel .flow-node-tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 182px;
  cursor: pointer;
  transform-origin: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.booking-modal__panel .flow-node-tile:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.booking-modal__panel .flow-node-tile__image-background {
  position: absolute;
  inset: 0;
}

.booking-modal__panel .flow-node-tile__image-background,
.booking-modal__panel .flow-node-tile__image-background img {
  transition: transform 220ms ease;
}

.booking-modal__panel .flow-node-tile__image-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-modal__panel .flow-node-tile__gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 60%);
  transition: background 180ms ease;
}

.booking-modal__panel .flow-node-tile__content-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 20px;
}

.booking-modal__panel .flow-node-tile__main {
  margin-bottom: 8px;
  text-shadow: 2px 2px 2px rgba(0,0,0,.99);
}

.booking-modal__panel .fh-text--display-lg {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 2px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.45);
}

.booking-modal__panel .fh-text--body-md {
  font-size: 14px;
  color: #fff;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.99);
}

.booking-modal__panel .flow-node-tile__main .fh-text--display-lg,
.booking-modal__panel .flow-node-tile__main .fh-text--body-md {
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  transition:
    text-decoration-color 180ms ease,
    color 180ms ease;
}

.booking-modal__panel .flow-node-tile:is(:hover, :focus-visible, :focus-within) {
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
  transform: scale(1.01);
  z-index: 2;
}

.booking-modal__panel .flow-node-tile:is(:hover, :focus-visible, :focus-within)
  .flow-node-tile__image-background img {
  transform: scale(1.01);
}

.booking-modal__panel .flow-node-tile:is(:hover, :focus-visible, :focus-within)
  .flow-node-tile__gradient-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.35) 62%);
}

.booking-modal__panel .flow-node-tile:is(:hover, :focus-visible, :focus-within)
  .flow-node-tile__main .fh-text--display-lg,
.booking-modal__panel .flow-node-tile:is(:hover, :focus-visible, :focus-within)
  .flow-node-tile__main .fh-text--body-md {
  text-decoration-color: currentColor;
}

/* Item titles on tiles: white; beat page-level .prose / heading / .fhme */
#booking-modal-root #booking-modal.booking-modal .booking-modal__panel .flow-node-tile .fh-title .fh-text--display-lg,
#booking-modal-root #booking-modal.booking-modal .booking-modal__panel .flow-node-tile h3.fh-text--display-lg,
#booking-modal-root #booking-modal.booking-modal .booking-modal__panel .flow-node-tile h3.fh-text,
#booking-modal-root #booking-modal.booking-modal .booking-modal__panel .flow-node-tile .fh-title > h3,
html body #booking-modal.booking-modal .booking-modal__panel .flow-node-tile h3.fh-text.fh-text--display-lg.fh-text--medium {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.45) !important;
  opacity: 1 !important;
}

#booking-modal-root #booking-modal.booking-modal .booking-modal__panel .flow-node-tile__main,
#booking-modal.booking-modal .booking-modal__panel .flow-node-tile__main {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

#booking-modal.booking-modal .booking-modal__panel .flow-node-tile .flow-node-tile__price,
#booking-modal.booking-modal .booking-modal__panel .flow-node-tile .flow-node-tile__price .fh-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.booking-modal__panel .flow-node-tile__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.booking-modal__panel .flow-node-tile__price {
  font-size: 14px;
  text-shadow: 2px 2px 2px rgba(0,0,0,.99);
}

.booking-modal__panel .fh-button--primary {
  background: oklch(54.201% 0.16932 254.205);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.booking-modal__panel .book-embed-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px 25px 28px;
  font-size: 13px;
  color: #9ca1a5;
}

.booking-modal__panel .powered-by-fh,
.booking-modal__panel .dsa-link a {
  color: #9ca1a5;
}

@media (max-width: 640px) {
  .booking-modal__panel .fh-grid-item--span-3 {
    grid-column: span 6;
  }
}
@media only screen and (min-width: 680px) {
  .flow-breadcrumbs {
      padding: 8px 32px;
  }
}
.flow-breadcrumbs {
  border-bottom: 1px solid #3a3a3a;

}
.flow-breadcrumbs ol, .flow-breadcrumbs ol>li {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.flow-breadcrumbs ol {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  gap: 8px;
  padding-left:16px;
}
.flow-breadcrumbs ol>li {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  gap: 16px;
}
.flow-breadcrumbs ol, .flow-breadcrumbs ol>li {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.flow-breadcrumbs ol>li span {
  display: inline-block;
  max-width: 24ch;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
  color: #fff;
}

#bookingModalCalendarContainer {
  margin-top: 16px;
}

#activity-booking-modal .booking-modal__panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
}

#activity-booking-modal #bookingModalCalendarContainer {
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}

#activity-booking-modal .flow-breadcrumbs a.activity-booking-breadcrumb-home--disabled {
  pointer-events: none;
  cursor: default;
  opacity: 0.5;
}

.activity-booking-calendar-shell-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 220px;
  padding: 40px 16px;
  color: #374151;
  font-size: 15px;
}

.activity-booking-calendar-frame-wrap {
  position: relative;
  min-height: 200px;
}

.activity-booking-calendar-frame-wrap--ready .activity-booking-calendar-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.activity-booking-calendar-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #374151;
  font-size: 14px;
}

.activity-booking-calendar-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #489ee0;
  border-radius: 50%;
  animation: activity-booking-calendar-spin 0.75s linear infinite;
}

@keyframes activity-booking-calendar-spin {
  to {
    transform: rotate(360deg);
  }
}

.activity-calendar-iframe {
  display: block;
  width: 100%;
  height: 1200px;
  border: 0;
  border-radius: 8px;
}

.activity-calendar-state {
  padding: 12px;
  border-radius: 8px;
  background: #f3f4f6;
  color: #1f2937;
  font-size: 14px;
}

.activity-calendar-state--error {
  background: #fee2e2;
  color: #b91c1c;
}

.activity-calendar-remote-content {
  margin-top: 12px;
}
.item-header-wide>.tr>.td {
  background-color: #4c5761;
  background-position: 50% 50%;
  background-size: cover;
  border-bottom: 1px solid var(--_border-grey);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #fff;
  height: 175px;
  padding-bottom: 25px;
  padding-top: 25px;
}
.item-header-wide h1 {
  font-size: 28px;
  line-height: 1;
}
.item-header-wide h1, .item-header-wide p {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, .75), 0 0 10px rgba(0, 0, 0, .5);
}
.item-header-wide p {
  font-size: 14px;
  padding-top: 5px;
}
.item-header-wide h1, .item-header-wide p {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, .75), 0 0 10px rgba(0, 0, 0, .5);
}
@media only screen and (min-width: 680px) {
  .table.valign-bottom>.tbody>.tr>.td, .table.valign-bottom>.tfoot>.tr>.td, .table.valign-bottom>.thead>.tr>.td, .table.valign-bottom>.thead>.tr>.th, .table.valign-bottom>.tr>.td, .table.valign-bottom>.tr>.th {
      vertical-align: bottom;
  }
}

@media only screen and (min-width: 680px) {
  .item-header-wide>.tr>.td {
      padding-left: 55px;
      padding-right: 40px;
  }
}
.item-header-wide>.tr>.td {
  background-color: #4c5761;
  background-position: 50% 50%;
  background-size: cover;
  border-bottom: 1px solid var(--_border-grey);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #fff;
  height: 175px;
  padding-bottom: 25px;
  padding-top: 25px;
  padding-left: 16px;
  display: flex;
    align-items: end;
}
/* @media only screen and (min-width: 680px) {
  .table>.tbody>.tr>.td, .table>.tfoot>.tr>.td, .table>.thead>.tr>.td, .table>.thead>.tr>.th, .table>.tr>.td, .table>.tr>.th {
      display: table-cell;
  }
} */

/* iOS: WebKit synthesizes tap→click only for clickable targets; cursor:pointer marks div triggers. */
[data-booking-modal-open],
#open-booking-modal,
.banner-button-book {
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.12);
}