/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
.amount {
    font-weight: 400;
}
.page .main-page-wrapper {
    transition: background-color 0.8s ease; /* Плавный переход цвета */
}
.wd-nav-pagin-wrap[class*="wd-style-shape"] span {
    width: 16px !important;
    height: 1px !important;
    border-radius: 0 !important;

}
.wd-nav-pagin {
    gap: 0 !important;
}
.wd-header-cart .wd-tools-icon:before {
    content: "\e906" !important;
}
.wd-header-wishlist .wd-tools-icon:before {
    content: "\e905" !important;
}
.wd-nav-main>li>a {
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em;
}

/* menu */
.whb-overcontent .wd-tools-count {
    background-color: #fff !important;
    color: #333 !important;
    font-family: 'Montserrat';
    font-weight: 500 !important;
}
/* MOBILE MENU */
.wd-nav-mobile>li>a, .wd-nav-mobile>li>ul li>a {
    border-bottom: none !important;
}
.wd-nav>li>a {
    font-weight: 500;
    font-size: 14px;
}
@media (max-width: 1024px) {
    .mobile-nav.wd-side-hidden,
    .wd-drilldown-show {
        width: 100%;
        background-color: rgba(241, 240, 237, 1) !important;
    }
    .wd-drilldown-show {
        border-top: 1px solid #333;
    }
    .mobile-nav .wd-heading {
        flex-direction: row-reverse;
        border-bottom: none;
        padding: 16px 0px 16px 0px;
    }
    .mobile-nav .wd-heading {
        font-family: 'Leotaro';
        font-size: 36px;
    }
    .mobile-nav .wd-cross-icon>a:before {
        content: "\f121";
        font-size: 20px;
    }
    .mobile-nav .wd-nav>li>a {
        font-weight: 400;
        font-size: 24px;
        text-transform: none;
        padding: 30px 20px !important;
    }
    .mobile-nav .wd-nav-opener {
        border: none !important;
    }
    .wd-nav-opener:after {
        content: "\f120";
        font-size: 20px;
    }
}
/* CART POPUP */
/* MINI CART */
.cart-widget-side {
    width: 500px;
}
@media (max-width:768px) {
    .cart-widget-side {
        width: 100%;
    }}
.close-side-widget {
    display: flex;
    width: 56px;
    height: 56px;
    border-left: 1px solid var(--brdcolor-gray-300);
    justify-content: center;
    align-items: center;
}
.cart-widget-side .wd-heading {
    padding: 16px 0px 16px 0px;
}
.woocommerce-mini-cart__buttons .btn-cart {
    display: none;
}
.cart-widget-side {
    background-color: rgba(241, 240, 237, 1);
}
.cart-widget-side .wd-heading {
    flex-direction: row-reverse;
    border-bottom: none;

}
.cart-widget-side .wd-heading .title {
    font-family: 'Leotaro';
    font-size: 36px;
}
.cart-widget-side .wd-cross-icon>a:before {
    content: "\f121";
}
.woocommerce-mini-cart__buttons .checkout,
#place_order {
    border-radius: 5px;
    text-transform: none !important;
    font-size: 14px;
    line-height: 3em;
    font-weight: 400 !important;
    letter-spacing: 0.05em;
}
.product_list_widget>li img {
    max-width: 100px !important;
}

/* BREADCRUMBS */
:is(.breadcrumbs,.yoast-breadcrumb) :is(a,span) {
    text-transform: none;
    font-weight: 500;
    font-size: 12px;
    color: #8e8e8e;
    letter-spacing: 0.03em;
}
.yoast-breadcrumb .breadcrumb_last {
    font-weight: 500;
    color: #444444;
}
.archive #breadcrumbs {
    text-align: center;
    display: none;
}
@media (max-width:768px) {
.wd-breadcrumbs {
    overflow: hidden;
    overflow-x: scroll;
    white-space: nowrap;
    margin-right: calc(50% - 50vw);
}}
/* BREADCRUMBS */

