body {
  color: var(--lt-ink);
  background: var(--lt-canvas);
}

.home-page .home-main {
  width: 100%;
  max-width: none;
  padding: 0 0 72px;
}

.home-shell {
  width: min(calc(100% - 2 * var(--lt-gutter)), var(--lt-shell));
  margin-inline: auto;
}

.home-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 82% 4%, rgba(255, 255, 255, .15), transparent 28%),
    radial-gradient(circle at 12% 100%, rgba(143, 125, 255, .34), transparent 30%),
    linear-gradient(128deg, #2f1a83 0%, var(--lt-brand) 54%, #795ff9 100%);
  overflow: visible;
}

.home-hero::before,
.home-hero::after {
  display: none;
}

.home-page .home-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  margin: 0;
}

.home-page .home-logo {
  width: clamp(194px, 22vw, 258px);
  max-width: 62vw;
}

.home-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
}

.home-intro {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 72px) 0 0;
  text-align: center;
}

.home-intro h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.home-intro p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.45;
  text-wrap: balance;
}

.home-page .tour-search {
  position: relative;
  z-index: 3;
  padding: 30px 0 76px;
  border: 0;
  background: transparent;
}

.custom-search {
  --search-brand: var(--lt-brand);
  --search-brand-hover: var(--lt-brand-hover);
  --search-brand-soft: var(--lt-brand-soft);
  --search-ink: var(--lt-ink);
  --search-muted: var(--lt-muted);
  --search-border: var(--lt-line);
  --search-focus: 0 0 0 3px rgba(91, 63, 245, .22);
  color: var(--lt-ink);
  font-family: var(--lt-font);
}

.custom-search,
.custom-search * {
  font-weight: 300 !important;
}

.custom-search .product-tabs {
  display: flex;
  width: max-content;
  gap: 4px;
  margin: 0 auto 16px;
  padding: 4px;
  border-radius: 14px;
  background: #e9e7ef;
}

.home-page .custom-search .product-tabs {
  background: rgba(25, 12, 90, .34);
  backdrop-filter: blur(8px);
}

.custom-search .product-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  color: var(--lt-ink-soft);
  background: transparent;
}

.home-page .custom-search .product-tab {
  color: rgba(255, 255, 255, .78);
}

.custom-search .product-tab.is-active {
  color: var(--lt-brand-deep);
  background: #fff;
  box-shadow: none;
}

.custom-search .product-tab .material-symbols-rounded {
  font-size: 20px;
}

.custom-search .search-panel {
  border: 0;
  border-radius: var(--lt-radius-lg);
  background: #fff;
  box-shadow: 0 16px 46px rgba(30, 19, 86, .17);
  overflow: visible;
}

.custom-search .primary-grid {
  display: grid;
  grid-template-columns: minmax(130px, .9fr) minmax(180px, 1.25fr) minmax(150px, 1.05fr) minmax(112px, .72fr) minmax(130px, .9fr) 56px minmax(150px, .95fr);
  gap: 0;
  align-items: stretch;
  padding: 8px;
}

.custom-search .field-shell,
.custom-search .filter-shell {
  position: relative;
  min-width: 0;
}

.custom-search .field-button {
  width: 100%;
  height: 64px;
  min-width: 0;
  padding: 10px 13px 8px 15px;
  border: 0;
  border-right: 1px solid var(--lt-line);
  border-radius: 0;
  color: var(--lt-ink);
  background: #fff;
}

.custom-search .field-button:hover,
.custom-search .field-button[aria-expanded="true"] {
  background: #faf9fd;
}

.custom-search .field-label,
.custom-search .filter-label {
  margin-bottom: 3px;
  color: var(--lt-muted);
  font-size: 12px;
  line-height: 1.1;
}

.custom-search .field-value,
.custom-search .filter-value {
  color: var(--lt-ink);
  font-size: 15px;
  line-height: 1.35;
}

.custom-search .field-icon,
.custom-search .filter-icon {
  width: auto;
  height: auto;
  color: var(--lt-muted);
  font-size: 20px;
}

.custom-search .advanced-toggle {
  display: inline-flex;
  align-self: center;
  justify-self: center;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-height: 48px;
  margin: 0 4px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: var(--lt-brand);
  background: var(--lt-brand-soft);
}

.custom-search .advanced-toggle[aria-expanded="true"] {
  color: #fff;
  background: var(--lt-brand);
}

.custom-search .advanced-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.custom-search .search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  margin-left: 2px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  color: var(--lt-action-ink);
  background: var(--lt-action);
  box-shadow: none;
  font-size: 16px;
}

.custom-search .search-button:hover {
  border: 0;
  background: var(--lt-action-hover);
}

.custom-search .advanced-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  max-height: 150px;
  margin: 0 8px 8px;
  padding: 14px 0 0;
  border-top: 1px solid #efedf3;
  opacity: 1;
  overflow: visible;
  transition: max-height .2s ease, padding .2s ease, opacity .16s ease;
}

