.category-best-seller {
    background-color: #ffebf5;
    color: #cf3881;
}

.category-featured {
    background-color: #fff0ed;
    color: #e9652e;
}

.category-hot {
    background-color: #e6f7f4;
    color: #01806c;
}

.category-adventure {
    background-color: #4ba7fc;
    color: #ffffff;
}

.category-cultural {
    background-color: #fc961b;
    color: #ffffff;
}

.category-popular,
.category-luxury {
    background-color: #e8edf1;
    color: #4f5e71;
}

.swiper-pagination {
    .swiper-pagination-bullet {
        width: 12px !important;
        height: 12px !important;
        background-color: #aaafb6 !important;
    }

    .swiper-pagination-bullet-active {
        background-color: #01aa90 !important;
    }
}

.swiper-pagination-custom {
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }

    .swiper-pagination-bullet-active {
        width: 32px !important;
        height: 10px !important;
        border-radius: 5px;
        background-color: #01aa90;
    }
}

.shop-details {
    .thumbSwiper {
        .swiper-slide {
            border: 2px solid transparent;
        }

        .swiper-slide-thumb-active {
            border: 2px solid #01aa90;
            border-radius: 8px;

            img {
                border-radius: 8px;
            }
        }
    }
}

.tours-details-02 {
    .thumbSwiper02 {
        .swiper-slide {
            border: 2px solid transparent;
        }

        .swiper-slide-thumb-active {
            border: 2px solid #01aa90;
            border-radius: 8px;

            img {
                border-radius: 8px;
            }
        }
    }
}

.star-wrapper .iconify {
    /* color: transparent; */
    stroke: #fc961b;
    stroke-width: 1.5;
}

.star-wrapper.active .iconify {
    color: #fc961b;
    stroke: #fc961b;
}

.noUi-horizontal {
    height: 4px !important;
}

.noUi-tooltip {
    display: none !important;
}

.noUi-handle {
    top: -10px !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 100% !important;
    box-shadow: none !important;
    border: 2px solid #01aa90;

    &::before {
        display: none !important;
    }

    &::after {
        display: none !important;
    }
}

.noUi-target {
    box-shadow: none !important;
    background: #e8edf1 !important;
    border: none !important;
}

.noUi-connect {
    background: #f8ac59 !important;
}

.noUi-handle-lower {
    cursor: pointer !important;
    right: -24px !important;
}

.noUi-handle-upper {
    cursor: pointer !important;
    right: 0 !important;
}

.checkout-box {
    background-color: #dcd7e3;
    position: relative;
    border-radius: 2px;

    &::before {
        content: "";
        display: block;
        border: 15px solid #dcd7e2;
        border-right-color: transparent;
        border-left-color: transparent;
        border-top-color: transparent;
        position: absolute;
        top: -15px;
        left: 0;
        margin: -15px 0 0 25px;
    }
}

/* Language dropdown - ensure it works on mobile */
@media (max-width: 1023px) {
    header .relative.inline-block.group {
        position: relative;
    }
    
    header .group:hover .absolute,
    header .group:focus-within .absolute,
    header .group .absolute.visible {
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    header .absolute.right-0 {
        right: 0;
        left: auto;
        margin-top: 8px;
        width: 280px;
        max-width: calc(100vw - 40px);
        z-index: 10001;
    }
    
    /* Ensure language selector is visible on mobile */
    header .flex.items-center.gap-3 {
        display: flex !important;
    }
}

/* Mobile menu - hide on desktop, show on mobile */
@media (min-width: 1024px) {
    .header-menu {
        display: block !important;
        position: relative !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }
    
    .close-menu-toggle {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .header-menu {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 320px !important;
        max-width: 80vw !important;
        height: 100vh !important;
        background-color: white !important;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1) !important;
        transition: left 0.3s ease !important;
        z-index: 10001 !important;
        padding: 60px 20px 20px 0 !important;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
        display: block !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .header-menu.active {
        left: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .header-menu .close-menu-toggle {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 10001;
        cursor: pointer;
        display: block !important;
    }

    .header-menu ul {
        padding-top: 0;
        padding-left: 20px !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
        list-style: none;
        margin: 0;
    }

    .header-menu.active ul {
        padding-top: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .header-menu li {
        width: 100%;
        display: block;
    }

    .header-menu .nav-father {
        width: 100%;
    }
    
    .header-menu .nav-father > div {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-menu .nav-father.active .nav-wrapper {
        margin-top: 12px;
        height: auto;
        opacity: 1;
        visibility: visible;
        transition: all 0.3s ease;
        width: 100%;
        position: relative;
        left: 0;
        top: 0;
        box-shadow: none;
        padding: 0;
    }

    .header-menu .nav-wrapper {
        height: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        padding-left: 20px !important;
        position: relative;
        width: 100%;
    }

    .header-menu a {
        display: block;
        width: 100%;
        padding: 8px 0;
    }
    
    body.active {
        overflow: hidden;
    }
    
    /* body.active::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 10000;
        transition: all 0.3s ease;
    } */
    
    /* Ensure mobile menu is above everything */
    .header-menu.active {
        z-index: 10001 !important;
    }
    
    /* Ensure menu toggle button is visible and clickable on mobile */
    .menu-toggle {
        display: block !important;
        cursor: pointer !important;
        z-index: 10002 !important;
        position: relative !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Ensure menu toggle icon is visible */
    .menu-toggle .iconify {
        display: block !important;
        color: #000 !important;
    }
    
    /* Hide main content behind mobile menu - ensure proper z-index layering */
    body.active main,
    body.active section,
    body.active .container:not(.header-menu) {
        position: relative;
        z-index: 1;
    }

    .sidebar-filter {
        position: fixed;
        top: 0;
        left: -320px;
        width: 320px;
        height: 100vh;
        background-color: white;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 20px;
        box-sizing: border-box;
        overflow-y: auto;
    }

    .sidebar-filter.active {
        left: 0;
    }

    .overlay-for-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
    }

    .overlay-for-sidebar.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 640px) {
    #scroll-nav {
        display: none !important;
    }
    .swiper-button-next {
        width: 38px !important;
        height: 38px !important;
    }

    .swiper-button-prev {
        width: 38px !important;
        height: 38px !important;
    }
}