/* SLIDER */
/* .wd-slide-container {
    align-items: flex-end !important;
}
.wd-slide-inner h2 {
    font-size: 64px;
    letter-spacing: 0.02em;
}
@media (max-width:768px) {
    .wd-slide-inner h2 {
        font-size: 32px;
    }
    .wd-entities-title {
        text-align: left;
        font-size: 12px !important;
    }
}
.wd-slide-inner a {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
#slider-81 .wd-slide-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Чтобы не мешать взаимодействию с слайдером */
    /* background: radial-gradient(circle, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
} */ */
.wd-prev .wd-arrow-inner:after {
    content: "\e901" !important;
    color: #fff !important;
}
.wd-next .wd-arrow-inner:after {
    content: "\e902" !important;
    color: #fff !important;
}
/* PRODUCT ON GRID */
.brown-product .amount {
    color: rgb(241,240,237);
    font-weight: 400;
    letter-spacing: 0.02em;
}
.hide-larger-price .price>:is(ins,small) {
    margin-inline-start: 12px;
}
.brown-product del .amount {
    opacity: 0.7;
}
.brown-product .wd-entities-title {
    font-weight: 400;
    color: rgb(241,240,237);
    letter-spacing: 0.02em;
}
.product-element-top {
    border-radius: 12px;
}
/* SALE LABEL */
.product-labels.labels-rounded .product-label {
    font-size: 10px !important;
    font-weight: 400;
    color: rgb(241,240,237);
    background-color: rgb(79,25,16);
    letter-spacing: 0.1em;
}
.wd-product :where(.product-wrapper,.product-element-bottom) {
    align-items: center;
}
.wd-product.wd-hover-standard .wd-add-btn {
    display: none !important;
}
.wd-buttons[class*="wd-pos-r"] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
.wd-buttons {
    background: none !important;
    box-shadow: none !important;
}
.wd-wishlist-icon>a:before {
    content: "\e900" !important;
    color: #9D9D9D;
}
.wd-buttons.wd-pos-r-t {
    top: 0 !important;
    inset-inline-end: 0 !important;
}
.wd-action-btn>a.added:before {
    content: "\e900" !important;
    color: #333;
}
/* .wd-entities-title {
    text-align: left;
    font-size: 12px !important;
    font-weight: 500;
} */
.product-grid-item {
    margin-bottom: 12px;
}
.woocommerce-ordering {
    margin-bottom: 16px;
    visibility: hidden;
}
/* CATEGORY PAGE */
.archive .page-title .title {
    font-size: 42px;
    font-family: "Leotaro", Sans-serif;
}

/* PRODUCT PAGE */
/* .single-product-content .container-fluid {
    width: clamp(var(--wd-container-w), 95%, 100%) !important;
} */
.tabs-layout-accordion .wd-scroll-content {
    max-height: 550px !important;
}
.product_title {
    font-size: 20px;
}
.single-product th.label.cell {
    display: none !important;
}
table.variations select {
    max-width: none !important;
}
select#pa_size {
    height: 52px;
}
.single_add_to_cart_button {
    font-size: 10px;
    letter-spacing: 0.02;
}
.related-and-upsells {
    margin-top: 40px;
}
@media (max-width:768px) {
.single-product-page .product-images {
    padding-inline: 0px;
}
.summary-inner,
.related-and-upsells {

}
}
/* .single-breadcrumbs-wrapper .container {
    max-width: clamp(var(--wd-container-w), 95%, 100%) !important;
} */
[class*="wd-swatches"].wd-text-style-4 .wd-swatch.wd-text .wd-swatch-text {
    font-size: 13px !important;
}
.wd-text.wd-enabled {
    background-color: #e6e6e6;
}
/* WISHLIST ICON */
.wd-wishlist-btn span {
    display: none;
}
.No17 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.wd-action-btn.wd-style-text>a:before {
    font-size: 20px;
}
/* p.stock.wd-style-default.in-stock:before {
    content: ;
} */
.wd-accordion-title-text {
    font-size: 13px !important;
    font-weight: 500 !important;
}
div.wc-tab-inner {
    font-size: 13px !important;
    color: #333 !important;
}
.wd-accordion.wd-style-default:before {
    border-top: 1px solid var(--brdcolor-gray-300) !important;
}
.single_add_to_cart_button.disabled {
    background-color: #e6e6e6;
    color: #333;
}
.summary-inner div.quantity {
    display: none !important;
}
form.cart :where(.single_add_to_cart_button,.wd-buy-now-btn,.quantity) {
    flex: 1 1 100% !important;
    border-radius: 5px;
    text-transform: none !important;
    font-size: 13px;
    line-height: 3em;
    font-weight: 400 !important;
}

@media (min-width:768px) {
.summary-inner {
    margin: 0 32px;
}
}

