
.wc-block-product-categories-list-item {
    &.current {
        & > a {
            color: var(--wp--preset--color--primary);
            font-weight: 600;
        }
        
    }
}

.wc-block-mini-cart__drawer {

    h2.wc-block-mini-cart__title {
        font-size: 20px;
    }

    .wc-block-cart-item__product {
        a {
            color: var(--wp--preset--color--dark-text);
            text-decoration: none;
            font-weight: 600;
        }
    }

    .wc-block-mini-cart__footer {
        a {
            border-radius: 32px;
        }

        .wc-block-mini-cart__footer-checkout {
            background-color: var(--wp--preset--color--primary);

            &:hover {
                background-color: var(--wp--preset--color--dark-text);
            }
        }
    }
}

.showSideNav {
    display: none !important;
}

.woo-shop__content,
.woo-shop__content-products {
    width: 100%;
    
}

.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: 0;
        left: 0;
        right: auto;
        border: none;
        border-radius: 48px;
        background-color: var(--wp--preset--color--primary);
        color: var(--wp--preset--color--white-text);
        font-size: 13px;
    }

    .product-card__price {
        width: 100%;
    }

    .product-card__top {
        flex-grow: 1;
        width: 100%;
    }

    .product-card__btn {
        position: relative;

        button {
            padding: 16px;
            background-image: url("..//images/arrow-up.png");
            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 > a {
            padding-left: 4px;
            padding-right: 4px;
            width: 32px;
            background-color: white !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;
}
.change-view {
    position: absolute;
    right: 250px;
    bottom: 0;

    #setGrid,
    #setList {
        cursor: pointer;
        transition: all .4s ease-in-out;

        &:hover {
            & > path {
                fill: #F9F9F9;
            }
        }

        &.active {
            & > path {
                fill: #F9F9F9;
            }

            g path {
                fill: var(--wp--preset--color--primary);
            }


        }
    }
}

.woocommerce-breadcrumb {
    a {
        color: var(--wp--preset--color--grey);
        text-decoration: none;
        transition: all .4s ease-in-out;
        border-bottom: 1px solid transparent;

        &:hover {
            border-bottom: 1px solid var(--wp--preset--color--grey);
        }
    }
    
}

.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);
}

.woo-content__side-navigation-cats {
    
    a {
        text-decoration: none;
        color: var(--wp--preset--color--dark-text);
        transition: all .1s linear !important;
    }
    
    .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;
    }
}

.woo-content__side-navigation-search {
    background-color: var(--wp--preset--color--white-text);
    border-radius: 64px;
    
    & > 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;
    }

    .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;
        }
    }

    .change-view {
        right: 80px;
        gap: 8px;
    }

    .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;
                        }
                    }
                }
            }

 
        }
    }

}

@media only screen and (max-width: 576px) {

    .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;
            }
        }
    }

    .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;
        }
    }

    .container-fullhd {
        padding-top: 88px !important;
        padding-left: 16px;
        padding-right: 16px;
    }

    .wc-block-product-template__responsive {
        gap: 12px;
    }

    .change-view {
        right: 70px;

        p {
            font-size: 14px;
        }
    }

    .wp-block-query-pagination-numbers {
        .current, a {
            min-height: 36px;
            min-width: 36px;
        }
    }
    .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;
                    }
                }
            }
        }
    }
}

