:root {
    --pale-sky-100:#F5F7F8;
}

p {
    font-family: "Almarai", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* Typography */
 .text-base {
    font-family: "Almarai", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px!important;
    line-height: 160%;
}

 .text-small {
    font-family: "Almarai", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px!important;
    line-height: 20px;
}

 .text-xs {
    font-family: "Almarai", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 12px!important;
    line-height:20px;
}

.text-subheading {
    font-family: "Almarai", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px!important;
    line-height:24px;
}


h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: "Lato", serif;
    font-style: normal;
}

/* End of Typography */

/* Utilities */

.color-main-secondary {
    color: #296ACA!important;
}

.bg-main-secondary {
    background-color: #296ACA!important;
}

.img-fit-contain {
    object-fit: contain;
}

.mix-blend-mode-darken {
    mix-blend-mode: darken!important;
}

.mix-blend-mode-multiply {
    mix-blend-mode: multiply!important;
}

 .w-fit-content {
    width: fit-content;
}

 .w-min-content {
    width: min-content;
}

.h-fill {
    width: -webkit-fill-available!important;
}

.h-fit-content {
    height: fit-content;
}


 .m-container-100 {
    padding: 0 100px !important;
}

 .m-container-200 {
    padding: 0 200px !important;
}

.m-container-100,
.m-container-200 {
    transition: all 1s ease-in-out;
}

 .multi-line-truncate {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    overflow: hidden;
 }

 .drop-cap::first-letter {
    -webkit-initial-letter: 2;
            initial-letter: 2;
    color: #1D2D5D;
    font-weight: bold;
    margin-right: .5em;
}

 .text-decoration-none * {
    text-decoration: none;
}


 .form-control,
 .form-select
{
    padding: 0.688rem 1rem;
    
}

 .form-control,
 .form-select,
 .form-check-input {
    border-color: #DEDEDE!important;
    font-family: "Almarai", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    margin: 0;
}

.form-check-input {
    border-color: #a5a5a5 !important;
}

label {
    font-family: "Almarai", sans-serif;
}


/* End of Utilities */

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Animation for fade-out effect */
@keyframes fadeOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-10px); }
}

/* Animation for fly-out-right effect */
@keyframes flyOutRight {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100%); }
}


/* Animation for fade-out effect */


@keyframes x {
    0% {
        transform: translate(0, 0);
        right: 100%;
    }
    100% {
        transform: translate(100vw, -100vh);
        right: 0%;
    }
 }


.example {
    animation: x 3s  ease-in-out;
}

/* Apply animation on adding items */
 .fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Apply animation on removing items */
 .fade-out {
    animation: fadeOut 0.5s ease forwards;
}

.fly-out-right {
    animation: flyOutRight 0.5s ease forwards;
}

/* Index Page Style */

#subcategory .product-title {
    font-size: 1.5rem;
    font-weight: bold;
}
#subcategory .price {
    color: #e60000;
    font-size: 1.2rem;
}
#subcategory .old-price {
    text-decoration: line-through;
    color: #888;
}
#subcategory .product-images img {
    max-width: 100%;
    height: auto;
}
#subcategory .add-to-cart-btn {
    background-color: #d9534f;
    color: white;
    position: relative;
}


#subcategory .availability {
    color: green;
}

#subcategory .square_section {
  
    width: 100%;
}

/* Subcategory Style */

.category-page .sticky-top {
    z-index: 10 !important;
}

#subcategory .swiper-slide {
    height: auto!important;
}

#subcategory .accordion {
    /* --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3C!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath fill='%231d2d5d' d='M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z'/%3E%3C/svg%3E");
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3C!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath fill='%231d2d5d' d='M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z'/%3E%3C/svg%3E"); */
    --bs-accordion-btn-icon: unset;
    --bs-accordion-btn-active-icon: unset;

}

#subcategory .pagination .nav-pages {
    gap: 8px;
    display: flex;
    align-items: center;
}

#subcategory .pagination .nav-pages-title {
    display: none;
}

#subcategory .pagination .nav-page:not(.nav-dots) {
    display: block;
    width: 42px!important;
    padding: 12px 0;
    border: 1px solid #E9ECEF;
    color: #6C757D !important;
    text-align: center;
    text-decoration: none;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

#subcategory .pagination .nav-page:not(.nav-dots):hover {
    background-color: #99B6D9;
    border: 1px solid #9AB2CE;
    color: #fff!important;
    align-items: center;
}

#subcategory .pagination .nav-pages .current-page {
    display: block;
    width: 42px!important;
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    background-color: #3A6DA8;
    border: 1px solid #3A6DA8;
    color: #fff!important;
}

