/* =========================================================
   CARIPULSE
   EXPERIENCES PAGE
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.experiences-page {

    min-height: 100vh;

    background: #FFFFFF;

    color: #00053D;

    font-family:
        'Poppins',
        sans-serif;
}


/* =========================================================
   SEARCH / DISCOVERY HERO
========================================================= */

.experiences-search-hero {

    position: relative;

    overflow: visible;

    padding:
        68px
        0
        72px;

    background-image:
        linear-gradient(
            90deg,
            rgba(
                8,
                18,
                33,
                0.88
            )
            0%,

            rgba(
                8,
                18,
                33,
                0.72
            )
            48%,

            rgba(
                8,
                18,
                33,
                0.48
            )
            100%
        ),
        url("/assets/images/experiences.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;
}


.experiences-search-hero::after {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(
                8,
                18,
                33,
                0.04
            ),
            rgba(
                8,
                18,
                33,
                0.18
            )
        );
}


.experiences-page-content-heading {

    position: relative;

    z-index: 2;

    max-width: 850px;

    margin-bottom: 0;
}


.experiences-page-content-heading h1 {

    margin:
        0
        0
        13px;

    color: #FFFFFF;

    font-size:
        clamp(
            42px,
            5vw,
            60px
        );

    line-height: 1.08;

    font-weight: 800;
}


.experiences-page-content-heading p {

    max-width: 760px;

    margin: 0;

    color:
        rgba(
            255,
            255,
            255,
            .78
        );

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   EXPERIENCE PARTNER ENTRY — MATCH TOURS
========================================================= */

.experiences-hero-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 38px;
}

.experiences-partner-entry {
    width: 100%;
    max-width: 340px;
    flex-shrink: 0;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    background: rgba(8, 18, 33, .8);
    color: #FFFFFF;
}

.experiences-partner-entry-label {
    display: block;
    margin-bottom: 10px;
    color: #FDB52B;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
}

.experiences-partner-entry p {
    margin: 0 0 20px;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.7;
}

.experiences-partner-entry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, #FDB52B, #FF0F7B);
    color: #FFFFFF;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .2s ease;
}

.experiences-partner-entry-button:hover {
    color: #FFFFFF;
    text-decoration: none;
    opacity: .9;
}

.experiences-partner-entry-button:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 3px;
}

@media (max-width: 900px) {

    .experiences-hero-top {
        flex-direction: column;
        align-items: stretch;
    }

    .experiences-partner-entry {
        max-width: none;
    }

}


/* =========================================================
   FILTER PANEL
========================================================= */

.experiences-filter-panel {

    position: relative;

    z-index: 20;

    margin: 0;

    padding: 22px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .22
        );

    border-radius: 22px;

    background:
        rgba(
            255,
            255,
            255,
            .98
        );
}


/* =========================================================
   SEARCH FIELD
========================================================= */

.experiences-search-field {

    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

    margin-bottom: 22px;
}


.experiences-search-field i {

    position: absolute;

    left: 18px;

    z-index: 2;

    color: #64748B;

    font-size: 15px;

    pointer-events: none;
}


.experiences-search-field input {

    width: 100%;

    min-height: 54px;

    padding:
        0
        18px
        0
        48px;

    border:
        1px
        solid
        #D9DEE7;

    border-radius: 14px;

    outline: none;

    background: #FFFFFF;

    color: #00053D;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 14px;

    font-weight: 400;

    transition:
        border-color 0.2s ease;
}


.experiences-search-field input::placeholder {

    color: #94A3B8;
}


.experiences-search-field input:focus {

    border-color: #FF0F7B;
}


/* =========================================================
   FILTER GRID
========================================================= */

.experiences-filter-grid {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 18px;

    align-items: end;
}


.experiences-filter-field {

    min-width: 0;
}


.experiences-filter-field label {

    display: block;

    margin-bottom: 8px;

    color: #00053D;

    font-size: 12px;

    font-weight: 600;
}


/* =========================================================
   CUSTOM DROPDOWNS
========================================================= */

