/* Shared visual system for Elsa's public interactive pages. */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Open_Sans/OpenSans-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Open_Sans/OpenSans-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Vollkorn";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Vollkorn/Vollkorn-700.woff2") format("woff2");
}

@font-face {
  font-family: "Yuji Syuku";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Yuji_Syuku/YujiSyuku-Regular.woff2") format("woff2");
}

:root {
  --elsa-interactive-font-display: "Yuji Syuku", Georgia, serif;
  --elsa-interactive-font-heading: "Vollkorn", Georgia, serif;
  --elsa-interactive-font-body: "Open Sans", Arial, sans-serif;
  --elsa-interactive-weight-display: 500;
  --elsa-interactive-weight-heading: 700;
  --elsa-interactive-weight-body: 400;
  --elsa-interactive-weight-label: 700;
}

body.app.no-sidebar.page-book_form {
  --elsa-interactive-inline-gutter: var(--guest-flow-inline-padding, clamp(16px, 4vw, 38px));
}

body.app.no-sidebar.page-lovina-planner {
  --elsa-interactive-inline-gutter: clamp(18px, 4vw, 56px);
}

body.app.no-sidebar.page-book_form .booking-page-shell,
body.app.no-sidebar.page-lovina-planner :where(.lp-app, .lp-seo-content) {
  width: min(100%, 1150px);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  font-family: var(--elsa-interactive-font-body);
  font-weight: var(--elsa-interactive-weight-body);
}

body.app.no-sidebar.page-book_form .booking-page-shell *,
body.app.no-sidebar.page-book_form .booking-page-shell *::before,
body.app.no-sidebar.page-book_form .booking-page-shell *::after,
body.app.no-sidebar.page-lovina-planner :where(.lp-app, .lp-seo-content) *,
body.app.no-sidebar.page-lovina-planner :where(.lp-app, .lp-seo-content) *::before,
body.app.no-sidebar.page-lovina-planner :where(.lp-app, .lp-seo-content) *::after,
.customer-interactive-hero,
.customer-interactive-hero * {
  box-sizing: border-box;
}

body.app.no-sidebar.page-book_form .booking-page-shell :where(p, li, input, select, textarea, .form-control),
body.app.no-sidebar.page-lovina-planner :where(.lp-app, .lp-seo-content) :where(p, li, input, select, textarea, .form-control) {
  font-family: var(--elsa-interactive-font-body) !important;
  font-weight: var(--elsa-interactive-weight-body) !important;
}

body.app.no-sidebar.page-book_form .booking-page-shell :where(h1, h2, h3, h4, h5, h6, .tile-title, .room-card-title, .room-type-cell > span, .booking-summary-title, .room-guest-heading, .addon-title),
body.app.no-sidebar.page-lovina-planner :where(.lp-app, .lp-seo-content) :where(h1, h2, h3, h4, h5, h6, .lp-activity-name) {
  font-family: var(--elsa-interactive-font-heading) !important;
  font-weight: var(--elsa-interactive-weight-heading) !important;
}

body.app.no-sidebar.page-book_form .booking-page-shell :where(label, th, .btn, .elsa-button, button),
body.app.no-sidebar.page-lovina-planner :where(.lp-app, .lp-seo-content) :where(label, th, .btn, button, .lp-seo-cta-link) {
  font-family: var(--elsa-interactive-font-body) !important;
  font-weight: var(--elsa-interactive-weight-label) !important;
}

body.app.no-sidebar.page-book_form .booking-page-shell :where(.tile, .detail-tile, .guest-flow-box, .availability-table-wrap, .room-card, .booking-summary),
body.app.no-sidebar.page-lovina-planner :where(.lp-app, .lp-seo-content) :where(.lp-toolbar, .lp-tour-summary, .lp-workspace, .lp-palette, .lp-board-panel, .lp-day-panel, .lp-activity, .lp-seo-example, .lp-faq-item) {
  max-width: 100%;
  min-width: 0;
}

body.app.no-sidebar.page-book_form .booking-page-shell :where(input, select, textarea, button, img, svg),
body.app.no-sidebar.page-lovina-planner :where(.lp-app, .lp-seo-content) :where(input, select, textarea, button, img, svg) {
  max-width: 100%;
}

