@font-face {
    font-family: "roboto_bold";
    src: url(../Resources/font/roboto_bold.ttf);
}

@font-face {
    font-family: "roboto_regular";
    src: url(../Resources/font/roboto_regular.ttf);
}

@font-face {
    font-family: "poppins_semi";
    src: url(../Resources/font/poppins_semi.ttf);
}

@font-face {
    font-family: "poppins_bold";
    src: url(../Resources/font/poppins_bold.ttf);
}

@font-face {
    font-family: "poppins_regular";
    src: url(../Resources/font/poppins_regular.ttf);
}

@font-face {
    font-family: "poppins_medi";
    src: url(../Resources/font/poppins_medium.ttf);
}

@font-face {
    font-family: "inter_bold";
    src: url(../Resources/font/inter_bold.ttf);
}



* {
    margin: 0;
    padding: 0;


}

/* .space {
    height: 1.5rem;
} */

.pagenavigation--container {
    width: 100%;

}

.pagenavigation {
    width: 90%;
    margin: auto;
    line-height: initial;
    padding: 30px 0 50px;


}

.pagenavigation--ul {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;

}

.pagenavigation li {
    position: relative;
    margin: 5px;
    display: flex;
    /* justify-content: center; */
    align-items: center;
}


.pagenavigation--ul li:not(:first-child) {
    padding-left: 25px;
}

.pagenavigation--ul li:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    width: 10px;
    height: 10px;
    background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48c3ZnIGhlaWdodD0iNTEycHgiIGlkPSJMYXllcl8xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgd2lkdGg9IjUxMnB4IiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48cGF0aCBkPSJNMjk4LjMsMjU2TDI5OC4zLDI1NkwyOTguMywyNTZMMTMxLjEsODEuOWMtNC4yLTQuMy00LjEtMTEuNCwwLjItMTUuOGwyOS45LTMwLjZjNC4zLTQuNCwxMS4zLTQuNSwxNS41LTAuMmwyMDQuMiwyMTIuNyAgYzIuMiwyLjIsMy4yLDUuMiwzLDguMWMwLjEsMy0wLjksNS45LTMsOC4xTDE3Ni43LDQ3Ni44Yy00LjIsNC4zLTExLjIsNC4yLTE1LjUtMC4yTDEzMS4zLDQ0NmMtNC4zLTQuNC00LjQtMTEuNS0wLjItMTUuOCAgTDI5OC4zLDI1NnoiLz48L3N2Zz4=");
    background-repeat: no-repeat;
    background-size: cover;


}

.pagenavigation--ul :where(li, li a) {
    font-size: 0.9rem;
    padding: 0;
}

.pagenavigation--ul li:last-child {
    color: gray;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}




.product--sec1 {
    padding: 0 0 3rem 0;
}


.product--sec1--div1 {
    display: flex;
    flex-direction: row;
    width: 90%;
    margin: auto;
    white-space: nowrap;
    overflow: hidden;
    position: relative;


    /* background-color: aqua; */


}

.product--sec1--div2 {
    display: inline-flex;
    flex-direction: row;
    width: fit-content;
    /* column-gap: 20px; */
    animation: 45s slide infinite linear;
    column-gap: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;

}

.product--sec1--div1:before,
.product--sec1--div1:after {
    position: absolute;
    width: 250px;
    height: 155px;
    content: "";
    z-index: 2;

}

.product--sec1--div1:before {
    left: 0%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);



}

.product--sec1--div1:after {
    right: 0%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
    /* background-color: aqua; */


}

.product--sec1--div1:hover .product--sec1--div2 {
    animation-play-state: paused;
}


.product--sec1--div3 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* background-color: aqua; */
}


.product--sec1--div4 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: black;
    width: 6rem;
    height: 6rem;
    /* padding: 1.5rem; */
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    margin-bottom: 0.5rem;


}