.experiences-dropdown {

    position: relative;

    width: 100%;
}


.experiences-dropdown-native {

    position: absolute;

    width: 1px;

    height: 1px;

    opacity: 0;

    pointer-events: none;
}


.experiences-dropdown-button {

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    min-height: 52px;

    padding:
        0
        16px;

    border:
        1px
        solid
        #D9DEE7;

    border-radius: 13px;

    background: #FFFFFF;

    color: #00053D;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 13px;

    font-weight: 500;

    text-align: left;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}


.experiences-dropdown-button:hover,
.experiences-dropdown.is-open
.experiences-dropdown-button {

    border-color: #FF0F7B;
}


.experiences-dropdown-button i {

    margin-left: 14px;

    color: #64748B;

    font-size: 11px;

    transition:
        transform 0.2s ease;
}


.experiences-dropdown.is-open
.experiences-dropdown-button > i {

    transform: rotate(180deg);
}


/* =========================================================
   ISLAND BUTTON
========================================================= */

.experiences-island-button-content {

    display: flex;

    align-items: center;

    min-width: 0;
}


.experiences-island-selected-flag {

    width: 23px;

    height: 16px;

    margin-right: 9px;

    border-radius: 3px;

    object-fit: cover;

    flex-shrink: 0;
}


/* =========================================================
   DROPDOWN MENU
========================================================= */

.experiences-dropdown-menu {

    position: absolute;

    top:
        calc(
            100% + 8px
        );

    left: 0;

    z-index: 40;

    display: none;

    width: 100%;

    max-height: 280px;

    padding: 7px;

    overflow-y: auto;

    border:
        1px
        solid
        #E5E7EB;

    border-radius: 14px;

    background: #FFFFFF;

    scrollbar-width: thin;

    scrollbar-color:
        #FF0F7B
        transparent;
}


.experiences-dropdown.is-open
.experiences-dropdown-menu {

    display: block;
}


.experiences-dropdown-menu::-webkit-scrollbar {

    width: 7px;
}


.experiences-dropdown-menu::-webkit-scrollbar-track {

    background: transparent;
}


.experiences-dropdown-menu::-webkit-scrollbar-thumb {

    border-radius: 20px;

    background: #FF0F7B;
}


.experiences-dropdown-menu::-webkit-scrollbar-thumb:hover {

    background: #E91F63;
}


/* =========================================================
   DROPDOWN OPTION
========================================================= */

.experiences-dropdown-option {

    display: flex;

    align-items: center;

    width: 100%;

    min-height: 42px;

    padding:
        8px
        10px;

    border: 0;

    border-radius: 9px;

    background: transparent;

    color: #334155;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 12px;

    font-weight: 500;

    text-align: left;

    cursor: pointer;
}


.experiences-dropdown-option:hover {

    background: #F8FAFC;
}


.experiences-dropdown-option.is-selected {

    background: #FFF0F7;

    color: #FF0F7B;
}


.experiences-dropdown-option img {

    width: 23px;

    height: 16px;

    margin-right: 9px;

    border-radius: 3px;

    object-fit: cover;

    flex-shrink: 0;
}


/* =========================================================
   CLEAR FILTERS
========================================================= */

.experiences-filter-action {

    display: flex;

    align-items: flex-end;
}


