.wc-block-product-categories-list-item {
    &.current {
        & > a {
            color: var(--wp--preset--color--primary);
            font-weight: 600;
        }
        
    }
}

.showSideNav {
    display: none !important;
}

.woo-shop__content,
.woo-shop__content-products {
    width: 100%;
    gap: clamp(32px, 3.33vw, 48px) !important;

    h2, h3, h3, a {
        font-family: "Poppins", sans-serif;
    }
}

.woo-shop__content-products {
    flex: 1;
}

.product-card {
    transition: all .4s ease-in-out;
    transform-origin: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: stretch;

    .wc-block-components-product-sale-badge {
        top: 12px;
        left: auto;
        right: 12px;
        border: none;
        border-radius: 48px;
        background-color: #8B0000;
        color: var(--wp--preset--color--white-text);
        font-size: 12px;
    }

    .product-card__price {
        width: 100%;

        .wc-block-components-product-price {
            padding-bottom: var(--wp--preset--spacing--24);
        }
    }

    .product-card__top {
        flex-grow: 1;
        width: 100%;
        border-bottom-right-radius: 0 !important;

    }

    .product-card__btn {
        position: relative;

        /* button {
            padding: 16px;
            background-image: url(../../../images/arrow-up.svg);
            background-size: 16px;
            background-repeat: no-repeat;
            background-position: center;
            transition: all .4s ease-in-out;

            &.loading {
                height: 0 !important;
                width: 0 !important;
                
      
            }

            span {
                display: none;
                opacity: 0;
            }

        } */

        .wp-block-button {
            padding-top: 24px;
            padding-left: 24px;

            &::before {
                content: " ";
                position: absolute;
                bottom: 0;                
                right: 0;
                width: 100%;
                height: 100%;
                background-image: url("../images/corner.png");
                z-index: 1;
            }

            & > a,
            & > button {
                background: url("../images/arrow-up.svg"), var(--wp--preset--gradient--red-gradient);
                background-position: center;
                background-repeat: no-repeat;
                aspect-ratio: 1 / 1;
                transition: all 0.3s ease;
                position: relative;
                z-index: 2;
                width: 43px;
                height: 43px;
                padding: 8px;

                &:hover {
                    background-color: var(--wp--preset--color--dark-text) !important;
                }
            }
        }

        span {
            position: absolute;
            top: -4px;
            left: -102px;
            width: 200px;
        }
        

        /* &::before {
            position: absolute;
            left: 0;
            bottom: 0;
            content: "";
            height: 35px;
            width: 10px;
            background-color: var(--wp--preset--color--white-text);
            border-bottom-right-radius: 20px;
        } */
    }

    &:hover {
        transform: scale(1.01);
        
        .product-card__btn {
            button {
                background-color: var(--wp--preset--color--dark-text) !important;

            }
        }
    }

    /* a.wp-block-button__link {
        background-image: url("..//images/arrow-down.png");
        background-size: 32px;
        background-repeat: no-repeat;
        background-position: center;
        transition: all .4s ease-in-out;
        border: 1px solid var(--wp--preset--color--dark-text);    
    } */
}


.is-product-collection-layout-list {
    width: 100%;

    .product {
        .product-card {
            display: flex;
            flex-direction: row;
            align-items: flex-end;
            background-color: var(--wp--preset--color--white-text);

            .product-card__title {
                margin: 0 !important;
                font-size:clamp(18px, 1.25vw, 24px) !important;
                display: flex;
                align-items: center;
            }

            & > div {
                margin: 0;
            }
        
            .product-card__top {
                display: flex;
                gap: 32px;
                margin: 0 !important;
                border-bottom-left-radius: 24px !important;
                padding: 24px !important;
                flex: 3;
            }

            .product-card__top-image {
                margin: 0 !important;
                width: 175px;
                height: 175px;
                min-width: 175px;
            }

            .product-card__price {
                margin-right: 0 !important;
                align-items: flex-end;
                justify-content: flex-end;
                padding-left: 8px;
                padding-bottom: 24px;
                padding-right: 24px;
                border-bottom-right-radius: 24px;
                flex: 1;

                .wp-block-woocommerce-product-price {

                    div {
                        padding-bottom: 12px;
                    }
                }

                & > span,
                & > del,
                & > ins {
                    position: relative;
                    top: 0;
                    font-size: clamp(18px, 1.67vw, 32px);
                }
            }

            .product-card__btn{
                padding-top: 0 !important;
                padding-left: 0 !important;

                & > div {
                    background-color: white;
                }

                button {
                    width: 64px;
                    height: 64px;
                    background-size: 24px;
                }

                .wp-block-button > a {
                    width: 64px;
                    height: 64px;
                }

            }

            a.wp-block-button__link {
                background-image: url("..//images/arrow-down.png");
                background-size: 64px;
            }
        }
    }

}