#subcategory .pagination .nav-pages .nav-dots {
    width: 42px;
    visibility: hidden;
    position: relative;
    align-self: center;
    padding: 0 0.5rem;
}
#subcategory .pagination .nav-pages .nav-dots:after {
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
    content: "\f141";
    font-family: 'FontAwesome';
    font-size: xx-large;
    padding: 0 0.5rem;
}

#subcategory .top-brands .swiper-slide {
    padding: 15px;
}

#subcategory .top-brands {
    background-image: url(./img/top-brands-bg.png);
    background-size: cover;
}

#subcategory .top-brands h2 {
    color: #3A6DA8;
    font-weight: 900!important;
}

#subcategory .top-brands-wrapper .item-image img{
    height: 100px;
    width: 100%;
    object-fit: contain;
}

.popular-categories-wrapper.popular-is-subcat {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

#subcategory .popular-categories .item-category,
.sub-category-item {
    flex: 0 0 20%;
    text-align: center;
    max-width: 20%;
}

.sub-category-item {
    margin-bottom: 15px;
}

.sub-category-item .item-image {
    padding: 15px;
}

.sub-category-item .item-image img {
    transform: unset;
    transition: 0.3s all ease-in-out;
    width: 80%;
    height: auto;
}

.sub-category-item:hover .item-image img {
    transform: scale(1.1);
    transition: 0.3s all ease-in-out;
}


.sub-category-item .item-image a {
    text-decoration: none;
    display: block;
    background-color: #F5F7F8;
    transition: 0.3s ease-in-out;
    padding: 15px;
    border: 1px solid rgb(222, 226, 230);
    border-radius: 5px;
}

.sub-category-item .categories-name a {
    text-decoration: none;
    font-weight: 700;
    color: rgb(33, 37, 41);
    font-size: 16px;
}

.cat-lower-description {
    width: 100%;
    margin-bottom: 20px;
}

.cat-lower-description img {
    width: 100% !important;
    height: auto;
}

.campaign-categories {
    margin-bottom: 0px !important;
}

#subcategory .popular-categories.campaign-categories .item-category .item-image {
    height: auto;
    background-color: unset;
    border: 0 !important;
    padding: 0 10px !important;
}

#subcategory .popular-categories.campaign-categories .item-category:hover .item-image img {
    transform: unset;
}

#subcategory .popular-categories.campaign-categories  .item-category:hover .item-image {
    background-color: unset;
}

.campaign-categories .img_circle img {
    border-radius: 50%;
}

#subcategory .campaign-categories .item-category > a:last-child {
    text-align: center !important;
}

#subcategory .popular-categories .item-category:hover .item-image {
    background-color: #E6E7E9;
}

#subcategory .popular-categories .item-category .item-image img{
    max-width: 100%;
    width: 187px;
    max-height: 321px;
    transition: all 0.3s ease-in-out;
}

#subcategory .popular-categories .item-category:hover .item-image img{
    transform: scale(1.1);
}

/* .viewed-products .viewed-wrapper .product-list {
    flex: 0 0 25%;
} */

#subcategory .viewed-products .viewed-wrapper .product-list .item-image img{
    height: 150px;
    width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

#subcategory .viewed-products .viewed-wrapper .product-list {
    padding: 0.25rem;
}


/* Shop Page Style */

#subcategory .accordion-item .accordion-body .filter-item:hover {
    color: #1B6CCB!important
}

#subcategory .accordion-item {
    border-left: none;
    border-right: none;
}

#subcategory .accordion-item:first-of-type {
    border-top: none;
}

#subcategory .product_item {
    display: flex;
    flex: 0 0 25%;
    max-width: 25%;
    padding: 1rem 0.5rem;
    text-align: center;
    transition: all 1s ease-in-out;
}


#subcategory .popular-subcategories-slider .swiper-wrapper {
    margin: 0;
    width: 0;
}

#subcategory .product_item:hover > div,
#subcategory .popular-categories-slider .swiper-wrapper .swiper-slide:hover,
#subcategory .popular-subcategories-slider .item-category:hover
 {
    background-color: #EAEFF2!important;
}

#subcategory .viewed-products-swiper .swiper-wrapper .swiper-slide:hover > div{
    background-color: #ECEEF0!important;
}

.viewed-products-swiper #product_number_rating {
    height: 14px;
    margin-bottom: 15px !important;
}


#subcategory .product_item .product-name{
    font-family: "Lato", serif!important;
    font-weight: 700;
}

#subcategory .popular-subcategories-slider .swiper-wrapper {
    width: 0px;
    margin: unset;
}