.custom-search .advanced-grid.is-collapsed {
  max-height: 0;
  margin-bottom: 0;
  padding-top: 0;
  border-top-color: transparent;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.custom-search .filter-button {
  width: 100%;
  height: 58px;
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  color: var(--lt-ink);
  background: var(--lt-surface-soft);
}

.custom-search .form-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.custom-search .search-hint {
  margin: 0;
  color: var(--lt-muted);
  font-size: 13px;
}

.home-page .custom-search .search-hint {
  color: rgba(255, 255, 255, .8);
}

.custom-search .popover {
  z-index: 120;
  border: 0;
  border-radius: var(--lt-radius-md);
  box-shadow: var(--lt-shadow-float);
}

.custom-search .popover-search,
.custom-search .date-inputs input,
.custom-search .child-age-field select {
  border-color: var(--lt-line);
}

.custom-search .option,
.custom-search .filter-option,
.custom-search .popover-apply,
.custom-search .stepper button {
  min-height: 44px;
}

.custom-search .popover-apply {
  border: 0;
  color: #fff;
  background: var(--lt-brand);
}

.custom-search :is(.field-button, .filter-button, .search-button, .product-tab, .advanced-toggle, .popover button, .popover input, .popover select):focus-visible {
  outline: 3px solid var(--lt-focus);
  outline-offset: 2px;
  box-shadow: none;
}

.home-page .hot-tours-section {
  margin-top: 0;
  padding-top: 64px;
}

.home-page .hot-tours-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  align-items: end;
  gap: 28px;
  margin-bottom: 22px;
}

.home-page .hot-tours-heading h2 {
  margin: 0;
  color: var(--lt-ink);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -.03em;
}

.home-page .hot-tours-heading p {
  margin: 0;
  color: var(--lt-muted);
  line-height: 1.5;
  text-align: right;
}

.home-page .hot-tours-widget {
  min-height: 440px;
  padding: 14px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
}

.site-footer {
  border-top: 0;
  background: #efedf4;
}

.map-page .custom-search .search-panel {
  border-radius: 18px;
  box-shadow: none;
}

.map-page .custom-search .product-tabs {
  margin-left: 0;
}

.map-page :is(.map-secondary-button, .map-close-search, .map-drawer-head button, .map-sheet-close) .material-symbols-rounded {
  font-size: 21px;
}

.map-page :is(.map-empty-icon, .map-key-icon, .map-hotel-photo-fallback) .material-symbols-rounded {
  font-size: 32px;
}

.ui-state {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: clamp(32px, 7vw, 72px) 20px;
  color: var(--lt-muted);
  text-align: center;
}

.ui-state h1,
.ui-state h2 {
  margin: 0;
  color: var(--lt-ink);
  font-size: clamp(22px, 4vw, 32px);
}

@media (max-width: 1120px) {
  .custom-search .primary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
  }

  .custom-search .field-button {
    border-bottom: 1px solid var(--lt-line);
  }

  .custom-search .advanced-toggle {
    justify-self: stretch;
    width: auto;
    margin: 4px;
  }

  .custom-search .advanced-toggle-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 0 8px;
    clip: auto;
    overflow: visible;
  }

  .custom-search .search-button {
    margin: 4px;
  }

  .custom-search .advanced-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 230px;
  }
}

@media (max-width: 700px) {
  body.custom-search-popover-open {
    overflow: hidden;
  }

  body.custom-search-popover-open::before {
    position: fixed;
    z-index: 2;
    inset: 0;
    content: "";
    background: rgba(24, 18, 46, .48);
    backdrop-filter: blur(2px);
    pointer-events: none;
  }

  .home-page .home-header {
    min-height: 72px;
  }

  .home-trust {
    display: none;
  }

  .home-intro {
    padding-top: 34px;
  }

  .home-intro h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .home-page .tour-search {
    padding: 24px 0 50px;
  }

  .custom-search .product-tabs {
    width: 100%;
    max-width: 360px;
  }

  .custom-search .product-tab {
    flex: 1 1 0;
    min-height: 48px;
  }

  .custom-search .search-panel {
    border-radius: 20px;
  }

  .custom-search .primary-grid,
  .custom-search .advanced-grid {
    grid-template-columns: 1fr;
  }

  .custom-search .primary-grid {
    padding: 8px;
  }

  .custom-search .field-button {
    height: 58px;
    border-right: 0;
  }

  .custom-search .advanced-grid {
    max-height: 430px;
  }

  .custom-search .advanced-toggle,
  .custom-search .search-button {
    width: auto;
    min-height: 52px;
    margin: 4px;
  }

  .custom-search .popover {
    position: fixed;
    z-index: 120;
    top: auto;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 8px;
    width: auto;
    max-height: min(82dvh, 720px);
    padding: 16px;
    border-radius: 22px;
    overflow: auto;
    overscroll-behavior: contain;
  }

  .custom-search .list-popover .option-list,
  .custom-search .filter-options {
    max-height: min(56dvh, 460px);
  }

  .custom-search .option,
  .custom-search .filter-option,
  .custom-search .popover-apply,
  .custom-search .stepper button {
    min-height: 48px;
  }

  .custom-search .form-footer {
    justify-content: center;
  }

  .home-page .hot-tours-section {
    padding-top: 46px;
  }

  .home-page .hot-tours-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-page .hot-tours-heading p {
    text-align: left;
  }

  .home-page .hot-tours-widget {
    padding: 8px;
  }
}