.woocommerce-result-count {
    padding: 24px 0;
    color: var(--wp--preset--color--grey);
}

/* nav */
.pagination-top {
    position: relative;

    .pagination-top__topGroup {
        position: absolute;
        right: 200px;
    }

    .pagination-top__orderby select {
        position: relative;
        padding: 10px 13px;
        border: none;
        font-size: 16px !important;
        color: var(--wp--preset--color--dark-text);
        border-bottom-left-radius: 32px;
        border-top-left-radius: 32px;
        cursor: pointer;
        font-family: var(--wp--preset--font-family--primary);
        background-color: white !important;
    }

    form {
        display: flex;
        border: 1px solid transparent;
        transition: all .4s ease-in-out;
        z-index: 2;
        position: relative;
        left: 24px;
    }

    form::after {
        position: relative;
        content: "";
        width: 45px;
        height: 45px;
        background-color: white;
        display: block;
        border-bottom-right-radius: 45px;
        border-top-right-radius: 45px;
        z-index: -1;
        left: -24px;
    }
}

.woocommerce-breadcrumb {
    a {
        color: var(--wp--preset--color--light-blue);
        text-decoration: none;
        transition: all .4s ease-in-out;
        border-bottom: 1px solid transparent;

        &:hover {
            border-bottom: 1px solid var(--wp--preset--color--accent);
        }
    }
    
}

.wp-block-woocommerce-filter-wrapper {
    padding-top: 24px;
}

.wc-block-price-filter__control {
    input {
        border: none;
        border-radius: 64px !important;
    }

    label {
        display: none;
    }
}

.woo-shop__content-navigation {
    width: clamp(240px, 20vw, 400px);
}