#subcategory .product_item:hover .product-name,
#subcategory .popular-subcategories-slider .item-category:hover a {
    color: #1B6CCB!important;
}

#subcategory .product_item img {
    transition: all 0.3s ease-in-out;
    mix-blend-mode: multiply;
    max-height: 100%;
    width: 100%;
    max-width: 200px;
    height: 200px;
    min-height: 100px;
    min-width: 100px;
}

#subcategory .product_item:hover img {
    transform: scale(1.1);
}


#subcategory .popular-subcategories-slider .item-image img{
    width: auto!important;
    max-width: 100%;
    height: 100px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

#subcategory .bg-shop-category {
    background-color: var(--pale-sky-100);
}

#subcategory .btn-product {
    clip-path: polygon(0 0, 90% 0, 100% 60%, 100% 100%, 10% 100%, 0% 40%);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0;
    background-color: #0A387C;
    border: 1px solid #0A387C;
    color: white;
    overflow: visible!important;
    position: relative;
}


#subcategory .price-strikeout {
    font-family: "Lato", serif !important;
}

.btn-product__v1:disabled {
    background-color: #8192aa!important;
    border-color: #8192aa!important;
    color: #e9ebf0;
}


.btn-product__v1:hover {
    background-color: #154a9b;
    color: white;
}

.btn-product__v1:active {
    background-color: #245db3!important;
    color: white!important;
}

.btn-compare {
    background-color: #3A6DA7!important;
    border: 1px solid #3A6DA7;
    color: white!important;
}

.btn-compare:hover {
    background-color: #1760b3!important;
}



#subcategory aside.filter-section {
    max-width: 333px;
}

#header-filter-section li {
    padding: 0.85rem!important;
}

#product_status .circle{
    display: -webkit-inline-box;
    width: 8px;
    height: 8px;
    border-radius: 50px;
    background-color: #34CA43;
}

#subcategory .filter-button-default {
    background-color: #E5E7E8;
}

#subcategory .filter-button-active {
    background-color: #3A6DA8;
    color: #fff;
    border-color: #3A6DA8;
}

#subcategory .vertical-align-items * {
    vertical-align: middle;
}

#subcategory .accordion-button:not(.collapsed) {
    background-color: transparent!important;
    box-shadow: none;
}

#subcategory .accordion-button {
    padding: 1rem 0;
    font-size: large;
    text-transform: uppercase;
}

#subcategory .accordion-button::after {
    background-position-y:center;
    background-image: unset;
    width: unset;
    height: unset;
}

#subcategory .accordion-button:not(.collapsed)::after {
    transform: unset;
}

#subcategory .accordion-body {
    padding-bottom: 1rem;
}


#subcategory input[type="checkbox"],
.product-item-checkbox {
    position: relative;
    width: 25px;
    height: 25px;
    border-radius: .25em;
}

#subcategory input[type="checkbox"]:checked:before,
.product-item-checkbox:checked:before {
    content: '';
    border-radius: .25em;
    position: absolute;
    background-color: #3A6DA8;
    display: inline-block;
    width: 100%;
    height: 100%;
    z-index: 2;
}

#subcategory input[type="checkbox"]:checked:after,
.product-item-checkbox:checked:after {
    content:  url(../img/icons/checkbox-check.svg);
    border-radius: .25em;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    position: absolute;
    font-size: 20px;
    z-index: 5;
    line-height: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
}

#subcategory .slider-container {
    position: relative;
    width: 100%;
    height: 40px;
}

#subcategory .slider-container input[type="range"] {
    position: absolute;
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
}

#slider-max::-webkit-slider-runnable-track{
  -webkit-appearance: none;
  background-color: transparent;
}

#subcategory .slider-container input[type="range"]::-webkit-slider-thumb {
    pointer-events: all;
    width: 16px;
    height: 16px;
    background-color: #3A6DA8;
    border-radius: 50%;
    cursor: pointer;
}

#subcategory .slider-container input[type="range"]::-moz-range-thumb {
    pointer-events: all;
    width: 16px;
    height: 16px;
    background-color: #3A6DA8;
    border-radius: 50%;
    cursor: pointer;
}

 .compare-item{
    width: 70px;
    height: 70px;
    background: #f2f5f9;
    border: 1px solid #6C757D;
}

 .compare-item img {
    width: 100%;
    height: 100%;
    max-width: 70px;
    max-height: 70px;
    overflow: hidden;
    object-fit: contain;
    mix-blend-mode: multiply;
}

 .compare-item button {
    padding: 0 5px;
}