.product--a1 {
    text-decoration: none;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

/* .product--sec1--div4:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);

  } */
.product--img1 {
    height: 4rem;
    margin: 0 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;

}

.product--img1:hover {
    transform: scale(1.5);
}

.product--span1 {
    font-family: "poppins_medium";
font-size: 0.9rem;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@media screen and (max-width:500px) {
    /* .product--sec1 {
        display: none;

    } */

    .pagenavigation {
    padding-bottom:4px;


}

}

@media screen and (max-width:499px) {
    .product--sec1--div1 {
        width: 100%;
        margin: auto;
        white-space: nowrap;
        overflow: hidden;
        position: relative;

    }

    .product--sec1--div2 {
        column-gap: 1rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;

    }

    .product--sec1--div1:before,
    .product--sec1--div1:after {
        position: absolute;
        width: 0px;
        height: 0px;
        content: "";
        z-index: 2;

    }

    .product--sec1--div4 {
        width: 4rem;
        height: 4rem;



    }

    .product--img1 {
        height: 2.5rem;
        width: 2.5rem;


    }

    /* .product--span1 {
        font-size: 0.7rem;

    } */


}

@media screen and (min-width:500px) {
    .product--sec1--div1 {
        width: 90%;
        margin: auto;
        white-space: nowrap;
        overflow: hidden;
        position: relative;

    }

    .product--sec1--div2 {
        column-gap: 2rem;
        padding-left:1rem;
        padding-right:1rem;

    }

.product--sec1--div1:before,
    .product--sec1--div1:after {
        position: absolute;
        width: 120px;
        height: 150px;
        content: "";
        z-index: 2;

    }
    .product--sec1--div4 {
        width: 5rem;
        height: 5rem;



    }

    .product--img1 {
        height: 3.5rem;
        width: 3.5rem;


    }

    /* .product--span1 {
        font-size: 1rem;

    } */


}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 14;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/*start filter  */
.sidebar {
     position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 15;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-container {
    width: 90%;
    margin: auto;

}

.title {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "inter_bold";
    font-size: 1.8rem;
    font-family: "inter_bold";
    padding-bottom: 2rem;
}

.sidebar .widget {
    /* margin-left: 20px; */
    margin: 20px 0;
}

.sidebar-title {
    font-size: 22px;
    font-family: "poppins_bold";
    margin-bottom: 1rem;
}

.sidebar label {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    cursor: pointer;
}

.closebtn {
    width: 15px;
    height: 15px;
}

.arrowdown {
    width: 15px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.sidebar label span {
    font-weight: 600;
}

.sidebar .list-block ul {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding-left: 15px;
    margin-top: 20px;
    height: 230px;
    text-decoration: none;

}


/* .sidebar {
    z-index: 15;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
} */

.sidebar.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.sidebar>.wrap {
    position: relative;
    max-width: 360px;
    height: 100%;
    background-color: white;
    pointer-events: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar>.active .wrap {
    transform: translateX(0);
    /* background-color: transparent; */
}

.close-trigger {
    position: absolute;
    top: 8px;
    right: 10px;
    /* right: 60px; */
    width: 40px;
    height: 40px;
    color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
background-color: #000000;
    border-radius: 50%;
      transition: all 0.3s ease;
    z-index: 16;
    border: none;
}

.close-trigger:hover {
    background-color: #ffffff;
    transform: scale(1.1);
    color: #000;
    border: #000 solid 1px;
}

.sidebar-content {
    height: 100%;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
}

.scollto .wrapper:note(.initial) {
    display: grid;
    padding: 0;
    overflow: unset;
    scroll-snap-type: unset;
    overscroll-behavior-inline: unset;
}


.summary2 .wrap {
    /* display: grid; */
    grid-auto-flow: column;
    gap: 12px; 
}

.summary2 .wrap>button,
.summary2 .qty button {
    width: 40px;
    height: 40px;
    transition: box-shadow 0.3s;
margin-right: 5px; /* space between buttons */
    margin-bottom: 5px; /* if it wraps to next line */
}

.summary2 .product-color button {
    border-radius: 50%;
     border: 1px solid black; /* Black border for all color buttons */
    outline: none;
}

.summary2 .product-color button:hover {
   cursor: pointer;
}

.summary2 .product-color button.blue {
    background-color: blue;
    /* border:solid 2px blue; */
}

.summary2 .product-color button.red {
    background-color: red;
}

.summary2 .product-color button.purple {
    background-color: purple;
}

.summary2 .product-color button.selected,
.summary2 .product-color button:hover:not(.selected) {
    box-shadow: inset 0 0 0 4px white;

}

.dash {
    width: 12px;
    height: 12px;

}

.summary2 .product-pricefilter .wrap {
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    justify-content: start;
    align-items: center;
}

.summary2 .wrap input {
    text-align: center;
    border: 0;
    outline: 0;
    border: solid 1px;
    background-color: transparent;
    width: 5rem;
    height: 2.3rem;
    font-weight: 500;
    color: rgb(121, 120, 120);

}

/* .summary2 .wrap input .play-btn{
    width: 40px;
    height: 40px;
    background-color: black;
} */

.play-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    border-radius: 5px;
margin-top: 5px;
}

.play-btn:hover {
    cursor: pointer;
}

.play {
    width: 15px;
    height: 15px;
    /* background-color: black; */

}

.sidebar .widget input[type="checkbox"] {
    display: none;
}

.sidebar .widget .accord {
    padding-right: 15px;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar .widget input:checked~div {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
}

.sidebar .widget input:checked~label img {
    transform: rotate(180deg);
}

.sidebar .widget :where(.accord > div) {
    padding-top: 10px;
    padding-bottom: 10px;
    row-gap: 5px;
}

.sidebar label img {
    transition: transform 0.3s;
}


.primary-btn {
    font-family: "poppins_semi";
    font-size: 15px;
    padding: 10px 20px;
    background-color: white;
    border: solid rgb(0, 0, 0) 2px;
}

.primary-btn:hover {
    background-color: black;
    color: white;
    cursor: pointer;
}

.category-content .button {
    margin: 60px 0 100px;
    text-align: center;
}

.category-content :where(.sorter, .right) {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-content .sorter {
    margin: 0 0 30px;
}

.category-content .sorter>a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    width: 44px;
    background-color: black;
    border-radius: 50%;
    position: fixed;
    top: calc(50%-30px);
    left: 0;
    z-index: 10px;
    opacity: .5;
    transition: opacity .3s, transform .3s;

}

.category-content .sorter>a:hover {
    transform: scale(1.2);
    opacity: 1;
}

.category-content .sort-list ul {
    position: absolute;
    display: none;
    width: 180px;
    background-color: white;
    z-index: 15;
    /* box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.384); */
    padding: 0.5rem 1rem;
}

.category-content .sort-list ul.show {
  display: block;
}

.sorter-icon {
    /* background-color: black; */
    width: 20px;

}

.category-content .opt-trigger {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-right: 15px;
    line-height: 1.4;
}

.category-content .opt-trigger:hover{
    cursor: pointer;
}

.category-content .opt-trigger span {
    font-size: 14px;
    font-weight: 600;
}


.category-content .left span {
    display: none;
}

/* .category-content .dotgrid .wrapper {
    grid-column: 221px;
} */

@media screen and (min-width:768px) {
    .category-content .left span {
        display: block;
    }
}

@media screen and (min-width:992px) {

   .menu-trigger,
    .sidebar .close-trigger,
    .category-content .sorter>a {
        display: none;
    }

    .sidebar .close-trigger {
        display: none;
    }

    .product-container .content {
        display: grid;
        grid-template-columns: 1fr 4fr;
        gap: 0px;
    }

    .sidebar,
    .sidebar>wrap {
        all: unset;
    }
}

/*End filter  */

.dotgrid {
    margin-top: 50px;

}

.productcard--div1 {
    width: 100%;
    margin-bottom: 3rem;
    /* background-color: #00B21B; */
     transition: all 0.5s ease-in;
}

.container {
    min-width: 98%;
    /* height: max-content; */
    margin: auto;
    display: grid;
    /* grid-template-columns: repeat(auto-fit, 300px); */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    /* gap: 4rem; */
    justify-content: center;
    column-gap: 2rem;
    /* background-color: #08B4B8; */
}


@media screen and (min-width: 300px) and (max-width: 421px) {
    .container {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        padding: 0 0.5rem;
        gap: 0.5rem;
        row-gap: 1rem;
    }
}

@media screen and (min-width: 422px) and (max-width: 500px) {
    .container {
        grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
        padding: 0 0.5rem;
        gap: 0.5rem;
        row-gap: 1rem;
        /* background-color: red; */
    }
}

@media screen and (min-width: 501px) {
    .container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
}

@media screen and (min-width: 768px) {
    .container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
}
@media screen and (min-width: 1024px) {
    .container {
        grid-template-columns: repeat(3, minmax(210px, 1fr));
        /* grid-template-columns: 210px 210px 210px; */
        gap: 2rem;
    }
}
@media screen and (min-width: 1217px) {
    .container {
        grid-template-columns: repeat(4, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media screen and (min-width: 1550px) {
    .container {
        grid-template-columns: repeat(4, minmax(240px, 1fr));
        gap: 2rem;
    }
}

@media screen and (min-width: 1800px) {
    .container {
        grid-template-columns: repeat(auto-fit, 290px);
        gap: 2rem;
    }
}


.container-row {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 0.5rem;
    padding: 1rem;
    transition: transform 3s ease-in;
    /* background-color: red; */
    box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset,
        rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;
    transition-duration: 600ms;
    transition-timing-function: ease;
}

.container-row .tp-transform {
    transition-property: transform;
}

.container-row:hover {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    -webkit-transform: scale(1.06);
    -moz-transform: scale(1.06);
    -ms-transform: scale(1.06);
    -o-transform: scale(1.06);
    transform: scale(1.06);
    cursor: pointer;
}

/* .container-row1 {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  
    border-radius: 0.5rem;
    padding: 1rem;
    transition: transform 3s ease-in;
  
    box-shadow: rgb(43, 47, 49) 3px 3px 6px 0px inset,
        rgba(24, 24, 24, 0.5) -3px -3px 6px 1px inset;
    transition-duration: 600ms;
    transition-timing-function: ease;
}

.container-row1 .tp-transform {
    transition-property: transform;
}

.container-row1:hover {
    box-shadow: rgba(240, 240, 255, 0.288) 0px 7px 29px 0px;

    -webkit-transform: scale(1.06);
    -moz-transform: scale(1.06);
    -ms-transform: scale(1.06);
    -o-transform: scale(1.06);
    transform: scale(1.06);
} */

.container-card {
    width: 100%;
    display: flex;
    /* background-color: #f70000; */
    /* height: 15rem; */
    /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
    aspect-ratio: 3;
}

.card-span1 {
    position: absolute;
    z-index: 2;
    background-color: #ff0000;
    padding: 0.5rem 1rem;
    font-family: "poppins_regular";
    color: white;
    border-radius: 0rem 0.5rem 0 0.5rem;
    width: max-content;
}

.card--img1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 100%;
    position: relative;
    z-index: 1;
    background-color: rgb(255, 255, 255);
    /* background-color: rgba(224, 224, 224, 0.671); */

    border-radius: 10px;
}

.card--content {
    width: 100%;
    margin-top: 0.5rem;
}

.card--span2 {
    font-family: "poppins_semi";
    font-size: 1rem;
    color: #000000;
    opacity: 83%;
}

.card--heading2 {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.card--heading2--div1 {
    display: flex;
    flex-direction: column;
    width: 90%;
}

.card--heading2--divEx {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.card--span3 {
    font-family: "poppins_medium";
    font-size: 0.9rem;
}

.card--spanEx {
    font-family: "poppins_regular";
    font-size: 0.7rem;
    text-decoration: line-through;
    color: gray;
  margin-top: 0.15rem;
}

.card--span4g {
    font-family: "poppins_bold";
    font-size: 0.8rem;
    color: #00b21b;
}

.card--span4r {
    font-family: "poppins_bold";
    font-size: 0.8rem;
    color: #f70000;
}

.card--heading2--div2 {
    width: 20%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.card--icon1 {
    width: 1.7rem;
}




/* 


.product--sec1--div1:before,
.product--sec1--div1:after {
    position: absolute;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;

}

.product--sec1--div1:before {
    left: 0%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);


}

.product--sec1--div1:after {
    right: 0%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);

}

.product--sec1--div1:hover .product--sec1--div2 {
    animation-play-state:;
}


.product--sec1--div2 {
    display:inline-flex;
    animation: 45s slide infinite linear;
}

.product--sec1--div3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 40px;
    font-family: "poppins_semi";
    width: 80%;


}

.product--logo {
    background-color: black;
    border-radius: 50%;
    padding: 15%;
    height: 80px;
    margin-bottom: 0.8rem;

}

.Product-span1{


 

}

.products--a1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;

} */
 

.hidden-card {
    display: none;
}

.out-of-stock {
    cursor: not-allowed;
    pointer-events: none; /* disables clicking */
    opacity: 0.8; 
}

.out-of-stock:hover {
    cursor: not-allowed;
    pointer-events: none;
}

#load-more-btn {
  display: block;      /* Make it a block element to center */
  margin: 20px auto;   /* Top-bottom margin 20px, left-right auto centers */
  /* optional styling */
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

#category-list a.active {
  color: #08B4B8; /* Your desired highlight color */
  font-weight: bold;
}


.sorter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.sorter .left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.sorter .left .menu-trigger {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Menu trigger improvements */
.menu-trigger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #000;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-trigger:hover {
    background-color: #333;
    transform: scale(1.05);
}

.menu-trigger:active {
    transform: scale(0.95);
}

.sorter-icon {
    width: 20px;
    height: 20px;
}

/* Active Filters Container */
#active-filters-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Individual Filter Tag */
.filter-tag {
    display: inline-flex;
    align-items: center;
    background: #f1f3f4;
    border: 1px solid #dadce0;
    border-radius: 16px;
    padding: 4px 8px 4px 12px;
    font-size: 13px;
    color: #3c4043;
    gap: 6px;
    max-height: 28px;
}

.filter-tag.color-tag {
    padding-left: 8px;
}

.filter-tag .color-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #ccc;
    flex-shrink: 0;
}

.filter-tag .close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5f6368;
    font-size: 14px;
    line-height: 1;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.filter-tag .close-btn:hover {
    background-color: #e8eaed;
    color: #202124;
}

/* Clear All Button */
.clear-all-btn {
    background: none;
    border: none;
    color: #1a73e8;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.clear-all-btn:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

#product-count {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.sorter .right {
    display: flex;
    align-items: center;
}

.sort-list {
    position: relative;
}

.sort-list .wrap {
    position: relative;
}

.opt-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    background: white;
    font-size: 14px;
    color: #333;
    min-width: 150px;
    justify-content: space-between;
}

.opt-trigger:hover {
    border-color: #bbb;
}

.arrowdown {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.sort-list ul.show + .opt-trigger .arrowdown {
    transform: rotate(180deg);
}

#sort-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#sort-options.show {
    display: block;
}

#sort-options li {
    margin: 0;
    padding: 0;
}

#sort-options li a {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

#sort-options li:last-child a {
    border-bottom: none;
}

#sort-options li a:hover,
#sort-options li.active a {
    background: #f8f9fa;
    color: #007bff;
}

#no-results-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

#no-results-message h3 {
    color: #666;
    margin-bottom: 10px;
    font-size: 18px;
}

#no-results-message p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .sorter {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .sorter .left {
        gap: 10px;
        flex: 1;
        min-width: 100%;
        order: 1;
    }
    
    .sorter .right {
        flex: 1;
        justify-content: flex-end;
        order: 2;
    }
    
    #active-filters-container {
        gap: 6px;
    }
    
    .filter-tag {
        font-size: 12px;
        padding: 3px 6px 3px 10px;
    }
    
    .filter-tag.color-tag {
        padding-left: 6px;
    }
    
    .filter-tag .color-indicator {
        width: 10px;
        height: 10px;
    }
    
    .filter-tag .close-btn {
        width: 14px;
        height: 14px;
        font-size: 12px;
    }
    
    .clear-all-btn {
        font-size: 12px;
        padding: 3px 6px;
    }
    
    #product-count {
        font-size: 12px;
        flex: 1;
    }
    
    .opt-trigger {
        min-width: 120px;
        font-size: 12px;
        padding: 6px 10px;
    }
    
    #sort-options li a {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    #no-results-message {
        padding: 30px 15px;
    }
    
    #no-results-message h3 {
        font-size: 16px;
    }
    
    #no-results-message p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .sorter .left {
        flex-wrap: wrap;
    }
    
    #active-filters-container {
        width: 100%;
        margin: 5px 0;
    }
    
    #product-count {
        width: 100%;
        margin-top: 5px;
    }
    
    .opt-trigger {
        min-width: 100px;
    }
}


