/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
:root {
    --btn-accented-brd-radius: 14px !important;
    --btn-default-brd-radius: 14px !important;
}
:is(.btn,.button,button,[type=submit],[type=button]) {
    text-transform: unset;
}   
.whb-header-bottom {
    border-top: 1px solid #dee6e1;
}
.wd-nav-main>li>a, .wd-nav-secondary>li>a {
    height: 34px!important;
}
.offers-link a {
    color: #d97207!important;
}
.menu-btn {
    border-radius: 9px;
    font-weight: var(--wd-header-el-font-weight);
    font-family: var(--wd-header-el-font);
    --btn-height: 34px!important;

}
.wd-slide .wd-slide-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(246, 241, 227, 0.97) 0%,
        rgba(246, 241, 227, 0.9) 27%,
        rgba(246, 241, 227, 0.42) 52%,
        rgba(246, 241, 227, 0) 70%
    );
    pointer-events: none;
}
.slide-badge p {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: #fe8d0c;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
}
.btn-shape-semi-round, .btn-style-semi-round {
    --btn-brd-radius: 11px!important;
}
.icon-btn .wd-btn-text {
    padding-right: 5px;
    white-space: nowrap;
}
.wd-slide .wd-btn-text, .banner-btn-wrapper .wd-btn-text {
    padding-right: 5px;
}
.wd-slide .wd-btn-icon, .icon-btn .wd-btn-icon, .banner-btn-wrapper .wd-btn-icon {
    display: flex;
}
.home-cat img {
    border-radius: 12px;
}
.home-cat .cat-name {
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #141a17;
    font-size: 14px;
    font-weight: 700;
}
.home-cat:hover {
    transform: translateY(-2px);
}
.home-cat:hover img {
    box-shadow: 0 1px 2px rgba(20, 26, 23, .06), 0 8px 24px -16px rgba(20, 26, 23, .18);
}
.wd-brand-item a {
    font-family: "Manrope";
    font-weight: 800;
    font-size: 16px;
    opacity: .85;
}
.banner-left .banner-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(6, 15, 8, 0.86) 0%,
        rgba(6, 15, 8, 0.60) 34%,
        rgba(6, 15, 8, 0.22) 62%,
        rgba(6, 15, 8, 0.05) 100%
    );
    pointer-events: none;
}
.banner-left .promo-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #fff;
    color: #0b4a32;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Manrope";
    font-weight: 800;
    line-height: 1;
}
.banner-right .banner-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(40, 40, 40, 0.88) 0%,
        rgba(40, 40, 40, 0.62) 34%,
        rgba(40, 40, 40, 0.26) 62%,
        rgba(40, 40, 40, 0.06) 100%
    );
    pointer-events: none;
}
.banner-right ul {
    list-style: none;
    padding: 0;
}
.banner-right li {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    gap: 8px;
}
.banner-right .btn.btn-style-bordered {
      --btn-brd-width: 1px;
}
.tax-product_cat .wd-page-title {
    padding: 0;
    background-color: transparent;
}
.tax-product_cat .wd-page-title .container {
    padding: 0;
}
.tax-product_cat .wd-page-title .entry-title.title {
    color: #083d28 !important;
}
.product-element-top.wd-quick-shop a {
    aspect-ratio: 1 / .82;
    background: linear-gradient(155deg, #eef1ef, #e2e8e4) !important;
    border-radius: 10px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}
.wd-product:not(.wd-hover-small) :is(.product-image-link,.hover-img) :is(picture,img) {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 9%;
    box-sizing: border-box;
    display: block;
}
.wd-action-btn.wd-style-icon {
      display: none;
}
.widget_price_filter .ui-slider .ui-slider-range, .widget_price_filter .ui-slider .ui-slider-handle:before, .widget_price_filter .ui-slider .ui-slider-handle:after {
    background-color: #0b4a32 !important;
}
.helpbox {
    background: #e4f3ea;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}
.helpbox b {
    display: block;
    color: #141a17;
    font-size: 13.5px;
    margin-bottom: 4px;
}.helpbox p {
    font-size: 12px;
    margin-bottom: 12px;
}
.helpbox .btn {
    background: #0b4a32;
    color: #fff;
    text-transform: unset;
    width: 100%;
}
.woocommerce-product-gallery .woocommerce-product-gallery__image, .woocommerce-product-gallery .wd-carousel, td.product-thumbnail img, .wd-checkout-prod-img img, .product_list_widget>li img {
    border-radius: unset !important;
}
.thumbs-position-left .wd-gallery-thumb .wd-carousel-item img {
    object-fit: contain !important;
    border: 1px solid #0e1f4e;
    padding: 5px 0;
}
.wd-product-brands-links {
    order: -1;
}
.wd-product-brands a, .wd-product :is(.wd-product-cats,.wd-product-brands-links) a {
    color: #d97207;
    font-family: "Manrope";
    font-weight: 800;
    font-size: 12.5px;
}
.product-short-description {
    font-size: 12px;
}
p.stock {
    display: flex;
    align-items: center;
    font-size: 12px;
}
p.stock.wd-style-default.in-stock:before {
    content: "" !important;
    margin-inline-end: 5px;
    background-color: #2f9e58;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex: none;
    
    font-family: "woodmart-font";
}
.amount {
    color: #141a17;
}
.product-vat-notice {
    font-size: 11px;
    margin-top: -10px;
}
.altmer-stock-box, .product-data .stock{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #e7f5ec;
    border-radius: 10px;
    width: 100%;
}
.single-product .stock{
    gap: unset;
}
.altmer-stock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 16px;
    font-weight: 700;
    color: #111;
}
.altmer-stock-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.altmer-stock-text strong {
    font-size: 14px;
    color: #111;
}
.altmer-stock-text span {
    margin-top: 2px;
    font-size: 12px;
    color: #53645b;
}
.single-vat-notice {
    display: block;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: #6b7280;
}
.wd-single-tabs .wd-nav-tabs-wrapper {
    border-bottom: 1px solid #d8dbd9;
}
/* Общий стиль для названия атрибута */
.woocommerce-product-attributes-item .wd-attr-name-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

/* Общий стиль иконки */
.xtra-attribute .woocommerce-product-attributes-item .wd-attr-name-label::before {
    content: "";
    width: 24px;
    height: 24px;
    display: block;
    background-color: #0b4a32;
    flex-shrink: 0;
}
.woocommerce-product-attributes-item--attribute_pa_voimsus
.wd-attr-name-label::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 2L3 14h7l-1 8 11-14h-8z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 2L3 14h7l-1 8 11-14h-8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce-product-attributes-item--attribute_pa_tuup
.wd-attr-name-label::before, .woocommerce-product-attributes-item--attribute_pa_faaside-arv
.wd-attr-name-label::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='4' width='16' height='16' rx='2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='4' width='16' height='16' rx='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce-product-attributes-item--attribute_pa_efektiivsus
.wd-attr-name-label::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce-product-attributes-item--attribute_pa_garantii
.wd-attr-name-label::before, .woocommerce-product-attributes-item--attribute_pa_kaitseklass
.wd-attr-name-label::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2l8 3.5v5c0 5-3.4 8.7-8 9.5-4.6-.8-8-4.5-8-9.5v-5L12 2z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2l8 3.5v5c0 5-3.4 8.7-8 9.5-4.6-.8-8-4.5-8-9.5v-5L12 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce-product-attributes-item--attribute_pa_mppt-arv
.wd-attr-name-label::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='12' r='2.4'/%3E%3Ccircle cx='12' cy='12' r='2.4'/%3E%3Ccircle cx='17' cy='12' r='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='12' r='2.4'/%3E%3Ccircle cx='12' cy='12' r='2.4'/%3E%3Ccircle cx='17' cy='12' r='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.docrow {
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid #dee6e1;
    border-radius: 10px;
}

/* Название документа + иконка */
.docrow #docName {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.docrow #docName::before {
    content: "";
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    background-color: #c4432b;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 19V6a2 2 0 012-2h9l5 5v10a2 2 0 01-2 2H6a2 2 0 01-2-2z'/%3E%3Cpath d='M14 4v5h5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 19V6a2 2 0 012-2h9l5 5v10a2 2 0 01-2 2H6a2 2 0 01-2-2z'/%3E%3Cpath d='M14 4v5h5'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Если где-то останутся обычные SVG */
.docrow svg {
    color: #c4432b;
    flex: none;
}
.docrow a {
    color: unset;
}
.newsletter-row > p {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin: 0;
}
.newsletter-row br {
    display: none;
}
.newsletter-row .wpcf7-form-control-wrap {
    flex: 1 1 auto;
    min-width: 0;
}
.newsletter-row input[type="email"] {
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
}
.newsletter-row input[type="submit"] {
    flex: 0 0 auto;
    width: auto;
    height: 44px;
    margin: 0;
    padding: 0 24px;
    color: #083d28 !important;;
    background-color: #fe8d0c !important;;
    border-radius: 10px !important;;
    white-space: nowrap;
}
.newsletter-row  input[disabled] {
    opacity: 1 !important;
}
.newsletter-acceptance {
    margin-top: 10px;
}
.newsletter-acceptance .wpcf7-list-item-label {
    color: #ffffffbf !important;
    font-size: 12.5px;
}
.newsletter-acceptance p {
    margin: 0;
}
.newsletter-acceptance .wpcf7-list-item {
    margin: 0;
}
.newsletter-acceptance label {
    display: flex;
    align-items: center;
    gap: 7px;
}
.newsletter-acceptance input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}
body .select2-container--default .select2-selection, input[type='email'], input[type='date'], input[type='search'], input[type='number'], input[type='text'], input[type='tel'], input[type='url'], input[type='password'], :root textarea, :root select {
    border-radius: 14px !important;
}
.wd-header-search-form input[type='text'] {
    border-radius: 50px !important;
}
div.quantity input[type="number"] {
    border-radius: 0 !important;
}
#order_review_heading {
    text-align: left;
}
:is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review):before, :is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review):after {
    background-image: none;
}
:is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review) {
    background-color: transparent;
}
.popmake textarea {
    min-height: unset !important;
}
.popmake .wpcf7 input[type="submit"]{
    width: 100%;
    background-color: #0b4a32;
}
footer {
    border-top: 1px solid #dee6e1;
}
.footer-columns > .e-con-inner > .e-con {
    min-width: 0;
}
.footer-columns > .e-con-inner > .e-con:nth-child(1) {
    flex: 1.5 1 0 !important;
    width: auto !important;
}
.footer-columns > .e-con-inner > .e-con:nth-child(2),
.footer-columns > .e-con-inner > .e-con:nth-child(3),
.footer-columns > .e-con-inner > .e-con:nth-child(4) {
    flex: 1 1 0 !important;
    width: auto !important;
}
.footer-columns > .e-con-inner > .e-con:nth-child(5) {
    flex: 1.1 1 0 !important;
    width: auto !important;
}
footer .wd-social-icons>a {
    color: #083d28;
    background-color: #ffffff;
}
@media (max-width: 450px) {
    .banner-left .promo-badge {
        top: -15px;
        right: -15px;
        width: 50px;
        height: 50px;
    }
}
@media (max-width: 576px) {
    :is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review) {
        padding: 0;
    }
}
@media (max-width: 767px) {
    .wd-slide .wd-slide-bg::after {
        background: linear-gradient(90deg, rgba(246, 241, 227, 0.97) 0%, rgba(246, 241, 227, 0.9) 37%, rgba(246, 241, 227, 0.62) 82%, rgba(246, 241, 227, 0) 100%);        
    }
}  
@media (min-width: 768px) {
    .woocommerce-product-gallery img {
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }
}    