/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-primary:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white);
}

.btn.btn-secondary {
    background: var(--bs-secondary) !important;
    color: var(--bs-white);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    /* border: 1px solid var(--bs-secondary); */
    transition: 0.5s;
}

.btn.btn-secondary:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}


@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

/*** Topbar End ***/


/*** Navbar ***/
.nav-bar .categories-bars .categories-bars-item {
    padding: 5px 15px;
    border-bottom: 1px solid rgba(256, 256, 256, 0.1);
    display: flex;
    justify-content: space-between;
    transition: 0.5s;
}

.nav-bar .categories-bars .categories-bars-item a,
.nav-bar .categories-bars .categories-bars-item span {
    color: var(--bs-dark);
    transition: 0.5s;
}

.nav-bar .categories-bars .categories-bars-item:hover {
    background: var(--bs-primary);
}

.nav-bar .categories-bars .categories-bars-item:hover a,
.nav-bar .categories-bars .categories-bars-item:hover span {
    color: var(--bs-white);
}

.nav-bar .navbar.navbar-light {
    padding: 0 !important;
}

.nav-bar .navbar .navbar-nav .nav-link {
    padding: 18px 15px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-white);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

@media (max-width: 992px) {
    .nav-bar .navbar .navbar-nav .nav-link {
        padding: 8px 0px;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

.navbar .navbar-toggler {
    padding: 5px 15px;
}

#allCat {
    position: absolute;
    left: 0;
    right: 0;
    top: 51px;
    z-index: 999;
    background: var(--bs-light);
}

.nav-bar .navbar-toggler {
    border-radius: 5px !important;
    box-shadow: none !important;
}

/*** Navbar End ***/

/*** Carousel Header Start ***/
.header-carousel.owl-carousel .owl-nav .owl-prev,
.header-carousel.owl-carousel .owl-nav .owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 87%;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: var(--bs-white);
}

.header-carousel.owl-carousel .owl-nav .owl-prev {
    right: 130px;
    transition: 0.5s;
}

.header-carousel.owl-carousel .owl-nav .owl-next {
    right: 60px;
    transition: 0.5s;
}

.header-carousel.owl-carousel .owl-nav .owl-prev:hover,
.header-carousel.owl-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}




/* Main carousel container */
.carousel-container {
    background-color: #f8f9fa;
    padding: 0;
}

/* Ensure both carousels have the same height */
.header-carousel,
.carousel-header-banner {
    height: 300px;
}

/* Make sure each item fills the container */
.header-carousel .item,
.carousel-header-banner .item {
    height: 100%;
    position: relative;
}

/* Force images to maintain aspect ratio while filling the container */
.header-carousel .item img,
.carousel-header-banner .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Custom navigation styles */
.owl-nav {
    position: absolute;
    top: 70%;
    width: 100%;
    transform: translateY(-50%);
}