.wd-popup-slide-from-left.mfp-ready .wd-popup {
    opacity: 1;
    transform: none;
    top: 0;
    right: 0;
    position: fixed;
    height: 100%;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
button.mfp-close {
    top: 0 !important;
    inset-inline-end: 0 !important;
    color: #333 !important;
}

/* CONTENT PAGE */
:is(.widget_categories,.widget_pages,.widget_archive,.widget_nav_menu) ul li.current_page_item>a {
    font-weight: 400;
}

/* POPUP */
.popup-open .wd-opener-style-arrow {
    transform: rotate(270deg) !important;
}
/* Оверлей */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Полупрозрачный черный */
    z-index: 999; /* На слой ниже попапа */
    opacity: 0;
    transition: opacity 0.3s ease-in-out; /* Плавное появление */
    pointer-events: none; /* Отключаем клики в скрытом состоянии */
}

.popup-overlay.show {
    opacity: 1;
    pointer-events: all; /* Включаем клики, когда оверлей активен */
}

.popup {
    position: fixed;
    top: 0;
    right: 0;
    width: 520px;
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1); /* Плавный переход */
    z-index: 1000; /* На слой выше оверлея */
}
@media (max-width:768px) {
    .popup {
        width: 90%;
    }
}
.popup.show {
    transform: translateX(0);
}

.popup.size-hidden {
    transform: translateX(100%);
}
.popup-content {
    padding: 20vh 36px;
}
.popup-close {
    position: absolute;
    top: 0;
    left: 0;
}
.form-headline {
    margin-bottom: 36px;
    font-family: 'Tezex', Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
}
.category-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    overflow-x: auto; /* Горизонтальная прокрутка */
    white-space: nowrap; /* Запрещает перенос строк */
    -webkit-overflow-scrolling: touch; /* Плавная прокрутка для iOS */
    padding-bottom: 10px; /* Отступ для скроллбара */
}

.category-tabs::-webkit-scrollbar {
    height: 6px; /* Высота скроллбара */
}

.category-tabs::-webkit-scrollbar-thumb {
    background-color: #ccc; /* Цвет ползунка */
    border-radius: 3px;
}
.category-tab {
    flex-shrink: 0; /* Запрещает уменьшать элементы */
    padding: 10px 15px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    white-space: nowrap; /* Предотвращает перенос текста внутри таба */
}
a.active-tab:hover {
    color: #fff;
}
.active-tab {
    background-color: #333; /* Цвет для активного таба */
    color: #fff;
}
div.wd-back-btn {
    display: none;
}
.page-title .container {
    align-items: center;
    flex-direction: column;
}
.title-size-default {
    --wd-title-sp: 0 !important;
    --wd-title-font-s: 68px;
}
div.title-shop {
    margin-top: 12px;
}
.wd-shop-tools .wd-breadcrumbs {
    visibility: hidden;
}
div.title-shop {
    border-bottom: 1px solid #f1f1f1;
}
@media (max-width:768px) {
    .category-tabs {
        font-size: 13px;
        font-weight: 500;
        gap: 4px;
    }
    .category-tab {
        padding: 6px 8px;
    }
    .archive .page-title .title {
        font-size: 20px;
    }
    p.woocommerce-result-count,
    .wd-show-sidebar-btn {
        display: none !important;
    }
}

/* FOOTER */
.main-footer {
    background-color: #E8E6E3;
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid rgba(79, 25, 16, 0.1);
}
.min-footer {
    background-color: #E8E6E3;
    border-radius: 0 0 20px 20px;
}
.footer-container {
    padding: 0px 15px 60px 15px;
}
.copyrights-wrapper {
    border-top: unset !important;
}
.six_footer .mega-menu-list>li>a {
    font-weight: 500;
    font-size: 12px;
    color: #918D89;
    letter-spacing: 0.03em;
}

/* CHECKOUT PAGE*/

.woocommerce-checkout .whb-header {
    margin-bottom: 0px;
}
tfoot th {
    width: 28% !important;
}
tfoot td {
    width: 72% !important;
}
.woocommerce-billing-fields__field-wrapper label {
    font-size: 12px;
    font-weight: 500;
    color: var(--btn-accented-bgcolor-hover);
}
#billing_address_1_field span.optional{
    display: none;
}
.woocommerce-privacy-policy-text {
    font-size: 12px;
}
.woocommerce-checkout>.checkout-order-review, .woocommerce-order-pay #order_review {
    padding: 0px !important;
}
.checkout-order-review,
.wd-table-wrapper  {
    background-color: #ffffff00 !important;
    box-shadow: none !important;
}

