/* html, */
/* body {
    position: relative;
    height: 100%;
    padding: 0;
  } */

body {
    background: #F0F2F5;
    /* MD3 Surface Variant */
    /* font-family: Helvetica Neue, Helvetica, Arial, sans-serif; */
    /* font-size: 14px; */
    /* color: #000; */
    margin: 0;
    padding: 0;
}

/* .nav {
    --bs-nav-link-hover-color: var(--primary-color) !important;
} */

/* .nav-tabs.nav-tabs-basic .nav-link.active,
.nav-tabs.nav-tabs-basic .nav-item.show .nav-link {
    border-color: var(--primary-color) !important;
} */


.search_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    letter-spacing: -0.01rem;
    position: relative;
    border: 0px;
    background: white;
}

.search_btn:not(.btn-link):hover {
    transform: none;
    box-shadow: none;
}

.refer_and_earn_border {
    border: 2px dashed #343f52;
}

.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show>.btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-check:checked+.btn,
:not(.btn-check)+.btn:active,
.btn:first-child:active,
.btn.active,
.btn.show {
    color: var(--bs-btn-active-color);
    /* background-color: var(--primary-color) !important;; */
    border-color: black !important;
    ;
    box-shadow: var(--bs-btn-active-shadow);
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary.focus,
.btn-primary:focus {
    box-shadow: none !important;
}

.swiper-slide {
    text-align: center;
    font-size: 16px;
    background: #fff;
    /* background-color: #f7f7f7; */
}

/* Category/Brand swiper - compact spacing */
.swiper-slide-category {
    width: 120px !important;
    flex-shrink: 0 !important;
}

.category-swiper>.swiper-controls>.swiper-navigation {
    display: none;
}

.swiper-slide-category img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 8px;
}

.swiper-wrapper {
    padding: 0 10px 20px 10px;
}


.category-image-container img {
    max-height: 100%;
    border-radius: 8px;
    max-width: 100%;
}

.category-image-container {
    height: 125px !important;
    width: 125px !important;
}

.description_img img {
    max-width: 100% !important;
}

.sub_category-image-container {
    /* height: 100px !important; */
    width: 100px !important;
}

.sub_category-image-container img {
    max-height: 100%;
    max-width: 100%;
    border-radius: 8px;
}

.brand_image_div {
    width: 100px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

.brand_image_div img {
    object-fit: contain !important;
    width: 80px !important;
    height: 80px !important;
    padding: 8px !important;
    background: #fff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 50% !important;
}

.progress-wrap.active-progress {
    opacity: 1 !important;
}

/* .category-swiper .swiper-controls .swiper-navigation {
    display: none;
} */

section.slider>.pb-md-1>.swiper-controls {
    position: relative !important;
}

/* Slider pagination - position below the slider (like category/brands) */
.slide-swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 8px !important;
}

/* .swiper-controls {
    margin-top: 20px;
} */

.swiper-wrapper {
    padding: 0 10px 0px 0px !important;
}

.slide-img {
    height: 300px;
    max-width: 1315px;
    /* max-width: 1290px; */
}

.slide-img img {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
}

/* .slide-img {
    height: 500px;
} */

/* .swiper-slide-style4 {
    width: 310px !important;
    margin-right: 20px !important;
} */

.logo-img img {
    max-width: 100%;
    max-height: 100%;
}

/* .navbar-brand img {
    width: 50%;
} */

.product-grid .price span,
.striped-price {
    color: red;
    font-size: 13px;
    font-weight: 400;
    text-decoration: line-through;
    margin-left: 3px;
    display: inline-block;
}

button.btn.btn-secondary.dropdown-toggle {
    gap: 2px;
    display: flex;
    align-items: baseline;
}

figure img {
    height: 260px !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* .fig_image{
    height: 150px !important;
} */

.gallery-thumbs .swiper-controls {
    display: none;
}

/* num in counting  */
.num-in {
    background: #FFFFFF;
    border: 2px solid rgba(0, 0, 0, 0.1);
    height: 40px;
    width: 110px;
    float: left;
    margin-top: -22px;
}

.num-in span {
    width: 30%;
    display: block;
    height: 40px;
    float: left;
    position: relative;
}

.num-in span:before,
.num-in span:after {
    content: '';
    position: absolute;
    background-color: #667780;
    height: 2px;
    width: 10px;
    top: 50%;
    left: 50%;
    margin-top: -1px;
    margin-left: -5px;
}

.num-in span.plus:after {
    transform: rotate(90deg);
}

.num-in input {
    float: left;
    width: 60%;
    height: 36px;
    border: none;
    text-align: center;
    font-weight: 900;
    color: #b0b0b0;
}

.num-in input:focus {
    color: black;
    outline: none;
}

/* order details progressbar */
.orders-section #progressbar #step1:before {
    content: "1";
    color: #fff;
    width: 29px;
    text-align: center;
}

.orders-section #progressbar #step2:before {
    content: "2";
    color: #fff;
    width: 29px;
    text-align: center;
}

.orders-section #progressbar #step3:before {
    content: "3";
    color: #fff;
    width: 29px;
    text-align: center;
}

.orders-section #progressbar #step4:before {
    content: "4";
    color: #fff;
    width: 29px;
    text-align: center;
}

.orders-section #progressbar #step5:before {
    content: "5";
    color: #fff;
    width: 29px;
    text-align: center;
}

.orders-section #progressbar #step6:before {
    content: "6";
    color: #fff;
    width: 29px;
    text-align: center;
}

.orders-section #progressbar #step7:before {
    content: "7";
    color: #fff;
    width: 29px;
    text-align: center;
}

section #progressbar div.active:after {
    background: var(--primary-color);
}

@media (max-width: 1024px) {
    .process-wrapper.line [class*=col-]:not(:last-child):after {
        width: 100%;
        position: absolute;
        content: "";
        height: 1px;
        background: none;
        border-top: 1px solid rgba(164, 174, 198, 0.2);
        top: 1.2rem;
        z-index: 1;
    }

}

#step2,
#step3 {
    text-align: center;
}

#step4,
#step5 {
    text-align: right;
}

#step6 {
    text-align: end;
}

#step7 {
    text-align: end;
}

#progressbar div.cancel {
    color: red !important;
}

.orders-section #progressbar div.cancel:after {
    width: 0;
}


.blog_category .select2-container {
    width: 100% !important;
    /* padding-left: 109px; */
}

.blog-img {
    /* width: 300px; */
    height: 230px;
}

.product-list-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.product-bg {
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
}

.item-compare {
    margin-top: 54px;
}

.swiper-img {
    border: 1px solid #c2c2c2;
    border-radius: 1.4mm;
    width: 88% !important;
    height: 110px !important;
    display: flex;
    align-items: center;
}

.swiper-img img {
    width: 100% !important;
}

.swiper-image img {
    max-width: 100% !important;
    max-height: 310px !important;
}

/* width */
.product-thumb-img::-webkit-scrollbar {
    width: 7px;
}

/* Track */
.product-thumb-img::-webkit-scrollbar-track {
    border-radius: 7px;
}

/* Handle */
.product-thumb-img::-webkit-scrollbar-thumb {
    background: rgb(178, 174, 174);
    border: 1px solid rgb(255, 255, 255);
    border-radius: 5px;
}

.swiper-slide-container>.swiper-controls {
    display: none;
}

.offer-img img {
    max-width: 100%;
    max-height: 100%;
    width: -webkit-fill-available;
}

.offer-img {
    height: 270px;
}

/* .offer-image {
    height: 330px;
    width: 100%;
} */

.faq_image {
    height: 350px;
    /* width: 430px; */
}

.faq_image img {
    max-width: 100%;
    max-height: 100%;
}

.blog-card-img {
    width: 100% !important;
    height: 300px;
    display: flex;
    align-content: center;
    justify-content: center;
    overflow: hidden;
}

/* .blog-card-img img {
    max-width: 100% !important;
    max-height: 100%;
} */

.fav-row .row {
    margin: 0;
}


.accordion-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.cart-img {
    width: 110px !important;
    height: 100px !important;
}

.cart-img img {
    max-width: 100% !important;
    max-height: 100% !important;
}

.checkout-img {
    width: 40% !important;
    height: 90px !important;
}

.checkout-img img {
    max-width: 100% !important;
    max-height: 100% !important;
}

.iziModal.isAttached,
.iziModal.isFullscreen {
    border-radius: 12px !important;
}

.compare-img {
    /* width: 100px !important; */
    height: 270px !important;
}

.compare-img img {
    max-width: 100% !important;
    max-height: 100% !important;
}

.reviews .review-box {
    background-color: #e8e8e8;
    display: flex;
    align-items: center;
}

.review-img {
    width: 100% !important;
    height: 90px !important;
}

.review-img img {
    max-width: 100% !important;
    max-height: 100% !important;
}

/* .btn-outline-primary:hover {
    color: white !important;
} */

.refer-img-box {
    height: 250px;
    /* width: 400px; */
}

.refer-img-box img {
    max-width: 100% !important;
    max-height: 100% !important;
}

.footer-logo-footer {
    width: 240px;
    height: 80px;
}

.footer-logo-footer img {
    max-width: 100%;
    max-height: 100%;
}

.list-unstyled li a:hover {
    color: white !important;
}

.link_cursor {
    cursor: pointer;
}

.promo-code-img {
    height: 100px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-code-img img {
    max-height: 100%;
    max-width: 100%;
}

.copy-promo-code {
    border: 1px dashed;
    background: #ebebeb;
    max-width: 100%;
    display: flex;
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    justify-content: space-between;
}

/* ---------------------------------------------------------------------------------------------- 
      Product-listing 
  */

.product-listing .title {
    font-size: 16px;
}

.sidebar-filter {
    display: none;
}

/* filter sidebar scroll */
.filter_attributes {
    max-height: 300px;
    overflow-y: scroll;
}

.filter_attributes::-webkit-scrollbar {
    width: 7px;
}

.filter_attributes::-webkit-scrollbar-track {
    border-radius: 7px;
}

.filter_attributes::-webkit-scrollbar-thumb {
    background: rgb(66, 66, 66);
    border: 1px solid rgb(255, 255, 255);
    border-radius: 5px;
}

/* brand filter sidebar scroll */
.brand_filter {
    max-height: 160px;
    overflow-y: scroll;
}

.title_wrap {
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    /* Changed to 1 line per user request */
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    height: 1.5em !important;
    /* Height for 1 line */
    line-height: 1.5em;
}

/* Mobile alignment matches desktop for clean grid */
@media (max-width: 575px) {
    .title_wrap {
        -webkit-line-clamp: 1 !important;
        height: 1.5em !important;
    }
}

.brand_filter::-webkit-scrollbar {
    width: 7px;
}

.brand_filter::-webkit-scrollbar-track {
    border-radius: 7px;
}

.brand_filter::-webkit-scrollbar-thumb {
    background: rgb(66, 66, 66);
    border: 1px solid rgb(255, 255, 255);
    border-radius: 5px;
}

/* HIDE RADIO */
.brand_div [type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.brand_div {
    height: 35px !important;
    width: 35px !important;
}

/* IMAGE STYLES */
.brand_div [type=radio]+img {
    cursor: pointer;
    max-height: 35px;
    max-width: 35px;
    object-fit: contain;
}

/* CHECKED STYLES */
.brand_div [type=radio]:checked+img {
    outline: 2px solid var(--primary-color);
}

.selected-brand {
    outline: 2px solid var(--primary-color);
}

.selected-category {
    background-color: var(--primary-color);
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9Jy00IC00IDggOCc+PGNpcmNsZSByPScxLjUnIGZpbGw9JyNmZmYnLz48L3N2Zz4=);
}

/* category filter scroll sidebar */
.category_filter {
    max-height: 210px;
    overflow-y: scroll;
}

.category_filter::-webkit-scrollbar {
    width: 7px;
}

.category_filter::-webkit-scrollbar-track {
    border-radius: 7px;
}

.category_filter::-webkit-scrollbar-thumb {
    background: rgb(66, 66, 66);
    border: 1px solid rgb(255, 255, 255);
    border-radius: 5px;
}

/* select2 */

#offcanvas-search .select2-results {
    z-index: 999999;
    position: fixed;
    background: white;
    width: inherit;
    /* overflow: scroll;
    height: 50%; */
}

.select2-results__options {
    max-height: 300px;
    overflow: auto;
}

.select2-result-repository {
    padding-top: 4px;
    padding-bottom: 3px;
}

.select2-result-repository__avatar {
    float: left;
    width: 60px;
    height: 60px;
    margin-right: 10px;
    text-align: center !important;
}

.select2-result-repository__icon {
    float: left;
    width: 60px;
    height: 25px;
    margin-right: 10px;
    text-align: center !important;
}

.select2-result-repository__avatar img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 2px;
}

.select2-result-repository__meta {
    margin-left: 70px;
}

.select2-result-repository__meta_icon {
    margin-left: 0px;
}

.select2-result-repository__title {
    word-wrap: break-word;
    line-height: 1.1;
    margin-bottom: 4px;
}

.select2-result-repository__forks,
.select2-result-repository__stargazers {
    margin-right: 1em;
}

.select2-result-repository__forks,
.select2-result-repository__stargazers,
.select2-result-repository__watchers {
    display: inline-block;
    color: #aaa;
    font-size: 11px;
}

.select2-result-repository__description {
    font-size: 13px;
    color: #777;
    margin-top: 4px;
}

.select2-results__option--highlighted {
    opacity: 1 !important;
}

.select2-results__option--highlighted .select2-result-repository__title {
    color: rgb(31, 30, 30);
    color: black;
    font-weight: bold;
}

.select2-results__option--highlighted .select2-result-repository__forks,
.select2-results__option--highlighted .select2-result-repository__stargazers,
.select2-results__option--highlighted .select2-result-repository__description,
.select2-results__option--highlighted .select2-result-repository__watchers {
    color: rgb(31, 30, 30);
}

/* .select2-container--adwitt .select2-results>.select2-results__options {
    max-height: 300px;
    overflow: auto;
} */

.select2-selection__rendered {
    word-wrap: break-word !important;
    text-overflow: hidden !important;
    overflow: hidden;
    white-space: normal !important;
}

.select2-selection__placeholder {
    color: #bcbbbb;
}

