
/*sorting*/


.sort-desktop{
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Sort Buttons Desktop */
.sort-btn {
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
}

.sort-btn:hover {
    border-color: var(--additional-color);
    color: var(--additional-color);
}
.sort-btn.active {
    background: var(--additional-color);
    border-color: var(--additional-color);
    color: #000;
}

/* Sort Modal */
.sort-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    z-index: 9999;
    align-items: flex-end;
}
.sort-modal.active {
    display: flex;
}
.sort-modal-content {
    width: 100%;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 24px;
    animation: slideUp .3s ease;
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.sort-modal-btn {
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    text-align: right;
    transition: all .2s;
}
.sort-modal-btn:hover {
    background: #f1f5f9;
}
.sort-modal-btn.active {
    background: var(--additional-color);
    border-color: var(--additional-color);
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .sort-desktop {
        display: none !important;
    }
    .sort-mobile {
        display: block !important;
    }
}
@media (min-width: 769px) {
    .sort-mobile {
        display: none !important;
    }
}

/*sorting*/








.sort-mobile{
    display:none;
    margin-bottom:20px;
}

.sort-mobile .sort-but{
    width:100%;
    padding:12px;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:10px;
    font-family:inherit;
    font-size:14px;
    font-weight:600;
    color:#334155;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:space-between;
}




.all-products-category{
    padding-bottom: 80px;
}

.sort-and-filter{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-delvin{
    padding-block: 30px 10px;

}

.filter-pro{
    padding: 10px 15px;
    border: 1px solid var(--text-color);
    border-radius: 3px;
    background: var(--text-color);
    color: #fff;
    cursor: pointer;
}

.filter-pro svg path{
    fill: #fff;
}

.best-image {
    height: 413px;
    overflow: hidden;
}

.sorting-line{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    padding-inline: 10px;
}

.sorting-line .sort-pro{
    cursor: pointer;
}

.sorting-line .filter-pro{
    cursor: pointer;
}

.best-product .best-image img{
    transition: .5s;
}

.best-product:hover .best-image img{
    transform: scale(1.1);
    transition: .5s;
}




/*filter*/



.category-tabs-filters {
    display: flex;
    flex-direction: column;
    text-align: right;
    /* border-radius: 4px; */
    /* height: 100%; */
    /* background-color: #fff8f6; */
    /* padding-inline: 15px; */
    /* border: 1px solid #cccc; */
    padding: 0.8rem;
    /* border-left: 1px solid #cfcfcf; */
    /* height: 100%; */
}

.filter-check{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.each-filter-box{
    background: #fff;
    border-radius: 16px;
    /* border: 1px solid #e2e8f0; */
    /* padding: 20px; */
    margin-bottom: 20px;
    padding-inline: 11px;
}

.each-filter-box h3{
    font-size:16px;
    font-weight:700;
    margin-bottom:16px;
}

.each-filter-box a{
    display:block;
    padding:8px 12px;
    color:#334155;
    text-decoration:none;
    border-radius:8px;
    font-size:13px;
    margin-bottom:4px;
}

.each-filter-box a:hover{
    background-color:#f1f5f9 ;
}


.each-filter-box label span{
    font-size:14px;
    color:#334155;
}

.each-filter-box input{
    width:18px;
    height:18px;
    cursor:pointer;
    accent-color: #e9195b;
}

hr{
    border: none;
    border-top: 1px solid #c3c3c3;
    margin: 16px 0;
}

.all-color-filters{
    margin-bottom: 16px;
}

.all-color-filters h4{
    font-size:14px;
    font-weight:600;
    margin-bottom:10px;
    color:#374151;
}

.filter-items{
    display: flex;
    flex-direction: column;
    gap: 6px;
}


.filter-items label{
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background 0.2s;
    background: transparent;
}


.color-hex{
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
}

.color-name{
    font-size: 13px;
    color: #334155;
}

.val-item{
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background 0.2s;
    background: transparent;
    justify-content: space-between;
}





.category-tabs-filters {
    position: fixed;
    top: 0;
    /* right: -50%; */
    right: 0;
    height: 100%;
    max-height: 100%;
    width: 50%;
    border-radius: 0;
    /* padding-inline: 15px; */
    background-color: #fff;
    z-index: 1000;
    display: flex;
    justify-content: flex-start;
    padding-block: 20px 100px;
    padding-top: 53px;
    overflow: hidden auto;
    transform: translateX(100%);
    -webkit-transition: transform .5s ease-in-out;
    transition: transform .5s ease-in-out;
}

.category-tabs-filters {
    width: 400px;
}

.category-tabs-filters.show {
    transform: translateX(0);
    max-width: 100%;
    z-index: 100000000;
}

.category-filters-close {
    position: absolute;
    top: 18px;
    left: 10px;
}

.filters-close svg {
    display: inline;
}


.category-filters-title {
    /* margin-top: 30px; */
    display: flex;
    align-items: center;
    padding-block: 17px;
    gap: 5px;
    /* border-bottom: 1px solid #cdcdcd; */
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 6px;
    padding: 35px;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    display: none;
}

.category-filters-title {
    padding-block: 2px;
    /* padding-block: 17px 10px; */
    /* margin-top: 10px; */
    display: block;
}

.filter-title-name span {
    color: #3b3b3b;
    font-weight: 600;
    font-size: 16px;
}

.all-filters-cat {
    /* max-height: 300px; */
    overflow: auto;
    /* scrollbar-color: #1b9cd8 #cfcfcf; */
}

.all-filters-cat {
    max-height: 100%;
}

.category-in-store {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
    padding-inline: 1.2rem;
}

.category-in-store span {
    font-size: 14px;
}

.products-filter-available-label {
    width: 40px;
    height: 20px;
    border-radius: 1.75em;
    display: block;
    /* background-color: #EAEAEA; */
    border: 2px solid #a1a3a8;
    cursor: pointer;
    margin-bottom: 0;
    position: relative;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}


.products-filter-available-label::before {
    content: '';
    position: absolute;
    width: 13px;
    height: 12px;
    top: 2px;
    border-radius: 50%;
    background-color: #a1a3a8;
    transform: translateX(-23px);
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.category-items-menu-box {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    gap: 5px;
    cursor: pointer;
    padding-inline: 1rem;
}

.category-items-menu-box span:first-child {
    position: relative;
    font-size: 14px;
}

.category-text-box .category-items-menu-box svg {
    transition: all .5s;
    font-size: 15px;
    color: #7d7d7d;
}

.category-accordion-box {
    height: 0;
    display: flex;
    flex-direction: column;
    overflow: auto;
    --primary: #275efe;
    --headline: #3f4656;
    --text: #99a3ba;
    cursor: pointer;
    overflow-x: hidden;
}

.category-accordion-item span {
    color: #3e3e3e;
    font-size: 13px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


.checkmark {
    --border-default: #bbbbc1;
    --border-hover: #9898a3;
    --active: #0071dc;
    --active-tick: #fff;
    position: absolute;
    top: 0;
    right: 0;
    height: 20px;
    width: 20px;
    /* background-color: #eee; */
    border-radius: 4px;
    -webkit-tap-highlight-color: transparent;
    transition: all .5s;
    border: 2px solid #656565;
}


.category-accordion-item span {
    color: #3e3e3e;
    font-size: 13px;
}

.backward-arrow {
    padding: 18px 16px;
    padding-bottom: 7px;
    width: fit-content;
}

.category-filters-applied {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 50px;
    box-shadow: 0 -1px 1px rgba(0, 0, 0, .14), 0 -2px 2px rgba(0, 0, 0, .05);
    /* box-shadow: 0px 0px 7px rgba(252, 13, 169, 0.29); */
    /* border-radius: 31px 31px 15px 15px; */
    background-color: #fff;
    position: fixed;
}

.category-filters-applied__button {
    background-color: var(--secondary-color);
    width: 100%;
    display: inline-block;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    padding: 0.4rem 1rem;
    font-size: 14px;
    text-wrap: nowrap;
}

.category-filters-notapplied__button {
    background-color: #cac9c9;
    width: 100%;
    display: inline-block;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    padding: 0.4rem 1rem;
    font-size: 14px;
    text-wrap: nowrap;
}

.category-in-store {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
    padding-inline: 1.2rem;
}

.products-filter-discount-icon {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    opacity: 0;
    display: none;
}

.products-filter-discount-label {
    width: 40px;
    height: 20px;
    border-radius: 1.75em;
    display: block;
    /* background-color: #EAEAEA; */
    border: 2px solid #a1a3a8;
    cursor: pointer;
    margin-bottom: 0;
    position: relative;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.products-filter-discount-label::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 13px;
    top: 2px;
    border-radius: 50%;
    background-color: #a1a3a8;
    transform: translateX(-23px);
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.products-filter-available-icon:checked+label {
    background-color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.products-filter-available-icon:checked+label::before {
    background-color: #FFF;
    transform: translateX(0);
}

.products-filter-available-icon {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    opacity: 0;
    display: none;
}

.open_sub {
    left: 0;
    z-index: 100;
    height: 100% !important;
    width: 100%;
    top: 0;
    position: fixed;
    background: #ffff;
    padding-inline: 17px;
}


.checkmark {
    --border-default: #bbbbc1;
    --border-hover: #9898a3;
    --active: #0071dc;
    --active-tick: #fff;
    position: absolute;
    top: 0;
    right: 0;
    height: 20px;
    width: 20px;
    /* background-color: #eee; */
    border-radius: 4px;
    -webkit-tap-highlight-color: transparent;
    transition: all .5s;
    border: 2px solid #656565;
}

.category-accordion-item span {
    color: #3e3e3e;
    font-size: 13px;
}

.checkbox-container input:checked + .checkmark {
    background-color: #fff;
    border: 2px solid #a7633b;
}

.checkmark svg:first-child {
    width: 23px;
    height: 19px;
    left: -2px;
    top: 0;
    color: #a7633b;
    display: none;
}

.checkbox-container input:checked + .checkmark svg:first-child {
    display: block;
}


.checkbox-container input:checked + .checkmark svg:first-child {
    --stroke-dashoffset: 0;
}

.checkmark svg {
    display: block;
    position: absolute;
}

.checkbox-container input:checked + .checkmark svg:nth-child(2) {
    --animation: check;
}

.checkbox-container input:checked + .checkmark svg:nth-child(2) {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: var(--active);
    stroke-width: 1.25;
    stroke-linecap: round;
    top: -6px;
    right: -10px;
    stroke-dasharray: 4.5px;
    stroke-dashoffset: 13.5px;
    pointer-events: none;
    animation: var(--animation, none) 0.2s ease 0.175s;
}


.checkbox-container {
    display: block;
    position: relative;
    padding-right: 34px;
    /* margin-block: 14px; */
    cursor: pointer;
    /* padding-block: 18px; */
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    display: flex;
    align-items: center;
}

.checkbox-container span:first-child {
    width: 100%;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.category-accordion-item span {
    color: #3e3e3e;
    font-size: 13px;
}

.category-accordion-item {
    /* border-bottom: 1px solid #F2F2F2; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* margin-top: 1px; */
    /* height: 37px; */
    margin-block: 0px;
    padding: 0.8rem 0;
}

.category-text-box {
    /* margin-top: 15px; */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* cursor: pointer; */
    border-top: 1px solid #eee;
    padding-block: 17px;
    /* cursor: pointer; */
}

.category-filters-applied {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 50px;
    box-shadow: 0 -1px 1px rgba(0, 0, 0, .14), 0 -2px 2px rgba(0, 0, 0, .05);
    /* box-shadow: 0px 0px 7px rgba(252, 13, 169, 0.29); */
    /* border-radius: 31px 31px 15px 15px; */
    background-color: #fff;
    position: fixed;
}


.search-input input[type="text"] {
    width: 100%;
    padding: 14px 30px 14px 0;
    border-radius: 7px;
    border: none;
    font-size: 13px;
    /* background: #f5f5f5; */
    /* box-shadow: 0 1px 4px rgb(0 0 0 / 12%); */
    color: #444;
    outline: none !important;
    border: 1px solid #ccc;
}

.search-input{
    position: relative;
}

.search-input svg {
    position: absolute;
    margin-left: 10px;
    color: #ddd;
    right: 10px;
    width: 15px;
    height: 15px;
    right: 11px;
    top: 21px;
}



/*filter*/


.sort-pro{
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.sort-pro span {
    font-size: 14px;
}

.sort-items{
    display: flex;
    align-items: center;
    justify-content: center;
}


.sort-items span{
    padding-inline: 10px;
    border-right: 1px solid #d2d2d2;
    font-size: 13px;
}

.sort-items span.active{
    color:var(--primary-color);
}


.sort-items span:first-child{
    border-right: unset;
}



.category-tabs-title{
    display: none;
}



















/*responsive*/
/*responsive*/
/*responsive*/


@media screen and (max-width: 1399px){

}


@media screen and (max-width: 1199px){

}


@media screen and (max-width: 991px){


    .sort-desktop{
        margin-bottom: 8px;
    }

    .sort-items{
        display: none;
    }

    .sort-and-filter {
        margin-bottom: 10px;
    }


    .category-tabs-title {
        display: none;
        padding-top: 15px;
        align-items: flex-start;
        padding-inline: 50px;
        flex-direction: column;
        background-color: #fff;
        bottom: 0;
        right: 0;
        margin: auto;
        border-radius: 15px;
        height: max-content;
        width: 100%;
        position: fixed;
        z-index: 1110000000;
        padding-bottom: 20px;
    }


    .category-tabs-title.show {
        display: flex;
    }

    .category-tabs-close {
        position: absolute;
        right: 17px;
        top: 17px;
    }

    .category-sort-mobile-title {
        color: #444 !important;
        font-size: 1rem !important;
        width: 100%;
        text-align: right;
        border-bottom: 1px solid #c7c7c7;
        padding-bottom: 10px;
    }

    .category-sort-mobile-title {
        display: block;
    }

    .category-tabs-title.show .category-tabs-box {
        margin-top: 15px;
        width: 100%;
        border-left: 0;
        position: relative;
    }

    .category-tabs-title.show .category-tabs-box span {
        font-size: 13px;
    }

    .category-tabs-title.show .category-tabs-box span.active {
        color: var(--primary-color);
    }


}


@media screen and (max-width: 767px){

    .best-image {
        height: 458px;
    }



}


@media screen and (max-width: 575px){


    .filter-pro {
        padding: 5px 11px;
        font-size: 13px;
    }

    .filter-pro svg{
        width: 14px;
        height: 14px;
    }


    .best-image {
        height: 338px;
    }

    .category-delvin {
        padding-block: 40px;
    }

    .col-each-pro{
        padding-inline: 7px;
    }

}


@media screen and (max-width: 425px){

    .best-image {
        height: 267px;
    }

    .category-items-menu-box span:first-child {
        font-size: 13px;
    }

    .checkbox-container span:first-child {

        font-size: 13px;
    }


}


@media screen and (max-width: 375px){

    .best-image {
        height: 206px;
    }

    .sort-pro span {
        font-size: 13px;
    }

    .filter-pro span{
        font-size: 13px;
    }

}


@media screen and (max-width: 320px){
    .best-image {
        height: 193px;
    }
}





/*responsive*/
/*responsive*/
/*responsive*/