body.app.no-sidebar.page-book_form .booking-page-shell :where(h1, h2, h3, h4, p, li, label, th, td),
body.app.no-sidebar.page-lovina-planner :where(.lp-app, .lp-seo-content) :where(h1, h2, h3, h4, p, li, label, th, td) {
  overflow-wrap: anywhere;
}

.customer-interactive-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  width: calc(100% + (2 * var(--elsa-interactive-inline-gutter)));
  min-height: 320px;
  margin:
    0
    calc(-1 * var(--elsa-interactive-inline-gutter))
    clamp(24px, 4vw, 44px);
  padding: 42px max(24px, var(--elsa-interactive-inline-gutter));
  place-items: center;
  overflow: hidden;
  background-color: #49301f;
  background-image: var(--elsa-interactive-hero-image);
  background-position: var(--elsa-interactive-hero-position, center);
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.customer-interactive-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 24, 16, 0.62), rgba(30, 24, 16, 0.46), rgba(30, 24, 16, 0.64));
  content: "";
}

.customer-interactive-hero--booking {
  --elsa-interactive-hero-image: url("../images/heroes/kubu-elsa-bali-reception-welcome.webp");
  --elsa-interactive-hero-position: 52% center;
}

.customer-interactive-hero--planner {
  --elsa-interactive-hero-image: url("../images/heroes/lovina-dolphin-tour-sunrise.webp");
  --elsa-interactive-hero-position: center 58%;
}

.customer-interactive-hero__content {
  width: min(100%, 860px);
  min-width: 0;
}

body.app.no-sidebar.page-book_form .customer-interactive-hero .customer-interactive-hero__title,
body.app.no-sidebar.page-lovina-planner .customer-interactive-hero .customer-interactive-hero__title {
  margin: 0 0 14px;
  color: #fff !important;
  font-family: var(--elsa-interactive-font-display) !important;
  font-size: clamp(2.5rem, 4.5vw, 3.65rem) !important;
  font-weight: var(--elsa-interactive-weight-display) !important;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.46);
}

body.app.no-sidebar.page-book_form .customer-interactive-hero .customer-interactive-hero__copy,
body.app.no-sidebar.page-lovina-planner .customer-interactive-hero .customer-interactive-hero__copy {
  max-width: 760px;
  margin: 0 auto;
  color: #fff !important;
  font-family: var(--elsa-interactive-font-body) !important;
  font-size: clamp(0.96rem, 1.3vw, 1.06rem) !important;
  font-weight: var(--elsa-interactive-weight-body) !important;
  line-height: 1.7;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.62);
}

@media (max-width: 991.98px) {
  body.app.no-sidebar.page-book_form {
    --guest-flow-inline-padding: 14px;
    --elsa-interactive-inline-gutter: 14px;
  }

  body.app.no-sidebar.page-lovina-planner {
    --elsa-interactive-inline-gutter: 16px;
  }

  .customer-interactive-hero {
    min-height: 300px;
    padding-block: 36px;
  }
}

@media (min-width: 992px) and (max-width: 1100px) {
  body.app.no-sidebar.page-lovina-planner .customer-booking-header:not(.customer-booking-header--synced) .customer-booking-header-inner {
    gap: 10px;
  }

  body.app.no-sidebar.page-lovina-planner .customer-booking-header:not(.customer-booking-header--synced) .customer-booking-nav a {
    padding: 6px;
    font-size: 0.875rem;
    line-height: 1.4;
  }
}

/* Keep the synchronized WordPress navigation on one line on compact desktop
   widths. Elementor's desktop menu remains active above its tablet breakpoint,
   but its default link spacing is too wide for the full seven-item menu. */
@media (min-width: 1025px) and (max-width: 1365px) {
  body.app.no-sidebar.page-book_form .customer-booking-header--synced .elementskit-navbar-nav,
  body.app.no-sidebar.page-lovina-planner .customer-booking-header--synced .elementskit-navbar-nav,
  body.app.no-sidebar.page-lovina-guide .customer-booking-header--synced .elementskit-navbar-nav {
    flex-wrap: nowrap !important;
  }

  body.app.no-sidebar.page-book_form .customer-booking-header--synced .elementskit-navbar-nav > li > a,
  body.app.no-sidebar.page-lovina-planner .customer-booking-header--synced .elementskit-navbar-nav > li > a,
  body.app.no-sidebar.page-lovina-guide .customer-booking-header--synced .elementskit-navbar-nav > li > a {
    padding-right: 10px !important;
    padding-left: 10px !important;
    font-size: 17px !important;
    white-space: nowrap;
  }
}