.edit_city .select2-container {
    width: 100% !important;
}

/* .select2-container .select2-selection--single { */
/* margin-top: 8px; */
/* padding: 8px;
    height: 100% !important; */
/* } */

.mobile-search .select2-container {
    border: 2px solid rgba(185, 185, 185, .2);
}

.select2-results__options {
    overflow-y: auto;
}

.select2-dropdown {
    z-index: 9999;
    border: 0px solid var(--border-color);
    border-radius: 0px;
}

.select2-search--dropdown .select2-search__field {
    border-radius: 6px;
    padding: 2px;
}

.select2-results__option {
    opacity: 0.8;
    transition: 150ms;
}

.product-page-details .btn-group>.active {
    background-color: #343f52 !important;
    /* background-color: var(--primary-color) !important;  */
}


/* accordion in filter */
.accordion-wrapper .card-header button:before {
    color: black !important;
}

.accordion-wrapper .card-header button:hover::before {
    color: var(--primary-color) !important;
}

.accordion-wrapper .card-header button:hover {
    color: var(--primary-color) !important;
}



@media (min-width: 1024px) {
    .swiper-auto .swiper-slide {
        width: 850px;
    }

    .swiper-auto.swiper-auto-xs .swiper-slide {
        width: 600px;
    }

    .logo-img {
        /* width: 187px !important; */
        height: 50px !important;
    }

    .mobile-searchbar {
        display: none;
    }

    .mobile_quick_view {
        display: none;
    }
}


@media (max-width: 991.98px) {

    .map.rounded-top iframe,
    .image-wrapper.rounded-top {
        border-top-left-radius: 0.4rem !important;
        border-top-right-radius: 0.4rem !important;
        width: 350px !important;
    }

    /* .image-wrapper.rounded-4-top {
      border-top-left-radius: 0.8rem !important;
      border-top-right-radius: 0.8rem !important;
    } */
}


@media (min-width: 768px) and (max-width: 1023.98px) {
    .swiper-auto .swiper-slide {
        width: 600px;
    }

    .swiper-auto.swiper-auto-xs .swiper-slide {
        width: 400px;
    }

    .logo-img {
        /* width: 187px !important; */
        height: 40px !important;
    }

    .mobile-searchbar {
        display: none;
    }

    .mobile_quick_view {
        display: none;
    }
}

@media (max-width: 767px) {
    .swiper-auto.swiper-auto-xs .swiper-slide {
        width: 300px;
    }

    .desktop-search {
        display: none;
    }

    .desktop_quick_view {
        display: none;
    }

    .slide-img {
        height: 130px;
        max-width: 1315px;
        /* max-width: 1290px; */
    }

    .mySwiper .swiper-wrapper .swiper-mobile-slide {
        width: 190px !important;
    }
}


@media screen and (max-width: 450px) {
    .sidebar-filter-sm {
        display: none;
    }

    .desktop-search {
        display: none;
    }

    .desktop_quick_view {
        display: none;
    }
}

@media screen and (max-width:500px) {
    #chat-iframe {
        width: 90% !important;
    }
}

.sale_tag {
    top: 1rem;
    left: 1rem;
}

/* Extra small devices (phones, 600px and down) */

@media only screen and (max-width: 600px) {
    .swiper-container.swiper-thumbs-container {
        display: none;
    }

    .fig_image {
        height: 150px !important;
    }

    .mt-3 {
        margin-top: 0px !important;
    }

    .mb-13 {
        margin-bottom: 0rem !important;
    }

    /* .isotope{
        height: 0px !important;
    } */

    .default-style .post-header h4 {
        font-size: 14px !important;
        margin-bottom: 0px !important;
    }

    .style_3 .product-content h4 {
        font-size: 14px !important;
    }

    .style_4 .product-content h4 {
        font-size: 14px !important;
    }

    .mySwiper .swiper-wrapper .swiper-mobile-slide {
        width: 190px !important;
    }

    .product_listing_list h4 {
        font-size: 0.75rem;
    }

    .product_listing_list .product-rating-small {
        margin-bottom: 0px !important;
    }

    .sale_tag {
        top: 0.1rem !important;
        left: 0.1rem !important;
    }

    .product_listing_list>.mt-n2 {
        display: none;
    }

    /* .swiper-slide-style4 {
        width: 150px !important;
    } */

    .default_heading h3 {
        font-size: 18px;
    }

    .default_heading h6 {
        font-size: 16px !important;
    }

    .seller-image-container {
        /* width: 150px !important; */
        height: 200px !important;
    }

    .seller-image-container .fig_seller_image {
        width: 150px !important;
        /* height: 150px !important; */
    }

    .sidebar-filter-sm {
        display: none;
    }

    .listing-page .filter-nav {
        display: none;
    }

    .logo-img {
        /* width: 187px !important; */
        height: 75px !important;
    }

    /* .swiper-slide-category {
        width: 100px !important;
        margin-right: 10px !important;
    } */

    .swiper-slide-category img {
        height: 75px;
        border-radius: 8px;
    }
}

@media only screen and (min-width: 800px) {
    .product-preview-image-section-sm {
        display: none;
    }

}

@media (max-width:799px) {
    .swiper-thumbs-container {
        display: none !important;
    }
}


/* Small devices (portrait tablets and large phones, 600px and up) */

@media only screen and (max-width: 650px) {

    /* .swiper-container.swiper-thumbs-container {
        display: none;
    } */
    .filter-nav {
        display: none;
    }

    .sidebar-filter-sm {
        display: none;
    }
}

/* Medium devices (landscape tablets, 768px and up) */

@media only screen and (max-width: 768px) {
    .filter-nav {
        display: none;
    }

    .sidebar-filter-sm {
        display: none;
    }

    /* .swiper-slide-category img {
        height: 110px;
    } */
}

/* Extra small devices (phones, 990px and down) */

@media only screen and (max-width: 991px) {
    .product-page-preview-image-section-md {
        display: none;
    }

    .sidebar-filter-sm {
        display: none;
    }

    /* .swiper-slide-category img {
        height: 110px;
    } */
    .logo-img {
        /* width: 187px !important; */
        height: 75px !important;
    }

}

@media only screen and (min-width: 1000px) {

    .filter-sidebar-mobile {
        display: none;
    }

    .slide-img {
        height: 500px;
    }

    .swiper-slide-category img {
        height: 110px;
        border-radius: 8px;
    }

    /* .swiper-slide-category {
        width: 150px !important;
        margin-right: 10px !important;
    } */
}

#pills-tab>.nav-item a:hover {
    color: var(--primary-color) !important;
}

.buy-now-btn {
    position: fixed;
    bottom: 18px;
    left: 18px;
    z-index: 9999;
}

/* color-switcher */

.setting-icon {
    font-size: 1.7rem !important;
    margin-top: 6px;
}

#colors-switcher {
    background: none repeat scroll 0 0 #fff;
    -webkit-box-shadow: 0 0 3px rgba(60, 72, 88, 0.15);
    box-shadow: 0 0 3px rgba(60, 72, 88, 0.15);
    left: -189px;
    position: fixed;
    top: 24%;
    width: 189px;
    z-index: 9999;
    padding: 10px 5px
}

#colors-switcher .color-bottom {
    background: none repeat scroll 0 0 #fff
}

#colors-switcher .color-bottom a.settings {
    background: none repeat scroll 0 0 #fff;
    height: 41px;
    position: absolute;
    right: -40px;
    top: 28px;
    width: 40px;
    padding: 3px;
    border-radius: 0 30px 30px 0
}

#colors-switcher ul.color-style {
    list-style: none outside none;
    overflow: hidden;
    padding: 0;
    border-radius: 0px;
}

.list-item-inline {
    display: inline-block;
}

#colors-switcher ul.color-style li.list-inline-item:not(:last-child) {
    margin-right: 0px;
    margin-bottom: 0
}

#colors-switcher ul.color-style li a {
    cursor: pointer;
    display: block;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    margin: 3px
}

#colors-switcher ul.color-style .blue {
    background-color: #1e4071;
}

#colors-switcher ul.color-style .aqua {
    background-color: #54a8c7;
}

#colors-switcher ul.color-style .fuchsia {
    background-color: #e668b3;
}

#colors-switcher ul.color-style .grape {
    background-color: #605dba;
}

#colors-switcher ul.color-style .green {
    background-color: #45c4a0;
}


#colors-switcher ul.color-style .leaf {
    background-color: #7cb798;
}

#colors-switcher ul.color-style .navy {
    background-color: #343f52;
}

#colors-switcher ul.color-style .orange {
    background-color: #f78b77;
}

#colors-switcher ul.color-style .pink {
    background-color: #d16b86;
}

#colors-switcher ul.color-style .purple {
    background-color: #747ed1;
}

#colors-switcher ul.color-style .red {
    background-color: #e2626b;
}

#colors-switcher ul.color-style .sky {
    background-color: #5eb9f0;
}

#colors-switcher ul.color-style .violet {
    background-color: #a07cc5;
}

.product-preview-image-section-sm .swiper-controls .swiper-navigation .swiper-button {
    display: none;
}

.swiper-style4 .swiper-controls .swiper-navigation .swiper-button {
    display: none;
}

.swiper-navigation .swiper-button {
    display: none;
}

.whatsapp-icon {
    position: fixed;
    left: 20px;
    bottom: 65px;
    z-index: 9999;
    width: 45px;
    height: 45px;
    /* box-shadow: rgba(99, 99, 99, 0.2) 0px 0px 3px 0px; */
}

.whatsapp-icon .btn {
    padding: 0 !important;
}

.whatsapp-icon .btn img {
    max-width: 100%;
    max-height: 100%;
}

/* chat css */

.chat-hide-show {
    display: none !important;
}

.chat-min {
    /* height: 73vh !important; */
    height: 100% !important;
    max-height: 850px;
}

.image-box-100 {
    display: flex;
    justify-content: center;
    align-items: baseline;
    width: 100px;
    height: 100px;
}

.image-box-100 img {
    max-width: 100%;
    max-height: 100%;
}

.chat-min>.select2-container {
    width: 100% !important;
}

.chat-max {
    height: 88vh !important;
}

.chat-theme-dark {
    background-color: #1A1D21 !important;
    border-top: 2px solid #17a2b8 !important;
}

.chat-theme-light {
    background-color: #F8F8FA !important;
    border-top: 2px solid #383F45 !important;
}

.chat-theme-light .chat-left .person-group-chat {
    background: #8e8e8e;
    padding: 1px 5px;
    border-radius: 3px;
    position: absolute;
    color: #ececec;
    top: -22px;
    left: 0;
    font-size: 12px;
}

.chat-theme-light .chat-right .person-group-chat {
    background: #8e8e8e;
    padding: 1px 5px;
    border-radius: 3px;
    position: absolute;
    color: #ececec;
    top: -22px;
    right: 0;
    font-size: 12px;
}

.chat-avtar-search {
    border-radius: 50%;
    border: none;
    width: 50px;
    height: 50px;
    background: #99e2ff;
    text-align: center;
    line-height: 52px;
    font-size: 26px;
    font-weight: 800;
    color: #777777;
    margin: 0px 16px 0px 0px;
}

.chat-avtar-main {
    border-radius: 50%;
    border: none;
    width: 45px;
    height: 45px;
    background: #e1ebff;
    text-align: center;
    line-height: 52px;
    font-size: 26px;
    font-weight: 800;
    color: #777777;
}

.chat-box .chat-content .chat-item>.chat-avtar {
    float: left;
    /*    border-radius: 50%;
    border: none;
    width: 50px;
    height: 50px;
    background: #e1ebff;
    text-align: center;
    line-height: 52px;
    font-size: 26px;
    font-weight: 800;
    color: #777777;*/
    -webkit-user-drag: none !important;
}

.chat-box .chat-content .chat-item.chat-right .chat-avtar {
    float: right;
    /*    border-radius: 50%;
    border: none;
    width: 50px;
    height: 50px;
    background: #ffe1e1;
    text-align: center;
    line-height: 52px;
    font-size: 26px;
    font-weight: 800;
    color: #777777;*/
    -webkit-user-drag: none;
}

.chat-theme-light .delete-msg {
    position: absolute;
    color: white;
    top: 0;
    right: 3px;
}

.chat-theme-dark .delete-msg {
    position: absolute;
    color: white;
    top: 0;
    right: 3px;
}

.chat-theme-light .download-msg {
    position: absolute;
    color: black;
    top: 0;
    left: 3px;
}

.chat-theme-dark .download-msg {
    position: absolute;
    color: black;
    top: 0;
    left: 3px;
}

.chat_media_img {
    grid-area: img;
}

.chat_media_file {
    grid-area: file;
    color: #b13c3c;
}

.chat_media_size {
    grid-area: size;
}


.chat-theme-light .chat-files {
    text-align: center;
    display: grid;
    grid-template-areas:
        'img file file file size size';
    grid-gap: 10px;
    background-color: #cccccc;
    border-radius: 3px;
    padding: 10px;
    color: black;
    margin: 1px;
}

.chat-theme-dark .chat-files {
    text-align: center;
    display: grid;
    grid-template-areas:
        'img file file file size size';
    grid-gap: 10px;
    background-color: #cccccc;
    border-radius: 3px;
    padding: 10px;
    color: black;
    margin: 1px;
}

.chat-files-search {
    text-align: center;
    display: grid;
    grid-template-areas:
        'img file file file size fa-download';
    grid-gap: 10px;
    background-color: #cccccc;
    border-radius: 3px;
    padding: 10px;
    color: black;
    margin: 1px;
}

.chat-theme-light .chat-image-view {
    position: relative;
    background-color: #cccccc;
    border-radius: 3px;
    padding: 5px;
    color: black;
    margin: 1px;
}


.chat-theme-light .msg_text_media {
    display: grid;
}

.chat-theme-dark .chat-image-view {
    position: relative;
    background-color: #cccccc;
    border-radius: 3px;
    padding: 5px;
    color: black;
    margin: 1px;
}

.chat-theme-dark .msg_text_media {
    display: grid;
}

.chat-theme-light .download-btn-styling {
    background: #27ab45;
    color: black;
    padding: 7px;
    border-radius: 3px;
    display: none;
    margin: 8px 5px 0px 0px;
}

