.home-page-main-slider {
    margin-top: 0 !important;
}

.adv-ele-main {
    display: contents;
}

.adv-custom-header-main {
    font-family: 'Poppins';
    user-select: none;
}

.adv-upper-header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15%;
    padding-bottom: 5px;
}

.adv-header-logo {
    width: 16%;
}

.adv-header-search {
    width: 25%;
}

.adv-up-row-action-btn {
    width: max-content;
    text-align: center;
    cursor: pointer;
}

.adv-header-my-stuff span {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    background: #f4fafe;
}

.adv-up-row-action-btn span {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 5px 15px;
}

.adv-header-search .ais-InstantSearch {
    width: 100%;
}

.adv-header-search .ais-SearchBox-form::before {
    right: 0px !important;
    background-color: #ff9206 !important;
}

.adv-header-search .algolia-result-area {
    z-index: 1;
}

.adv-header-voucher span:hover,
.adv-header-bucket span:hover,
.adv-header-my-stuff span:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    color: #fe9106;
    background: #f4fafe;
}

.adv-header-voucher span:hover i,
.adv-header-bucket span:hover i,
.adv-header-my-stuff span:hover i {
    color: #fe9106 !important;
}

.adv-header-bucket .fa-solid.fa-bucket {
    display: block;
}

.adv-header-voucher a {
    color: black;
}

.newly-added-img {
    width: 26px;
}

