/**
 * Public WCFM Host storefront: guided Experience listing.
 *
 * The default WCFM Products tab is overridden with Tourbi Experience cards.
 */

body.tourbi-host-store-experiences-tab #wcfmmp-store .body_area {
    padding: 28px 30px 58px;
}

/* Generic product-search/category/map widgets are not relevant when the Host
 * storefront is listing guided Experiences. Keep other WCFM tabs untouched. */
body.tourbi-host-store-experiences-tab #wcfmmp-store .left_sidebar {
    display: none !important;
}

body.tourbi-host-store-experiences-tab #wcfmmp-store .right_side,
body.tourbi-host-store-experiences-tab #wcfmmp-store .tab_area,
body.tourbi-host-store-experiences-tab #wcfmmp-store .products-wrapper,
body.tourbi-host-store-experiences-tab #wcfmmp-store .products-wrapper ul.products {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
}

body.tourbi-host-store-experiences-tab #wcfmmp-store .tab_links_area {
    margin: 0 0 30px !important;
}

body.tourbi-host-store-experiences-tab #wcfmmp-store .tab_links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid #dce1e7;
}

body.tourbi-host-store-experiences-tab #wcfmmp-store .tab_links li {
    float: none !important;
    margin: 0 !important;
}

body.tourbi-host-store-experiences-tab #wcfmmp-store .tab_links li a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 16px;
    color: #344054;
    background: #fff;
    border: 1px solid #d8dee7;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-decoration: none;
    text-transform: uppercase;
}

body.tourbi-host-store-experiences-tab #wcfmmp-store .tab_links li.active a,
body.tourbi-host-store-experiences-tab #wcfmmp-store .tab_links li a:hover,
body.tourbi-host-store-experiences-tab #wcfmmp-store .tab_links li a:focus-visible {
    color: #fff;
    background: #ff5a2f;
    border-color: #ff5a2f;
    outline: 0;
}

.tourbi-host-store-experiences {
    width: 100%;
    min-width: 0;
}

.tourbi-host-store-experiences__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 26px;
}

.tourbi-host-store-experiences__header > div {
    min-width: 0;
    max-width: 760px;
}

.tourbi-host-store-experiences__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
    color: #ff5a2f;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tourbi-host-store-experiences__eyebrow::before {
    width: 30px;
    height: 2px;
    content: "";
    background: currentColor;
}

.tourbi-host-store-experiences__header h2 {
    margin: 0 0 10px;
    color: #101828;
    font-family: var(--tourbi-font-display, inherit);
    font-size: clamp(34px, 4vw, 56px);
    letter-spacing: -0.025em;
    line-height: 0.96;
    text-transform: uppercase;
}

.tourbi-host-store-experiences__header p {
    max-width: 680px;
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.65;
}

.tourbi-host-store-experiences__browse,
.tourbi-host-store-experiences__empty-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 11px 18px;
    color: #101828 !important;
    background: #fff;
    border: 1px solid #cfd6df;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tourbi-host-store-experiences__browse:hover,
.tourbi-host-store-experiences__browse:focus-visible,
.tourbi-host-store-experiences__empty-button:hover,
.tourbi-host-store-experiences__empty-button:focus-visible {
    border-color: #ff5a2f;
    box-shadow: 0 10px 24px rgba(255, 90, 47, 0.16);
    outline: 0;
    transform: translateY(-2px);
}

.tourbi-host-store-experiences__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* Store cards need a slightly more compact title than the four-column main
 * marketplace while retaining the same Tourbi component and booking link. */
.tourbi-host-store-experiences__grid .tourbi-experience-card h2 {
    font-size: clamp(27px, 2.6vw, 38px);
}

.tourbi-host-store-experiences__grid .tourbi-experience-card__body {
    min-height: 330px;
}

.tourbi-host-store-experiences__empty {
    display: grid;
    justify-items: center;
    min-height: 320px;
    padding: 58px 24px;
    color: #667085;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 90, 47, 0.10), transparent 42%),
        #f8fafc;
    border: 1px dashed #cfd6df;
    border-radius: 16px;
    text-align: center;
}

.tourbi-host-store-experiences__empty-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid #e1e6ec;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
    font-size: 34px;
}

.tourbi-host-store-experiences__empty h3 {
    margin: 0 0 9px;
    color: #101828;
    font-family: var(--tourbi-font-display, inherit);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1;
    text-transform: uppercase;
}

.tourbi-host-store-experiences__empty p {
    max-width: 620px;
    margin: 0 0 24px;
    line-height: 1.65;
}

.tourbi-host-store-pagination {
    margin-top: 34px;
}

.tourbi-host-store-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tourbi-host-store-pagination .page-numbers li {
    margin: 0;
}

.tourbi-host-store-pagination a.page-numbers,
.tourbi-host-store-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 13px;
    color: #344054;
    background: #fff;
    border: 1px solid #d8dee7;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.tourbi-host-store-pagination span.current,
.tourbi-host-store-pagination a.page-numbers:hover,
.tourbi-host-store-pagination a.page-numbers:focus-visible {
    color: #fff;
    background: #ff5a2f;
    border-color: #ff5a2f;
    outline: 0;
}

@media (max-width: 1024px) {
    .tourbi-host-store-experiences__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tourbi-host-store-experiences__header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    body.tourbi-host-store-experiences-tab #wcfmmp-store .body_area {
        padding: 22px 16px 42px;
    }

    .tourbi-host-store-experiences__header {
        gap: 18px;
        margin-bottom: 22px;
    }

    .tourbi-host-store-experiences__header h2 {
        font-size: clamp(32px, 12vw, 46px);
    }

    .tourbi-host-store-experiences__browse {
        width: 100%;
    }

    .tourbi-host-store-experiences__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .tourbi-host-store-experiences__grid .tourbi-experience-card__body {
        min-height: 0;
    }
}
