body.woocommerce .wpc-custom-selected-terms{
    display: block;
}

.wpc-custom-selected-terms{
    display: none;
}
.woocommerce-page .custom-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 849px;
    margin: 48px 0 60px auto;
}

.hide{
    display: none!important;
}
.wc-block-components-drawer__screen-overlay{
    z-index: 10000 !important;
}
.wc-block-mini-cart__button{
    color: var(--gray-700) !important;
}
.woocommerce ul.products li.product .button::after {
    content: "";
    position: relative;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: url("../icons/shopping-cart.png") no-repeat;
    background-size: cover;
    margin-right: 10px;
}
.woocommerce ul.products li.product .button{
    height: 48px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}
.woocommerce ul.products li.product .button.added, .woocommerce ul.products li.product .button.loading {
    flex-direction: row;
}
.woocommerce ul.products li.product .button.loading {
    font-size: 0;
    opacity: 1;
    height: 48px;
    margin-top: 14px;
    background: var(--gray-200);
}
.button.loading {
    pointer-events: none;
}
.button.loading .dots {
    display: flex!important;
}
.dots {
    display: none;
    justify-content: center;
    align-items: center;
}
.dot {
    width: 8px;
    height: 8px;
    margin: 0 2px;
    background-color: var(--gray-500);
    border-radius: 50%;
    animation: loading 1s infinite, colorChange 1s infinite;
}
.dot:nth-child(1) {
    animation-delay: 0s;
}
.dot:nth-child(2) {
    animation-delay: 0.2s;
}
.dot:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes loading {
    0%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
}
@keyframes colorChange {
    0% {
        background-color: var(--gray-500);
    }
    50% {
        background-color: var(--gray-700);
    }
    100% {
        background-color: var(--gray-500);
    }
}
.woocommerce ul.products li.product a.button.loading::after{
    display: none;
}


@media (max-width: 1024px) {
    .woocommerce-page .custom-pagination {
        flex-direction: column;
        gap: 24px;
    }

    .archive .sidebar-filter .block-bottom ul:has(p) {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    /*.archive .sidebar-filter .block-bottom ul p {*/
    /*    border: 1px solid;*/
    /*    font-size: 14px;*/
    /*    border-radius: 8px;*/
    /*    padding: 8px;*/
    /*    margin: 0;*/
    /*}*/
    .woocommerce-page .wc-block-mini-cart__footer-actions a{
        width: 100%;
    }
}