.chat-theme-dark .download-btn-styling {
    background: #27ab45;
    color: black;
    padding: 7px;
    border-radius: 3px;
    display: none;
    margin: 8px 5px 0px 0px;
}

.chat-image-view:hover .download-btn-styling {
    display: block;
}

.chat-files:hover .download-btn-styling {
    display: block;
}


.chat-theme-light .go-to-bottom-btn {
    cursor: pointer;
    padding: 6px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white !important;
    border: none;
    position: absolute;
    top: -48%;
    right: 0px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    box-shadow: 0px 4px 7px 4px #00000036;
    display: none;
    z-index: 2;
}

.chat-theme-dark .go-to-bottom-btn {
    cursor: pointer;
    padding: 6px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white !important;
    border: none;
    position: absolute;
    top: -48%;
    right: 0px;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    box-shadow: 0px 4px 7px 4px #00000036;
    display: none;
    z-index: 2;
}

.chat-theme-dark .chat-preview-btn {
    position: absolute;
    top: 30%;
    right: 60px;
    color: #868686 !important;
}

.direct-chat-msg.right>.direct-chat-text::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 28%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left-color: #007bff;
    border-right: 0;
    margin-top: 5px;
    border-bottom-right-radius: 0px;
}

.direct-chat-msg.left>.direct-chat-text::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 20%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: #d2d6de;
    border-left: 0;
    margin-top: 6px;
    border-bottom-left-radius: 0px;
}

.chat-theme-light .chat-preview-btn {
    position: absolute;
    top: 30%;
    right: 60px;
    color: #414141 !important;
}

.chat-theme-dark .chat-preview-btn:hover {
    color: #5a5a5a !important;
}

.chat-theme-light .chat-preview-btn:hover {
    color: #303030 !important;
}

.chat-theme-dark .chat-time {
    color: #d8d8d8 !important;
}

.chat-theme-light .new-msg-rcv {
    font-weight: 1000 !important;
    color: #383F45 !important;
}

.chat-theme-dark .new-msg-rcv {
    font-weight: 1000 !important;
    color: #FFFFFF !important;
}

.chat-theme-light .chat-bg {
    background-image: url(../images/bg-chat.jpg) !important;
}

.chat-theme-light .text-successg {
    color: #39E500 !important;
}

.chat-theme-dark .chat-bg {
    background-color: #303335 !important;
}

.chat-theme-dark .text-success {
    color: #39E500 !important;
}

.chat-theme-dark .chat-search-box {
    background-color: #1a1d21 !important;
    border: 1px solid #a6a7ab !important;
    border-radius: .25rem !important;
    margin-right: 8px !important;
    height: 30px !important;
    width: -webkit-fill-available;
}

.chat-theme-dark .chat-search-box:hover {
    background-color: #363b42 !important;
    border: 1px solid #c9cacc !important;
}

.chat-theme-dark .chat-search-box:focus {
    background-color: #363b42 !important;
    border: 1px solid #c9cacc !important;
    color: #c9cacc !important;
}

.chat-theme-light .chat-search-box {
    border-radius: .25rem !important;
    margin-right: 8px !important;
    height: 30px !important;
    width: -webkit-fill-available;
}

.chat-theme-light .chat-search-box:hover {
    background-color: #f2f2f7;
    border-color: #d9dae4;
}

.chat-theme-dark .chat-search-btn {
    background-color: #1a1d21 !important;
    border-color: #a6a7ab !important;
}

.chat-scroll {
    overflow: scroll !important;
    outline: none !important;
}

/* width */
.chat-scroll::-webkit-scrollbar {
    width: 7px;
}

/* Track */
.chat-scroll::-webkit-scrollbar-track {
    border-radius: 7px;
}

/* Handle */
.chat-scroll::-webkit-scrollbar-thumb {
    background: rgb(66, 66, 66);
    border: 1px solid rgb(255, 255, 255);
    border-radius: 5px;
}

.chat-theme-dark .active {
    font-weight: 700 !important;
    background: #3abaf4;
    padding: 3px 15px;
    color: #FFFDF9 !important;
}

.chat-theme-dark .active:hover {
    background: #3abaf4 !important;
    color: #FFFDF9 !important;
}

.chat-theme-light .active {
    font-weight: 700 !important;
    background: #3abaf4;
    padding: 3px 15px;
    color: #FFFDF9 !important;
}

.chat-theme-light .active:hover {
    background: #3abaf4 !important;
    color: #FFFDF9 !important;
}

.chat-theme-dark .chat-person {
    font-weight: 700;
    color: #ababab;
    padding: 3px 15px;
}

.chat-theme-dark code {
    background: #e8e8e8;
    padding: 6px 8px;
    border-radius: 4px;
}

.chat-theme-light code {
    background: #e8e8e8;
    padding: 6px 8px;
    border-radius: 4px;
}

.chat-theme-dark .chat-person:hover {
    background: rgb(0, 0, 0);
    cursor: pointer;
}

.chat-theme-light .chat-person {
    font-weight: 500;
    color: #4f5961;
    padding: 3px 15px;
}

.chat-theme-light .chat-person:hover {
    background: #FFFFFF;
    cursor: pointer;
}

.chat-theme-dark .text-color {
    color: #ababab !important;

}

.chat-theme-light .text-color {
    color: #383F45 !important;
}

.chat-theme-dark .text-color h4 {
    color: #ababab !important;
}

.chat-theme-light .text-color h4 {
    color: #383F45 !important;
}

.chat-theme-dark .theme-inputs {
    background-color: #1a1d21 !important;
    border: 1px solid #a6a7ab !important;
    border-radius: 6px !important;
    color: #c9cacc !important;
    height: auto !important;
    white-space: pre-wrap !important;
}

.chat-theme-light .theme-inputs {
    border: 1px solid #383F45 !important;
    border-radius: 6px !important;
    height: auto !important;
    white-space: pre-wrap !important;
}

.chat-card-header {
    line-height: 9px !important;
    min-height: 0px !important;
    padding: 5px 8px !important;
    border-bottom: 0px !important;
}

.chat-card-header h4 {
    font-size: 17px !important;
    font-weight: 500;
}

.chat-list-unstyled-border li {
    border-bottom: 0px !important;
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

.chat-card-body {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    flex: 0 !important;
}

.chat-img-undrag {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}


.chat_divider {
    padding: 8px 10px;
    text-align: center;
    font-size: medium;
    color: brown;
    margin: 0 0 20px 0px;
    display: flex;
    align-items: center;
    text-align: center;
}

.chat_divider::before,
.chat_divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #cf9a5e;
}

.chat_divider::before {
    margin-right: .25em;
}

.chat_divider::after {
    margin-left: .25em;
}


.chat_loader {
    padding: 8px 10px;
    text-align: center;
    font-size: medium;
    color: brown;
    margin: 0 0 20px 0px;
    display: flex;
    align-items: center;
    text-align: center;
    display: none;
}

.chat_loader::before,
.chat_loader::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #cf9a5e;
}

.chat_loader::before {
    margin-right: .25em;
}

.chat_loader::after {
    margin-left: .25em;
}


#chat-input-textarea-result {
    background-color: rgba(117, 117, 117, 0.36);
    position: absolute;
    bottom: 51px;
    border: 1.5px dashed rgb(119, 122, 125) !important;
    border-radius: 6px !important;
    height: auto;
}

.badge-chat {
    vertical-align: middle;
    border-radius: 5px;
    float: right;
    background-color: #fc544b;
    color: white;
    /* display: inline-block; if you get any error from this class then first uncmnt this and check */
    padding: .30em 1em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    margin-top: 2px;
}

#chat-button.opened,
#chat-iframe.opened {
    transition: all 0.35s ease-in-out;
    box-shadow: 0px 19px 10px 2px #00000014
}

#chat-iframe {
    border-radius: 26px;
}

.chat-iframe {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 450px;
    height: 600px;
    border: none;
    z-index: 999;
}

.fixed-icon {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
}

.progress-wrap {
    position: initial !important;
}

#chat-button {
    transition: all 0.35s ease-in-out;
    /* position: fixed;
    bottom: 32px;
    right: 83px; */
    padding: 8px 14px;
    background-color: #3cc766;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    z-index: 999;
    cursor: pointer;
    /* height: 2.5rem;
    width: 2.5rem; */
    display: flex;
    justify-content: center;
}


.avtar_img {
    height: 45px !important;
}


#floating_chat_view {
    margin: 22px;
}

.seller-profile-card {
    border-radius: 50%;
    width: 150px;
    /* background-color: antiquewhite; */
    height: 150px;

}

.seller-profile-card img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    border-radius: 50%;
}

#pickup_from_store:active {
    border: var(--primary-color) !important;
    /* color: var(--primary-color) !important; */
}

.product-styl>.swiper-style4>.swiper-controls {
    display: none;
}

.btn-xs,
.btn-group-xs>.btn {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.8rem;
    --bs-btn-font-size: 0.6rem;
    --bs-btn-border-radius: 0.4rem;
}

.avatar {
    font-size: 12px !important;
    height: 42px !important;
    width: 42px !important;
}

.default-style {
    position: relative !important;
    top: 0px !important;
    left: 0% !important;
}

.fav_button_dif {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(0);
    letter-spacing: -0.01rem;
    position: relative;
    --bs-btn-padding-y: 0.4rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-font-size: 0.7rem;
    --bs-btn-border-radius: 0.4rem;
    /* --bs-btn-padding-x: 1.2rem;
    --bs-btn-padding-y: 0.5rem;
    --bs-btn-font-size: 0.8rem;
    --bs-btn-border-radius: 0.4rem; */

    --bs-btn-color: #e2626b;
    --bs-btn-border-color: #e2626b;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #e2626b;
    --bs-btn-hover-border-color: #e2626b;
    --bs-btn-focus-shadow-rgb: 226, 98, 107;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #e2626b;
    --bs-btn-active-border-color: #e2626b;
    --bs-btn-active-shadow: 0rem 0.25rem 0.75rem rgba(30, 34, 40, 0.15);
    --bs-btn-disabled-color: #e2626b;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #e2626b;
    --bs-gradient: none;

    --bs-btn-font-family: ;
    --bs-btn-font-weight: 700;
    --bs-btn-line-height: 1.7;
    /* --bs-btn-color: #60697b; */
    --bs-btn-bg: transparent;
    --bs-btn-border-width: 2px;
    /* --bs-btn-border-color: transparent; */
    /* --bs-btn-hover-border-color: transparent; */
    --bs-btn-box-shadow: unset;
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    /* display: inline-block; */
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    /* font-family: var(--bs-btn-font-family); */
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    /* cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; */
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    box-shadow: var(--bs-btn-box-shadow);
    transition: all 0.2s ease-in-out;
}

.fav_button_dif:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}

.product-page-div>.fa-heart:hover {
    color: white !important;
}

.empty-compare {
    height: 300px;
    width: 300px;
}

.empty-compare img {
    max-width: 100%;
    max-height: 100%;
}

.no-promo-code-img {
    height: 250px;
    width: 270px;
}

.no-promo-code-img img {
    max-width: 100%;
    max-height: 100%;
}

.select2-container {
    width: 100% !important;
}

.mobile-search .select2-container {
    border-radius: 10px !important;
}

.mobile-search .select2-selection {
    min-height: 28px !important;
    border-radius: 10px !important;
}

#cart-count {
    position: relative;
    left: -8px;
}

.profile_image .avatar {
    height: 110px !important;
    width: 110px !important;
    object-fit: cover;
}

.theme-krajee-svg.rating-xs .krajee-icon,
.theme-krajee-svg.rating-xs .krajee-icon-clear {
    width: 0.8rem !important;
    height: 0.8rem !important;
}

.theme-krajee-svg .filled-stars .krajee-icon-star {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBoZWlnaHQ9IjMycHgiIHdpZHRoPSIzMnB4IiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHZpZXdCb3g9IjAgMCA0OC45NCA0Ny45NCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgZmlsbD0iI2FhYSIgc3Ryb2tlPSIjZmZmZiI+Cgo8ZyBpZD0iU1ZHUmVwb19iZ0NhcnJpZXIiIHN0cm9rZS13aWR0aD0iMCIvPgoKPGcgaWQ9IlNWR1JlcG9fdHJhY2VyQ2FycmllciIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2U9IiNDQ0NDQ0MiIHN0cm9rZS13aWR0aD0iMC4zODM1MTk5OTk5OTk5OTk5NyIvPgoKPGcgaWQ9IlNWR1JlcG9faWNvbkNhcnJpZXIiPiA8cGF0aCBzdHlsZT0iZmlsbDogI0ZGQ0IwMDsiIGQ9Ik0yNi4yODUsMi40ODZsNS40MDcsMTAuOTU2YzAuMzc2LDAuNzYyLDEuMTAzLDEuMjksMS45NDQsMS40MTJsMTIuMDkxLDEuNzU3IGMyLjExOCwwLjMwOCwyLjk2MywyLjkxLDEuNDMxLDQuNDAzbC04Ljc0OSw4LjUyOGMtMC42MDgsMC41OTMtMC44ODYsMS40NDgtMC43NDIsMi4yODVsMi4wNjUsMTIuMDQyIGMwLjM2MiwyLjEwOS0xLjg1MiwzLjcxNy0zLjc0NiwyLjcyMmwtMTAuODE0LTUuNjg1Yy0wLjc1Mi0wLjM5NS0xLjY1MS0wLjM5NS0yLjQwMywwbC0xMC44MTQsNS42ODUgYy0xLjg5NCwwLjk5Ni00LjEwOC0wLjYxMy0zLjc0Ni0yLjcyMmwyLjA2NS0xMi4wNDJjMC4xNDQtMC44MzctMC4xMzQtMS42OTItMC43NDItMi4yODVsLTguNzQ5LTguNTI4IGMtMS41MzItMS40OTQtMC42ODctNC4wOTYsMS40MzEtNC40MDNsMTIuMDkxLTEuNzU3YzAuODQxLTAuMTIyLDEuNTY4LTAuNjUsMS45NDQtMS40MTJsNS40MDctMTAuOTU2IEMyMi42MDIsMC41NjcsMjUuMzM4LDAuNTY3LDI2LjI4NSwyLjQ4NnoiLz4gPC9nPgoKPC9zdmc+') !important
}