.adv-popular-newlyadd-section .adv-popular-headings,
.adv-trips-newlyadd-section .adv-popular-headings {
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.open-popular-newlyadd-mobile .newly-added-img,
.open-trips-newlyadd-mobile .newly-added-img {
    width: 25px !important;
    height: 25px !important;
    border: unset !important;
    margin-left: -5px;
}

.open-popular-newlyadd-mobile span,
.open-trips-newlyadd-mobile span {
    gap: 5px !important;
}

.adv-lower-header-main {
    display: flex;
    justify-content: space-between;
    background: #345284;
    color: white;
    padding: 0px 15%;
    font-family: 'Poppins';
    /* width: 100% !important; */
}

.lower-tabs {
    width: 16%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    padding: 5px 0;
    margin-top: 5px;
}

.lower-tabs.active,
.lower-tabs:hover {
    background: #f4fafe;
    color: black;
    border-top-left-radius: 20px;
    border-top-right-radius: 19px;
}

.adv-header-my-stuff {
    position: relative;
}

.my-stuff-options {
    position: absolute;
    z-index: 3;
    width: max-content;
    right: 0;
    background: #f4fafe;
    top: 45px;
    border-radius: 20px;
    display: none;
    min-width: 230px;
}

.my-stuff-options ul {
    width: 100%;
    margin: 0;
    padding: 0;
}

.my-stuff-options li {
    list-style: none;
    text-align: left;
}

.my-stuff-options li a {
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    width: stretch;
    font-size: 16px;
    padding: 12px 20px;
    border-bottom: 1px solid #bbbec5;
}

.my-stuff-options li:last-child a {
    border-bottom: none;
}

.my-stuff-options li :hover {
    background: #1190cb;
    color: white;
}

.my-stuff-options li:first-child a:hover {
    background: #1190cb;
    color: white;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
}


.my-stuff-options li:last-child a:hover {
    background: #1190cb;
    color: white;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.for-logged-in {
    width: max-content;
    gap: 8px !important;
    padding: 7 15px !important;
}

.for-logged-in img {
    width: 40px;
    height: 40px !important;
    border-radius: 50px !important;
    object-fit: cover;
}

.name-loyalty-points-wrapper {
    box-shadow: unset !important;
    display: grid !important;
    padding: 0 !important;
    text-align: left;
    gap: 0 !important;
    font-size: 13px;
    font-weight: 600;
}

/* First name is not a separate pill; matches original (plain text inside wrapper) */
.adv-header-my-stuff .name-loyalty-points-wrapper .adv-header-profile-name-text {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    display: inline !important;
}

.loyalty-points {
    box-shadow: unset !important;
    font-size: 10px;
    padding: 0 !important;
    font-weight: 400;
    float: left;
    width: fit-content;
}

.my-stuff-options.loggedin {
    top: 60px;
}

.adv-header-sports-grid a:hover {
    color: #fe9106;
    font-weight: 700;
}

.loyalty-points-trigger {
    box-shadow: unset !important;
    padding: 0 !important;
    font-size: 10px;
    font-weight: 400;
}



.adv-header-recent-btn,
.adv-header-bucket {
    position: relative;
}

.adv-header-recent-btn .adv-header-activity-wrapper,
.adv-header-bucket .adv-header-activity-wrapper {
    position: absolute;
    top: 45px;
    z-index: 4;
    right: 0;
    width: 360px;
    border-radius: 20px 0px 20px 20px;
    animation: slideUp 0.2s cubic-bezier(0.46, 0.03, 0.52, 0.96) forwards;
}

.adv-lower-header-sub-main .adv-header-activity-wrapper {
    position: absolute;
    z-index: 4;
    right: 15%;
    width: 360px;
    border-radius: 20px 0px 20px 20px;
    animation: slideUp 0.2s cubic-bezier(0.46, 0.03, 0.52, 0.96) forwards;
}

@keyframes slideUp {
    0% {
        transform: translateY(5%);
        opacity: 0;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

.adv-header-activity-wrapper {
    width: 350px;
    max-height: 500px;
    background: #f4fafe;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
}


.adv-header-activity-list,
.adv-header-bucket-list {
    overflow-y: auto;
    font-family: 'Poppins';
    max-height: 460px;

    /* Move scrollbar to the left */
    direction: rtl;
}


.adv-header-activity-list>*,
.adv-header-bucket-list>* {
    /* Keep content reading direction normal */
    direction: ltr;
}


.adv-header-scroll-bar::-webkit-scrollbar {
    width: 8px;
    height: 15px;
}

.adv-header-scroll-bar::-webkit-scrollbar-track-piece {
    background-color: #fff;
}

.adv-header-scroll-bar::-webkit-scrollbar-thumb:vertical {
    height: 60px;
    background-color: #fe9106;
    border-radius: 10px;
}


@-moz-document url-prefix() {
    .adv-header-scroll-bar {
        /* Firefox-only scrollbar styling */
        scrollbar-width: thin;
        scrollbar-color: #fe9106 #fff;
    }
}

/* Card */

.adv-header-activity-list a {
    display: block;
    margin-bottom: 10px;
}

.adv-header-bucket-list .adv-header-activity-card {
    margin-bottom: 10px
}

.adv-header-activity-card {
    display: flex;
    gap: 8px;
    background: #ffffff;
    border-radius: 16px;
    padding: 8px;
    /* 			margin-bottom: 10px; */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.adv-header-no-activities {
    text-align: center;
    color: #ff7a00;
    margin: 0;
}

.adv-header-activity-card:hover h4 {
    color: #ff7a00;
}

.adv-header-activity-card:hover .adv-header-arrow {
    color: #204069;
}

.adv-header-activity-list a:last-child,
.adv-header-bucket-list a:last-child {
    margin-bottom: 0px;
}

.adv-header-activity-image {
    position: relative;
    height: 68px;
}

.adv-header-activity-card img {
    width: 87px;
    height: 68px !important;
    border-radius: 12px !important;
    object-fit: cover;
}

.adv-header-rating {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #ffffff;
    color: #204069;
    border-radius: 12px;
    font-size: 11px;
    padding: 2px 6px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.adv-header-activity-info {
    flex: 1;
}

.adv-header-activity-info h4 {
    color: #204069;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    padding: 4px 0;
}

.adv-header-arrow {
    color: #ff7a00;
    display: flex;
    align-items: center;
    font-size: 25px;
    font-weight: 700;
}

@media only screen and (max-width: 1599px) {

    .adv-upper-header-main,
    .adv-lower-header-main {
        padding: 0px 15px !important;
        padding-bottom: 5px;
    }

    .adv-lower-header-sub-main .adv-header-activity-wrapper {
        right: 15px !important;
    }
}

.adv-custom-header-main {
    position: relative;
    padding-top: 5px;
}

.adv-lower-header-sub-main {
    position: absolute;
    z-index: 2;
    width: 100%;
    padding: 0 15%;
}

.adv-header-sports-wrapper,
.adv-header-location-wrapper,
.adv-header-certification-wrapper,
.adv-header-popular-wrapper {
    border-radius: 0px 0px 20px 20px;
    padding: 20px;
    /* 			max-width: 950px; */
    background: #f4fafe;
    backdrop-filter: blur(10px);
    font-family: "Poppins";
    animation: slideUp 0.2s cubic-bezier(0.46, 0.03, 0.52, 0.96) forwards;
}

.adv-header-section-title {
    margin-top: 0;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 10px;
    color: #737373;
    font-style: italic;
    display: flex;
    gap: 3%;
    align-items: center;
}

span.adv-header-line {
    flex-grow: 1;
    border: 0.5px solid #bbbec5;
}


.adv-header-popular-list {
    padding: 0px 30px;
    display: flex;
    /* 			gap: 10px; */
    overflow-x: auto;
    padding-bottom: 10px;
    justify-content: space-between;
}


.adv-header-sport-card,
.adv-header-cert-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex: 0 0 auto;
    text-align: center;
    width: 12%;
    height: auto;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.adv-header-sport-card:hover,
.adv-header-cert-card:hover {
    transform: scale(1.05);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}


.adv-header-cert-card {
    border-radius: 999px;
    width: 15%;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 5px;
    padding: 5px;
}

.adv-header-sport-card img,
.adv-header-cert-card img {
    width: 50px;
    height: 50px !important;
    object-fit: cover;
    border-radius: 50% !important;
    border: 2px solid #1190cb !important;
}

.adv-header-tab-option {
    box-shadow: 0px 4px 6px 0px #00000040;
}

.adv-header-sport-card p,
.adv-header-cert-card p {
    font-size: 14px;
    margin-top: 4px;
    color: #000000;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
}

.adv-cert-card-p {
    padding: 0px 5px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* Chrome/Safari/Edge & Firefox compat alias */
    line-clamp: 2;
    /* Spec property (newer engines) */
    overflow: hidden;

    /* optional but helpful */
    word-break: break-word;
    /* avoid overflow on long words/URLs */
    min-width: 0;
    text-align: left;
}

.adv-cert-card-p p {
    margin: 0;
}

.adv-header-all-sports {
    /* 			margin-top: 20px; */
}

.adv-header-sports-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(var(--grid-rows), auto);
    gap: 6px 20px;
}

.adv-header-sports-grid a {
    color: #000;
}

.adv-header-sports-grid div {
    font-size: 14px;
    cursor: pointer;
}

.adv-header-mobile-close-sec {
    display: none
}

@media only screen and (max-width:1023px) {
    .adv-header-sport-card img {
        width: 50px;
        height: 50px;
    }

    .adv-header-sport-card p {
        font-size: 12px;
    }

    #adv-header-sports-list {
        grid-template-columns: repeat(4, 1fr);
    }


}

@media only screen and (max-width: 1599px) {

    .adv-lower-header-sub-main {
        padding: 0px 15px !important;
    }
}

@media only screen and (max-width:1023px) {

    .open-popular-trending-mobile div,
    .open-popular-mostPop-mobile div,
    .open-popular-newlyadd-mobile div,
    .open-trips-trending-mobile div,
    .open-trips-mostPop-mobile div,
    .open-trips-newlyadd-mobile div {
        justify-content: space-between;
    }

    .adv-header-sports-wrapper {
        max-width: 95%;
        padding: 0px 0px 20px 0px;
        border-radius: 10px;
    }

    .adv-header-mobile-close-sec {
        display: block;
        background-color: #2b5387;
        padding: 5px 15px;
        border-radius: 10px 10px 0px 0px;
        text-align: end;
    }

    .adv-header-mobile-close-sec span {
        color: #fff;
        font-size: 20px;
        font-weight: 600;
        cursor: pointer;
    }

    .adv-header-main-wrapper {
        max-height: 70vh;
        overflow-y: scroll;
        direction: rtl;
        margin: 0px 20px 0px 20px;
    }

    .adv-header-main-wrapper>* {
        direction: ltr;
        width: 97% !important;
    }

    .adv-header-main-wrapper::-webkit-scrollbar {
        width: 8px;
        height: 15px;
    }

    .adv-header-main-wrapper::-webkit-scrollbar-track-piece {
        background-color: transparent;
    }

    .adv-header-main-wrapper::-webkit-scrollbar-thumb:vertical {
        height: 60px;
        background-color: #fe9106;
        border-radius: 10px;
    }

    .adv-header-popular-list {
        flex-direction: column;
        padding: 0px 5px;
        margin-bottom: 15px;
        gap: 0px;
        overflow: hidden;
    }

    #adv-header-sports-list {
        grid-template-columns: repeat(1, 1fr);
        padding: 0px 20px;
    }

    .adv-header-sport-card {
        display: flex;
        gap: 10px;
        width: 100%;
        align-items: center;
        box-shadow: unset;
        height: unset;
        padding: 5px;
        background: unset;
        border-radius: unset;
        border-bottom: 1px solid #bbbec5;
    }

    .adv-header-sport-card img {
        width: 30px !important;
        height: 30px !important;
    }

    .adv-header-sport-card p {
        margin: 0;
    }
}

/*     --------------    */
.adv-locations-inner {
    display: flex;
    justify-content: space-between;
}

.locations-wrapper {
    width: 30%;
    background: white;
    padding: 0px 10px;
    border-radius: 20px;
    position: relative;
}

#adv-all-countries,
#adv-all-regions,
#adv-all-subregions,
#adv-cert-sports,
#adv-all-certs {
    height: 270px;
    overflow-x: hidden;
    overflow-y: scroll;
    direction: rtl;
    padding: 0 10px;
    margin-bottom: 15px;
}

#adv-all-countries .country-item {
    display: flex;
    align-items: center;
    gap: 4%;
    width: 100%;
    cursor: pointer;
    margin-bottom: 5px;
}

#adv-all-countries .country-flag {
    width: 40px;
}