.experiences-clear-filters {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    width: 100%;

    min-height: 52px;

    padding:
        0
        18px;

    border:
        1px
        solid
        #FF0F7B;

    border-radius: 13px;

    background: #FFFFFF;

    color: #FF0F7B;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


.experiences-clear-filters:hover {

    background: #FF0F7B;

    color: #FFFFFF;
}


/* =========================================================
   FEATURED EXPERIENCES
========================================================= */

.experiences-featured-section {

    padding:
        70px
        0
        0;

    background: #FFFFFF;
}


/* =========================================================
   RESULTS
========================================================= */

.experiences-results-section {

    padding:
        70px
        0
        90px;

    background: #FFFFFF;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.experiences-section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 28px;
}


.experiences-section-heading h2 {

    margin:
        0
        0
        6px;

    color: #00053D;

    font-size: 30px;

    font-weight: 700;

    line-height: 1.2;
}


.experiences-section-heading p {

    margin: 0;

    color: #64748B;

    font-size: 13px;

    font-weight: 400;

    line-height: 1.65;
}


/* =========================================================
   EXPERIENCE GRID
========================================================= */

.experiences-grid {

    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 26px;
}


/* =========================================================
   EXPERIENCE CARD
========================================================= */

.experience-card {

    display: flex;

    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border:
        1px
        solid
        #E5E7EB;

    border-radius: 18px;

    background: #FFFFFF;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}


.experience-card:hover {

    border-color: #CBD5E1;

    transform:
        translateY(
            -2px
        );
}


/* =========================================================
   CARD IMAGE
========================================================= */

.experience-card-image-wrap {

    position: relative;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #F1F5F9;
}


.experience-card-image {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;
}


.experience-card-image-fallback {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

    color: #FF0F7B;

    font-size: 34px;
}


/* =========================================================
   EXPERIENCE TYPE BADGE
========================================================= */

.experience-card-type {

    position: absolute;

    top: 14px;

    left: 14px;

    display: inline-flex;

    align-items: center;

    min-height: 30px;

    padding:
        5px
        10px;

    border-radius: 999px;

    background:
        rgba(
            0,
            5,
            61,
            0.88
        );

    color: #FFFFFF;

    font-size: 10px;

    font-weight: 600;
}


/* =========================================================
   FAVORITE BUTTON
========================================================= */

.experience-card-favorite {

    position: absolute;

    top: 12px;

    right: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 38px;

    height: 38px;

    padding: 0;

    border:
        1px
        solid
        rgba(
            255,
            255,
            255,
            0.75
        );

    border-radius: 50%;

    background:
        rgba(
            255,
            255,
            255,
            0.94
        );

    color: #00053D;

    font-size: 15px;

    cursor: pointer;
}


.experience-card-favorite:hover,
.experience-card-favorite.is-favorite {

    color: #FF0F7B;
}


/* =========================================================
   CARD BODY
========================================================= */

.experience-card-body {

    display: flex;

    flex: 1;

    flex-direction: column;

    padding: 18px;
}


/* =========================================================
   LOCATION
========================================================= */

.experience-card-location {

    display: flex;

    align-items: flex-start;

    gap: 6px;

    margin-bottom: 8px;

    color: #64748B;

    font-size: 11px;

    font-weight: 500;

    line-height: 1.5;
}


.experience-card-location i {

    margin-top: 2px;

    color: #FF0F7B;

    flex-shrink: 0;
}


/* =========================================================
   TITLE
========================================================= */

.experience-card-title {

    margin:
        0
        0
        10px;

    color: #00053D;

    font-size: 17px;

    font-weight: 700;

    line-height: 1.4;
}


/* =========================================================
   META
========================================================= */

.experience-card-meta {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap:
        7px
        14px;

    margin-bottom: 16px;

    color: #64748B;

    font-size: 11px;

    font-weight: 500;
}


.experience-card-meta-item {

    display: inline-flex;

    align-items: center;

    gap: 5px;
}


.experience-card-meta-item i {

    color: #FF0F7B;
}


.experience-card-rating i {

    color: #FDB52B;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.experience-card-footer {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 14px;

    margin-top: auto;

    padding-top: 15px;

    border-top:
        1px
        solid
        #EEF1F5;
}


/* =========================================================
   PRICE
========================================================= */

.experience-card-price {

    min-width: 0;
}


.experience-card-price-label {

    display: block;

    margin-bottom: 2px;

    color: #94A3B8;

    font-size: 9px;

    font-weight: 500;

    text-transform: uppercase;

    letter-spacing: 0.04em;
}


.experience-card-price-value {

    display: block;

    color: #00053D;

    font-size: 15px;

    font-weight: 700;
}


/* =========================================================
   VIEW DETAILS
========================================================= */

.experience-card-link {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 38px;

    padding:
        0
        13px;

    border:
        1px
        solid
        #FF0F7B;

    border-radius: 10px;

    background: #FFFFFF;

    color: #FF0F7B;

    font-size: 11px;

    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


.experience-card-link:hover {

    background: #FF0F7B;

    color: #FFFFFF;
}


/* =========================================================
   LOADING / ERROR / EMPTY
========================================================= */

.experiences-loading-state,
.experiences-message-state {

    min-height: 170px;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin:
        15px
        0
        20px;

    padding:
        40px
        20px;

    border:
        1px solid
        #E7EBF2;

    border-radius: 22px;

    background: #FAFBFE;

    text-align: center;
}


.experiences-loading-state:not([hidden]) {

    display: flex;
}


.experiences-loading-state[hidden],
.experiences-message-state[hidden] {

    display: none !important;
}


.experiences-message-state:not([hidden]) {

    display: flex;
}


.experiences-loading-state i,
.experiences-message-state i {

    margin-bottom: 6px;

    color: #FF0F7B;

    font-size: 30px;
}


.experiences-loading-state strong,
.experiences-message-state strong {

    color: #081221;

    font-size: 18px;
}


.experiences-message-state span {

    color: #687280;

    font-size: 14px;
}


.experiences-message-state button {

    margin-top: 8px;

    padding:
        12px
        23px;

    border: none;

    border-radius: 30px;

    background:
        linear-gradient(
            90deg,
            #FF0F7B,
            #FDB52B
        );

    color: #FFFFFF;

    font-family:
        "Poppins",
        sans-serif;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;
}


/* =========================================================
   LOAD MORE
========================================================= */

.experiences-load-more-wrap {

    display: flex;

    justify-content: center;

    margin-top: 38px;
}


.experiences-load-more-wrap[hidden] {

    display: none;
}


.experiences-load-more {

    min-height: 48px;

    padding:
        0
        24px;

    border:
        1px
        solid
        #FF0F7B;

    border-radius: 12px;

    background: #FFFFFF;

    color: #FF0F7B;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


.experiences-load-more:hover {

    background: #FF0F7B;

    color: #FFFFFF;
}


/* =========================================================
   HIDDEN
========================================================= */

.experiences-featured-section[hidden] {

    display: none;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (
    max-width: 1100px
) {

    .experiences-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

}


@media (
    max-width: 900px
) {

    .experiences-search-hero {

        padding:
            58px
            0
            48px;
    }


    .experiences-page-content-heading h1 {

        font-size: 36px;
    }


    .experiences-filter-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .experiences-filter-action {

        grid-column:
            1 / -1;
    }

}


@media (
    max-width: 768px
) {

    .experiences-search-hero {

        padding:
            46px
            0
            40px;
    }


    .experiences-page-content-heading {

        margin-bottom: 26px;
    }


    .experiences-page-content-heading h1 {

        font-size: 31px;
    }


    .experiences-page-content-heading p {

        font-size: 14px;

        line-height: 1.7;
    }


    .experiences-filter-panel {

        padding: 18px;

        border-radius: 17px;
    }


    .experiences-filter-grid {

        grid-template-columns: 1fr;

        gap: 15px;
    }


    .experiences-filter-action {

        grid-column: auto;
    }


    .experiences-featured-section {

        padding-top: 52px;
    }


    .experiences-results-section {

        padding:
            52px
            0
            70px;
    }


    .experiences-section-heading {

        margin-bottom: 22px;
    }


    .experiences-section-heading h2 {

        font-size: 25px;
    }


    .experiences-grid {

        grid-template-columns: 1fr;

        gap: 20px;
    }

}


@media (
    max-width: 480px
) {

    .experiences-page-content-heading h1 {

        font-size: 28px;
    }


    .experiences-filter-panel {

        padding: 16px;
    }


    .experiences-search-field input,
    .experiences-dropdown-button,
    .experiences-clear-filters {

        min-height: 50px;
    }


    .experience-card-body {

        padding: 16px;
    }


    .experience-card-footer {

        align-items: center;
    }

}