.theme-krajee-svg .empty-stars .krajee-icon-star {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBoZWlnaHQ9IjMycHgiIHdpZHRoPSIzMnB4IiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHZpZXdCb3g9IjAgMCA0OC45NCA0Ny45NCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgZmlsbD0iI2FhYSIgc3Ryb2tlPSIjZmZmZiI+Cgo8ZyBpZD0iU1ZHUmVwb19iZ0NhcnJpZXIiIHN0cm9rZS13aWR0aD0iMCIvPgoKPGcgaWQ9IlNWR1JlcG9fdHJhY2VyQ2FycmllciIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2U9IiNDQ0NDQ0MiIHN0cm9rZS13aWR0aD0iMC4zODM1MTk5OTk5OTk5OTk5NyIvPgoKPGcgaWQ9IlNWR1JlcG9faWNvbkNhcnJpZXIiPiA8cGF0aCBzdHlsZT0iLyohIGZpbGw6ICNlYWJlMTI7ICovIiBkPSJNMjYuMjg1LDIuNDg2bDUuNDA3LDEwLjk1NmMwLjM3NiwwLjc2MiwxLjEwMywxLjI5LDEuOTQ0LDEuNDEybDEyLjA5MSwxLjc1NyBjMi4xMTgsMC4zMDgsMi45NjMsMi45MSwxLjQzMSw0LjQwM2wtOC43NDksOC41MjhjLTAuNjA4LDAuNTkzLTAuODg2LDEuNDQ4LTAuNzQyLDIuMjg1bDIuMDY1LDEyLjA0MiBjMC4zNjIsMi4xMDktMS44NTIsMy43MTctMy43NDYsMi43MjJsLTEwLjgxNC01LjY4NWMtMC43NTItMC4zOTUtMS42NTEtMC4zOTUtMi40MDMsMGwtMTAuODE0LDUuNjg1IGMtMS44OTQsMC45OTYtNC4xMDgtMC42MTMtMy43NDYtMi43MjJsMi4wNjUtMTIuMDQyYzAuMTQ0LTAuODM3LTAuMTM0LTEuNjkyLTAuNzQyLTIuMjg1bC04Ljc0OS04LjUyOCBjLTEuNTMyLTEuNDk0LTAuNjg3LTQuMDk2LDEuNDMxLTQuNDAzbDEyLjA5MS0xLjc1N2MwLjg0MS0wLjEyMiwxLjU2OC0wLjY1LDEuOTQ0LTEuNDEybDUuNDA3LTEwLjk1NiBDMjIuNjAyLDAuNTY3LDI1LjMzOCwwLjU2NywyNi4yODUsMi40ODZ6Ii8+IDwvZz4KCjwvc3ZnPg==') !important
}

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    z-index: 1050;
}

.bottom-sheet.show {
    transform: translateY(0);
}

.logo-fit {
    object-fit: contain;
}

.image-fit {
    object-fit: cover;
}

.payment-gateway-images {
    height: 30px;
}

.under_maintenance {
    max-width: 450px;
}

.tab_border {
    border: none;
}

.product_other_images {
    object-fit: contain;
    height: 450px !important;
    width: fit-content;
}

.product_main_image {
    width: 114px;
    margin-right: 10px;
}

.overflow-height {
    height: 530px;
}

.slide_image {
    width: 280px;
    margin-right: 30px;
}

.gray_slale_cod {
    filter: grayscale(100%);
}

#search_items {
    list-style: none;
    /* Remove bullets */
    margin: 0;
    padding: 0;
    max-height: 300px;
    /* Fixed height for search results */
    overflow-y: scroll;
    /* Adds scrollbar if content exceeds the height */
}

#search_items::-webkit-scrollbar {
    width: 7px;
}

#search_items::-webkit-scrollbar-track {
    border-radius: 7px;
}

#search_items::-webkit-scrollbar-thumb {
    background: rgb(66, 66, 66);
    border: 1px solid rgb(255, 255, 255);
    border-radius: 5px;
}

.search-products {
    min-width: 64%;
}

.w-62 {
    width: 62% !important;
}

.item {
    padding: 2px;
    /* border-bottom: 1px solid #eee;  */
}

.item .item-title {
    color: #000;
    /* Text color */
    text-decoration: none;
}

/* .item .item-title:hover {
    text-decoration: underline;
} */

.empty {
    color: #999;
    font-style: italic;
}

.select2-selection__rendered {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* support ticket chat  */

.direct-chat-text {
    border-radius: .3rem;
    background: #d2d6de;
    border: 1px solid #d2d6de;
    color: #444;
    margin: 5px 0 0 50px;
    padding: 5px 10px;
    position: relative;
}

.direct-chat-text {
    width: fit-content;
}

.right .direct-chat-text {
    float: right;
}

.direct-chat-timestamp {
    margin: 0 10px;
}

.direct-chat-text {
    margin: 5px 0 0 10px;
}

.right .direct-chat-text {
    margin-right: 10px;
}

.direct-chat-messages {
    height: 384px;
}

.direct-chat-primary .right>.direct-chat-text {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

.direct-chat-name {
    font-weight: 600;
}

.direct-chat-timestamp {
    color: #697582;
}

.return-reason-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    transition: 0.3s;
}

.return-reason-card:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.return-reason-card img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.cursor-pointer {
    cursor: pointer;
}

/* Style the entire card when radio is checked */
.return-reason-card:has(input[type="radio"]:checked) {
    border: 2px solid #aaaaaa !important
}

/* Desktop Inline Search Styling */
.search-container-inline {
    position: relative;
}

.search-container-inline .form-control {
    font-size: 16px;
    height: 60px;
    min-height: 60px;
}

.search-container-inline .form-control::placeholder {
    font-size: 15px;
    color: #6c757d;
    opacity: 0.8;
}

.search-container-inline .form-control:focus {
    border-color: var(--primary-color, #54a8c7);
    box-shadow: 0 0 0 0.2rem rgba(84, 168, 199, 0.25);
}

.search-results-inline {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.search-results-inline .item {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-results-inline .item:hover {
    background-color: #f8f9fa;
}

.search-results-inline .item:last-child {
    border-bottom: none;
}

.search-results-inline .mini-image img {
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.search-results-inline .search_btn {
    background: transparent;
    border: none;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    padding: 4px 8px;
}

.search-results-inline .item:hover .search_btn {
    opacity: 1;
}

.search-results-inline .search_btn:hover {
    background-color: #f8f9fa;
    border-radius: 4px;
}

/* Search dropdown scrollbar styling */
.search-results-inline::-webkit-scrollbar {
    width: 6px;
}

.search-results-inline::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.search-results-inline::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.search-results-inline::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Unified Search Styling */
.unified-search-container {
    /* Remove max-width constraint to let it expand naturally */
    margin: 0 auto;
    padding: 5px 0;
    min-width: 300px;
    /* Ensure minimum usable width */
}

.search-container-unified .select2-container {
    border-radius: 25px;
    border: none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    /* MD3 Elevation 1 */
    width: 100% !important;
    position: relative;
    transition: box-shadow 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.search-container-unified .select2-selection {
    min-height: 45px !important;
    height: 45px !important;
    border: none !important;
    border-radius: 25px !important;
    background: #ffffff !important;
    padding-left: 45px !important;
    /* Space for search icon */
}

.search-container-unified .select2-selection:focus-within {
    border-color: transparent !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    /* MD3 Elevation 2 */
}

.search-container-unified .select2-selection__placeholder {
    color: #6c757d !important;
    font-size: 16px !important;
    line-height: 41px !important;
    padding-left: 45px !important;
    /* Space for search icon */
    display: block !important;
}

.search-container-unified .select2-selection__rendered {
    padding-left: 45px !important;
    /* Space for search icon */
    padding-right: 30px !important;
    line-height: 41px !important;
    font-size: 16px !important;
    color: #6c757d !important;
    /* Placeholder color */
}

/* When search is focused, show the input field */
.search-container-unified .select2-container--open .select2-selection__rendered {
    color: #333 !important;
}

/* Style the dropdown search field */
.search-container-unified .select2-dropdown .select2-search__field {
    padding-left: 45px !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: 15px center !important;
    background-size: 16px !important;
}

/* Add search icon inside the field */
.search-container-unified .select2-container:before {
    content: "\ea58";
    /* Unicons search icon */
    font-family: "Unicons";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 10;
    font-size: 18px;
    pointer-events: none;
}

.search-container-unified .select2-selection__clear {
    margin-right: 15px !important;
    margin-top: 11px !important;
}

.search-container-unified .select2-search--dropdown .select2-search__field {
    height: 40px !important;
    font-size: 16px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
}

.search-container-unified .select2-dropdown {
    border-radius: 12px !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    margin-top: 5px !important;
}

.search-container-unified .select2-search--dropdown .select2-search__field {
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
}

.search-container-unified .select2-results__option {
    padding: 0 !important;
    border-bottom: 1px solid #f0f0f0;
}

.search-container-unified .select2-results__option:last-child {
    border-bottom: none;
}

.search-container-unified .select2-results__option--highlighted {
    background-color: #f8f9fa !important;
    color: inherit !important;
}

.search-container-unified .select2-result-suggestion,
.search-container-unified .select2-result-product {
    padding: 12px 16px;
    transition: background-color 0.2s ease;
}

.search-container-unified .select2-result-suggestion:hover,
.search-container-unified .select2-result-product:hover {
    background-color: #f8f9fa;
}

.search-container-unified .product-thumb {
    border: 1px solid #e9ecef;
    object-fit: cover;
}

.search-container-unified .copy-search-btn {
    background: transparent !important;
    border: 1px solid #dee2e6 !important;
    opacity: 0.7;
    transition: all 0.2s ease;
    padding: 4px 8px !important;
    font-size: 12px !important;
}

.search-container-unified .copy-search-btn:hover {
    opacity: 1;
    background-color: #f8f9fa !important;
    border-color: #adb5bd !important;
}

/* Responsive adjustments - Desktop only unified search */
.unified-search-container {
    display: none;
    /* Hidden by default */
}

@media (min-width: 992px) {
    .unified-search-container {
        display: flex !important;
        /* Show only on desktop */
    }

    /* Hide old desktop search icon */
    .desktop-search {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .unified-search-container {
        display: none !important;
        /* Force hide on mobile */
    }
}

/* Loading state */
.search-container-unified .select2-results__message {
    padding: 20px;
    text-align: center;
    color: #6c757d;
}

/* Enhanced product result styling */
.search-container-unified .product-name {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 2px;
}

.search-container-unified .price {
    font-weight: 600;
    font-size: 13px;
}

/* Custom Suggestions Dropdown Styling */
#search-suggestions .suggestion-item {
    transition: background-color 0.2s ease;
}

#search-suggestions .suggestion-item:hover {
    background-color: #f8f9fa !important;
}

#search-suggestions .suggestion-item:last-child {
    border-bottom: none !important;
}

/* Scrollbar styling for suggestions */
#search-suggestions::-webkit-scrollbar {
    width: 6px;
}

#search-suggestions::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#search-suggestions::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#search-suggestions::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Mobile Search Suggestions Styling */
#mobile-search-suggestions .mobile-suggestion-item {
    transition: background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

#mobile-search-suggestions .mobile-suggestion-item:hover,
#mobile-search-suggestions .mobile-suggestion-item:active {
    background-color: #f8f9fa !important;
}

#mobile-search-suggestions .mobile-suggestion-item:last-child {
    border-bottom: none !important;
}

/* Mobile scrollbar styling */
#mobile-search-suggestions::-webkit-scrollbar {
    width: 6px;
}

#mobile-search-suggestions::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#mobile-search-suggestions::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#mobile-search-suggestions::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Tablet and Mobile-specific improvements */
@media (max-width: 991px) {
    .mobile-search-input-container input {
        -webkit-appearance: none;
        border-radius: 25px;
        font-size: 16px !important;
        /* Prevent zoom on iOS */
    }

    .mobile-search-input-container input:focus {
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Tablet-specific search adjustments (768px-991px) */
@media (min-width: 768px) and (max-width: 991px) {

    /* Ensure unified search container shows on tablet */
    .unified-search-container {
        margin-left: 1.5rem !important;
        margin-right: 1.5rem !important;
    }

    /* Adjust desktop search input for tablet */
    .unified-search-container input {
        height: 42px !important;
        font-size: 15px !important;
        padding-left: 40px !important;
    }

    /* Adjust search icon for tablet */
    .unified-search-container span {
        font-size: 16px !important;
        left: 13px !important;
    }

    /* Ensure suggestions dropdown works well on tablet */
    .unified-search-container #search-suggestions {
        max-height: 380px;
        border-radius: 10px;
    }
}

/* Extra small devices and phones (below 768px) */
@media (max-width: 767px) {
    .mobile-search-input-container input {
        height: 50px !important;
        padding-left: 50px !important;
        font-size: 16px !important;
    }
}

/* ============================================
   HOMEPAGE UI IMPROVEMENTS - AfnoBazar 2025
   ============================================ */

/* --- 1. PRODUCT CARD IMPROVEMENTS --- */

/* Modern Discount Badge - Sale Tag */
.sale_tag,
.badge-discount,
.product-bg .badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 6px 10px !important;
    border-radius: 0 0 8px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 8px rgba(238, 90, 90, 0.3) !important;
}

