/* Navigation bar */
.my-categories-nav .category-container {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding: 8px 0;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.my-categories-nav .category-container::-webkit-scrollbar {
    height: 4px;
    display: block;
    /* Ensure scrollbar is displayed */
}

.my-categories-nav .category-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

.my-categories-nav .category-container::-webkit-scrollbar-track {
    background-color: transparent;
}

.my-categories-nav .nav-category {
    flex: 0 0 auto;
    font-size: 16px;
    color: var(--text-color);
    padding: 6px 12px;
    text-decoration: none;
    white-space: nowrap;
}

.my-categories-nav .nav-category.active,
.my-categories-nav .nav-category:hover {
    color: var(--text-color);
    text-decoration: underline;
}

.my-categories-nav {
    position: relative;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.input-icon .form-control::placeholder {
    text-transform: uppercase;
    color: var(--text-color);
}

#productGallery {
    width: 620px;
    height: 620px;
}

#productGalleryThumbnail {
    width: 116px;
    height: 620px;
}

#productGalleryThumbnail img, #productGallery img {
    border-radius: 5px;
}

#productGalleryThumbnail .swiper-slide {
    opacity: 0.7;
}

#productGalleryThumbnail .swiper-slide-thumb-active {
    opacity: 1;
}

/***** CSS Swatches loop *****/


/* .my-container-product .box-image {
    height: 25rem;
} */

/* reviews */

/* Small mobile devices - show scrollbar */
@media (max-width: 767px) {
    /* Css navigation */
    .my-categories-nav {
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .my-select-option {
        justify-content: start;
    }

    .my-categories-nav .nav-category {
        padding: 6px 10px;
        font-size: 14px;
    }

    .my-categories-nav .category-container {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    /* Css box-image */
    /* .my-container-product .box-image {
        height: 16rem;
    } */
    /* css swatches */
    /* .my-container-product .form-imagecheck-figure {
        width: 18px;
        height: 18px;
    } */

    .my-container-product .product-small .price-wrapper {
        font-size: 12px;
    }

    .my-container-product .price-wrapper .price .mx-1, .my-container-product .price-wrapper .price del {
        display: none;
    }

    .product-small .price-wrapper .price del {
        font-size: 12px;
    }

    .my-container-product .price-wrapper .price {
        display: flex;
    }
    /* css Swatches */

    .swiper-button-next, .swiper-button-prev {
        width: 20px;
        height: 20px;
    }

    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 12px;
    }

    .swatches-loop .swiper-button-prev {
        left: 0;
        top: 75%;
    }

    .swatches-loop .swiper-button-next {
        right: 0;
        top: 75%;
    }

    #productGallery {
        width: 100%;
        height: 350px;
    }

    #productGalleryThumbnail {
        width: 100%;
        height: 116px;
        margin-top: 8px;
    }
}
/* Tablet devices - hide scrollbar */
/* ipad Air && Mini */
@media (min-width: 768px) and (max-width: 1024px) {
    .my-categories-nav .category-container::-webkit-scrollbar {
        display: none;
    }

    .my-categories-nav .category-container {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    /* Css swatches */
    .my-container-product .swiper-button-prev,
    .my-container-product .swiper-button-next {
        width: 24px;
        height: 24px;
        position: absolute;
        background-color: #cccccc;
        top: 1px;
    }
    .my-container-product .swiper-button-prev {
        left: 10px;
    }
    .my-container-product .swiper-button-next {
        right: 10px;
    }
}

/* ipad Pro */
@media (min-width: 1024px) and (max-width: 1366px) {
    .my-container-product .box-image {
        height: 20rem;
    }
}