/* Keep the active Guide destination visible in the synchronized WordPress
   header, matching the planner's active navigation treatment. */
body.app.no-sidebar.page-lovina-guide .customer-booking-header--synced
  .elementskit-navbar-nav > li.current-menu-item > a,
body.app.no-sidebar.page-lovina-guide .customer-booking-header--synced
  .elementskit-navbar-nav > li.current_page_item > a {
  color: #f0d184 !important;
}

/* Shared route chooser for the optional Guide and Planner paths and direct booking. */
.customer-journey {
  width: min(1120px, calc(100% - (2 * var(--elsa-interactive-inline-gutter, 24px))));
  margin: clamp(18px, 3vw, 34px) auto;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid #e1d4c6;
  border-radius: 18px;
  background: #fffaf4;
  box-shadow: 0 10px 30px rgba(65, 43, 24, .08);
  color: #35261d;
}

.customer-journey__intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.customer-journey__intro p { margin: 0; }

.customer-journey__intro .customer-journey__eyebrow {
  color: #7a4b2a;
  font-family: "Vollkorn", serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
}

.customer-journey__routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.customer-journey__route { position: relative; min-width: 0; }

.customer-journey__route:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fffaf4;
  color: #9b724e;
  content: "›";
  font-size: 20px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  transform: translateY(-50%);
}

.customer-journey__link {
  display: flex;
  min-height: 82px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #dbc8b5;
  border-radius: 12px;
  background: #fff;
  color: #513923;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

a.customer-journey__link:hover,
a.customer-journey__link:focus {
  border-color: #a76335;
  color: #713f20;
  box-shadow: 0 5px 16px rgba(86, 49, 24, .12);
  text-decoration: none;
  transform: translateY(-1px);
}

a.customer-journey__link:focus-visible {
  outline: 3px solid #b67e38;
  outline-offset: 3px;
}

.customer-journey__link small {
  color: #876e5b;
  font-family: "Open Sans", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.customer-journey__link strong {
  font-family: "Vollkorn", serif;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.25;
}

.customer-journey__route.is-current .customer-journey__link {
  border-color: #a64b00;
  background: #7a4b2a;
  color: #fff;
  box-shadow: 0 7px 18px rgba(82, 45, 21, .2);
}

.customer-journey__route.is-current .customer-journey__link small { color: #f2d8ba; }

.customer-journey__route.is-complete .customer-journey__link {
  border-color: #76946a;
  background: #f3f8f1;
}

.customer-journey__route.is-complete .customer-journey__link small { color: #416638; }

@media (max-width: 720px) {
  .customer-journey {
    width: 100%;
    margin-block: 16px 24px;
    padding: 16px;
    border-radius: 14px;
  }

  .customer-journey__intro { display: block; }
  .customer-journey__intro p + p { margin-top: 5px; }

  .customer-journey__routes {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .customer-journey__route:not(:last-child)::after { display: none; }

  .customer-journey__link {
    min-height: 66px;
    padding: 11px 14px;
  }
}

@media (max-width: 800px) {
  .customer-interactive-hero--booking {
    --elsa-interactive-hero-position: 52% center;
  }

  .customer-interactive-hero--planner {
    --elsa-interactive-hero-position: 48% center;
  }
}

@media (max-width: 430px) {
  body.app.no-sidebar.page-book_form {
    --guest-flow-inline-padding: 12px;
    --elsa-interactive-inline-gutter: 12px;
  }

  .customer-interactive-hero {
    min-height: 280px;
    padding: 20px 18px;
  }

  body.app.no-sidebar.page-book_form .customer-interactive-hero .customer-interactive-hero__title,
  body.app.no-sidebar.page-lovina-planner .customer-interactive-hero .customer-interactive-hero__title {
    font-size: clamp(1.875rem, 9vw, 2.2rem) !important;
  }

  body.app.no-sidebar.page-book_form .customer-interactive-hero .customer-interactive-hero__copy,
  body.app.no-sidebar.page-lovina-planner .customer-interactive-hero .customer-interactive-hero__copy {
    font-size: 0.86rem !important;
    line-height: 1.45;
  }
}