.owl-prev,
.owl-next {
    position: absolute;
    background: var(--bs-primary);
    color: var(--bs-white);
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-prev {
    left: 10px;
}

.owl-next {
    right: 10px;
}

.owl-prev:hover,
.owl-next:hover {
    background: rgba(0, 0, 0, 0.8) !important;
}

/* Dots styling */
.owl-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.owl-dot span {
    background: rgba(255, 255, 255, 0.5) !important;
}

.owl-dot.active span {
    background: white !important;
}

/* Fix for potential spacing issues */
.carousel-container {
    overflow: hidden;
}

/* Ensure proper spacing between carousels */
@media (min-width: 992px) {
    .carousel-container .row {
        margin-right: 0;
    }
}





.carousel .carousel-banner-offer {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.carousel .carousel-banner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/*** Carousel Header End ***/


/*** Page Header start ***/
.page-header {
    position: relative;
    padding: 100px 0;
    /* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/carousel-1.jpg); */
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/*** Page Header end ***/


/*** Products Start ***/
.product .product-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.product .product-item .product-item-inner {
    height: 100%;
}

.product .product-item .product-item-add {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.product .product-item:hover .product-item-add {
    background: var(--bs-white);
    margin-bottom: -90px;
    opacity: 1;
}

.product .product-item:hover .product-item-inner {
    border-bottom: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.product .product-item .product-item-inner .product-item-inner-item {
    position: relative;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    overflow: hidden;
}

.product .product-item .product-item-inner .product-item-inner-item .product-new,
.product .product-item .product-item-inner .product-item-inner-item .product-sale {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product .product-item .product-item-inner .product-item-inner-item .product-new {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.product .product-item .product-item-inner .product-item-inner-item .product-sale {
    background: var(--bs-danger);
    color: var(--bs-white);
}

.product .product-item .product-item-inner img {
    transition: 0.5s;
}

.product .product-item:hover .product-item-inner img {
    transform: scale(1.1);
}

.product .product-item .product-item-inner .product-item-inner-item .product-details {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: 0.5s;
}

.product .product-item .product-item-inner .product-item-inner-item .product-details a i {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.product .product-item:hover .product-item-inner .product-item-inner-item .product-details a i:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.product .product-item:hover .product-item-inner .product-details {
    opacity: 1;
}

.product .tab-class .nav .nav-item a.active {
    background: var(--bs-primary) !important;
}

.product .tab-class .nav .nav-item a.active span {
    color: var(--bs-white) !important;
}

/*** Product End ***/


/*** ProductList Categories Start ***/
.productList .productList-carousel {
    height: 215px !important;
}

.productList .productList-carousel .productImg-carousel.productList-item .productImg-item {
    position: relative;
    width: calc(100% - 1px);
    transition: 0.5s;
}

.productList .productList-carousel .productImg-carousel.productList-item .productImg-item {
    margin-bottom: 75px;
}

.productList .productList-carousel .productImg-carousel.productList-item .productImg-item:hover {
    border-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.productList .productList-carousel .owl-nav .owl-prev,
.productList .productList-carousel .owl-nav .owl-next {
    position: absolute;
    top: -40px;
    padding: 5px 40px;
    border-radius: 30px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.productList .productList-carousel .owl-nav .owl-prev:hover,
.productList .productList-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

.productList .productList-carousel .owl-nav .owl-prev {
    left: 0;
}

.productList .productList-carousel .owl-nav .owl-next {
    right: 0;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev,
.productList .productList-carousel .productImg-carousel .owl-nav .owl-next {
    position: absolute;
    top: 0px;
    padding: 5px 10px;
    border-radius: 30px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
    opacity: 0;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev:hover,
.productList .productList-carousel .productImg-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev {
    left: 0;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-next {
    right: 0;
}

.productList .productList-carousel .productImg-carousel.productList-item:hover .owl-nav .owl-prev,
.productList .productList-carousel .productImg-carousel.productList-item:hover .owl-nav .owl-next {
    opacity: 1;
}

/*** ProductList Categories End ***/



/*** bestseller Products Start ***/
.products .products-mini .products-mini-item {
    position: relative;
    border-radius: 10px;
    transition: 0.5s;
}

.products .products-mini .products-mini-item:hover {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.products .products-mini .products-mini-item .products-mini-img {
    position: relative;
    overflow: hidden;
}

.products .products-mini .products-mini-item .products-mini-img img {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: 0.5s;
}

.products .products-mini .products-mini-item:hover .products-mini-img img {
    border-bottom-left-radius: 0 !important;
    transform: scale(1.3);
}

.products .products-mini .products-mini-item .products-mini-img .products-mini-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
}

.products .products-mini .products-mini-item:hover .products-mini-img .products-mini-icon {
    opacity: 1;
}

.products .products-mini .products-mini-item:hover .products-mini-img .products-mini-icon:hover {
    background: var(--bs-secondary) !important;
}

.products .products-mini .products-mini-item .products-mini-add {
    position: absolute;
    bottom: 0;
    left: -1px;
    right: -1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bs-white);
    transition: 0.5s;
    z-index: 9;
    opacity: 0;
}

.products .products-mini .products-mini-item:hover .products-mini-add {
    opacity: 1;
    margin-bottom: -75px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/*** bestseller Products End ***/

/*** Pagination Start ***/
.pagination {
    display: inline-block;
}

.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}

.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}

.pagination a:hover:not(.active) {
    background-color: var(--bs-primary)
}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}

/*** Pagination End ***/

/*** Shop Page Start ***/
.shop .product-categories .categories-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.shop .product-categories .categories-item a {
    transition: 0.5s;
}

.shop .product-categories .categories-item a:hover {
    color: var(--bs-primary) !important;
}

.shop .product-color .product-color-item {
    display: flex;
    padding: 10px 0;
}

.shop .product-color .product-color-item a {
    transition: 0.5s;
}

.shop .product-color .product-color-item a:hover {
    color: var(--bs-secondary);
}

.shop .price {
    padding: 10px 0;
}

.shop .additional-product .additional-product-item {
    padding: 10px 0;
}

.shop .featured-product .featured-product-item {
    display: flex;
    align-items: center;
    justify-content: start;
}

.shop .product-tags .product-tags-items a {
    display: inline-block !important;
    background: var(--bs-white);
    color: var(--bs-dark);
    transition: 0.5;
}

.shop .product-tags .product-tags-items a:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

/*** Shop Page End ***/


/*** Single Products Start ***/
.single-product .owl-nav .owl-prev,
.single-product .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -13%;
    font-size: 22px;
    color: var(--bs-primary);
}

.single-product .owl-nav .owl-prev {
    left: 0;
}

.single-product .owl-nav .owl-next {
    right: 0 !important;
}


.single-product .single-carousel .owl-dots {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    transition: 0.5s;
}

.single-product .single-carousel .owl-dots .owl-dot img {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    margin-right: 15px;
    border: 2px solid var(--bs-primary);
    transition: 0.5s;
}

.single-product .single-carousel .owl-dots .owl-dot.active img {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    border: 4px solid var(--bs-secondary);
}














.related-product .related-carousel .related-item {
    width: 100%;
    height: 100%;
    position: relative;
    margin-bottom: 125px;
    transition: 0.5s;
}

.related-product .related-carousel .related-item .related-item-add {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: 0.5s;
    z-index: 99;
}

.related-product .related-carousel .related-item:hover .related-item-add {
    background: var(--bs-white);
    margin-bottom: -90px;
    opacity: 1;
}

.related-product .related-carousel .related-item:hover .related-item-inner {
    border-bottom: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item {
    position: relative;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    overflow: hidden;
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-new,
.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-sale {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-new {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-sale {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.related-product .related-carousel .related-item .related-item-inner img {
    transition: 0.5s;
}

.related-product .related-carousel .related-item:hover .related-item-inner img {
    transform: scale(1.1);
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-details {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: 0.5s;
}

.related-product .related-carousel .related-item .related-item-inner .related-item-inner-item .related-details a i {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.related-product .related-carousel .related-item:hover .related-item-inner .related-item-inner-item .related-details a i:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.related-product .related-carousel .related-item:hover .related-item-inner .related-details {
    opacity: 1;
}


.related-product .owl-nav .owl-prev,
.related-product .owl-nav .owl-next {
    position: absolute;
    top: -40px;
    padding: 5px 20px;
    border-radius: 30px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.related-product .owl-nav .owl-prev {
    left: 0;
}

.related-product .owl-nav .owl-next {
    right: 0;
}

.related-product .owl-nav .owl-prev:hover,
.related-product .owl-nav .owl-next:hover {
    background: var(--bs-secondary) !important;
}

/*** Single Products End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item a {
    line-height: 30px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 30px;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-primary);
}

/*** Footer End ***/


/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-primary) !important;
}

/*** copyright end ***/




/********  Custom styles ********/



.header-carousel-item .carousel-img img {
    height: 500px;
    /* adjust as needed */
    object-fit: cover;
    /* ensures full-width crop */
    width: 100%;
}


/* Fixed size container for related product images */
.related-item-inner-item {
    width: 100%;
    height: 300px;
    /* fixed height, adjust as needed */
    max-height: 300px;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    /* for absolute image positioning if needed */
}

/* Make image fully cover container without stretching */
.related-item-inner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ensures the image covers container */
    object-position: center;
    /* centers the image */
    display: block;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .related-item-inner-item {
        height: 200px;
        /* smaller height for mobile/tablet */
        max-height: 200px;
    }
}

/* Container of image */
.product-item-inner-item {
    width: 100%;
    height: 400px;
    /* Desktop default */
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Make image fill uniformly */
.product-item-inner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* crops evenly */
    object-position: center;
    display: block;
}

/* Tablet */
@media (max-width: 992px) {
    .product-item-inner-item {
        height: 330px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .product-item-inner-item {
        height: 260px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .product-item-inner-item {
        height: 220px;
    }
}



/** -------------------------------------------------
                SELECT2 CUSTOM CSS
    -------------------------------------------------*/

/* Base styling to match Bootstrap .form-control */
.select2-container--default .select2-selection--single {
    display: block;
    width: 100%;
    height: 46px !important;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #919191;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    position: relative;
    padding-right: 2rem;
    /* Space for icon */
}

/* Focus and open styles — same as .form-control:focus */
.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--open .select2-selection--single {
    color: #919191;
    background-color: #fff;
    border-color: rgb(248.5, 197, 127.5);
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(242, 139, 0, .25);
}

/* Hide default arrow */
.select2-container--default .select2-selection__arrow {
    display: none !important;
}

/* Custom Bootstrap icon for dropdown arrow */
.select2-container--default .select2-selection--single::after {
    content: "\f282";
    /* chevron-down */
    font-family: "bootstrap-icons" !important;
    font-size: 1rem;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #555;
    transition: transform 0.2s ease-in-out;
}

/* Change to chevron-up when open */
.select2-container--open .select2-selection--single::after {
    content: "\f286";
    /* chevron-up */
}

/* Adjust text alignment inside Select2 */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #919191;
    line-height: 1rem !important;
    padding-left: 0;
}

/* Dropdown list styling */
.select2-container--default .select2-results>.select2-results__options {
    font-size: 1rem;
    color: #919191;
}

/* Highlighted option styling */
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: rgb(242, 139, 0);
    color: #fff;
}

/* Add smooth transition for dropdown border and focus */
.select2-dropdown {
    border: 1px solid #ced4da;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}


/** -------------------------------------------------
                FILTER PRICE RANGE CSS
    -------------------------------------------------*/
.dual-range-wrapper {
    position: relative;
    height: 40px;
}

.dual-range-wrapper input[type="range"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    background: none;
}

.dual-range-wrapper input[type="range"]::-webkit-slider-thumb {
    pointer-events: all;
    position: relative;
    z-index: 3;
}

.range-selected {
    position: absolute;
    height: 7px;
    background: #F5A713;
    top: 30%;
    transform: translateY(-50%);
    border-radius: 3px;
    z-index: 1;
}

.range-ticks {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 10px;
    z-index: 4;
}

.range-tick {
    position: absolute;
    width: 1px;
    height: 6px;
    background: #999;
}

/* removing empty cart return button */
.return-to-shop {
    display: none !important;
}


/* author card CSS */
.card-img-top {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin: 0 auto 1em;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card {
    padding: 2em 1em 1em;
    text-align: center;
    border: 0;
}

.card-title {
    font-weight: 500;
    font-size: 1.1em;
}

.card a {
    display: inline-block;
    margin-top: auto;
    padding: 0.5em 1.5em;
    /* Transparent with border */
    background-color: transparent;
    border-radius: 0.5em;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.woocommerce-Reviews-title {
    display: none !important;
}

#copy-link-btn.copied {
    background-color: #28a745 !important;
    /* copied success flash */
    color: #fff;
}


.rating-stars {
    display: flex;
    justify-content: center;
    /* center the stars */
    flex-direction: row-reverse;
    /* keep reverse order for hover effect */
    gap: 8px;
    /* space between stars */
}

.rating-stars input {
    display: none;
    /* hide radio buttons */
}

.rating-stars label {
    font-size: 32px;
    /* bigger stars */
    color: #ddd;
    /* default grey */
    cursor: pointer;
    transition: color 0.2s;
}

/* Highlight stars on hover and when selected */
.rating-stars input:checked~label,
.rating-stars label:hover,
.rating-stars label:hover~label {
    color: #ffc107;
    /* gold color */
}



/* Topbar container fixed height */
.container-fluid.topbar-fixed {
    height: 90px;
    /* Set your preferred bar height */
    overflow: hidden;
}

#wp-admin-bar-my-account>.ab-item>img.avatar {
    height: 26px !important;
    width: 26px !important;
    object-fit: contain !important;
}

.wc_payment_method.payment_method_razorpay label img[src*="razorpay"] {
    width: auto !important;
    object-fit: contain !important;
}

.product-item-inner-item>.img-fluid,
.single-inner>.img-fluid,
.related-item-inner-item>.img-fluid {
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
}


/* Logo should fit inside without stretching bar */
.site-logo,
.woocommerce img,
.woocommerce-page img {
    height: 150px !important;
    width: auto !important;
    object-fit: contain !important;
    margin-top: -10% !important;
    margin-left: -8% !important;
}

.global-search {
    margin-top: -3%;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .container-fluid.topbar-fixed {
        height: 70px;
    }

    .site-logo,
    .woocommerce img,
    .woocommerce-page img {
        max-height: 60px !important;
    }

    .global-search {
        margin-top: 0%;
    }

    .col-md-4.col-lg-6,
    .col-md-4.col-lg-3 {
        margin-top: 10px;
    }
}

/* Desktop topbar fixed height */
.topbar-fixed {
    height: 95px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Desktop logo scaling */
.site-logo,
.woocommerce img,
.woocommerce-page img {
    /* max-height: 90px; */
    width: auto !important;
    object-fit: contain !important;
}

/* Mobile styles */
.mobile-topbar {
    height: 70px;
    display: flex;
    align-items: center;
}

.mobile-logo {
    max-height: 55px;
    width: auto;
    object-fit: contain;
}

.mobile-brand-logo {
    max-height: 45px;
    width: auto;
    object-fit: contain;
}

.categories-bars-item a {
    display: inline-block;
    color: #333;
    text-decoration: none;
}

.navbar-nav>li>a {
    color: white !important;
}

/* Mobile category dropdown spacing */
@media (max-width: 991px) {
    .navbar-collapse {
        padding-bottom: 15px;
    }
}

/* Desktop Topbar */
.topbar-fixed {
    height: 95px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.site-logo,
.woocommerce img,
.woocommerce-page img {
    /* max-height: 90px; */
    width: auto !important;
    object-fit: contain !important;
}

/* Mobile Topbar */
.mobile-topbar {
    height: 75px;
    display: flex;
    align-items: center;
}

.mobile-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.mobile-search-form input:focus {
    outline: none !important;
    box-shadow: none !important;
}


.categories-dropdown {
    max-height: 300px;
    /* adjust height as needed */
    overflow-y: auto;
    /* vertical scrollbar */
}

.categories-dropdown::-webkit-scrollbar {
    width: 6px;
}

.categories-dropdown::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.categories-dropdown::-webkit-scrollbar-track {
    background-color: transparent;
}

/* Sidebar Categories Scroll */
#allCat {
    max-height: 500px;
    /* Adjust as needed */
    overflow-y: auto;
}

/* Optional: nice scrollbar */
#allCat::-webkit-scrollbar {
    width: 6px;
}

#allCat::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

#allCat::-webkit-scrollbar-track {
    background-color: transparent;
}

.cart-badge-mobile {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    font-size: 12px;
    font-weight: bold;
}

/* Cart badge for desktop */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    font-size: 12px;
    font-weight: bold;
}

@media (max-width: 991px) {
    #mobile-filters .bg-light {
        padding: 15px;
    }

    #mobile-filters .collapse {
        transition: all 0.3s ease;
    }
}

/* Quantity input styling */
.input-group.quantity {
    width: 140px;
}

.input-group.quantity .btn-minus,
.input-group.quantity .btn-plus {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group.quantity .form-control {
    height: 30px;
    border: 1px solid #dee2e6 !important;
    font-size: 14px;
}

.input-group.quantity .btn {
    z-index: 2;
}

/* Remove button hover effect */
.btn-md.rounded-circle.bg-light.border:hover {
    background-color: #f8f9fa !important;
    border-color: #dc3545 !important;
}

/* Responsive table */
@media (max-width: 768px) {
    .table-responsive {
        border: 0;
    }

    .input-group.quantity {
        width: 120px;
    }
}

.qty,
.text {
    width: 25% !important;
    border: none !important;
    text-align: center !important;
}

/* Force same size for all cart thumbnails */
.woocommerce-cart-form__cart-item .d-flex.align-items-center img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    object-position: center !important;
    min-width: 80px !important;
    max-width: 80px !important;
    min-height: 80px !important;
    max-height: 80px !important;
    flex-shrink: 0 !important;
}

/* Ensure the container also has fixed size */
.woocommerce-cart-form__cart-item .d-flex.align-items-center {
    min-height: 80px;
}

/* Make sure thumbnail links maintain size */
.woocommerce-cart-form__cart-item .d-flex.align-items-center a {
    display: block;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

/* For WooCommerce default image classes */
.woocommerce-cart-form__cart-item .d-flex.align-items-center .wp-post-image,
.woocommerce-cart-form__cart-item .d-flex.align-items-center .attachment-woocommerce_thumbnail,
.woocommerce-cart-form__cart-item .d-flex.align-items-center .woocommerce-placeholder {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .woocommerce-cart-form__cart-item .d-flex.align-items-center img {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
    }

    .woocommerce-cart-form__cart-item .d-flex.align-items-center a {
        width: 60px;
        height: 60px;
    }
}


.woocommerce-cart-form table.table {
    table-layout: fixed;
}

.woocommerce-cart-form table.table th:first-child,
.woocommerce-cart-form table.table td:first-child {
    width: 35%;
}

.woocommerce-cart-form table.table th:nth-child(2),
.woocommerce-cart-form table.table td:nth-child(2) {
    width: 15%;
    text-align: center;
}

.woocommerce-cart-form table.table th:nth-child(3),
.woocommerce-cart-form table.table td:nth-child(3) {
    width: 20%;
    text-align: center;
}

.woocommerce-cart-form table.table th:nth-child(4),
.woocommerce-cart-form table.table td:nth-child(4) {
    width: 15%;
    text-align: center;
}

.woocommerce-cart-form table.table th:nth-child(5),
.woocommerce-cart-form table.table td:nth-child(5) {
    width: 15%;
    text-align: center;
}

.woocommerce-cart-form table.table td {
    vertical-align: middle;
}

/* Ensure quantity input stays centered */
.product-quantity .input-group {
    margin: 0 auto;
    justify-content: center;
}




/* Hide any duplicate WooCommerce forms that might be loading */
body.woocommerce-checkout div.col2-set:not(.woocommerce-billing-fields):not(.woocommerce-shipping-fields),
body.woocommerce-checkout>.woocommerce:not(.container-fluid) {
    display: none !important;
}

.woocommerce-form-coupon-toggle {
    display: none !important;
}

/* Apply the HTML classes to WooCommerce form elements */
.woocommerce form .form-row {
    margin-bottom: 1.5rem;
    width: 100%;
}

.woocommerce form .form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.woocommerce form .form-row label .required {
    color: #dc3545;
}

.woocommerce form .form-row input.input-text:not([type="checkbox"]):not([type="radio"]),
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #fff;
    color: #495057;
    display: block;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Checkbox styling */
.woocommerce-form__input-checkbox.input-checkbox {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.25em;
    margin-right: 0.5em;
    background-color: #0d6efd;
    border: 1px solid #0d6efd;
}

.woocommerce-form__label-for-checkbox.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 1rem 0;
}


/* Shipping address initially hidden */
.shipping_address {
    display: none;
}

.shipping_address.show {
    display: block;
}

/* Order review table styling */
.woocommerce-checkout-review-order .shop_table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

.woocommerce-checkout-review-order .shop_table th,
.woocommerce-checkout-review-order .shop_table td {
    padding: 1rem 0.5rem;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
    text-align: center;
}

.woocommerce-checkout-review-order .shop_table th:first-child,
.woocommerce-checkout-review-order .shop_table td:first-child {
    text-align: left;
}

.woocommerce-checkout-review-order .shop_table .order-total th,
.woocommerce-checkout-review-order .shop_table .order-total td {
    border-top: 2px solid #dee2e6;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Payment method styling */
.woocommerce-checkout-payment .wc_payment_method {
    margin-bottom: 0;
    padding: 1rem 0;
    border-bottom: 1px solid #dee2e6;
    background-color: transparent;
}

.woocommerce-checkout-payment .wc_payment_method:last-child {
    border-bottom: none;
}

.woocommerce-checkout-payment .payment_box {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    font-size: 0.9rem;
}

.hostinger-reach-optin {
    display: none !important;
}

/* Place order button */
#place_order {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--bs-primary);
    border-radius: 50rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 1rem;

    background: var(--bs-primary);
    color: var(--bs-white);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    transition: 0.5s;
}

#place_order:hover {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

/* Terms and conditions */
.woocommerce-terms-and-conditions-wrapper {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
}


/* Remove bullet from shipping list at checkout & order review */
#order_review .woocommerce-shipping-methods,
.woocommerce-checkout-review-order .shipping ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

#order_review .woocommerce-shipping-methods li,
.woocommerce-checkout-review-order .shipping ul li {
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation-link {
    color: var(--bs-primary) !important;
    /* color: var(--bs-secondary) !important; */
    font-weight: 500 !important;
}

.woocommerce-MyAccount-navigation-link>i {
    /* color: var(--bs-secondary) !important; */
    color: var(--bs-primary) !important;
}

.woocommerce-MyAccount-navigation-link--customer-logout {
    display: none !important;
}

.wc_payment_method {
    list-style: none !important;
}

.wc_payment_method>label:first-of-type {
    padding-right: .5rem !important;
    padding-left: .5rem !important;
}

#place_order {
    border-color: var(--bs-primary) !important;
}

/* Login/Register Form Styling */
.woocommerce-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.woocommerce-form label .required {
    color: #dc3545;
}

.woocommerce-form input[type="text"],
.woocommerce-form input[type="email"],
.woocommerce-form input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #fff;
    color: #495057;
    transition: all 0.3s ease;
}

.woocommerce-form input:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.woocommerce-form .form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.25em;
    margin-right: 0.5em;
}

.woocommerce-form .form-check-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Error messages */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.375rem;
    border: 1px solid transparent;
}

.woocommerce-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.woocommerce-message {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.woocommerce-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Links */
.woocommerce-form a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-form a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* Buttons */
.woocommerce-form .btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.woocommerce-form .btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.woocommerce-form .btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.woocommerce-form .btn-outline-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}