/* Amazon-style Add to Cart Button */
.add_to_cart.btn,
.product-content .add_to_cart,
.add_to_cart.btn-outline-primary {
    background: #FFD814 !important;
    border: 1px solid #FCD200 !important;
    color: #0F1111 !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
    border-radius: 20px !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

.add_to_cart.btn:hover,
.product-content .add_to_cart:hover {
    background: #F7CA00 !important;
    border-color: #F2C200 !important;
    color: #0F1111 !important;
    box-shadow: 0 2px 5px rgba(15, 17, 17, 0.15) !important;
}

/* Amazon-style btn-yellow (Product Detail Page Add to Cart) */
.btn-yellow,
.btn.btn-yellow {
    --bs-btn-bg: #FFD814 !important;
    --bs-btn-border-color: #FCD200 !important;
    --bs-btn-color: #0F1111 !important;
    --bs-btn-hover-bg: #F7CA00 !important;
    --bs-btn-hover-border-color: #F2C200 !important;
    --bs-btn-hover-color: #0F1111 !important;
    background: #FFD814 !important;
    border: 1px solid #FCD200 !important;
    color: #0F1111 !important;
}

.btn-yellow:hover,
.btn.btn-yellow:hover {
    background: #F7CA00 !important;
    border-color: #F2C200 !important;
    color: #0F1111 !important;
}

/* Amazon-style item-cart overlay (product card hover) */
.item figure .item-cart,
.swiper-slide figure .item-cart {
    background: #FFD814 !important;
    color: #0F1111 !important;
}

.item figure .item-cart:hover,
.swiper-slide figure .item-cart:hover {
    background: #F7CA00 !important;
    color: #0F1111 !important;
}

/* Buy Now Button - Orange style */
.buy_now,
.buy_now.btn,
.buy_now.btn-danger {
    background: #ff6200 !important;
    border: 1px solid #e55800 !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.buy_now:hover,
.buy_now.btn:hover,
.buy_now.btn-danger:hover {
    background: #e55800 !important;
    border-color: #cc4e00 !important;
    color: #fff !important;
}

/* Better Price Typography */
.product-content .price,
.price.text-muted {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
}

.product-content .striped-price,
.striped-price,
del {
    color: #999 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

/* Product Card Hover Effect - Actual classes */
.product-bg,
.swiper-slide.product-bg {
    transition: all 0.3s ease !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.product-bg:hover,
.swiper-slide.product-bg:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-3px) !important;
}

/* Product title styling */
.product-content .title.post-title,
h4.title.post-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
}

/* --- 2. SECTION HEADERS IMPROVEMENTS --- */

/* Section title with underline accent */
h3.section-title,
.section-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #1a1a2e !important;
    position: relative !important;
    display: inline-block !important;
    padding-bottom: 10px !important;
}

h3.section-title::after,
.section-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 50px !important;
    height: 3px !important;
    background: linear-gradient(90deg, var(--primary-color), #9b59b6) !important;
    border-radius: 2px !important;
}

/* Subtitle styling */
h6.title-sm,
.title-sm.text-muted {
    font-size: 14px !important;
    color: #666 !important;
    margin-top: 8px !important;
}

/* Default heading styling */
.default_heading h3 {
    font-weight: 700 !important;
    color: #1a1a2e !important;
}

