.container-archive{
    max-width: 1680px !important;
}

.archive__bg{
    padding-block: 30px;
    margin-top: 40px;
    border-radius: 30px;
}

.children{
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.child-item__wrapper{
    border-radius: 10px;
    padding: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: block;
    height: 100%;
}

.child-item__title{
    margin-bottom: 20px;
    display: block;
    transition: .2s;
}

.child-item .redirect-link span,
.child-item path{
    transition: .2s;
}

.child-item:hover .child-item__title,
.child-item:hover .redirect-link span{
    color: var(--green-color);
}

.child-item:hover path{
    fill: var(--green-color);
}

.archive-wrapper{
    display: grid;
    grid-template-columns: 320px 1fr;
    column-gap: 20px;
}

.archive-main{
    margin-top: 30px;
}

.archive-main__wrapper.loading{
    opacity: .5;
}

.woocommerce-no-products-found:nth-child(2) {
    display: none;
}

.search-form label{
    width: 100%;
}

.archive-main .search-field{
    width: 100%;
    max-height: 50px;
}

.archive-main .search-submit{
    right: 3px;
}

.archive-main .search-submit{
    background: var(--green-color) !important;
}

.archive-main .search-submit:hover{
    background: var(--text-color) !important;
}

.filter .menu{
    padding: 30px;
    background: #F8F8F8;
    border-radius: 10px;
    margin-block: 30px;
}

.filter .menu li a{
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
}

.filter .menu li:not(:last-of-type) a{
    margin-bottom: 15px;
    display: block;
}

.filter .menu li.current-menu-item a{
    color: var(--green-color);
    font-weight: 700;
}

.filter .menu li a:hover{
    color: var(--green-color);
}

.filter .menu li:first-of-type a{
    font-size: 25px;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 30px;
    display: block;
    cursor: pointer;
}

.show-all{
    margin-top: 30px;
    display: flex;
    align-items: center;
    column-gap: 10px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: .2s;
}

.show-all path{
    stroke: var(--green-color);
}

.show-all:hover{
    color: var(--green-color);
}



.question{
    padding: 30px 30px 60px 30px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.question__icon{
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EBE9E9;
    border-radius: 10px;
    margin-bottom: 30px;
    margin-inline: auto;
}

.question__title{
    margin-bottom: 15px;
    text-align: center;
}

.question__text{
    margin-bottom: 30px;
    text-align: center;
}

.question__btn{
    padding-block: 17px;
    min-height: 55px;
}

.products-wrapper{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20px;
    row-gap: 20px;
    margin-top: 30px;
}

.woocommerce-no-products-found{
    text-align: center;
    margin-top: 45px;
    font-size: 24px;
    line-height: 28px;
}

.woocommerce-pagination{
    margin-top: 60px !important;
}

.woocommerce-pagination ul{
    align-items: center;
}

.page-numbers li{
    display: flex;
}

.page-numbers:not(.next, .prev){
    padding-inline: 18px;
}

.page-numbers{
    font-size: 20px;
    line-height: 30px;
    display: flex;
    transition: .2s;
}

.page-numbers.current{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #959595;
    border-radius: 3px;
    color: var(--white-color);
    margin-inline: 9px;
}

.page-numbers:not(.next, .prev){
    margin: 0 !important;
}

.page-numbers.prev path,
.page-numbers.next path{
    transition: .2s;
}

.page-numbers.prev:hover path,
.page-numbers.next:hover path{
    fill: var(--green-color);
}

.advice{
    margin-top: 60px !important;
}

.related .products-wrapper{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 20px;
}

.filter-mobile-item{
    display: none;
}

@media screen and (max-width: 1500px) {
    .archive-wrapper{
        grid-template-columns: 260px 1fr;
    }

    .products-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .archive-main__wrapper.brand .products-wrapper{
        grid-template-columns: repeat(3, 1fr);
    }

    .filter__item{
        padding: 20px;
    }
}

@media screen and (max-width: 1200px) {
    .archive-main .search-button{
        display: none;
    }

    .archive-main .search-form{
        position: relative;
        visibility: visible;
        opacity: 1;
    }

    .products-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .page-numbers li:nth-child(4),
    .page-numbers li:nth-child(6),
    .page-numbers li:nth-child(7){
        display: none;
    }
}

@media screen and (max-width: 1025px) {
    .archive-wrapper{
        grid-template-columns: 100%;
        row-gap: 30px;
    }

    .archive-sidebar{
        display: none;
    }

    .archive-main__header{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 15px;
        row-gap: 20px;
    }

    .archive-main__header .search-form{
        position: relative;
        grid-column: 1/3;
    }

    .archive-main__header .search-form.grid{
        grid-column: 2;
    }

    .archive-main__wrapper.brand .products-wrapper{
        margin-top: 60px;
        gap: 30px;
    }

    .filter-mobile{
        display: block;
    }

    .filter-mobile-item{
        cursor: pointer;
        position: relative;
        display: block;
    }

    .filter-mobile-item.grid{
        grid-row: 1;
    }

    .filter-mobile-item__wrapper{
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 10px;
        padding: 11px 20px;
        background: #FAFAFC;
    }

    .filter-mobile-item__header svg{
        display: none;
    }

    .filter-mobile-item__title{
        font-size: 22px;
        line-height: 27px;
        transition: .3s;
    }

    .filter-mobile-item svg,
    .filter-mobile-item path{
        transition: .3s;
    }

    .filter-mobile-item.active .filter-mobile-item__title{
        color: var(--green-color);
    }

    .filter-mobile-item.active svg{
        transform: rotate(180deg);
    }

    .filter-mobile-item.active path{
        stroke: var(--green-color);
    }

    .filter-mobile-menu{
        position: absolute;
        opacity: 0;
        visibility: hidden;
        border-radius: 10px;
        background: var(--white-color);
        box-shadow: 0px 0px 15px 0px rgba(18, 18, 115, 0.10);
        padding: 30px 5px 30px 30px;
        width: 100%;
        transform: translateY(16px);
        transition: .3s;
        z-index: 1;
    }

    .filter-mobile-menu .menu li:first-of-type{
        display: none;
    }

    .filter-mobile-menu .menu{
        display: flex;
        flex-direction: column;
        row-gap: 15px;
    }

    .filter-mobile-menu .menu a{
        font-size: 18px;
        line-height: 150%;
    }

    .filter-mobile-menu__scroll{
        overflow-y: auto;
        max-height: 100vh;
        margin-top: 5px;
        display: flex;
        flex-direction: column;
        row-gap: 15px;
    }

    .filter-mobile-menu__scroll::-webkit-scrollbar {
        width: 4px;
        background-color: #f9f9fd;
    }

    .filter-mobile-menu__scroll::-webkit-scrollbar-thumb {
        border-radius: 5px;
        box-shadow: 0px 1px 7px 0px rgba(143, 129, 156, 0.40);
        background-color: var(--green-color);
    }

    .filter-mobile-menu__scroll::-webkit-scrollbar-track {
        border-radius: 5px;
        background: #F3F3F6;
        box-shadow: 0px 1px 7px 0px rgba(143, 129, 156, 0.40) inset;
    }

    .filter-mobile-item.active .filter-mobile-menu{
        opacity: 1;
        visibility: visible;
    }

    .filter-mobile-menu__item:first-of-type{
        margin-top: 25px;
    }

    .children{
        margin-top: 60px;
    }

    .child-item{
        padding: 20px;
    }

    .products-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 800px) {
    .archive-main__wrapper.brand .products-wrapper{
        grid-template-columns: repeat(2, minmax(0, 310px));
        justify-content: center;
    }
}

@media screen and (max-width: 767px) {
    .filter-mobile-item__title{
        font-size: 18px;
    }

    .filter-mobile-item__header{
        display: flex;
        align-items: center;
        column-gap: 15px;
    }

    .filter-mobile-item__header svg{
        display: block;
    }

    .archive-main__header{
        grid-template-columns: 100%;
        row-gap: 10px;
    }

    .archive-main__header .search-form{
        grid-column: auto;
    }

    .archive-main__header .search-form.grid{
        grid-column: auto;
    }

    .archive-main__wrapper.brand .products-wrapper{
        row-gap: 15px;
        column-gap: 5px;
        margin-top: 20px;
    }

    .page-numbers:not(.next, .prev){
        padding-inline: 10px;
    }

    .page-numbers.next svg,
    .page-numbers.prev svg{
        width: 40px;
    }

    .children{
        grid-template-columns: 100%;
        row-gap: 15px;
        margin-top: 20px;
    }
}

@media screen and (max-width: 620px) {
    .products-wrapper{
        gap: 5px;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 550px) {
    .page-numbers li:nth-child(6),
    .page-numbers li:nth-child(7){
        display: none;
    }
}

@media screen and (max-width: 400px) {
    .archive-main__wrapper.category .products-wrapper{
        grid-template-columns: 100%;
    }
}

@media screen and (max-width: 370px) {
    .products-wrapper{
        grid-template-columns: 100%;
    }
}







/* pagination */
.woocommerce-pagination{
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.woocommerce-pagination ul{
    display: flex;
    column-gap: 10px;
}
@media screen and (max-width: 767px) {
    .woocommerce-pagination {
        margin-top: 60px;
    }
}
@media screen and (max-width: 400px) {
    .woocommerce-pagination {
        margin-top: 45px;
    }
}













/* children categories */
.children-categories{
    margin-top: 80px;
    display: flex;
    align-items: center;
    column-gap: 20px;
}

@media screen and (max-width: 1025px) {
    .children-categories{
        margin-top: 60px;
    }
}

@media screen and (max-width: 767px) {
    .children-categories{
        margin-top: 45px;
    }
}

@media screen and (max-width: 400px) {
    .children-categories{
        margin-top: 30px;
    }
}





























/* category item */
.category-item__image img{
    width: 100%;
    height: 125px;
    object-fit: cover;
    border-radius: 10px;
}

.category-item__image{
    border-radius: 10px;
    width: 100%;
    height: 125px;
    background: #D9D9D9;
}

.category-item__title{
    display: block;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(12, 12, 65, 0.3);
    font-size: 22px;
    line-height: 28.6px;
}