.wp-block-query-pagination-next-arrow.is-arrow-arrow,
.wp-block-query-pagination-previous-arrow.is-arrow-arrow {
    position: relative;
    top: 1px;
    color: transparent;
    background-image: url("../images/arrow-right.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}

.wp-block-query-pagination-previous-arrow.is-arrow-arrow {
    background-image: url("../images/arrow-left.svg");
}

.wp-block-query-pagination-next:hover span,
.wp-block-query-pagination-previous:hover span {
    filter: invert(1);
}

.woo-content__side-navigation-cats {
    
    a {
        text-decoration: none;
        color: var(--wp--preset--color--dark-text);
        transition: all .3s linear !important;
        border-bottom: 1px solid transparent;

        &:hover {
            border-bottom: 1px solid var(--wp--preset--color--primary);
            color: var(--wp--preset--color--primary);
        }
    }
    
    .wc-block-product-categories {
        margin-bottom: 0;

        & > ul {
            margin: 0;
            padding-top: 16px;

            ul {
                padding-top: 12px;
                display: none;
            }
        }

        .chevron {
            position: relative;
            top: -3px;
            display: inline-block;
            width: 8px;
            height: 8px;
            margin-left: 10px;
            border: solid #333;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
            cursor: pointer;
            transition: all .2s ease-in-out;
            transform-origin: center;
          }
        
          .chevron-rotated {
            transform: rotate(225deg);
            top: 3px;
          }
        
          ul.is-open {
            display: flex !important;
          }
        

        ul {
            padding-left: 0;
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
    }

    .all-products {
        padding-bottom: 24px;
    }
}

.pagination__bottom {
    margin-top: 32px !important;
}

.woo-content__side-navigation-search {
    background-color: var(--wp--preset--color--white-text);
    border-radius: 64px;
    margin-top: 32px !important;
    
    & > div {
        display: flex;
        flex-direction: row-reverse;

        button {
            margin-left: 0;
            padding: 10px;
        }
    }
}

@media only screen and (max-width: 1536px) {
    .is-product-collection-layout-list {
        & .product {
            & .product-card {
                .product-card__price {
                    gap: 16px;
                }

                & .product-card__btn {
                    button {
                        width: 48px;
                        height: 48px;
                        background-size: 20px;
                    }
                }

                a.wp-block-button__link {
                    background-image: url("..//images/arrow-down.png");
                    background-size: 48px;
                }
            }
        }
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {


    .wc-block-product-template__responsive {
        .product-card {
            .product-card__price * {
                font-size: 14px;
            }
        }

    }

    .woo-content__side-navigation-cats {
        a {
            font-size: 14px;
        }
    }
}

@media only screen and (max-width: 1100px) {

    .woo-shop {
        min-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .woo-banner {
        min-width: 100%;
        margin: 0 !important;
    }

    .pagination-top {
        .pagination-top__topGroup {
            right: 56px;
        }
    }

    .wp-block-query-pagination-next, 
    .wp-block-query-pagination-previous {
        font-size: 0px;

        span {
            font-size: 16px;
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
    }

    .wp-block-query-pagination-numbers {
        font-size: 14px;

        .current, a {
            padding: 4px;
        }
    }

    .is-product-collection-layout-list {
        & .product {
            .product-card {
                flex-direction: column;

                .product-card__top {
                    gap: 32px;
                    padding-right: 0;
                    padding-bottom: 0 !important;
                    padding: 16px !important;
                    padding-bottom: 0 !important;
                    /* align-items: flex-start; */

                    .product-card__top-image {
                        min-width: 125px;
                        width: 125px;
                        height: 125px;
                    }
                }

                .product-card__title {
                    font-size: 20px !important;
                }

                & .product-card__price {
                    padding: 16px !important;
                    padding-top: 4px !important;
                    justify-content: space-between;

                    .woocommerce-Price-amount {
                        padding-right: 24px !important;
                    }
                
                    .product-card__btn {
                            background-color: white !important;
                            padding-top: 0 !important;
                            padding-left: 0 !important;
                        button {
                            width: 44px;
                            height: 44px;
                            background-size: 20px;
                        }

                        .wp-block-button > a {
                            width: 44px;
                            height: 44px;
                        }
                    }
        
                    & > span, & > del, & > ins {
                        font-size: 20px !important;
                    }

                    & .wp-block-woocommerce-product-price {
                        div {
                            padding-bottom: 0 !important;
                            padding-left: 0 !important;
                        }
                    }
                }
            }

 
        }
    }

    .woo-shop__content-products {
        .wc-block-product-template__responsive {
            grid-template-columns: 1fr 1fr;
        }
    }

}

@media only screen and (max-width: 576px) {

    .woo-banner {
        min-height: 120px !important;   
    }
    
    .showSideNav {
        position: fixed;
        left: 0;
        top: 340px;
        z-index: 3;
        display: block !important;
        transition: all .4s ease-in-out;

        &.clicked {
            left: 300px;
        }

        .wp-block-button a {
            display: flex;
            justify-content: center;
            align-items: center;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
            padding: 12px !important;
            box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
            
            img {
                width: 24px !important;
                transform: none !important;
            }
        }
    }

    .woo-shop__content-navigation {
        /* display: none; */
        padding: 16px;
        bottom: 0;
        top: 72px;
        left: -300px;
        position: fixed;
        z-index: 3;
        background-color: var(--wp--preset--color--light-bg);
        width: 300px;
        transition: all .4s ease-in-out;
        z-index: 100;

        &.showed {
            left: 0;
        }

        .woo-content__side-navigation-search {
            margin-top: 16px !important;
        }
    }

    .container-fullhd {
        padding-top: 88px !important;
        padding-left: 32px;
        padding-right: 32px;
    }

    .wc-block-product-template__responsive {
        gap: 12px;
    }


    .woo-shop__content-products {
        .wc-block-product-template__responsive {
            grid-template-columns: 1fr;
        }
    }

    .wp-block-query-pagination-numbers {
        .current, a {
            min-height: 36px;
            min-width: 36px;
        }
    }

    .pagination-top {
        .pagination-top__orderby select {
            width: 180px;
            font-size: 13px !important;
        }
    }

    .product-card {
        .wp-block-woocommerce-product-price {
            margin-top: -4px;
        }

        & .product-card__price {
            & > span, & > del, & > ins {
                font-size: 15px !important;
            }
        }
    }

    .is-product-collection-layout-list {
        & .product {
            & .product-card {
                .product-card__top {
                    gap: 16px;
                
                    .product-card__top-image {
                        min-width: 100px;
                        width: 100px;
                        height: 100px;
                    }
                }

                .product-card__title {
                    font-size: 16px !important;
                }

                & .product-card__price {
                    & > span, & > del, & > ins {
                        font-size: 18px !important;
                    }

                    .woocommerce-Price-amount {
                        padding-right: 16px !important;
                    }
                }
            }
        }
    }
}