.checkout-order-review:before, .woocommerce-order-pay #order_review:before,
h3#order_review_heading {
    display: none !important;
}
.checkout-order-review,
.wd-table-wrapper {
    padding: 0px !important;
}
.wd-checkout-prod-img img {
    min-width: 125px;
    max-width: 125px;
}
td.wd-checkout-prod{
    padding: 40px !important;
}

.checkout-order-review {
    border-left: var(--wd-form-brd-color) 1px solid;
}

div.woocommerce-privacy-policy-text {
    font-size: 12px;
}
table :is(tbody,tfoot) th,
tr.order-total th,
.woocommerce-checkout-payment .payment_methods li>label {
    font-size: 13px;
    text-transform: none;
    font-weight: 400;
}
.woocommerce-checkout-payment {
    margin: 40px 0px 40px 40px;
}
.woocommerce-checkout-payment .payment_methods li>label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.checkout-order-review:after, .woocommerce-order-pay #order_review:after {
    display: none;
}
.product-quantity {
    font-size: 12px;
    color: #77777779;
}
.cart-product-label {
    font-size: 13px;
    font-weight: 500;
    color: #7A7A7A;
}
.wd-checkout-prod-title {
    flex-direction: column;
}
tr.cart-subtotal,
tr.woocommerce-shipping-totals,
tr.order-total,
tr.cart-discount,
.coupon-form,
tr.wallet-pay-partial,
tr.fee {
    padding-left: 40px;
}
table th {
    padding: 12px 0px;
}
#shipping_method input.shipping_method {
    float: left;
    margin-inline-end: 16px;
}
#shipping_method label {
    text-align: right;
}
td.product-remove a, .woocommerce-remove-coupon {
    background-color: #F3F3F3;
    border-radius: 5px;
    margin-left: 16px;
}
ul.variation .item-variation-name {
    font-weight: 400;
}
.suggestions-suggestions {
    background-color: rgba(241, 240, 237, 1) !important;
}
@media (max-width: 575px) {
    .wd-builder-off .woocommerce-billing-fields {
        margin-top: 40px !important;
    }
    .woocommerce-checkout .col-md-7 {
        padding-left: 0px;
        padding-right: 0px;
    }
    .woocommerce-checkout-payment {
        margin: 0px;
    }
    .checkout-order-review {
        border-top: var(--wd-form-brd-color) 1px solid;
        border-left: none;
        margin-top: 24px;
    }
    td.wd-checkout-prod {
        padding: 16px !important;
    }
    .wd-checkout-prod-title {
        gap: 12px
    }
    tr.cart-subtotal,
    tr.woocommerce-shipping-totals,
    tr.order-total,
    tr.cart-discount {
    padding-left: 16px;
}
}
.default-title,
h2.woocommerce-order-details__title {
font-size: 20px;
font-weight: 500;
text-transform: none;
}
.woocommerce-billing-fields h3,
.title .slider-title {
    text-transform: none;
    font-weight: 500;
    font-size: 20px;
}
.slider-title:before {
    display: none;
}
.area-sidebar-shop {
    padding-left: 36px;
    padding-right: 36px;
}
.woocommerce-result-count {
    display: none;
}
.payment_methods li>label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-widget-side .close-side-widget span {
    display: none;
}
.cart-content-wrapper .cart-totals-inner {
    border: 1px solid var(--brdcolor-gray-200);
}
.shop_table thead {
    display: none;
}
table.woocommerce-cart-form__contents {
    border-radius: var(--wd-brd-radius);
    border-style: hidden; /* hide standard table (collapsed) border */
    box-shadow: 0 0 0 1px var(--brdcolor-gray-200); /* this draws the table border  */ 
}
.woocommerce-cart-form__contents.shop_table tr :is(td,th):last-child {
    text-align: center;
}
@media (max-width: 991px) {
.elementor-nav-menu--layout-horizontal .elementor-nav-menu {
    flex-wrap: nowrap;
    overflow: hidden;
    overflow-x: scroll;
}
}

.discount-banner {
    margin: 15px;
    border-radius: 12px;
    min-height: 230px;
    background-image: url("https://thesixsense.ru/wp-content/uploads/2025/01/image_background.jpg");
    padding: 36px;
}
.discount-banner-title {
    font-family: 'Leotaro';
    color: #333;
    font-size: 24px;
}