/* Extracted from an inline <style> in: application/views/tour/components/style-product-search.php
   Edit here; every view listed links this file. */
    .tour-filter-pagination {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin: 24px 0;
    }

    .tour-filter-pagination > span {
        color: #475569;
        font-size: 14px;
    }

    .tour-filter-pagination .tour-filter-page {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 96px;
        min-height: 44px;
        padding: 10px 18px;
        border: 1px solid #039cca;
        border-radius: 8px;
        background: #eefaff;
        color: #026b8b;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
        box-shadow: 0 2px 4px rgba(3, 156, 202, .15);
        cursor: pointer;
        transition: background-color .15s, color .15s, box-shadow .15s;
    }

    .tour-filter-pagination .tour-filter-page:hover {
        border-color: #027d9f;
        background: #027d9f;
        color: #fff;
        box-shadow: 0 3px 8px rgba(3, 156, 202, .25);
    }

    .tour-filter-pagination .tour-filter-page:focus-visible {
        outline: 3px solid #039cca;
        outline-offset: 3px;
    }

    .tour-filter-pagination .tour-filter-page:active {
        background: #026b8b;
        color: #fff;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, .15);
    }

    .tz-trip-sort-wrap {
        position: relative;
    }

    .tz-trip-sort-wrap > .sort-item-select-com {
        top: calc(100% + 6px);
        right: 0;
        left: auto;
        margin: 0;
        z-index: 100001;
    }

    .heading_primary {
        font-size: 28px
    }

    .tour-category-intro {
        position: relative
    }

    .tour-category-intro h2 {
        margin: 0 0 8px;
        font-size: 20px;
        font-weight: 600;
        color: #1f2933
    }

    .tour-category-intro p {
        margin: 0;
        color: #475569;
        font-size: 15px;
        line-height: 1.8
    }

    .tour-category-intro-text {
        position: relative;
        overflow: hidden;
        transition: max-height .2s
    }

    .tour-category-intro.is-collapsed .tour-category-intro-text {
        max-height: 45px
    }

    .related-link-section-collapsible.is-expanded .related-link-grid,
    .tour-category-intro.is-expanded .tour-category-intro-text {
        max-height: none
    }

    .tour-category-intro.is-collapsed .tour-category-intro-text:after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 36px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
        pointer-events: none
    }

    .tour-category-intro-toggle {
        margin-top: 8px;
        padding: 0;
        border: 0;
        background: 0 0;
        color: #039cca;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer
    }

    .tour-category-intro-toggle:focus,
    .tour-category-intro-toggle:hover {
        color: #027d9f;
        text-decoration: underline
    }

    .seo-intro-box {
        margin: 12px 0 16px;
        padding: 16px 18px;
        border: 1px solid #e6edf2;
        border-radius: 8px;
        background: #fff;
        color: #263238;
        font-size: 15px;
        line-height: 1.7
    }

    .seo-intro-box h2 {
        margin: 0 0 10px;
        color: #12324a;
        font-size: 20px;
        font-weight: 600;
        line-height: 1.35
    }

    .seo-intro-box p {
        margin: 0 0 10px
    }

    .seo-quick-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px
    }

    .seo-quick-tags span {
        display: inline-flex;
        align-items: center;
        min-height: 28px;
        padding: 4px 10px;
        border-radius: 999px;
        background: #f6f8fa;
        border: 1px solid #e2e8ee;
        color: #455a64;
        font-size: 13px;
        line-height: 1.35;
        white-space: normal
    }

    .related-tour-links {
        margin-top: 24px;
        padding: 22px 0 0;
        border-top: 1px solid #edf0f2
    }

    .related-tour-links>h2 {
        margin: 0 0 16px;
        font-size: 20px;
        font-weight: 600;
        color: #12324a;
        line-height: 1.35
    }

    .related-link-section {
        margin: 0 0 24px;
        padding: 18px;
        border: 1px solid #e5edf3;
        border-radius: 12px;
        background: #f8fbfd
    }

    .related-link-section:last-child {
        margin-bottom: 0
    }

    .related-link-heading {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 14px
    }

    .related-link-heading .material-icons {
        flex: 0 0 auto;
        color: #e35000;
        font-size: 22px;
        line-height: 1
    }

    .related-link-heading h3,
    .related-link-title {
        margin: 0;
        color: #12324a;
        font-size: 17px;
        font-weight: 600;
        line-height: 1.35
    }

    .related-link-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none
    }

    .seo-highlight-box {
        padding: 18px 20px;
        border: 1px solid #e6edf2;
        border-radius: 8px;
        background: #fff;
        color: #263238;
        font-size: 16px;
        line-height: 1.75
    }

    .seo-highlight-box h2 {
        margin: 0 0 10px;
        font-size: 22px;
        line-height: 1.35;
        color: #1f2d3d
    }

    .seo-highlight-box ul {
        margin: 0;
        padding-inline-start: 22px
    }

    .seo-highlight-box li {
        margin: 6px 0
    }

    .related-link-grid li {
        min-width: 0;
        margin: 0
    }

    .related-link-grid a,
    .related-link-item {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 42px;
        padding: 10px 14px;
        border: 1px solid #dbe3ea;
        border-radius: 10px;
        background: #fff;
        color: #12324a;
        font-size: 14px;
        line-height: 1.35;
        text-align: center;
        text-decoration: none;
        word-break: break-word;
        overflow-wrap: anywhere;
        transition: border-color .18s, color .18s, background-color .18s, box-shadow .18s
    }

    .related-link-grid a:focus,
    .related-link-grid a:hover,
    .related-link-item:focus,
    .related-link-item:hover {
        border-color: #039cca;
        background: #eef9fd;
        color: #027d9f;
        box-shadow: 0 2px 8px rgba(3, 156, 202, .08);
        text-decoration: none
    }

    .related-link-section-collapsible .related-link-grid {
        max-height: 250px;
        overflow: hidden
    }

    .related-link-more {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        margin-top: 14px;
        padding: 8px 16px;
        border: 1px solid #039cca;
        border-radius: 10px;
        background: #fff;
        color: #027d9f;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color .18s, color .18s, border-color .18s
    }

    .related-link-more:focus,
    .related-link-more:hover {
        background: #039cca;
        color: #fff;
        border-color: #039cca
    }

    @media (max-width:1199px) {
        .related-link-grid {
            grid-template-columns: repeat(4, minmax(0, 1fr))
        }
    }

    @media (max-width:991px) {
        .related-link-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr))
        }
    }

    :root {
        --tz-radius: 12px;
        --tz-gap: 10px;
        --tz-padding: 12px;
        --tz-hover: #f5f5f5;
        --tz-filter-border: #e5e9ef;
        --tz-filter-text: #334155;
        --tz-filter-accent: #e35000;
        --tz-filter-active: #fff3eb
    }

    .tz-filter-card {
        contain: layout paint;
        background: #fff;
        border: 1px solid #eef1f4;
        border-radius: var(--tz-radius);
        padding: var(--tz-padding)
    }

    .tz-filter-section {
        display: flex;
        flex-direction: column;
        gap: var(--tz-gap);
        margin: 0 0 var(--tz-gap)
    }

    .tz-filter-title {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
        color: #1f2937;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35
    }

    .tz-filter-items {
        display: flex;
        flex-wrap: wrap;
        gap: var(--tz-gap)
    }

    .tz-filter-item {
        flex: 1 1 150px;
        min-width: 0;
        margin: 0
    }

    .tz-filter-choice {
        display: inline-flex;
        cursor: pointer
    }

    .tz-filter-input {
        position: absolute;
        opacity: 0;
        pointer-events: none
    }

    .tz-filter-control {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        min-height: 42px;
        padding: 10px 14px;
        border: 1px solid var(--tz-filter-border);
        border-radius: var(--tz-radius);
        background: #f8fafc;
        color: var(--tz-filter-text);
        font-size: 13px;
        font-weight: 600;
        line-height: 1.25;
        transition: background-color .16s, border-color .16s, color .16s
    }

    .tz-filter-choice:hover .tz-filter-control {
        background: var(--tz-hover)
    }

    .tz-filter-input:checked+.tz-filter-control {
        background: var(--tz-filter-active);
        border-color: #fb923c;
        color: #c2410c
    }

    .tz-filter-icon {
        flex: 0 0 auto;
        color: var(--tz-filter-accent);
        font-size: 18px;
        line-height: 1
    }

    .tz-filter-input:checked+.tz-filter-control .tz-filter-icon {
        color: currentColor
    }

    .tz-filter-text {
        min-width: 0
    }

    .tz-filter-image-option .tz-filter-control {
        flex-direction: column;
        min-height: 76px;
        padding: 8px 10px
    }

    .tz-filter-badge {
        display: block;
        width: auto;
        max-width: 88px;
        height: 28px;
        object-fit: contain
    }

    .tz-filter-mobile-panel {
        transform: translate3d(0, 100%, 0);
        transition: transform .18s;
        will-change: transform
    }

    #advancedFilters.in .tz-filter-mobile-panel,
    #advancedFilters.show .tz-filter-mobile-panel,
    .tz-filter-mobile-panel.is-open {
        transform: translate3d(0, 0, 0)
    }

    @media (max-width:575px) {
        .related-link-section {
            padding: 14px;
            border-radius: 10px
        }

        .related-link-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px
        }

        .related-link-grid a,
        .related-link-item {
            min-height: 40px;
            padding: 9px 10px;
            font-size: 13px
        }
    }

    @media (max-width:360px) {
        .related-link-grid {
            grid-template-columns: 1fr
        }
    }

    /* SEO Card Grid */
    .seo-content .seo-card-grid,
    .seo-card-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        margin: 24px 0;
    }

    /* Card */
    .seo-content .seo-card,
    .seo-card {
        background: #ffffff;
        border: 1px solid #eeeeee;
        border-radius: 16px;
        padding: 20px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
        transition: all 0.25s ease;
    }

    /* Hover */
    .seo-content .seo-card:hover,
    .seo-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
        border-color: #ff7a00;
    }

    /* Card Title */
    .seo-content .seo-card h3,
    .seo-card h3 {
        font-size: 18px;
        line-height: 1.4;
        margin: 0 0 10px;
        color: #222222;
        font-weight: 700;
    }

    /* Card Text */
    .seo-content .seo-card p,
    .seo-card p {
        font-size: 15px;
        line-height: 1.7;
        margin: 0 0 14px;
        color: #555555;
    }

    /* Card Link / CTA */
    .seo-content .seo-card a,
    .seo-card a {
        display: inline-block;
        font-size: 14px;
        font-weight: 600;
        color: #ff7a00;
        text-decoration: none;
    }

    .seo-content .seo-card a:hover,
    .seo-card a:hover {
        text-decoration: underline;
    }

    /* Tablet */
    @media (max-width: 991px) {

        .seo-content .seo-card-grid,
        .seo-card-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    /* Mobile */
    @media (max-width: 575px) {

        .seo-content .seo-card-grid,
        .seo-card-grid {
            grid-template-columns: 1fr;
            gap: 14px;
            margin: 18px 0;
        }

        .seo-content .seo-card,
        .seo-card {
            padding: 16px;
            border-radius: 14px;
        }

        .seo-content .seo-card h3,
        .seo-card h3 {
            font-size: 17px;
        }

        .seo-content .seo-card p,
        .seo-card p {
            font-size: 14px;
        }
    }
    /* SEO Card Icon */
.seo-content .seo-card-icon,
.seo-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 122, 0, 0.10);
    color: #ff7a00;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

/* Material Symbol Icon */
.seo-content .seo-card-icon .material-symbols-outlined,
.seo-card-icon .material-symbols-outlined {
    font-size: 28px;
    line-height: 1;
    font-variation-settings:
        'FILL' 0,
        'wght' 500,
        'GRAD' 0,
        'opsz' 28;
}

/* Hover Icon */
.seo-content .seo-card:hover .seo-card-icon,
.seo-card:hover .seo-card-icon {
    background: #ff7a00;
    color: #ffffff;
}

/* Mobile */
@media (max-width: 575px) {
    .seo-content .seo-card-icon,
    .seo-card-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .seo-content .seo-card-icon .material-symbols-outlined,
    .seo-card-icon .material-symbols-outlined {
        font-size: 25px;
    }
}