/* jeff overrides  */
#subcategory .product_item .product-name{
    color: #2a2a2a;
}

.banner-div-description {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.banner-div-description > div {
    margin: 0 auto;
    text-align: center;
}

.banner-div-description > div img {
    width: 100%;
    height: auto;
}

.banner-div-description.two-images {
    margin: 0 -7.5px;
}

.banner-div-description.two-images > div {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 7.5px;
    text-align: center;
}

#subcategory header {
    background: #fff;
    overflow: hidden;
}

.mv-heading {
    font-size: 1.3rem;
}

#subcategory .popular-categories.popular-categories-contents .item-category .item-image {
    height: 383px;
    display: flex;
    align-items: center;
    background-color: #F5F7F8;
    justify-content: center;
}

#subcategory .popular-categories.popular-categories-contents .item-category .item-image:hover {
    background-color: #E6E7E9;
    transition: 0.3s ease-in-out;
}



.popular-categories-contents .header-title,
.popular-categories.campaign-categories .header-title {
    font-size: 18px;
    color: #3A6DA8;
}

#subcategory .top-brands {
    background: rgb(199,213,224);
    background: url(../img/top-brands-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.swiper.top-brands-swiper {
    width: 90%;
    margin: 0 auto;
}

#subcategory .top-brands-wrapper .item-image img {
    max-width: 100%;
}

.top-banner-wrapper img {
    width: 100%;
    height: auto;
}

.cat-top-banner {
    display: flex;
    flex-wrap: wrap;
}

.cat-top-banner > div:first-child.two-banner {
    padding-right: 7.5px;
}

.cat-top-banner > div:last-child.two-banner {
    padding-right: 7.5px;
}

.full-banner {
    flex: 0 0 100%;
    max-width: 100%;
}

.two-banner {
    flex: 0 0 50%;
    max-width: 50%;
}

#subcategory .accordion-header button {
    font-size: 18px;
    width: 100%;
    text-align: left;
    position: relative;
    border: none;
    background: #fff;
    padding: 5px 0;
    color: #1D2D5D;
    margin-bottom: 5px !important;
}

#subcategory .accordion-header button:after {
    content: '\f0d8';
    font-family: "Font Awesome 6 Free";
    position: absolute;
    right: 5px;
    top: 3px;
    transition: 0.3s all ease-in-out;
    color: #1D2D5D;
}

#subcategory .accordion-header button.collapsed:after {
    rotate: 180deg;
    transition: 0.3s all ease-in-out;
}

#subcategory-mobile-filter .accordion-header button.collapsed:after,
#subcategory-mobile-filter .accordion-header .accordion-button::after {
    width: unset;
    height: unset;

}

#subcategory-mobile-filter .accordion-button:not(.collapsed)::after { 
    transform: unset;
}

.filter-items-count {
    font-weight: 500 !important;
}

.section-items {
    flex: 0 0 calc(100% - 333px);
    max-width: calc(100% - 333px);
    padding-left: 25px;
}

.section-items-campaign {
    flex: 0 0 100%;
    max-width: 100%;

}

.section-items .popular-subcategories-slider:not(.swiper-initialized) > div {
    display: flex;
    overflow: hidden;
}

@media only screen and (min-width: 1401px) {
    #subcategory .product_item img {
        max-width: 150px;
    }
    
    #subcategory .m-container-100,
    #subcategory .m-container-200 {
            padding: 0 100px !important;
    }
    
}

@media only screen and (max-width: 1400px) {
    #subcategory .m-container-100,
    #subcategory .m-container-200 {
        padding: 0 3rem !important;
    }

    #subcategory .product_item {
        flex: 0 0 33.3333%;  
        max-width: 33.3333%; 
    }

    #subcategory .product_item img {
        max-width: 100%;
    }
}

@media only screen and (max-width: 1199px) {
    #subcategory .popular-categories .item-category {
        flex: 0 0 25%;  
        max-width: 25%; 
    }
}

@media only screen and (max-width: 1150px) {
    #subcategory .product_item {
        flex: 0 0 50%;  
        max-width: 50%; 
    }
}

@media only screen and (max-width: 1024px) {
    #subcategory aside.filter-section,
    .section-items {
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 !important;
    }

    #subcategory .product_item, 
    #subcategory .popular-categories .item-category  {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }

    aside.filter-section {
        display: none;
    }

    #subcategory .m-container-100,
    #subcategory .m-container-200 {
        padding: 0 3rem !important;
    }

    #subcategory .product_item img {
        max-width: 100%;
    }

    #subcategory .sticky-top {
        overflow: hidden;
    }

    #subcategory .sticky-top .list-group{
        overflow-x: scroll;
        flex-wrap: nowrap!important;
    }

    #subcategory .sticky-top .list-group li{
        flex: none;
    }
}

