/*
 Theme Name:   LUXEMOTION Child
 Description:  LUXEMOTION Child Theme
 Author:       MRNX.ru
 Author URI:   https://mrnx.ru
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/*Описание способаоплаты*/
.payment_box.payment_method_yookassa_epl {
    display: none !important;
}

#billing_country_field {
    display: none !important;
}

@media (min-width: 1025px) {
    p:is(.form-row-first,.form-row-last) {
        overflow: visible;
        width: 100%;
    }
}

#billing_phone {
    --wd-form-placeholder-color: #999999;
}

.woodmart-archive-shop .shop-loop-head {
    margin-bottom: 30px;
}

.woodmart-archive-shop .shop-loop-head > .wd-shop-tools:first-child {
    display: none;
}

.woodmart-archive-shop .shop-loop-head .wd-shop-tools {
    gap: 18px;
}

.woodmart-archive-shop .luxemotion-shop-cats {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 18px 28px;
    width: 100%;
    margin-bottom: 22px;
}

.woodmart-archive-shop .luxemotion-shop-cat {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    color: #3f4752;
    font-size: 18px;
    line-height: 1.25;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

.woodmart-archive-shop .luxemotion-shop-cat:hover,
.woodmart-archive-shop .luxemotion-shop-cat.is-active {
    color: #c6812b;
}

.woodmart-archive-shop .luxemotion-shop-cat sup {
    position: relative;
    top: -0.7em;
    margin-left: 3px;
    color: #c6812b;
    font-size: 10px;
    line-height: 1;
    text-decoration: none;
}

.woodmart-archive-shop .wd-show-sidebar-btn {
    order: -10;
    margin-right: auto;
}

.woodmart-archive-shop .wd-show-sidebar-btn > a {
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid #1f2933;
    border-radius: 4px;
    color: #1f2933;
    font-weight: 600;
    letter-spacing: 0;
}

.woodmart-archive-shop .wd-show-sidebar-btn > a:hover {
    border-color: #c6812b;
    color: #c6812b;
}

.woodmart-archive-shop .area-sidebar-shop.wd-side-hidden {
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    width: min(92vw, 520px) !important;
    max-height: min(86vh, 760px) !important;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
    transform: translate(-50%, -46%) scale(0.96) !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.woodmart-archive-shop .area-sidebar-shop.wd-side-hidden.wd-opened {
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.woodmart-archive-shop .area-sidebar-shop.wd-side-hidden .wd-heading {
    padding: 18px 24px;
}

.woodmart-archive-shop .area-sidebar-shop.wd-side-hidden .widget-area {
    padding: 24px;
    padding-bottom: 96px;
}

.woodmart-archive-shop .area-sidebar-shop.wd-side-hidden .sidebar-widget {
    padding-inline: 0;
}

.woodmart-archive-shop .area-sidebar-shop .wd-clear-filters {
    display: none;
}

.woodmart-archive-shop .area-sidebar-shop .widget_product_categories {
    display: none;
}

.woodmart-archive-shop .woodmart-woocommerce-layered-nav li.luxemotion-filter-selected > a {
    color: #c6812b;
    font-weight: 600;
}

.woodmart-archive-shop .woodmart-woocommerce-layered-nav li.luxemotion-filter-selected > a:before {
    border-color: #c6812b;
    background-color: #c6812b;
}

.woodmart-archive-shop .luxemotion-filter-actions {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 24px;
    border-top: 1px solid rgba(119, 119, 119, 0.18);
    border-radius: 0 0 8px 8px;
    background: #ffffff;
    box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.08);
}

.woodmart-archive-shop .luxemotion-filter-reset,
.woodmart-archive-shop .luxemotion-filter-apply {
    min-height: 42px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0;
}

.woodmart-archive-shop .luxemotion-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.woodmart-archive-shop .luxemotion-filter-reset:hover {
    color: #1f2933;
}

.woodmart-archive-shop .luxemotion-filter-apply {
    padding: 0 24px;
    border: 0;
    color: #ffffff;
    background: #1f2933;
}

.woodmart-archive-shop .luxemotion-filter-apply:hover {
    background: #c6812b;
}

.woodmart-archive-shop .luxemotion-filter-apply:disabled {
    opacity: 0.45;
    cursor: default;
}

@media (max-width: 768px) {
    .woodmart-archive-shop .luxemotion-shop-cats {
        flex-wrap: wrap;
        gap: 14px 18px;
        margin-bottom: 30px;
        overflow: visible;
        padding-bottom: 0;
    }

    .woodmart-archive-shop .luxemotion-shop-cat {
        flex: 0 1 auto;
        font-size: 16px;
    }

    .woodmart-archive-shop .shop-loop-head .wd-shop-tools {
        align-items: flex-start;
    }

    .woodmart-archive-shop .wd-show-sidebar-btn {
        width: 100%;
    }

    .woodmart-archive-shop .shop-loop-head .wd-shop-tools:last-child {
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding-top: 10px;
    }

    .woodmart-archive-shop .shop-loop-head .wd-shop-tools:last-child .wd-show-sidebar-btn {
        grid-column: 1;
        width: auto;
        margin: 0;
    }

    .woodmart-archive-shop .shop-loop-head .wd-shop-tools:last-child .wd-products-per-page {
        display: none;
    }

    .woodmart-archive-shop .shop-loop-head .wd-shop-tools:last-child .wd-products-shop-view {
        grid-column: 3;
        justify-self: end;
        margin: 0;
    }

    .woodmart-archive-shop .shop-loop-head .wd-shop-tools:last-child .woocommerce-ordering {
        grid-column: 4;
        justify-self: end;
        margin: 0;
    }

    .woodmart-archive-shop .area-sidebar-shop.wd-side-hidden {
        width: calc(100vw - 24px) !important;
        max-height: calc(100vh - 48px) !important;
    }

    .woodmart-archive-shop .luxemotion-filter-actions {
        padding: 14px 16px;
    }
}

p#privacy_consent_field {
    margin-top: 30px;
}

li.wc_payment_method.payment_method_yookassa_epl > label[for="payment_method_yookassa_epl"] {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 10px !important;
}


li.wc_payment_method.payment_method_yookassa_epl > label[for="payment_method_yookassa_epl"] img {
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
}