/* View More/All Link - Only in section headers, NOT footer */
.default_heading a.hover,
section:not(footer *) .container a.hover.link-body {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.default_heading a.hover:hover,
section:not(footer *) .container a.hover.link-body:hover {
    color: #4a1d6e !important;
}

/* --- 3. BRANDS SECTION IMPROVEMENTS --- */

.brand_image_div {
    transition: all 0.3s ease !important;
}

.brand_image_div img {
    transition: all 0.3s ease !important;
    border-radius: 50% !important;
    object-fit: contain !important;
}

.brand_image_div:hover {
    transform: scale(1.05) !important;
}

.brand_image_div:hover img {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* --- 4. REDUCE WHITE SPACE --- */

/* Reduce vertical margins between sections */
.my-6 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.my-8 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

/* Tighter section spacing */
section.wrapper {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* Category section spacing */
.category-swiper {
    padding: 10px 0 !important;
}

/* Slider section */
.slider.container {
    margin-bottom: 10px !important;
}

/* --- 5. PROMOTIONAL BANNERS --- */

.slider .swiper-slide .slide-img img,
.slide-img img {
    border-radius: 12px !important;
}

/* Spin wheel banner styling */
.spin-wheel-banner {
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* --- 6. MOBILE OPTIMIZATIONS --- */

@media (max-width: 767px) {

    /* Smaller discount badge on mobile */
    .sale_tag {
        font-size: 10px !important;
        padding: 4px 8px !important;
    }

    /* Tighter mobile spacing */
    .my-6 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }

    /* Section headers on mobile */
    h3.section-title,
    .section-title {
        font-size: 1.25rem !important;
    }

    h3.section-title::after,
    .section-title::after {
        width: 40px !important;
    }

    /* Product cards on mobile */
    .product-bg {
        border-radius: 10px !important;
    }

    .product-content .price {
        font-size: 15px !important;
    }

    .add_to_cart.btn {
        padding: 6px 16px !important;
        font-size: 12px !important;
    }

    /* Product title on mobile */
    .product-content .title.post-title {
        font-size: 12px !important;
    }
}

/* --- 7. PAGINATION DOTS IMPROVEMENT --- */

.swiper-pagination-bullet {
    width: 6px !important;
    height: 6px !important;
    background: #ccc !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    border-radius: 50% !important;
    margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    width: 20px !important;
    border-radius: 10px !important;
    /* Pill shape */
}

/* Product swiper pagination override if needed */
.product-swiper-pagination .swiper-pagination-bullet {
    width: 6px !important;
    height: 6px !important;
}

.product-swiper-pagination .swiper-pagination-bullet-active {
    width: 20px !important;
}

/* --- 8. CATEGORY ICONS SECTION --- */

.swiper-slide-category {
    background: transparent !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
}

.swiper-slide-category img {
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease !important;
    object-fit: contain !important;
    background: #fff !important;
    border: 1px solid #f0f0f0 !important;
}

.swiper-slide-category:hover {
    transform: translateY(-3px) !important;
}

.swiper-slide-category:hover img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12) !important;
}

.swiper-slide-category h6 {
    font-weight: 600 !important;
    color: #333 !important;
    font-size: 12px !important;
    margin-top: 8px !important;
}

/* --- 9. SHADOW IMPROVEMENTS --- */

.shadow-xl {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

.shadow-xl:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

/* --- 10. CARD BODY IMPROVEMENTS --- */

.card-body.my-4 {
    padding: 1rem !important;
}

/* ============================================
   END HOMEPAGE UI IMPROVEMENTS
   ============================================ */

/* ============================================
   COMPACT MOBILE HEADER - Modern E-commerce Design
   Version: 2.0
   Updated: December 2024
   ============================================ */

/* Hide desktop header on mobile */
@media (max-width: 767.98px) {
    .navbar.d-none.d-md-block {
        display: none !important;
    }

    /* Hide old mobile searchbar if exists */
    .mobile-searchbar {
        display: none !important;
    }
}

/* Mobile Compact Header Container */
.mobile-compact-header {
    background: #ffffff;
    padding: 6px 12px 2px 12px;
}

/* Row 1: Logo + Icons */
.mobile-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

/* Mobile Logo */
.mobile-logo {
    flex: 0 0 auto;
}

.mobile-logo a {
    display: block;
    text-decoration: none;
}

.mobile-logo-img {
    height: 32px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

/* Mobile Header Icons */
.mobile-header-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-icon-link:hover,
.mobile-icon-link:active {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-color, #54a8c7);
}

.mobile-icon-link i {
    font-size: 22px;
}

/* Cart Badge */
.mobile-cart-icon {
    position: relative;
}

.mobile-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    color: #fff;
    background: var(--primary-color, #54a8c7);
    border-radius: 9px;
}

.mobile-cart-badge:empty {
    display: none;
}

/* Compare Badge */
.mobile-compare-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    color: #fff;
    background: var(--primary-color, #54a8c7);
    border-radius: 9px;
}

.mobile-compare-badge:empty {
    display: none;
}

/* Row 2: Search Bar - Scroll-based sticky on mobile */
.mobile-search-row {
    background: #ffffff;
    padding: 6px 12px 10px 12px;
}

@media (max-width: 767.98px) {

    /* Normal state - flows with content */
    .mobile-search-row {
        position: relative;
        box-shadow: none;
    }

    /* When scrolled - becomes fixed at top */
    .mobile-search-row.is-fixed {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1020;
        padding-top: 12px;
        padding-bottom: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            transform: translateY(-100%);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* Placeholder to prevent content jump */
    .mobile-search-placeholder {
        height: 62px;
        display: none;
    }

    .mobile-search-placeholder.show {
        display: block;
    }
}

.mobile-search-wrapper {
    position: relative;
    width: 100%;
}

.mobile-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
    pointer-events: none;
    z-index: 5;
}

.mobile-search-input {
    width: 100%;
    height: 42px;
    padding: 0 15px 0 44px;
    font-size: 14px;
    color: #333;
    background: #f5f5f5;
    border: 1.5px solid transparent;
    border-radius: 21px;
    outline: none;
    transition: all 0.2s ease;
}

.mobile-search-input::placeholder {
    color: #999;
    font-size: 13px;
}

.mobile-search-input:focus {
    background: #fff;
    border-color: var(--primary-color, #54a8c7);
    box-shadow: 0 0 0 3px rgba(84, 168, 199, 0.15);
}

/* Mobile Search Suggestions */
.mobile-search-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1050;
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-search-suggestions .mobile-suggestion-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.15s ease;
}

.mobile-search-suggestions .mobile-suggestion-item:hover,
.mobile-search-suggestions .mobile-suggestion-item:active {
    background: #f8f9fa;
}

.mobile-search-suggestions .mobile-suggestion-item:last-child {
    border-bottom: none;
}

/* Scrollbar for suggestions */
.mobile-search-suggestions::-webkit-scrollbar {
    width: 4px;
}

.mobile-search-suggestions::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-search-suggestions::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

/* ============================================
   MOBILE CATEGORY SECTION OPTIMIZATION
   ============================================ */

@media (max-width: 767.98px) {

    /* Compact category section on mobile */
    .category-swiper-container,
    .swiper-slide-category {
        padding: 0 !important;
    }

    /* Category card container */
    .swiper-slide-category {
        width: 80px !important;
        min-width: 80px !important;
        max-width: 80px !important;
        text-align: center;
        overflow: hidden;
    }

    /* Constrain brand_image_div to fit within slide */
    .swiper-slide-category .brand_image_div {
        width: 80px !important;
        max-width: 80px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .swiper-slide-category a {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
    }

    .swiper-slide-category img {
        height: 60px !important;
        width: 60px !important;
        border-radius: 12px !important;
        object-fit: cover;
    }

    /* Category name - same font as desktop */
    .swiper-slide-category h6 {
        font-family: Manrope, sans-serif !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 18.6px !important;
        letter-spacing: -0.2px !important;
        margin-top: 6px !important;
        max-width: 78px;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        word-break: break-word;
        text-align: center;
        color: #333 !important;
    }

    .category-image-container {
        height: 60px !important;
        width: 60px !important;
    }

    /* Category section container padding */
    section.mt-3>.container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Category swiper spacing - compact for mobile */
    .category-swiper {
        padding: 5px 0 0 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        height: auto !important;
    }

    /* Remove all CSS margins - let Swiper handle spacing via spaceBetween */
    .category-swiper .swiper-slide {
        margin: 0 !important;
        height: auto !important;
    }

    /* Remove mx-2 margin from brand_image_div on mobile */
    .category-swiper .brand_image_div.mx-2,
    .swiper-slide-category .brand_image_div.mx-2 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Swiper wrapper - auto height to fit content */
    .category-swiper .swiper-wrapper {
        padding: 0 !important;
        height: auto !important;
        align-items: flex-start !important;
    }

    /* Category swiper controls - tight to content */
    .category-swiper .swiper-controls {
        position: relative !important;
        margin-top: 8px !important;
        height: auto !important;
    }

    .category-swiper .swiper-controls .swiper-pagination {
        position: relative !important;
        bottom: auto !important;
        top: auto !important;
    }

    /* Reduce category section vertical space */
    .category-section,
    section.category-section {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* ================================================
       SWIPER VERTICAL SPACING FIXES FOR MOBILE
       ================================================ */

    /* Hero/Banner slider - reduce space below banner */
    section.slider {
        padding-bottom: 0 !important;
    }

    section.slider .pb-md-1 {
        padding-bottom: 0 !important;
    }

    .swiper-slide-container {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Hero slider controls - tight spacing */
    section.slider .swiper-controls,
    .swiper-slide-container+.swiper-controls,
    .pb-md-1>.swiper-controls {
        margin-top: 8px !important;
        padding: 0 !important;
        position: relative !important;
    }

    .slide-swiper-pagination {
        position: relative !important;
        bottom: auto !important;
        margin-top: 0 !important;
        padding: 0 !important;
    }

    /* Product/Brand swipers - reduce spacing */
    .mySwiper {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .mySwiper .swiper-wrapper {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Product swiper controls - tight spacing */
    .mySwiper+.swiper-controls,
    .mySwiper~.swiper-controls {
        margin-top: 8px !important;
        padding: 0 !important;
        position: relative !important;
    }

    .product-swiper-pagination {
        position: relative !important;
        bottom: auto !important;
        margin-top: 0 !important;
        padding: 0 !important;
    }

    /* All swiper controls - compact */
    .swiper-controls {
        min-height: auto !important;
        height: auto !important;
    }

    /* Swiper wrapper my-6 margin override for mobile */
    .swiper-wrapper.my-6 {
        margin-top: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    /* Product section spacing */
    .product-styl {
        padding-bottom: 8px !important;
        margin-bottom: 8px !important;
    }

    /* ================================================
       END SWIPER VERTICAL SPACING FIXES
       ================================================ */

    /* Hide desktop app banner row on mobile - use mobile-specific top bar */
    .bg-gradient-reverse-primary {
        padding: 6px 0 !important;
        font-size: 12px !important;
    }

    .bg-gradient-reverse-primary .fs-22,
    .bg-gradient-reverse-primary .fs-20 {
        font-size: 18px !important;
    }

    .bg-gradient-reverse-primary .fs-16 {
        font-size: 12px !important;
    }

    /* Compact language dropdown */
    .language-select .dropdown-toggle {
        font-size: 11px !important;
        padding: 2px 4px !important;
    }

    /* Fix: Top bar dropdown should appear above search and right-aligned */
    .bg-gradient-reverse-primary {
        position: relative;
        z-index: 1040 !important;
    }

    .bg-gradient-reverse-primary .nav-item.dropdown,
    .bg-gradient-reverse-primary .nav-item.dropdown.active {
        position: relative !important;
    }

    .bg-gradient-reverse-primary .dropdown-menu,
    .bg-gradient-reverse-primary .dropdown-menu.dropdown-menu-lg {
        z-index: 1050 !important;
        position: absolute !important;
        top: 100% !important;
        right: -10px !important;
        left: auto !important;
        transform: none !important;
        margin-top: 6px !important;
        min-width: 170px !important;
        max-width: 190px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
        border-radius: 8px !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        background: #fff !important;
        padding: 6px 0 !important;
    }

    .bg-gradient-reverse-primary .dropdown-menu .dropdown-item {
        padding: 8px 14px !important;
        font-size: 13px !important;
        display: flex !important;
        align-items: center !important;
        line-height: 1.3 !important;
    }

    .bg-gradient-reverse-primary .dropdown-menu .dropdown-item i {
        font-size: 16px !important;
        width: 22px !important;
        margin-right: 6px !important;
    }
}

/* ============================================
   MOBILE OVERALL SPACING OPTIMIZATION
   ============================================ */

@media (max-width: 767.98px) {

    /* Reduce top padding after header */
    .content-wrapper>header+* {
        margin-top: 0 !important;
    }

    /* Compact sections on mobile */
    section.wrapper {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    /* Override Bootstrap margin utilities for mobile */
    section.wrapper.my-5,
    section.wrapper.mt-md-5,
    section.wrapper.mt-md-8 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Featured sections - tighter spacing */
    .product-styl {
        margin-top: 8px !important;
        margin-bottom: 8px !important;
    }

    /* Slider section compact */
    section.slider {
        margin-bottom: 8px !important;
    }

    section.slider .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    /* Product grid tighter spacing */
    .grid.grid-view.shop .row {
        margin-left: -4px !important;
        margin-right: -4px !important;
    }

    .grid.grid-view.shop .row>[class*="col-"] {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    /* Reduce offer image margins and fix height */
    .offer-img,
    img.offer-image {
        height: auto !important;
        margin-top: 8px !important;
        margin-bottom: 8px !important;
        border-radius: 8px !important;
    }

    .offer-img img {
        width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
    }

    /* Featured section title compact */
    .featured-section-title {
        margin: 12px 0 8px 0 !important;
        font-size: 16px !important;
    }

    /* Default heading compact */
    .default_heading h3 {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }

    .default_heading h6 {
        font-size: 11px !important;
    }

    /* Container padding */
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* ============================================
   END COMPACT MOBILE HEADER
   ============================================ */

/* ============================================
   MOBILE OPTIMIZATIONS (ADDED BY AGENT)
   ============================================ */

/* Hide mobile-only elements on desktop */
.mobile-action-row {
    display: none !important;
}

@media (max-width: 575px) {


    /* 1. COMPACT Product Grid (Aggressive) */
    .project.item.col-6 {
        padding-left: 4px !important;
        padding-right: 4px !important;
        margin-bottom: 8px !important;
    }

    .project.item.col-6 figure {
        margin-bottom: 0 !important;
        /* Removed bottom margin from figure */
    }

    /* Hide desktop hover elements AND the "Add to Cart" button on mobile to save space */
    .project.item.col-6 .desktop_quick_view,
    .project.item.col-6 .add_to_cart,
    .project.item .add_to_cart,
    .product-content .add_to_cart,
    a.add_to_cart,
    button.add_to_cart,
    .add_to_cart.btn,
    .style_3 .add_to_cart,
    .style_2 .add_to_cart {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Restore Add to Cart on Product Detail Page (was hidden globally) */
    .product-page-div .add_to_cart,
    .product-page-div button.add_to_cart,
    body.product-details-page .add_to_cart {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        width: auto !important;
        padding: 0.25rem 0.5rem !important;
        margin: 0 !important;
    }

    /* Adjust Floating Progress / Scroll to Top on Mobile to sit ABOVE the Smart Banner */
    .progress-wrap,
    .active-progress,
    #scroll-up,
    .fixed-icon {
        display: block !important;
        bottom: 95px !important;
        /* Move it up to clear the banner (approx 75px + 20px gap) */
        z-index: 999 !important;
        opacity: 1 !important;
    }

    /* Collapse the card body spacing */
    .project.item.col-6 .card-body.my-4 {
        margin-top: 4px !important;
        margin-bottom: 4px !important;
        padding: 0 !important;
    }

    .project.item.col-6 .post-header {
        padding: 0 2px !important;
    }

    /* --- Mobile Product Detail Page (PDP) Optimizations --- */

    /* 1. Compact Image Slider to bring title/price above fold */
    .product-preview-image-section-sm .swiper-slide img {
        max-height: 350px !important;
        /* Cap height */
        width: auto !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }

    /* 2. Full Width Block Buttons for easier tapping */
    .product-page-div {
        flex-direction: column !important;
        /* Stack buttons vertically */
        gap: 10px !important;
        width: 100% !important;
    }

    .product-page-div .add_to_cart,
    .product-page-div .buy_now,
    .product-page-div .btn-yellow,
    .product-page-div .btn-danger,
    .product-page-div button.add_to_cart,
    .product-page-div button.buy_now {
        /* width: 100% !important; REMOVED to allow side-by-side */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 48px !important;
        /* Fixed height for uniformity */
        padding: 0 16px !important;
        font-size: 16px !important;
        margin: 0 !important;
        border-radius: 50px !important;
        /* Pill Shape */
        border: 2px solid transparent !important;
        text-transform: capitalize !important;
        font-weight: 600 !important;
        box-shadow: none !important;
        line-height: 1 !important;
        outline: none !important;
    }

    /* Horizontal row for Quantity, Compare, and Like buttons */
    .num-block.skin-2 {
        display: inline-flex !important;
        padding: 8px 0 !important;
        margin-right: 10px !important;
        vertical-align: middle !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }

    /* Container flex wrap to put Qty/Compare/Like in same row */
    /* Container flex wrap to put Qty/Compare/Like in same row */
    .product-page-div {
        flex-wrap: wrap !important;
        flex-direction: row !important;
        /* Allow side-by-side */
        align-items: center !important;
    }

    /* Make Compare and Like inline, NOT full width */
    .product-page-div .compare,
    .product-page-div .item-like,
    .product-page-div .add-to-fav-btn,
    .product-page-div button.compare,
    .product-page-div button.item-like {
        width: auto !important;
        min-width: 48px !important;
        height: 48px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        vertical-align: middle !important;
        margin-right: 8px !important;
        flex-shrink: 0 !important;
        order: -1 !important;
        /* Move before Add to Cart */
    }

    /* Add to Cart and Buy Now side-by-side */
    .product-page-div .add_to_cart,
    .product-page-div .buy_now,
    .product-page-div a.btn-yellow {
        order: 10 !important;
        /* Push to end */
        flex: 1 !important;
        /* Equal width side-by-side */
        min-width: 0 !important;
        margin: 0 !important;
        width: auto !important;
        /* Ensure generic button width 100% doesn't override */
    }

    /* Hide original Compare and Like buttons on mobile (duplicates) */
    .product-page-div .compare:not(.mobile-compare-btn),
    .product-page-div .item-like:not(.mobile-like-btn),
    .product-page-div #compare:not(.mobile-compare-btn),
    .product-page-div .add-to-fav-btn:not(.mobile-like-btn) {
        display: none !important;
    }

    /* Show mobile action row only on mobile */
    .mobile-action-row {
        display: flex !important;
        align-items: center !important;
        /* Vertical center all items */
        gap: 10px !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }

    /* Quantity selector in action row */
    .mobile-action-row .num-block {
        padding: 0 !important;
        margin: 0 !important;
        height: 44px !important;
        flex: 1 !important;
        /* Equal width */
        min-width: 0 !important;
    }

    .mobile-action-row .num-block .num-in {
        height: 44px !important;
        max-height: 44px !important;
        padding: 0 4px !important;
        /* Reduced padding */
        border-radius: 25px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: none !important;
        width: 100% !important;
    }

    /* Reset plus/minus spacing */
    .mobile-action-row .num-block .minus,
    .mobile-action-row .num-block .plus {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
        width: 30px !important;
        margin: 0 !important;
    }

    .mobile-action-row .mobile-compare-btn,
    .mobile-action-row .mobile-like-btn {
        min-width: 0 !important;
        /* Reset minimum width */
        flex: 1 !important;
        /* Equal width */
        height: 44px !important;
        max-height: 44px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 25px !important;
        /* Pill shape */
        margin: 0 !important;
        box-sizing: border-box !important;
        line-height: 1 !important;
    }

    /* Fix icon sizes inside buttons */
    .mobile-action-row .mobile-compare-btn i,
    .mobile-action-row .mobile-like-btn i {
        font-size: 18px !important;
        line-height: 1 !important;
    }

    /* 3. Reduce vertical spacing on main container */
    .container.main-content.mt-4.mb-10 {
        margin-top: 1rem !important;
        /* Reduced from mt-4 */
        margin-bottom: 2rem !important;
        /* Reduced from mb-10 */
    }

    /* Compact Breadcrumbs */
    .breadcrumb {
        font-size: 12px !important;
        margin-bottom: 5px !important;
    }

    /* --- Global Distraction-Free Mobile UI (All pages except Homepage) --- */
    /* Hides Logo/Nav/Footer on PDP, PLP, Cart, etc. */
    body.inner-page .mobile-header-row,
    body.inner-page .mobile-compact-header .logo-container,
    body.inner-page .breadcrumb,
    body.inner-page footer {
        display: none !important;
    }

    /* Hide Search Bar on Inner Pages (User Request) */
    body.inner-page .mobile-search-row,
    body.inner-page #mobile-search-row,
    body.inner-page #mobile-search-placeholder,
    body.inner-page .navbar-clone {
        display: none !important;
        height: 0 !important;
        visibility: hidden !important;
    }

    /* Remove "Breadcrumb Space" / Top Gap */
    /* Target the specific section wrapper causing the gray gap */
    body.inner-page .wrapper.bg-soft-grape {
        display: none !important;
    }

    /* Collapse the top margin of the main content container */
    body.inner-page .main-content,
    body.inner-page .main-content.mt-4 {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Remove padding/margin from body or top wrapper */
    body.inner-page .wrapper {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    /* Read More / Read Less Styles */
    .short-description-text {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 4px !important;
    }

    .short-description-text.expanded {
        -webkit-line-clamp: unset;
    }

    .read-more-short {
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        display: inline-block;
        margin-bottom: 10px;
    }

    .description-container {
        position: relative;
    }

    .description-content {
        transition: max-height 0.3s ease;
    }

    .description-fade-overlay {
        position: absolute;
        bottom: 35px;
        /* Above the button */
        left: 0;
        width: 100%;
        height: 80px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
        pointer-events: none;
        z-index: 10;
        display: none;
        /* JS will show if needed */
    }

    .description-container.expanded .description-content {
        max-height: none !important;
    }

    .description-container.expanded .description-fade-overlay {
        display: none !important;
    }

    /* Optimize Product Title for Mobile */
    .post-header .post-title,
    .post-header .post-title a {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    /* Hide Tags Section on Mobile */
    .product-tags-container,
    .product-tags-container.d-flex {
        display: none !important;
    }


    /* Reduce gap between title and price */
    .post-header.mb-5 {
        margin-bottom: 1.5rem !important;
        /* Reduced from mb-5 */
    }

    .project.item.col-6 .post-title,
    .swiper-slide .post-title {
        font-size: 12px !important;
        /* Smaller title */
        font-weight: 500 !important;
        line-height: 1.25 !important;
        height: 32px !important;
        /* Line Clamp implementation for 2 lines with ellipsis */
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: normal !important;
        margin-top: 2px !important;
        margin-bottom: 0 !important;
    }

    .project.item.col-6 .product-content {
        margin-top: 0 !important;
        /* Remove extra top margin */
    }

    .project.item.col-6 .price {
        font-size: 13px !important;
        /* Smaller price */
        margin-bottom: 0 !important;
    }

    .project.item.col-6 .rating {
        transform: scale(0.8);
        transform-origin: left;
        margin-bottom: 0 !important;
        /* Remove rating bottom margin */
    }

    /* Remove rating container spacing */
    .project.item.col-6 .rating-container {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Aggressively reduced image height */
    .fig_image.image-fit {
        height: 160px !important;
        /* Increased from 135px */
        object-fit: contain !important;
        /* Changed from cover to show full image */
        border-radius: 6px !important;
        padding: 0 !important;
        /* Removed padding to maximize size */
    }

    /* Center the rest */
    .footer-logo-footer {
        text-align: center;
        margin: 0 auto 15px auto;
    }

    .widget.text-center.text-lg-start {
        text-align: center !important;
    }

    .d-flex.justify-content-lg-start {
        justify-content: center !important;
    }

    /* Make Download App section compact */
    .widget-title {
        margin-top: 15px !important;
    }

    /* PREMIUM CARD STYLE FOR MOBILE (Compact Amazon/Flipkart Style) */
    .project.item.col-6 {
        display: flex !important;
        flex-direction: column !important;
        background: #fff !important;
        border: 1px solid #f0f0f0 !important;
        /* Lighter border */
        border-radius: 8px !important;
        /* MD3 small radius */
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
        /* Soft shadow */
        padding: 5px !important;
        /* Reduced padding for larger content area */
        overflow: hidden !important;

        /* Spacing Fix: Reduce width slightly to create gap */
        width: 48.5% !important;
        margin: 0 0.75% 8px 0.75% !important;
        /* Tighter grid */
    }

    .project.item.col-6 .default-style {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Optimized Image for Compact Card */
    .fig_image.image-fit {
        height: 210px !important;
        /* Increased height to 210px */
        width: 100% !important;
        /* Force full width */
        object-fit: cover !important;
        object-position: top !important;
        /* Prevent cutting off top (heads/caps) */
        border-radius: 6px !important;
        padding: 0 !important;
        margin-bottom: 4px !important;
    }

    /* Tighter Title Typography */
    .project.item.col-6 .post-title,
    .project.item.col-6 .post-title a,
    .swiper-slide .post-title,
    .swiper-slide .post-title a {
        font-size: 11px !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
        height: auto !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        margin-top: 2px !important;
        margin-bottom: 2px !important;
        color: #333 !important;
        -webkit-line-clamp: unset !important;
        /* Disable clamp */
    }

    /* Price Styling */
    .project.item.col-6 .price {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #B12704 !important;
        /* Amazon price color */
        margin-bottom: 0 !important;
        line-height: 1.2 !important;
    }

    .project.item.col-6 .price small {
        font-size: 10px !important;
    }



    /* Mobile Rating Badge (Flipkart Style) */
    .mobile-rating-badge {
        position: absolute;
        bottom: 6px;
        left: 6px;
        background: #fff;
        border-radius: 2px;
        /* Slight rounding */
        padding: 4px 6px;
        font-size: 12px;
        font-weight: 700;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        gap: 2px;
        z-index: 5;
        line-height: 1;
        color: #000;
    }

    .mobile-rating-badge .fa-star {
        font-size: 10px;
        color: #388e3c !important;
        /* Flipkart Green */
        margin-left: 1px;
    }

    .mobile-rating-badge .rating-count {
        font-size: 10px;
        color: #878787;
        margin-left: 2px;
        font-weight: 500;
    }

    /* Hide old rating on mobile */
    .project.item.col-6 .rating-container,
    .project.item.col-6 .rating,
    .swiper-slide .rating-container,
    .swiper-slide .rating {
        display: none !important;
    }

}

/* --- Alignment & Overflow Fixes (Mobile) --- */
@media (max-width: 575px) {

    /* Prevent horizontal scroll globally */
    /* Prevent horizontal scroll globally */
    html,
    body {
        /* overflow-x: hidden !important; REMOVED to fix missing header buttons on homepage */
        width: 100% !important;
        position: relative !important;
    }

    /* Fix row negative margins causing bleed */
    /* Fix row negative margins causing bleed - Optimized for minimal spacing */
    .row {
        margin-left: -5px !important;
        margin-right: -5px !important;
    }

    /* Ensure specific containers don't overflow */
    .container,
    .container-fluid {
        padding-left: 5px !important;
        padding-right: 5px !important;
        /* overflow-x: hidden !important; REMOVED to fix homepage slider/content hiding */
    }

    /* Fix Description Tab Alignment */
    #product-tab,
    #nav-tabContent {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Fix Text Wrapping for Long Titles */
    .link-dark.text-decoration-none {
        white-space: normal !important;
        /* Allow wrapping */
        word-break: break-word !important;
        /* Break long words */
        display: block !important;
    }

    /* Ensure description content fits */
    .description-content {
        width: 100% !important;
        padding: 0 5px !important;
        box-sizing: border-box !important;
    }

    /* Hide COD Eligibility Message */
    .mobile-hidden-cod-msg {
        display: none !important;
    }

    /* Fix: Ensure Modal Footer (containing Sign In button) is visible on Inner Pages */
    body.inner-page .modal footer,
    body.inner-page .modal-footer {
        display: flex !important;
        /* or block depending on layout, flex is safer for buttons */
        visibility: visible !important;
        opacity: 1 !important;
    }

}

/* ============================================
   GLOBAL PREMIUM MODAL BUTTONS (Desktop & Mobile)
   ============================================ */
/* Side-by-side buttons (Pill style) */
.modal footer {
    display: flex !important;
    flex-direction: row !important;
    /* Horizontal */
    padding: 0 20px 20px !important;
    gap: 10px !important;
    justify-content: flex-end !important;
    /* Right align on desktop default? No, usually center or right. Let's keep flex-1 pills for mobile look globally as requested: "same ui in desktop" */
}

.modal footer button {
    width: auto !important;
    /* On desktop, maybe we don't want FULL width pills?
       User said "make SAME ui in desktop".
       If I use flex:1, on a wide desktop modal, they will be huge wide pills.
       Mobile modal is small width. Desktop modal is usually small width too (modal-sm or modal-md).
       Let's stick to flex:1 as user asked for "same UI".
    */
    flex: 1 !important;
    /* Equal width pills */
    margin: 0 !important;
    height: 44px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 0 !important;
}

/* Order: Cancel (Left), Sign In/Action (Right) */
/* Target ALL primary action buttons (Submit, Send OTP, Register, etc.) */
.modal footer .submit_btn,
.modal footer .btn-primary,
.modal footer #send-otp-button,
.modal footer #register_submit_btn {
    order: 2 !important;
}

.modal footer button[data-bs-dismiss="modal"],
.modal footer .btn-secondary,
.modal footer .btn-soft-dark {
    order: 1 !important;
}

/* Gradient Primary Button - Apply to ALL primary modal buttons */
.modal footer .submit_btn,
.modal footer .btn-primary,
.modal footer #send-otp-button,
.modal footer #register_submit_btn {
    background: linear-gradient(135deg, #FF6B00 0%, #FF9045 100%) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3) !important;
}

/* Soft Cancel Button */
.modal footer button[data-bs-dismiss="modal"],
.modal footer .btn-soft-dark {
    background: transparent !important;
    color: #999 !important;
    border: 1px solid #eee !important;
    box-shadow: none !important;
    text-transform: capitalize !important;
}

/* --- FINAL OVERRIDE: FORCE 1-LINE TITLE ON MOBILE --- */
@media (max-width: 768px) {
    .title_wrap {
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        height: 22px !important;
        /* Explicit fixed height for 14px font */
        line-height: 22px !important;
        max-height: 22px !important;
        white-space: normal !important;
        text-overflow: ellipsis !important;
    }
}

/* --- Fix Password Eye Icon Alignment --- */
.password-field {
    position: relative !important;
}

.password-toggle {
    position: absolute !important;
    top: 65% !important;
    /* Lowered from 50% to align with text in form-floating */
    right: 15px !important;
    transform: translateY(-50%) !important;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    /* height removed to prevent alignment issues */
}

/* Ensure icon size is reasonable */
.password-toggle i {
    font-size: 1.2rem;
    color: #888;
}

/* --- Match Sign Up Input Height & Width to Sign In --- */
/* 1. Force the Modal itself to be wider (Standard modal-sm is too narrow) */
#modal-signup .modal-dialog {
    max-width: 450px !important;
    /* Allows internal content to reach ~404px */
}

/* 2. Target inputs to match height of Sign In */
#modal-signup .form-control {
    height: 52px !important;
    /* Exact match to Sign In height */
    font-size: 16px;
}

/* Ensure the international phone input container also grows */
#modal-signup .intl-tel-input,
/* Correct class name found via inspection */
#modal-signup .iti {
    width: 100% !important;
    display: block !important;
}

#modal-signup .iti__container {
    height: 52px !important;
}

#modal-signup #phone-number {
    width: 100% !important;
}

/* --- Fix Sign Up Mobile Field Width --- */
#modal-signup #phone-number {
    width: 100% !important;
}

/* Ensure the intl-tel-input container is also full width */
#modal-signup .iti {
    width: 100% !important;
    display: block !important;
}

/* --- Fix Missing Flag Icons --- */
/* Force absolute path to CDN flags image to avoid relative path issues */
.intl-tel-input .iti-flag,
.iti .iti-flag {
    background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/11.0.9/img/flags.png") !important;
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .intl-tel-input .iti-flag,
    .iti .iti-flag {
        background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/11.0.9/img/flags@2x.png") !important;
    }
}

/* =========================================
   MATERIAL DESIGN 3 (MD3) OVERRIDES
   ========================================= */

/* --- 1. Global Shapes (Pills & Rounded Corners) --- */

/* Buttons: Pill Shape */
.btn {
    border-radius: 50px !important;
    padding-left: 24px;
    padding-right: 24px;
    letter-spacing: 0.5px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-xs,
.btn-sm {
    padding-left: 16px;
    padding-right: 16px;
}

.btn-icon {
    padding-left: 12px;
    padding-right: 12px;
    /* Ensure icon buttons are circular if square-ish */
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Exception: Long buttons with icons (like "Add to Cart") shouldn't be circles */
.btn-icon.btn-icon-start,
.btn-icon.text-start,
.btn-icon.w-100,
.btn-icon.flex-fill {
    border-radius: 50px !important;
    width: auto;
    height: auto;
}

/* Cards: Large Rounded Corners & Surface Color */
.card {
    border-radius: 20px !important;
    /* MD3 standard is ~16-24px */
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    background-color: #fff;
    /* Surface 1 */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Inputs: Rounded soft corners */
.form-control {
    border-radius: 12px !important;
    padding: 10px 16px;
    background-color: #f8f9fa;
    /* Surface Variant */
    border: 1px solid transparent !important;
    /* No border by default (filled style) */
    transition: background-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.2);
    border-color: var(--primary-color) !important;
}

.form-floating .form-control {
    border-radius: 16px !important;
}

/* Modals */
.modal-content {
    border-radius: 28px !important;
    /* MD3 Dialog shape */
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Helpers */
.rounded-lg {
    border-radius: 16px !important;
}

.rounded-xl {
    border-radius: 24px !important;
}

.rounded-pill-sm {
    border-radius: 100px !important;
}


/* --- 2. Product Detail Page (PDP) Specifics --- */

/* Main Gallery Image & Thumbnails */
.product-preview-image-section-md img,
.product-preview-image-section-sm img,
.product_main_image img,
.product_other_images {
    border-radius: 16px !important;
    /* Larger rounding for images */
}

/* Variant Selectors: Filter Chips Style */
.product-page-details .btn-group label.btn {
    border-radius: 8px !important;
    /* Soft rounding for chips (not full pill to save space, or use 50px for pill) */
    /* Let's go with Pill for true MD3 if space allows, or 12px */
    border-radius: 50px !important;
    border: 1px solid #e0e0e0 !important;
    /* Light border */
    background-color: transparent !important;
    color: #444 !important;
    min-width: 40px;
    /* Ensure touch target size */
    padding: 6px 16px !important;
    margin-right: 8px !important;
    margin-bottom: 8px !important;
    font-size: 14px;
    font-weight: 500;
}

/* Selected Chip State */
.product-page-details .btn-group>.active {
    background-color: rgba(var(--primary-rgb), 0.1) !important;
    /* Tonal background */
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    box-shadow: none !important;
}

/* Tabs: Underline Style overrides Bootstrap Tabs */
.nav-tabs.nav-tabs-basic {
    border-bottom: 2px solid #f0f0f0;
}

.nav-tabs.nav-tabs-basic .nav-item .nav-link {
    border: none !important;
    background: transparent !important;
    color: #666;
    font-weight: 500;
    position: relative;
    padding-bottom: 12px;
}

.nav-tabs.nav-tabs-basic .nav-item .nav-link.active {
    color: var(--primary-color) !important;
}

/* The active indicator line */
.nav-tabs.nav-tabs-basic .nav-item .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    /* overlap the border */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

/* Delivery Widget: Surface Style */
.delivery-estimation-widget {
    border: none !important;
    background-color: #f8f9fa;
    /* Surface variant */
    border-radius: 20px !important;
    padding: 24px !important;
}

/* Quantity Counter "Num Block" */
.num-block.skin-2 {
    border-radius: 50px !important;
    overflow: hidden;
    background-color: #f1f3f4;
    border: none !important;
}

.num-block.skin-2 .num-in {
    background-color: transparent !important;
    border: none !important;
}

/* --- 3. Mobile Sticky Bottom Action Bar --- */
.mobile-bottom-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    /* Ensure it handles iPhone notch area */
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

/* Add padding to body on mobile so content doesn't get hidden behind the bar */
@media (max-width: 991px) {
    body {
        padding-bottom: 80px !important;
    }

    /* Also ensure the sticky bar buttons are nice and tall */
    .mobile-bottom-action-bar .btn {
        height: 48px;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* --- 4. Mobile Full-Bleed Hero Images --- */
@media (max-width: 768px) {

    /* Widen the container to full screen width */
    .product-preview-image-section-sm {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        border-radius: 0 0 32px 32px;
        overflow: hidden;
        background-color: #f8f9fa;
        /* Tonal background behind image */
    }

    /* Ensure styles apply to the Swiper container */
    .product-preview-image-section-sm .swiper-container {
        border-radius: 0 0 32px 32px;
    }

    /* Style the image itself */
    .product-preview-image-section-sm .swiper-slide img {
        width: 100% !important;
        height: auto !important;
        max-height: 400px !important;
        /* Allow it to be taller */
        object-fit: cover !important;
        /* Fill the area */
        border-radius: 0 0 32px 32px !important;
        /* Only round bottom corners */
    }

    /* --- 5. Mobile Cart Redesign (MD3) --- */
    .cart-card-mobile {
        background: #fff;
        border-radius: 16px;
        border: 1px solid #f0f0f0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        margin-bottom: 16px;
        overflow: hidden;
    }

    .cart-img-mobile {
        width: 80px;
        height: 80px;
        min-width: 80px;
        object-fit: cover;
        border-radius: 12px;
        background-color: #f8f9fa;
    }

    .cart-qty-mobile .minus,
    .cart-qty-mobile .plus {
        width: 28px;
        height: 28px;
        background-color: #f2f2f2;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .cart-qty-mobile .in-num {
        width: 30px;
        height: 28px;
        text-align: center;
        border: none;
        background: transparent;
        font-weight: 600;
        font-size: 14px;
        padding: 0;
    }
}

/* Adjust dots/pagination if needed */
.preview-image-swiper-pagination {
    bottom: 20px !important;
}

/* Fix for Mobile Bottom Action Bar Buttons */
.mobile-bottom-action-bar .add_to_cart,
.mobile-bottom-action-bar .buy_now {
    display: flex !important;
    /* Force show both buttons */
    flex: 1 !important;
    /* Equal width */
    margin: 0 !important;
    /* Remove margins */
    border-radius: 50px !important;
    justify-content: center;
    align-items: center;
}

/* Ensure container handles gap */
.mobile-bottom-action-bar .container {
    gap: 12px !important;
}

/* Ensure ALL buttons (including Go to Cart anchor) are visible and equal width */
.mobile-bottom-action-bar .btn,
.mobile-bottom-action-bar a.btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 1 !important;
    width: auto !important;
    /* Let flex handle width */
}

/* Force correct appearance for Add to Cart in Sticky Bar */
.mobile-bottom-action-bar .btn-yellow,
.mobile-bottom-action-bar .add_to_cart {
    background-color: #FFD814 !important;
    border: 1px solid #FCD200 !important;
    color: #0F1111 !important;
    opacity: 1 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Active/Hover state */
.mobile-bottom-action-bar .btn-yellow:hover,
.mobile-bottom-action-bar .add_to_cart:hover {
    background-color: #F7CA00 !important;
}

/* Ensure Buy Now is also solid */
.mobile-bottom-action-bar .btn-danger,
.mobile-bottom-action-bar .buy_now {
    opacity: 1 !important;
}

/* FINAL REINFORCEMENT: Force Background Shorthand */
.mobile-bottom-action-bar .add_to_cart,
.mobile-bottom-action-bar button.add_to_cart {
    background: #FFD814 !important;
    /* Shorthand overrides background-color */
    min-height: 48px !important;
    border-radius: 50px !important;
    color: #000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-appearance: none !important;
}

/* Fix font size and weight for Mobile Bottom Bar Buttons */
.mobile-bottom-action-bar .btn,
.mobile-bottom-action-bar .add_to_cart,
.mobile-bottom-action-bar .buy_now {
    font-size: 16px !important;
    font-weight: 600 !important;
    /* Match Buy Now bold style */
    letter-spacing: 0.5px;
}

/* FORCE Buy Now Content Spacing */
.mobile-bottom-action-bar .buy_now {
    justify-content: space-between !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.mobile-bottom-action-bar .buy_now span {
    display: inline-block;
    /* Ensure they behave as blocks for spacing */
}

/* Ensure Add to Cart remains centered */
.mobile-bottom-action-bar .add_to_cart {
    justify-content: center !important;
}

/* RESTORE DESKTOP IMAGE LAYOUT */
/* Force main image to fill the column */
.product-preview-image-section-md .col-md-10 img,
.product-preview-image-section-md .col-md-10 figure {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Ensure thumbnails fit within their column */
.product-preview-image-section-md .col-md-2 {
    padding-right: 5px !important;
    /* Reduce padding to give more space */
    padding-left: 5px !important;
}

.product-preview-image-section-md .product_main_image {
    width: 100% !important;
    /* Override fixed 114px */
    margin-right: 0 !important;
}

/* RESTORE THUMBNAIL ORIGINAL SQUARE LOOK */
.product-preview-image-section-md .col-md-2 img,
.product-preview-image-section-md .col-md-2 figure,
.product-preview-image-section-md .product_main_image img {
    border-radius: 4px !important;
    /* Revert to minimal rounding or 0 */
}

/* MATCH THUMBNAIL STYLE TO USER REFERENCE */
/* Style the container of the thumbnail (swiper-slide or the div wrapping the img) */
.product-preview-image-section-md .col-md-2 .swiper-slide,
.product-preview-image-section-md .col-md-2 .product_main_image {
    border: 1px solid #d1d1d1 !important;
    /* Visible grey border */
    border-radius: 12px !important;
    /* Rounded container */
    padding: 8px !important;
    /* White space framing the image */
    background-color: #ffffff !important;
    margin-bottom: 12px !important;
    /* Spacing between thumbs */
    box-sizing: border-box !important;
    height: auto !important;
    /* Let content dictate height */
}

/* Reset the image inside to fit nicely */
.product-preview-image-section-md .col-md-2 img,
.product-preview-image-section-md .col-md-2 figure img {
    border-radius: 8px !important;
    /* Slightly less round than container */
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    /* Remove default p-1 if any */
    display: block !important;
}

/* FIX ICON BUTTON SHAPES (Compare & Wishlist) */
/* Force them to be perfect circles instead of stretched ovals */
.product-page-div button[name="compare"],
.product-page-div .item-like,
.product-page-div a.btn-icon {
    width: 44px !important;
    /* Fixed width */
    height: 44px !important;
    /* Fixed height */
    flex: none !important;
    /* Prevent flexing/stretching */
    border-radius: 50% !important;
    /* Perfect circle */
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 !important;
}

/* MD3 Mobile Improvements (Phase 2) */
@media (max-width: 575px) {

    /* MD3 Mobile Full Bleed Hero */
    .mobile-full-bleed {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }

    /* Force slider container to ignore padding if needed */
    .slider.container.mobile-full-bleed {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: none !important;
    }

    .mobile-full-bleed .swiper-slide-container {
        border-radius: 0 !important;
        /* Edge to edge */
    }

    .mobile-full-bleed .swiper-slide img {
        border-radius: 0 !important;
        width: 100% !important;
        height: auto !important;
    }

    /* MD3 Category Chips */
    .swiper-slide-category {
        width: auto !important;
        /* Allow variable width for chips */
        padding: 0 5px;
    }

    .swiper-slide-category a {
        display: inline-flex !important;
        align-items: center !important;
        background: #ffffff;
        border: 1px solid #e0e0e0;
        /* Surface Variant High */
        border-radius: 8px !important;
        /* Chip radius */
        padding: 6px 16px 6px 6px !important;
        /* icon (left) needs less padding */
        text-decoration: none;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        /* Shadow for depth */
        height: 48px;
    }

    .swiper-slide-category img {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        margin-right: 8px !important;
        object-fit: contain !important;
    }

    .swiper-slide-category h6 {
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #1f1f1f !important;
        /* On Surface */
        margin: 0 !important;
        white-space: nowrap;
    }

    /* MD3 Section Headers (Clean, No Underline) */
    h3.section-title,
    .section-title {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #1f1f1f !important;
        padding-bottom: 0 !important;
        margin-bottom: 4px !important;
    }

    h3.section-title::after,
    .section-title::after {
        display: none !important;
        /* Remove gradient underline */
    }

    .title-sm.text-muted {
        font-size: 13px !important;
        margin-top: 0 !important;
    }

    /* MD3 "See All" Circular Icon Button */
    .featured-section-title a.hover,
    .default_heading a.hover {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 32px !important;
        height: 32px !important;
        background-color: #f1f3f4 !important;
        /* Surface Variant */
        border-radius: 50% !important;
        color: #1f1f1f !important;
        text-decoration: none !important;
        transition: background-color 0.2s ease;
    }

    /* Hide "See All" text, show only icon */
    .featured-section-title a.hover span,
    .default_heading a.hover span {
        display: none !important;
    }

    /* Ensure icon is visible and centered */
    .featured-section-title a.hover i,
    .default_heading a.hover i {
        font-size: 18px !important;
        margin: 0 !important;
    }

    /* REDESIGN: Mobile Header Card Layout */
    /* Target the container holding text and button */
    .align-items-md-center.d-flex.justify-content-between,
    .featured-section-title .d-md-flex {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding-bottom: 2px !important;
    }

    /* Left Side Code (Title + Subtitle) */
    .default_heading {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: auto !important;
    }

    /* Title tweaks */
    .default_heading h3.section-title {
        margin-bottom: 0 !important;
        line-height: 1.2 !important;
    }

    /* Subtitle tweaks */
    .default_heading .title-sm.text-muted {
        margin-top: 2px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        font-weight: 400 !important;
    }

    /* Right Side (Arrow Button) */
    /* Ensure it stays to the right */
    .default_heading+div,
    .featured-section-title a.hover {
        margin-left: auto !important;
        padding-left: 10px !important;
    }

    /* MD3 Style 3 Hero Card (Featured) */
    .featured-hero-product .card {
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .featured-hero-product figure {
        position: relative !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        margin: 0 !important;
    }

    .featured-hero-product .fig_image {
        height: 320px !important;
        width: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    /* Scrim Gradient */
    .featured-hero-product figure::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        pointer-events: none;
        z-index: 1;
    }

    /* Text Overlay */
    /* Note: targeting .my-4 inside the hero product */
    .featured-hero-product .my-4 {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        padding: 20px !important;
        margin: 0 !important;
        text-align: left !important;
        z-index: 2;
    }

    .featured-hero-product .post-title a {
        color: #ffffff !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .featured-hero-product .price,
    .featured-hero-product .price span {
        color: #ffffff !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .featured-hero-product .price .text-muted {
        color: rgba(255, 255, 255, 0.7) !important;
    }

    /* REDESIGN: Mobile Grid Layout (Override Swiper) */
    /* Target swiper wrappers in product sections on mobile */
    .swiper-container[data-items-md="2"] .swiper-wrapper,
    .swiper-container[data-items-xs="2"] .swiper-wrapper {
        display: flex !important;
        flex-wrap: wrap !important;
        transform: none !important;
        /* Disable swiper translation */
        box-sizing: border-box !important;
        margin: 0 !important;
        width: 100% !important;
    }

    /* Set items to 2-column grid */
    .swiper-container[data-items-md="2"] .swiper-slide,
    .swiper-container[data-items-xs="2"] .swiper-slide {
        width: 48.5% !important;
        /* 2 column with small gap */
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 8px !important;
        flex-shrink: 0 !important;
    }

    /* Add spacing between columns */
    .swiper-container[data-items-md="2"] .swiper-slide:nth-child(odd),
    .swiper-container[data-items-xs="2"] .swiper-slide:nth-child(odd) {
        margin-right: 3% !important;
    }

    /* LIMIT to 6 items (Hide 7th onwards) */
    .swiper-container[data-items-md="2"] .swiper-slide:nth-child(n+7),
    .swiper-container[data-items-xs="2"] .swiper-slide:nth-child(n+7) {
        display: none !important;
    }

    /* REDESIGN: Unified Card Wrapper (Mobile Only) */
    .mobile-unified-card {
        background: #ffffff !important;
        border-radius: 20px !important;
        /* Zero side padding to fully maximize width */
        padding: 20px 0px 20px 0px !important;
        margin: 16px 0 !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
    }

    /* Remove interfering spacing from inner wrappers */
    .mobile-unified-card .swiper-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .mobile-unified-card .col-lg-9,
    .mobile-unified-card .col-lg-3 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Adjust Row Margins inside the card to prevent overflow */
    .mobile-unified-card .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    /* Edge-to-Edge Columns: Odd (Left) vs Even (Right) */
    .mobile-unified-card .col-6:nth-child(odd),
    .mobile-unified-card .col-xl-3:nth-child(odd) {
        padding-left: 0 !important;
        padding-right: 2px !important;
    }

    .mobile-unified-card .col-6:nth-child(even),
    .mobile-unified-card .col-xl-3:nth-child(even) {
        padding-left: 2px !important;
        padding-right: 0 !important;
    }

    /* Ensure specific elements inside don't touch edges if needed, but mostly full width */
    .mobile-unified-card .default_heading {
        padding-left: 10px !important;
    }

    .mobile-unified-card .icon-btn-mobile {
        margin-right: 10px !important;
    }

    /* REDESIGN: Circular Icon Button for Mobile Headers */
    @media (max-width: 991px) {

        /* Force Flex Header if not applied via Bootstrap */
        .mobile-header-row {
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            width: 100% !important;
            margin-bottom: 8px !important;
        }

        /* The Button Itself */
        .icon-btn-mobile {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 54px !important;
            /* Wider for pill shape */
            height: 32px !important;
            background: #1f1f1f !important;
            /* Black pill */
            border-radius: 30px !important;
            /* Pill radius */
            color: #ffffff !important;
            text-decoration: none !important;
            padding: 0 !important;
        }

        .icon-btn-mobile i {
            font-size: 18px !important;
            margin: 0 !important;
            line-height: 1 !important;
        }

        /* Ensure heading takes available space */
        .mobile-header-row .default_heading {
            flex: 1 !important;
            padding-right: 10px !important;
        }

        /* RESTORE Product Card Shadow (Requested) */
        .mobile-unified-card .swiper-slide,
        .mobile-unified-card .card {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
            /* Soft, visible shadow */
            border: 1px solid rgba(0, 0, 0, 0.03) !important;
            /* Subtle border */
            background: #ffffff !important;
            border-radius: 12px !important;
        }

        /* If there are inner figures or images with styling, reset them too if needed */
        .mobile-unified-card .swiper-slide figure,
        .mobile-unified-card .card figure {
            box-shadow: none !important;
            border: none !important;
        }

        /* HIDE "Percent Off" Tag on Mobile Homepage (Clean Look) */
        .mobile-unified-card .sale_tag {
            display: none !important;
        }

        /* REDUCE SPACING: Remove excess gap between Image and Title */
        /* REDUCE SPACING: Remove excess gap between Image and Title and After Price */
        .mobile-unified-card .card-body.my-4 {
            margin-top: 8px !important;
            margin-bottom: 4px !important;
            padding-top: 0 !important;
            padding-bottom: 4px !important;
        }

        .mobile-unified-card .product-content.mt-2 {
            margin-top: 4px !important;
        }

        .mobile-unified-card .product-content .price {
            margin-bottom: 0 !important;
        }
    }
}

/* Hide Scroll to Top on Mobile */
@media (max-width: 768px) {
    .progress-wrap {
        display: none !important;
    }
}

/* =========================================
   LOGIN / SIGNUP MODAL UI REFINEMENTS (MD3)
   ========================================= */

/* Modal Content Background */
#modal-signin .modal-content,
#modal-signup .modal-content {
    border-radius: 20px;
    /* More rounded modal */
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Input Fields Style */
#modal-signin .form-control,
#modal-signup .form-control {
    background-color: #f2f2f2 !important;
    /* Light Gray Background */
    border: 1px solid transparent !important;
    /* No default border */
    border-radius: 12px !important;
    /* MD3 Rounding */
    height: 52px !important;
    /* Taller touch target */
    padding-left: 20px;
    padding-right: 20px;
    font-size: 15px;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Input Focus State */
#modal-signin .form-control:focus,
#modal-signup .form-control:focus {
    background-color: #ffffff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(255, 98, 0, 0.1) !important;
}

/* Floating Labels Fix for Gray Background */
#modal-signin .form-floating>label,
#modal-signup .form-floating>label {
    padding-left: 20px;
}

/* Login/Signup Buttons */
#modal-signin .submit_btn,
#modal-signup #send-otp-button,
#modal-signup #register_submit_btn {
    height: 48px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 16px;
    width: 100%;
}

/* Signup Mobile Input Fix (Intl Tel Input) */
#modal-signup .iti {
    width: 100%;
    display: block;
}

#modal-signup .iti__flag-container {
    border-top-left-radius: 12px;
    /* Match input radius */
    border-bottom-left-radius: 12px;
}

#modal-signup #phone-number {
    padding-left: 90px !important;
    /* increased from 50px to make room for flag + code */
    border-radius: 12px !important;
    background-color: #f2f2f2 !important;
    height: 52px !important;
}

#modal-signup .iti__selected-dial-code {
    margin-left: 4px;
    margin-right: 4px;
}

/* Password Toggle Icon Alignment */
#modal-signin .password-toggle,
#modal-signup .password-toggle {
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
}