@media only screen and (max-width: 991px) {
    #subcategory .popular-categories .item-category .item-image img {
        width: auto;
    }

    #subcategory .top-brands {
        clip-path: polygon(0 0, 90% 0, 100% 30%, 100% 100%, 10% 100%, 0% 70%) !important;
    }
    
    #subcategory .top-brands-wrapper .item-image img {
        height: 80px;
    }
}


@media only screen and (max-width: 768px) {
    [id^="sale-percentage-"] { 
        position: relative !important;
        text-align: left;
        display: inline-block;
        float: left;
        padding: 0 !important;
        clip-path: unset!important;
        background-color: unset!important;
        color: rgb(var(--bs-danger-rgb))!important;
    }

    .sticky-header #subcategory .sticky-top {
        position: fixed;
        top: 121px;
        width: 100%;
        animation: slideDown .5s
    }

    #subcategory .product_item, #subcategory .popular-categories .item-category, .sub-category-item {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }

    #subcategory .product_item,
    #subcategory .popular-categories .item-category,
    .sub-category-item {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }

    #subcategory .product_item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #subcategory .brand.row {
        margin: 0 !important;
    } 

    #subcategory .m-container-100,
    #subcategory .m-container-200 {
        padding: 15px !important;
    }
    
    #subcategory .pagination .nav-page:not(.nav-dots),
    #subcategory .pagination .nav-pages .current-page {
        width: unset!important;
        padding: 0.5rem 0.75rem;
        font-size: 14px;
    }
    
    #subcategory .popular-categories.popular-categories-contents .item-category .item-image {
        height: 205px;
    }
}

@media only screen and (max-width: 600px) {
    #subcategory .product_item, 
    #subcategory .popular-categories .item-category  {
        flex: 1 0 50%;
    }
    .product-off-sale-banner {
        color: #f13131!important;
        padding: 1rem !important;
        text-decoration: line-through;
        background-color: #eaebef !important;
    }
}

@media only screen and (max-width: 480px){
    #subcategory .viewed-products .viewed-wrapper .product-list .item-image {
        height: 130px;
        overflow: hidden;
        padding: 0 !important;
    }

    #subcategory .viewed-products .viewed-wrapper .product-price {
        height: auto !important;
    }

    .sub-category-item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #subcategory .pagination .nav-page:not(.nav-dots), #subcategory .pagination .nav-pages .current-page {
        padding: 7px 10px;
        font-size: 12px;
    }

    #subcategory .pagination .nav-pages .nav-dots {
        width: 15px;
        padding: 0;
    }

    #subcategory .pagination .nav-pages .nav-dots:after {
        font-size: 15px;
        padding: 0;
    }

    .no-header {
        display: none;
    }

    #subcategory .btn-product {
        font-size: 14px;
    }

    .product-name.product_item_title {
        font-weight: 500 !important;
    }

    .list-price-num {
        font-size: 17px;
    }

    .price-strikeout {
        font-size: 12px;
    }

    #subcategory .pagination .nav-pages {
        flex-wrap: wrap;
    }

    #subcategory .product_item, 
    #subcategory .popular-categories .item-category {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0.25rem;
    }

    #subcategory .product_item img {
        width: 100%;
        height: 100px;
    }
    
    #subcategory .top-brands {
        clip-path: none!important;
    }

    .text-xs-small {
        font-size: 14px;
    }

    /* #compare-button-open {
        margin: 6.5rem 0.9rem !important
    } */

    #subcategory .top-brands.py-5 {
        padding: 15px !important;
    }

    #subcategory .popular-categories.popular-categories-contents .item-category .item-image {
        height: 185px !important;
    }

    .category-page .viewed-products-swiper .product-list > div {
        padding: 10px !important;
    }

    .category-page .viewed-products-swiper .product-list .add-lbl {
        font-size: 13px;
    }

    #subcategory .top-brands {
        clip-path: unset !important;
    }

    #subcategory .top-brands h2 {
        margin: 0 !important;
    }

    [id^="sale-percentage-"] { 
        position: relative !important;
        text-align: right;
        display: inline-block;
        float: unset;
        width: 100%;
        padding: 0 0 0.5rem 0 !important;
        clip-path: unset!important;
        background-color: unset!important;
        color: rgb(var(--bs-danger-rgb))!important;
    }
}


@media only screen and (max-width: 320px){
    #subcategory .product_item {
        flex: 1 0 100%;
    }
   

}