.tours-index-page {
    --directory-ink: #21352b;
    --directory-muted: #69766d;
    --directory-primary: #28563f;
    --directory-line: #e4eae5;
    font-family: Inter, Arial, sans-serif;
    color: var(--directory-ink);
}

.tours-index-page .hero { padding: 34px 0 26px; }
.tours-index-page .hero-box {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 7vw, 78px) 24px 64px;
    border-radius: 20px;
    background: linear-gradient(125deg, #183f30 0%, #2b6247 58%, #537c51 100%);
    box-shadow: 0 18px 50px rgba(29, 65, 47, .16);
}
.tours-index-page .hero-box::after {
    position: absolute;
    right: -75px;
    bottom: -180px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(255, 255, 255, .035), 0 0 0 82px rgba(255, 255, 255, .025);
    content: "";
}
.tours-index-page .hero-box > * { position: relative; z-index: 1; }
.tours-index-page .hero-box .badge { padding: 8px 14px; font-size: 12px; font-weight: 700; }
.tours-index-page .hero-box h1 { max-width: 850px; margin: 0 auto; color: #fff; font-size: clamp(32px, 5vw, 54px); letter-spacing: -.04em; }
.tours-index-page .hero-box > p { max-width: 670px; margin: 14px auto 0; color: rgba(255,255,255,.84); font-size: 16px; line-height: 1.7; }

.tours-index-page .tour-search-wrap {
    position: relative;
    z-index: 2;
    width: min(100% - 48px, 660px);
    margin: -30px auto 0;
}
.tours-index-page .global-search-results {
    position: absolute;
    z-index: 30;
    top: calc(100% + 9px);
    right: 0;
    left: 0;
    max-height: min(62vh, 520px);
    overflow-y: auto;
    border: 1px solid #e1e8e2;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(23, 48, 32, .18);
}
.tours-index-page .global-search-results[hidden],
.tours-index-page .global-search-result[hidden],
.tours-index-page .global-search-empty[hidden] { display: none !important; }
.tours-index-page .global-search-results-heading { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #edf1ed; background: #fff; color: #34483b; font-size: 12px; }
.tours-index-page .global-search-results-heading span { color: #78847b; font-weight: 500; }
.tours-index-page .global-search-result { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 12px 15px; border-bottom: 1px solid #f0f3f0; color: inherit; text-decoration: none; }
.tours-index-page .global-search-result:last-child { border-bottom: 0; }
.tours-index-page .global-search-result:hover,
.tours-index-page .global-search-result:focus-visible { background: #f6faf6; outline: 0; }
.tours-index-page .global-search-result-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: #edf4ee; color: var(--directory-primary); font-size: 15px; }
.tours-index-page .global-search-result-copy { display: grid; min-width: 0; gap: 3px; }
.tours-index-page .global-search-result-title { overflow: hidden; color: #26382d; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.tours-index-page .global-search-result-description { overflow: hidden; color: #79847c; font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.tours-index-page .global-search-result-type { padding: 5px 8px; border-radius: 999px; background: #f1f4f1; color: #657269; font-size: 10px; font-weight: 650; }
.tours-index-page .global-search-empty { margin: 0; padding: 22px 16px; color: var(--directory-muted); font-size: 13px; text-align: center; }
.tours-index-page .tour-search {
    display: flex;
    height: 62px;
    align-items: center;
    gap: 13px;
    margin: 0;
    padding: 0 20px;
    border: 1px solid #e5eae6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(25, 49, 35, .13);
    color: var(--directory-muted);
}
.tours-index-page .tour-search > i { color: var(--directory-primary); font-size: 18px; }
.tours-index-page .tour-search input { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; color: var(--directory-ink); font: inherit; font-size: 15px; }
.tours-index-page .tour-search input::placeholder { color: #8a958e; }
.tours-index-page .tour-search button { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 0; border-radius: 50%; background: #f1f5f2; color: #53665a; }
.tours-index-page .tour-search button[hidden] { display: none; }

.tours-index-page .tour-directory { padding: 42px 0 58px; }
.tours-index-page .tour-directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.tours-index-page .tour-section-kicker { display: block; margin-bottom: 7px; color: var(--directory-primary); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tours-index-page .section-title { margin: 0; color: var(--directory-ink); font-size: clamp(25px, 3vw, 34px); font-weight: 750; letter-spacing: -.035em; }
.tours-index-page .tour-directory-heading p { margin: 8px 0 0; color: var(--directory-muted); font-size: 14px; }
.tours-index-page .tour-result-count { flex: 0 0 auto; padding-bottom: 4px; color: var(--directory-muted); font-size: 13px; }
.tours-index-page .tour-category-nav { position: sticky; z-index: 10; top: 84px; display: flex; gap: 8px; overflow-x: auto; margin: 0 0 24px; padding: 10px 0 14px; background: var(--light, #f7f8fa); scrollbar-width: thin; }
.tours-index-page .tour-category-chip { flex: 0 0 auto; padding: 9px 16px; border: 1px solid #dfe7e1; border-radius: 999px; background: #fff; color: #56645b; font: inherit; font-size: 13px; font-weight: 650; transition: .18s ease; }
.tours-index-page .tour-category-chip:hover { border-color: #9cb6a2; color: var(--directory-primary); }
.tours-index-page .tour-category-chip.is-active { border-color: var(--directory-primary); background: var(--directory-primary); color: #fff; }
.tours-index-page .tour-grid { align-items: stretch; }
.tours-index-page .tour-card-item[hidden] { display: none !important; }
.tours-index-page .tour-card-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.tours-index-page .tour-card { display: flex; height: 100%; flex-direction: column; border: 1px solid var(--directory-line); border-radius: 14px; box-shadow: 0 3px 16px rgba(30, 52, 38, .045); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tours-index-page .tour-card-link:hover .tour-card,
.tours-index-page .tour-card-link:focus-visible .tour-card { transform: translateY(-4px); border-color: #c5d5c9; box-shadow: 0 12px 30px rgba(30, 52, 38, .11); }
.tours-index-page .tour-image { flex: 0 0 auto; aspect-ratio: 16 / 10; }
.tours-index-page .tour-image img { display: block; }
.tours-index-page .tour-badge { max-width: calc(100% - 32px); overflow: hidden; padding: 7px 11px; color: #31443a; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.tours-index-page .rating-pill { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; font-size: 12px; }
.tours-index-page .rating-pill .bi-star-fill { color: #f3c75b; font-size: 11px; }
.tours-index-page .review-count { color: rgba(255,255,255,.77); }
.tours-index-page .tour-content { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.tours-index-page .tour-title { margin: 0 0 8px; color: var(--directory-ink); font-size: 17px; line-height: 1.4; }
.tours-index-page .tour-subtitle { min-height: 0; margin: 0; color: var(--directory-muted); font-size: 13px; line-height: 1.65; }
.tours-index-page .tour-meta { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 18px; margin-top: 16px; font-size: 12px; }
.tours-index-page .tour-meta span { display: inline-flex; align-items: center; gap: 6px; }
.tours-index-page .tour-meta i { color: var(--directory-primary); }
.tours-index-page .price { margin-top: 16px; color: var(--directory-primary); font-size: 15px; }
.tours-index-page .btn-tour { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 12px 0 0; border: 0; border-top: 1px solid var(--directory-line); border-radius: 0; background: transparent; color: var(--directory-primary); font-size: 13px; }
.tours-index-page .tour-empty-state { padding: 56px 20px; border: 1px dashed #cad7ce; border-radius: 14px; background: rgba(255,255,255,.65); text-align: center; }
.tours-index-page .tour-empty-state[hidden] { display: none !important; }
.tours-index-page .tour-empty-icon { display: grid; width: 48px; height: 48px; margin: 0 auto 14px; place-items: center; border-radius: 50%; background: #e9f1eb; color: var(--directory-primary); font-size: 18px; }
.tours-index-page .tour-empty-state h3 { margin: 0 0 7px; color: var(--directory-ink); font-size: 18px; }
.tours-index-page .tour-empty-state p { margin: 0 0 16px; color: var(--directory-muted); font-size: 14px; }
.tours-index-page .tour-reset-button { padding: 9px 15px; border: 0; border-radius: 999px; background: var(--directory-primary); color: #fff; font: inherit; font-size: 13px; font-weight: 650; }
.tours-index-page .cta-section { padding: 8px 0 68px; }
.tours-index-page .cta-box { border-radius: 18px; }
.tours-index-page .ua-navbar-v1 { background: #fff; }
.tours-index-page .ua-navbar-v1 .ua-logo { color: #26352b; text-decoration: none; }
.tours-index-page .ua-navbar-v1 .ua-logo-ubud { color: #285440; }
.tours-index-page .ua-navbar-v1 .ua-logo-adventures { color: #374151; }
.tours-index-page .ua-navbar-v1 .ua-explore-menu-v1 { background: #fff; }

@media (max-width: 767px) {
    .tours-index-page .hero { padding: 18px 0 20px; }
    .tours-index-page .hero-box { padding: 42px 20px 56px; border-radius: 15px; }
    .tours-index-page .hero-box > p { font-size: 14px; }
    .tours-index-page .tour-search-wrap { width: calc(100% - 32px); margin-top: -27px; }
    .tours-index-page .tour-search { height: 56px; padding: 0 15px; }
    .tours-index-page .global-search-result { grid-template-columns: 34px minmax(0, 1fr); gap: 9px; padding: 11px; }
    .tours-index-page .global-search-result-type { grid-column: 2; justify-self: start; }
    .tours-index-page .tour-directory { padding: 32px 0 42px; }
    .tours-index-page .tour-directory-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .tours-index-page .tour-category-nav { top: 72px; gap: 7px; margin-right: -12px; margin-left: -12px; padding: 9px 12px 13px; }
    .tours-index-page .tour-category-chip { padding: 8px 13px; font-size: 12px; }
    .tours-index-page .tour-content { padding: 17px; }
    .tours-index-page .cta-box { padding: 42px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .tours-index-page *, .tours-index-page *::before, .tours-index-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