.locations-wrapper p {
    text-align: center;
    font-style: italic;
    color: #545454;
    margin: 10px 0 0 0;
}

#adv-all-regions .country-item,
#adv-all-subregions .country-item,
#adv-cert-sports .sports-item,
#adv-all-certs .cert-item {
    width: 100%;
    cursor: pointer;
    margin: 5px 0;
    padding: 5px 10px;
    display: block;
    color: black;
}

#adv-all-certs {
    margin-bottom: 0px;
    height: 306px;
}

.active-sport,
.active-country,
.country-item:hover,
.sports-item:hover,
.cert-item:hover {
    background: #f5fafe;
    border-radius: 15px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

#adv-all-countries>*,
#adv-all-regions>*,
#adv-all-subregions>*,
#adv-cert-sports>*,
#adv-all-certs>* {
    direction: ltr;
}

.country-item,
.sports-item {
    padding: 2px 12px;
}

.adv-region-loader .spinner,
.adv-subregion-loader .spinner {
    width: 50px;
    height: 50px;
}

.adv-region-loader,
.adv-subregion-loader {
    background: #0000007a !important;
}

.selected-country-region-main {
    width: 100%;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-country-region-main a {
    color: black;
    font-weight: 600;
    width: 100%
}

.selected-country-region-main i {
    font-size: 25px !important;
}

.adv-header-cert.locations-wrapper {
    width: 68%;
    padding: 20px 10px;
}


.adv-header-popular-locations img {
    border: none !important;
    border-radius: unset !important;
}

.adv-header-activity-card[disabled]:hover h4 {
    color: #cccccc;
}

.adv-header-activity-card[disabled] .fa-trash {
    color: #cccccc;
}

.adv-header-activity-card[disabled] .fa-circle-check {
    color: #04bd2c;
    font-size: 20px;
}


.adv-header-activity-card[disabled] .adv-header-activity-image {
    opacity: 0.8;
}

.adv-header-activity-card[disabled] h4 {
    color: #cccccc;
}

.adv-header-bucket-add-remove {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #1190cb;
}

.adv-header-bucket-add-remove span:hover {
    box-shadow: unset !important;
    background: unset !important;
}

.adv-header-bucket-add-remove .fa-circle-check:hover {
    color: #fe9106;
}

.adv-header-bucket-add-remove .fa-trash:hover {
    color: #ff3131;
}


.adv-up-row-action-btn .adv-header-activity-info {
    text-align: left;
}

.adv-up-row-action-btn .adv-header-rating span {
    padding: unset;
}

.adv-header-popular-inner {
    display: flex;
    justify-content: space-between;
}

.adv-upper-header-mobile {
    display: none;
}

.adv-header-popular-sections {
    width: 30%;
    text-align: center;
}

.adv-popular-trending {
    height: 400px;
    overflow-y: scroll;
    direction: rtl;
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.adv-popular-trending>* {
    direction: ltr;
}

.adv-popular-trending h4 {
    text-align: left;
}

.adv-header-activity-card:hover {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

@media only screen and (min-width:1024px) and (max-width:1200px) {
    .adv-up-row-action-btn {
        font-size: 14px !important;
    }

    .adv-header-voucher {
        width: 17% !important;
    }

    .adv-header-bucket {
        width: 14% !important;
    }

    .adv-header-search {
        width: 29% !important;
    }

    .non-loggedin-adv-header-my-stuff {
        width: 11% !important;
    }

    .lower-tabs {
        font-size: 14px !important;
    }
}

@media only screen and (max-width: 1023px) {
    .adv-header-search .ais-InstantSearch {
        display: none;
    }
}


@media only screen and (min-width: 600px) and (max-width: 1023px) {
    .adv-header-logo-mobile img {
        width: 60%;
    }
}

@media only screen and (max-width:1023px) {
    .adv-upper-header-mobile {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
        padding-bottom: 5px;
    }

    .adv-header-bucket span {
        display: none !important;
    }

    .adv-header-desktop {
        display: none !important;
    }

    .adv-header-logo-mobile {
        width: 45%;
    }

    .adv-mobile-btns {
        background: #398ec9;
        padding: 4px 8px;
        border-radius: 100%;
        font-size: 15px !important;
    }

    .adv-lower-header-main {
        overflow: scroll !important;
        gap: 15px !important;
    }

    .lower-tabs {
        gap: 7px !important;
        font-size: 14px !important;
        padding: 5px 5px !important;
        margin-top: 5px !important;
        white-space: nowrap !important;
        width: 100% !important;
    }

    .lower-tabs.active,
    .lower-tabs:hover {
        border-top-left-radius: 10px !important;
        border-top-right-radius: 10px !important;
    }

    #adv-header-searchbox-mobile {
        display: block;
    }

    .adv-header-mobile-search {
        width: 100%;
        background-color: #030303bf;
        position: absolute;
        top: 0px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #adv-header-searchbox-mobile .ais-SearchBox-form {
        position: unset;
        width: 100%;
        margin: 0 auto;
        display: flex !important;
    }

    .adv-header-mobile-search .algolia-result-area {
        z-index: 3;
        left: 0;
        width: 100%;
    }

    .adv-header-mobile-activity-btn,
    .adv-header-mobile-menus {
        width: 70%;
        background: #f5fafe;
        position: absolute;
        z-index: 4;
        left: 10px;
        top: 47px;
        border-radius: 15px;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }

    .adv-header-main-wrapper .adv-header-sport-card div,
    .adv-header-main-wrapper .adv-header-sport-card a {
        display: flex;
        /* justify-content: space-between; */
        gap: 5%;
        width: 100%;
        align-items: center;
        color: black;
    }

    .adv-lower-header-sub-main {
        z-index: 4 !important;
    }

    .adv-header-main-wrapper .adv-header-sport-card div span {
        gap: 10px;
        display: flex;
        align-items: center;
        font-size: 14px;
    }

    .adv-locations-inner {
        display: block !important;
        font-size: 14px;
    }

    .locations-wrapper {
        width: 100% !important;
    }

    .adv-header-location-wrapper,
    .adv-header-certification-wrapper,
    .adv-header-popular-wrapper {
        padding: 0 !important;
        border-radius: 10px !important;
        width: 95% !important;

    }


    .adv-header-region,
    .adv-header-subregions {
        display: none;
    }

    .adv-header-location-wrapper .adv-header-mobile-close-sec,
    .adv-header-popular-wrapper .adv-header-mobile-close-sec {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #adv-all-countries,
    #adv-all-regions,
    #adv-all-subregions {
        font-size: 14px;
    }

    .country-flag {
        width: 25px !important;
    }

    .adv-location-back,
    .adv-popular-back,
    .adv-trips-back {
        font-size: 16px !important;
    }

    .adv-header-popular-inner {
        display: block !important;
        margin: 0 10px 0 2px !important;
    }

    .adv-popular-tranding-section,
    .adv-popular-mostPop-section,
    .adv-popular-newlyadd-section,
    .adv-trips-tranding-section,
    .adv-trips-mostPop-section,
    .adv-trips-newlyadd-section {
        display: none;
    }
}

@media only screen and (min-width:1024px) {
    #adv-header-searchbox-mobile {
        display: none;
    }

    .adv-header-popular-mobile-tabs,
    .adv-header-trips-mobile-tabs {
        display: none;
    }
}