.color-btn.other-color {
    position: relative;
    border: 2px solid #ccc;
    color: #333;
    font-size: 10px;
    /* font-weight: bold; */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-btn.other-color:hover {
    border-color: #999;
}

/* .color-btn.other-color.active {
    border-color: #333;
    box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.3);
} */

/* Alternative styling if you prefer a simple text button */
.color-btn.other-color-text {
    background: #f5f5f5 !important;
    border: 2px solid #ccc;
    color: #333;
    font-size: 12px;
    /* font-weight: bold; */
    text-align: center;
    padding: 5px;
}


/* Color filter in single column, color circle + name in one row */
.sidebar .widget .product-color .wrap {
    display: flex !important;
    flex-direction: column;
    gap: 1px;
    padding: 10px 0;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Updated selector to match your HTML class */
.sidebar .widget .product-color .color-btn {
    display: flex;
    flex-direction: row;          /* circle + name in a row */
    align-items: center;
    width: 100%;
    min-height: 30px;            /* Use min-height for better text wrapping */
    border: none;
    background: transparent;
    padding: 5px;                /* Add some padding */
    cursor: pointer;
    transition: background-color .2s;
    text-align: left;            /* Align text to left */
    justify-content: flex-start; /* Align content to start */
}

/* Color circle - create pseudo-element for the circle */
.sidebar .widget .product-color .color-btn[data-hex]:not([data-hex="other"])::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
    border: 1px solid rgba(0,0,0,.15);
    flex-shrink: 0;
    background-color: var(--color);
}

/* Color name */
.sidebar .widget .product-color .color-btn[data-name]::after {
    content: attr(data-name);
    font-size: 13px;
    color: #333;
    font-family: "poppins_regular";
    line-height: 1.2;
    flex: 1;
}

/* "Other" color circle */
.sidebar .widget .product-color .color-btn.other-color::before {
    content: '';
    background: linear-gradient(45deg,#ccc 25%,transparent 25%,transparent 75%,#ccc 75%),
                linear-gradient(45deg,#ccc 25%,#fff 25%,#fff 75%,#ccc 75%) !important;
    background-size: 5px 5px !important;
    background-position: 0 0,2.5px 2.5px !important;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.15);
    margin-right: 10px;
    flex-shrink: 0;
}

/* Scrollbar */
.sidebar .widget .product-color .wrap::-webkit-scrollbar { 
    width: 4px; 
}
.sidebar .widget .product-color .wrap::-webkit-scrollbar-track { 
    background: #f1f1f1; 
}
.sidebar .widget .product-color .wrap::-webkit-scrollbar-thumb { 
    background: #bbb; 
    border-radius: 2px; 
}

.sidebar .widget .scrollto .wrapper::-webkit-scrollbar { 
    width: 4px; 
}
.sidebar .widget .scrollto .wrapper::-webkit-scrollbar-track { 
    background: #f1f1f1; 
}
.sidebar .widget .scrollto .wrapper::-webkit-scrollbar-thumb { 
    background: #bbb; 
    border-radius: 2px; 
}

/* Hover highlight */
.sidebar .widget .product-color .color-btn:hover {
    background-color: #f7f7f7;
    border-radius: 4px;
}


.color-btn:not(.other-color)::before {
    content: '';
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.15);
    background-color: var(--color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Color name */
.color-btn .color--name {
    margin-top: 8px;
    font-size: 10px;
    color: #333;
    line-height: 1.2;
    text-align: center;
    transition: color 0.3s ease;
}

/* Hover effects */
.color-btn:hover:not(.out-of-stock):not(.selected) {
    transform: translateY(-2px);
}

.color-btn:hover:not(.out-of-stock):not(.selected)::before {
    box-shadow: inset 0 0 0 4px white, 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.color-btn:hover:not(.out-of-stock) .color--name {
    color: #000;
    font-weight: bold;
}

/* Active/Selected state */
.color-btn.selected::before,
.color-btn.active::before {
    box-shadow: inset 0 0 0 4px white, 0 0 0 3px #333;
    transform: scale(1.05);
}

.color-btn.selected .color--name,
.color-btn.active .color--name {
    color: #000;
    font-weight: bold;
}

/* Click/Press effect */
.color-btn:active:not(.out-of-stock) {
    transform: translateY(1px);
}

.color-btn:active:not(.out-of-stock)::before {
    transform: scale(0.95);
    box-shadow: inset 0 0 0 4px white, 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Other color button special styling */
.color-btn.other-color {
    position: relative;
}

.color-btn.other-color::before {
    content: '';
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.15);
    background: linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%),
                linear-gradient(45deg, #ccc 25%, #fff 25%, #fff 75%, #ccc 75%);
    background-size: 6px 6px;
    background-position: 0 0, 3px 3px;
    transition: all 0.3s ease;
}

.color-btn.other-color:hover:not(.out-of-stock):not(.selected)::before {
    box-shadow: inset 0 0 0 4px white, 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
    border-color: #999;
}

.color-btn.other-color.selected::before,
.color-btn.other-color.active::before {
    box-shadow: inset 0 0 0 4px white, 0 0 0 3px #333;
    transform: scale(1.05);
    border-color: #333;
}

/* Out of stock states - disable interactions */
.color-btn.out-of-stock {
    cursor: not-allowed !important;
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(20%);
}

.color-btn.out-of-stock::before {
    border: dashed 2px rgb(94, 94, 94) !important;
    filter: grayscale(30%);
}

.color-btn.out-of-stock .color--name {
    color: #aaa;
    text-decoration: line-through;
}

/* Focus states for accessibility */
.color-btn:focus:not(.out-of-stock) {
    outline: none;
}

.color-btn:focus:not(.out-of-stock)::before {
    box-shadow: inset 0 0 0 4px white, 0 0 0 1px transparent;
}

.color--name:hover{
    font-weight: bold;
}

/* Animation for smooth transitions */
@keyframes colorBtnSelect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1.05);
    }
}

.color-btn.selecting::before {
    animation: colorBtnSelect 0.3s ease;
}


.sorter-icon-css {
    width: 20px;
    height: 20px;
    position: relative;
    display: inline-block;
    color: white;
}

.sorter-icon-css::before,
.sorter-icon-css::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    border-radius: 1px;
}

.sorter-icon-css::before {
    top: 2px;
    left: 0;
    width: 100%;
    height: 2px;
}

.sorter-icon-css::after {
    top: 6px;
    left: 25%;
    width: 50%;
    height: 2px;
    box-shadow: 
        0 4px 0 currentColor,
        0 8px 0 currentColor;
}

 #product-count.grey-color {
        display: inline-block !important;
    }

/* 0-991 px – force show the hamburger trigger */
@media screen and (max-width: 991px) {
    .category-content .sorter > a.menu-trigger {
        display: flex !important;
        position: relative !important;
        opacity: 1 !important;
        width: 44px !important;
        height: 44px !important;
        background: #000 !important;
        border-radius: 50% !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        z-index: 9999 !important;
    }
    
    /* Show sorter icon in mobile */
    .sorter-icon-css {
        display: inline-block !important;
        width: 20px;
        height: 20px;
        position: relative;
        color: white;
    }
    
    /* Sidebar should be hidden initially on mobile */
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 15;
        pointer-events: none;
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .sidebar.active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
    
    .sidebar > .wrap {
        position: relative;
        max-width: 360px;
        height: 100%;
        background-color: white;
        pointer-events: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .sidebar.active > .wrap {
        transform: translateX(0);
    }
    
    /* Show overlay on mobile */
    .overlay {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 14;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }

     .sorter-icon-css::before,
    .sorter-icon-css::after {
        content: '';
        position: absolute;
        background-color: currentColor;
        border-radius: 1px;
    }
    
    .sorter-icon-css::before {
        top: 2px;
        left: 0;
        width: 100%;
        height: 2px;
    }
    
    .sorter-icon-css::after {
        top: 6px;
        left: 25%;
        width: 50%;
        height: 2px;
        box-shadow: 
            0 4px 0 currentColor,
            0 8px 0 currentColor;
    }

    .close-trigger {
        display: flex !important;
        position: absolute;
        top: 8px;
        right: 10px;
        background-color: #000000;
        width: 40px;
        height: 40px;
        color: rgb(255, 255, 255);
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
        z-index: 16;
        cursor: pointer;
        border: none;
    }
    
    .close-trigger:hover {
        background-color: #ffffff;
        transform: scale(1.1);
        color: #000;
        border: #000 solid 1px;
    }
}

/* 992 px and up – hide it again */
@media screen and (min-width: 992px) {
     .category-content .sorter > a.menu-trigger,
    .menu-trigger,
    .sorter-icon-css {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

       [class*="sorter-icon"],
    [class*="menu-trigger"],
    *[class*="hamburger"],
    *[trigger-button] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Hide overlay on desktop */
    .overlay {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Make sidebar always visible and inline on desktop */
    .sidebar,
    .sidebar > .wrap {
        all: unset !important;
        position: relative !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transition: none !important;
        display: block !important;
    }
    
    /* Grid layout for desktop */
    .product-container .content {
        display: grid !important;
        grid-template-columns: 1fr 4fr !important;
        gap: 20px !important;
    }
    
    /* Ensure body scroll is normal on desktop */
    body.sidebar-open {
        overflow: auto !important;
    }

     .sorter .left .menu-trigger .sorter-icon-css,
    .menu-trigger .sorter-icon-css,
    a.menu-trigger .sorter-icon-css,
    span.sorter-icon-css {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Also hide any parent containers if needed */
    .sorter .left .menu-trigger,
    .sorter > .menu-trigger,
    .sorter a.menu-trigger {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* Prevent body scroll when sidebar is open */
body.sidebar-open {
    overflow: hidden;
}

/* Animation improvements */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.sidebar.active > .wrap {
    animation: slideIn 0.3s ease;
}

.overlay.active {
    animation: fadeIn 0.3s ease;
}