/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      12.0.1
 Text Domain:  woodmart





при редактировании этого файла меняй версию  скрипта в functions.php:12
*/
.site-content{margin-bottom:0}
.labels-rectangular {
    top: 0; 
}
.delivery-text-new{     text-transform: initial;
    font-size: 10px;
    margin-top: 6px;
    margin-bottom: -7px;}
#bng4 .wd-info-box .info-box-content{
	min-height:255px;
}
	.wd-slide.woodmart-slide{
		border-radius: 15px;
	}
.single .product-images .labels-rectangular { 
	right: auto!important;
top:0;}
.single-post .woodmart-sticky-column {
    display: none !important;
}
.page-id-57 .main-page-wrapper {
	margin-top: -70px!important;}
#samoe_vigodnoe {
    padding: 10px 0 0 0;
    margin-bottom: 20px;
}
.wd-sub-menu li a{
    padding: 8px 10px;
}
.wd-dropdown.wd-dropdown-register{
    padding: 15px!important;
}
.cart_cart_simple .vc_figure img{
	border-radius:8px;
}
#samoe_vigodnoe .slide-product {
    background: #fff;
    border-radius: 8px;
    padding-bottom: 10px;
}
.product-additional-galleries {
    left: auto;
    right: 0;}
  .labels-rectangular .product-label {
    font-size: 13px!important;
}
.woocommerce-Price-amount bdi{
	white-space: nowrap;
}
.woocommerce-view-order .woocommerce-button.button.cancel.order-actions-button {
    background: #ff4d4d;
    color: #fff;
}
.login-dropdown-inner .create-account-link{
    background: #106cd8;
    padding: 3px 15px;
    border-radius: 6px;
    color: #fff!important;
}
#samoe_vigodnoe .title.element-title, #novinki .title.element-title{
    background: #106cd8;
    padding: 3px;
    border-radius: 6px;
    color: #fff;
}
.catcarusel .info-box-title{
	    max-width: 125px;
    margin: 0 auto;
}
#wd-68b30d2ac7c79 center{
    border: 3px solid #106cd8;
    width: 160px;
    height: 60px;
    margin: 0 auto;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#samoe_vigodnoe .owl-dots .owl-dot.active span {
    background-color: #fff;
    border-color: #fff;
}
.woocommerce-mini-cart-item .cart-item-link.wd-fill{
    display: none;
}
.wd-btn-arrow:after {
    color: #fff;
    background: #106cd8;
    border-radius: 50%;
    padding: 10px;
    font-size: 12px;
}
.wd-post-date.wd-style-with-bg {
    position: relative;
    top: 0;
    left: 0;
    z-index: 2;
    display: inline-block!important;
    min-width: 53px;
    background-color: #FFF;
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.1);
    color: #333;
    text-align: center;
    line-height: 1;
    float: right;
}
.site-content blockquote{
    border-left: 4px solid #0007ff!important;
    color: #6a737d!important;
    margin: 16px 0!important;
    background-color: #eaf4ff!important;
    border-radius: 10px!important;
    padding: 10px 5px 10px 16px!important;
}
/* Вариант 1: Пульсация */
.animation-transfusion .vc_icon_element-inner {
    animation: transfusion-pulse 3s infinite ease-in-out;
    cursor: pointer; /* Меняем курсор на руку */
}

@keyframes transfusion-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2); /* Немного увеличиваем */
    }
    100% {
        transform: scale(1);
    }
}
.wd-btn-arrow[class*="prev"] {
    transform: translateX(0px);
}
.wd-btn-arrow[class*="next"] {
    transform: translateX(0px);
}

.wd-carousel-spacing-30 .owl-nav > div[class*="prev"] {
    left: -40px !important;
}

.wd-carousel-spacing-30 .owl-nav > div[class*="next"] {
    right: -40px !important;
}
.product-label.out-of-stock {
    background-color: rgb(16 108 216);
    color: #ffffff;
    border-radius: 4px;
}
#wd-69bf827f66d4b a  {
    padding: 17px 14px;}


.cta-button .vc_btn3{
    transition:all 0.3s ease;
    animation:gradientMove 3s ease infinite;
    background:linear-gradient(90deg, #ff8000, #ffaa33, #ff8000);
    background-size:200% auto;
    color:#ffffff; position:relative;
    overflow:hidden;
}
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


.product-grid-item .product-image-link img, .product-grid-item .hover-img img{
    border-radius: 5px;
}
.count_water {
    position: absolute;
    margin: 59px 0 0 93px;
    color: #fff;
    font-size: 11px;
    width: 169px;
    line-height: 12px;
}
.products .product-grid-item .price{
	font-size: 17px;
}
.products .product-grid-item .price del{
	    color: #8f8e8e;
}
.products .product-grid-item .price del bdi{
color: #a9a9a9;
    font-weight: 500;	
}
.woocommerce-account .lastNew .news-item {
    margin-bottom: 0;
    padding-bottom: 25px;
    border-bottom: none;
}
.woocommerce-account .news-item img{
    width: 130px;
    height: auto;
    float: left;
    padding-right: 10px;
}
.btnlastnew{
    background: #fff;
    padding: 5px 14px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
}
#bng1{
    display:block;
}
/* Скрываем .owl-item, содержащий .post-9826 */
.popularyclass .owl-item:has(.post-9826) {
    display: none !important;
}
.catcarusel .box-icon-with-bg .info-box-icon, .catcarusel .box-icon-with-border .info-box-icon{
    border-radius: 12px!important;
}
.catcarusel .wd-info-box .info-svg-wrapper {
    display: inline-block;
    width: 86px !important;
    height: 86px !important;
}
#comments .avatar{
  display: none;
}
.footer-social{
    display: flex;
    align-items: center;
    gap: 15px;
}
.footer-social a{
    width: 50px;
    height: 50px;
}
.footer-social .vk{
   background: url("images/icons/vk-logo.svg")no-repeat;
    background-size: cover;
}
.footer-social .tg{
    background: url("images/icons/tg-logo.svg")no-repeat;
    background-size: cover;
}
.footer-social .dzen{
    background: url("images/icons/dzen-logo.svg")no-repeat;
    background-size: cover;
}
.footer-social .max{
    background: url("images/icons/max-logo.svg")no-repeat;
    background-size: cover;
}
.popularyclass .slide-product {
    background: #fff;
    border-radius: 8px;
    padding-bottom: 10px;
}
.wd-btn-arrow {
    visibility: visible!important;
    opacity: 1!important;}

#popularyty .title.element-title {
    color: #fff;
}
.woocommerce-variation-price .how_mach_bonus{
    display:none;
}
.single-product  .summary-inner .how_mach_bonus{
    font-size: 30px;
    background: linear-gradient(45deg, #5f5fff, pink);
    padding: 5px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
}

.single-product  .summary-inner .how_mach_bonus:before {
    content: "";
    height: 23px;
    width: 28px;
    background: url(images/icons/Icons-02w.svg) no-repeat left bottom;
    display: inline-block;
}
.woocommerce-MyAccount-navigation-link--discounts a {
    color: #ff4d4d !important;
}
.footer-container{
    margin-top: 40px;
}
fieldset {
    display: none;
}
.payment_box fieldset {
    display: block;
}
.wpcf7-submit{
    background-color: #106cd8;
    border-color: #106cd8 !important;
    color: #fff;
    border-radius: 5px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a .count {
    background: #ff0000;
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    margin-left: 5px;
}

.discount-product-item .cart {
    margin-top: 10px;
}

.discount-product-item {
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.discount-product-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.discount-product-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.discount-product-item h3 {
    font-size: 16px;
    margin: 0 0 10px;
}

.regular-price {
    color: #999;
    margin-right: 10px;
}

.sale-price {
    color: #ff0000;
    font-weight: bold;
}

.discount-percentage {
    background: #ff0000;
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 10px;
}

.woocommerce-account .woocommerce-news-list {
    margin-bottom: 30px;
}

.woocommerce-account .news-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
    overflow: auto;
}

.woocommerce-account .news-date {
    color: #777;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.woocommerce-account .news-title {
    font-size: 1.2em;
    margin: 0 0 10px 0;
}

.woocommerce-account .news-title a {
    text-decoration: none;
    color: inherit;
}

.woocommerce-account .news-excerpt {
    font-size: 0.95em;
    line-height: 1.5;
}

.woocommerce-account .view-all-news {
    display: inline-block;
    margin-top: 15px;
}

.woocommerce-MyAccount-navigation a{
    display: flex!important;
    align-items: center;
    gap: 5px;
}
.woocommerce-MyAccount-navigation ul li.is-active>a {
    box-shadow: 0 0 0 1px #106cd8;
    border-radius: 8px;
    color: #106cd8;
    background-color: #106cd817;
}
.woocommerce-MyAccount-navigation ul li a:hover, .woocommerce-MyAccount-navigation ul li a:focus {
    box-shadow: 0 0 0 1px #106cd8;
    border-radius: 8px;
    color: #106cd8;
    background-color: #106cd817;
}

.wd-sub-menu .woocommerce-MyAccount-navigation-link--orders a:before{
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-01.svg) no-repeat left bottom;
    display: inline-block;
    margin-right: 5px;
}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--orders a:before {
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-01.svg) no-repeat left bottom;
    display: inline-block;
}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--bonuses a:before {
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-02.svg) no-repeat left bottom;
    display: inline-block;
}
.wd-sub-menu .woocommerce-MyAccount-navigation-link--bonuses a:before{
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-02.svg) no-repeat left bottom;
    display: inline-block;
    margin-right: 5px;
}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--discounts a:before {
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-03.svg) no-repeat left bottom;
    display: inline-block;
}
.wd-sub-menu .woocommerce-MyAccount-navigation-link--discounts a:before{
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-03.svg) no-repeat left bottom;
    display: inline-block;
    margin-right: 5px;
}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--wishlist a:before {
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-04.svg) no-repeat left bottom;
    display: inline-block;
}
.wd-sub-menu .woocommerce-MyAccount-navigation-link--wishlist a:before{
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-04.svg) no-repeat left bottom;
    display: inline-block;
    margin-right: 5px;
}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--edit-address a:before {
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-05.svg) no-repeat left bottom;
    display: inline-block;
}
.wd-sub-menu .woocommerce-MyAccount-navigation-link--edit-address a:before{
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-05.svg) no-repeat left bottom;
    display: inline-block;
    margin-right: 5px;
    flex: none;
}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--edit-account a:before {
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-06.svg) no-repeat left bottom;
    display: inline-block;
}
.wd-sub-menu .woocommerce-MyAccount-navigation-link--edit-account a:before{
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-06.svg) no-repeat left bottom;
    display: inline-block;
    margin-right: 5px;
}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--news a:before {
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-07.svg) no-repeat left bottom;
    display: inline-block;
}
.lastNew{
    background: #106cd8;
    color: #fff;
    padding: 9px 10px 0 10px;
    border-radius: 2px;
    position: relative;
}

.woocommerce-account .lastNew .news-title {
    color: #fff;}
.woocommerce-account  .lastNew .news-date {
    color: #fff;}
.badge-new {
    display: inline-block;
    background: linear-gradient(135deg, #ff5e5e, #ff1a1a);
    color: white;
    font-weight: bold;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 3px 6px rgba(255, 0, 0, 0.2);
    position: absolute;
    top: -8px;
    right: -8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.wd-sub-menu .woocommerce-MyAccount-navigation-link--news a:before{
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-07.svg) no-repeat left bottom;
    display: inline-block;
    margin-right: 5px;
}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--legal-entities a:before {
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-10.svg) no-repeat left bottom;
    display: inline-block;
}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--recommendations a:before {
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-11.svg) no-repeat left bottom;
    display: inline-block;
}
.wd-sub-menu .woocommerce-MyAccount-navigation-link--recommendations a:before{
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-11.svg) no-repeat left bottom;
    display: inline-block;
    margin-right: 5px;
}
.wd-sub-menu .woocommerce-MyAccount-navigation-link--legal-entities a:before{
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-10.svg) no-repeat left bottom;
    display: inline-block;
    margin-right: 5px;
}
.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a:before {
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-09.svg) no-repeat left bottom;
    display: inline-block;
}
.wd-sub-menu .woocommerce-MyAccount-navigation-link--customer-logout a:before{
    content: "";
    height: 15px;
    width: 15px;
    background: url(images/icons/Icons-09.svg) no-repeat left bottom;
    display: inline-block;
    margin-right: 5px;
}
.wd-my-account-links .orders-link a:before {
    content: "";
    height: 50px;
    width:auto;
    background: url("images/icons/Icons-01.svg") no-repeat center;
}
.wd-my-account-links .bonuses-link a:before {
    content: "";
    height: 50px;
    width:auto;
    background: url("images/icons/Icons-02.svg") no-repeat center;
}

.wd-my-account-links .discounts-link a:before {
    content: "";
    height: 50px;
    width:auto;
    background: url("images/icons/Icons-03.svg") no-repeat center;
}

.wd-my-account-links .wishlist-link a:before {
    content: "";
    height: 50px;
    width:auto;
    background: url("images/icons/Icons-04.svg") no-repeat center;
}

.wd-my-account-links .edit-address-link a:before {
    content: "";
    height: 50px;
    width:auto;
    background: url("images/icons/Icons-05.svg") no-repeat center;
}

.wd-my-account-links .edit-account-link a:before {
    content: "";
    height: 50px;
    width:auto;
    background: url("images/icons/Icons-06.svg") no-repeat center;
}
.wd-my-account-links .news-link a:before {
    content: "";
    height: 50px;
    width:auto;
    background: url("images/icons/Icons-07.svg") no-repeat center;
}
.wd-my-account-links .legal-entities-link a:before {
    content: "";
    height: 50px;
    width:auto;
    background: url("images/icons/Icons-10.svg") no-repeat center;
}
.wd-my-account-links .recommendations-link a:before {
    content: "";
    height: 50px;
    width:auto;
    background: url("images/icons/Icons-11.svg") no-repeat center;
}
.wd-my-account-links .customer-logout-link a:before {
    content: "";
    height: 50px;
    width:auto;
    background: url("images/icons/Icons-09.svg") no-repeat center;
}


.woocommerce-MyAccount-navigation-link--recommendations a {
    position: relative;
    color: #00f7ff;
    text-shadow: 0 0 5px #00f7ff, 0 0 10px #00f7ff, 0 0 20px #00f7ff;
    animation: neonPulse 2s infinite ease-in-out;
}

@keyframes neonPulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 5px #00f7ff, 0 0 10px #00f7ff, 0 0 20px #00f7ff;
    }
    50% {
        opacity: 0.7;
        text-shadow: 0 0 10px #00f7ff, 0 0 20px #00f7ff, 0 0 30px #00f7ff;
    }
}

.details {
    position: relative;
    display: block;
    margin: 0 auto 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 5px;
    transition: 0.3s;
    overflow: hidden;
}

.details::after {
    position: absolute;
    right: 24px;
    top: 17px;
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    border-right: 3px solid #425995;
    border-bottom: 3px solid #425995;
    transform: rotate(-45deg);
    transform-origin: center;
    transition: .3s;
}
.wpcf7 form:not(.sent) .wpcf7-response-output, .mc4wp-error, .mc4wp-notice, .woocommerce-error, .woocommerce-info, .dokan-alert-warning, .dokan-alert-danger, .dokan-alert-info, .dokan-error, .dokan-info,
.wpcf7 form.sent .wpcf7-response-output, .mc4wp-success, .woocommerce-message, .dokan-store-contact .alert-success, .dokan-alert-success, .dokan-message, .yith_ywraq_add_item_product_message{
    width: 100%;
    border-radius: 9px;
    margin: 10px 0;
}
.details[open]::after {
    transform: rotate(45deg);
}

.details[open] {
    padding-bottom: 100px;
}

.details[open] .details__title {
    margin-bottom: 32px;
}
.take_coupon_form .input-text {
    max-width: 128px!important;}
.computy_skidka_link {
    padding: 10px !important;
    border: 1px solid #106cd8 !important;
    border-radius: 5px !important;
    background-color: #106cd8;
    color: #fff;
}
.details__title {
    background: #fff;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    transition: .3s;
    border: 1px solid #106cd8;
}

.details__title::-webkit-details-marker {
    display: none;
}

.details__content {
    padding: 0 5px;
}
/*
.products .product{
    border-radius: 16px;
    outline: 1px solid #ccc;
    outline-offset: -10px;
}
.products .product:hover {
    box-shadow: 0  5px 30px rgba(34, 34, 34, 0.1);
}
.wd-hover-standard .wd-add-btn {
    margin-top: 5px;
    padding-bottom: 10px;
}*/

.single-product .entry-summary .amount{
    font-size:25px;
}
.single-product .entry-summary  del .amount,
.single-product .entry-summary  del{
    font-size:40px;
}
.single-product .entry-summary .price del {
    color: #777777;
}
.blocks-shares-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
}

.blocks-shares-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.blocks-shares {
    display: flex;
    gap: 20px;
    padding: 0 16px; /* отступы по краям для скролла */
    width: fit-content;
    flex-wrap: wrap;
}

.blocks-shares a {
    flex: 0 0 calc(33.333% - 13.33px); /* ~1/3 ширины минус gap */
    max-width: calc(33.333% - 13.33px);
    height: auto;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0; /* важно! чтобы элементы не сжимались */
}

.blocks-shares img {
    width: 100%;
    height: auto;
    display: block;
}

/* Скрываем оригинальные радио-кнопки */
.wc_payment_methods .input-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

/* Стилизуем label как кнопку */
.wc_payment_methods .wc_payment_method>label {
    display:flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: start;
    gap: 8px;
    padding: 12px 16px;
    margin: 4px 0;
    background-color: #f8f9fa;
    border: 2px solid #4b94ff;
    border-radius: 8px;
    font-weight: 500;
    color: #212529;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.4;
    max-width: 327px;
}

/* При наведении */
.wc_payment_methods .wc_payment_method>label:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

/* Когда радио выбрано — активный стиль */
.wc_payment_methods .wc_payment_method input:checked + label {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}
.wc_payment_methods .wc_payment_method input:checked + label img{
    filter: invert(100%);
}

/* Дополнительно: стилизация изображений в лейблах */
.wc_payment_methods .wc_payment_method label img {
    max-height: 30px;
    vertical-align: middle;
}

/* Убираем отступы и делаем лейбл блочным */
.wc_payment_methods .wc_payment_method {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Делаем всё более компактным */
.wc_payment_methods {
    margin: 1rem 0;
}
.payment_methods .payment_box label{
    color: #777777;
}
.input-checkbox.woocommerce-form__input.woocommerce-form__input-checkbox.input-checkbox{
    width: 25px;
    height: 25px;
}
.related-and-upsells .upsells-carousel{
    display:none;
}
.bfw-write-off-block{
    width:100%;
}
.bfw-spisanie-blocks-button-text::before{
    display:none;
}
.computy_skidka_form .button, .code_coupon_submit {
    background: #106cd8;
    border-radius: 5px;
}
.computy_skidka_form .remove_points {
    border-radius: 5px;
    height: 42px;
}
.bfw-spisanie-blocks-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    cursor: pointer;
    border: 2px solid #106cd8;
    border-radius: 10px;
    background-color: #cfe5ff;
    font-size: 16px;
    color: #14539d;
}
.computy_skidka_form.open{
    border: 2px solid #106cd8;
    border-top: none;
    border-radius: 0 0 10px 10px;
    margin-top: -7px;
}

 .wd-quantity-enabled .wd-hover-standard .wd-add-btn .add-to-cart-loop{
     width: 100%;
     height: 42px;
     display: flex !important ;
     align-items: center;
     justify-content: center;
     flex-wrap: wrap;
     margin: 0 auto !important;

 }
.site-content .product-grid-item .add-to-cart-loop span {
    padding: 0!important;
    line-height: 0 !important;
    min-height: auto !important;
}

/* Фикс для текста доставки */
.add-to-cart-delivery-text {
    display: block !important;
    line-height: 1.1 !important;
    font-size: 11px !important;
    margin-top: 0 !important;
    font-weight: 400;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    visibility: visible !important;
}

.add-to-cart-main-text {
    display: block !important;
    line-height: 1.2 !important;
    width: 100% !important;
}

.custom-add-to-cart-button.add-to-cart-loop {
    flex-direction: column !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    height: auto !important;
    min-height: 42px !important;
}
.quick-order{
    display: none;
}
.quick-order{
    color: white;
    width: 100%;
    text-align: center;
    line-height: 17px;
    background: #989898;
    text-decoration: none;
    border-radius: 5px;
    text-transform: math-auto;
}
.howto-order-link{
    width: 100%;
    font-size: 10px;
}
/* Фолбэк, если Woodmart JS затирает span */
.custom-add-to-cart-button[data-delivery-text]:not(:has(.add-to-cart-delivery-text))::after {
   /* content: attr(data-delivery-text);*/
    display: block;
    line-height: 1.1;
    font-size: 11px;
    margin-top: 0;
    /*width: 100%;*/
}
.wd-add-btn-replace .add-to-cart-loop:before{
    opacity: 0;
}
.woodmart-show-product-gallery{
    display:none!important;
}
.title-design-centered .wd-nav-product-cat{
    gap:25px
}

.cart-info div.quantity input[type="button"], .cart-info div.quantity input[type="number"] {
    height: 40px;
	font-size: 19px;
}
div.quantity input[type="number"] {
	width: 42px;}
div.quantity input[type="button"] { 
	min-width: 50px;
    background: #106cd8;
    color: #fff;
}
.cart-info span.quantity { 
    font-size: 16px !important;
}

.woocommerce-mini-cart .remove:after{
		font-size:16px!important;
	}

.button.order-again{
    background-color: #106cd8;
    border-color: #106cd8 !important;
    color: #fff;
    border-radius: 5px;
}
.price .standard-price-loop ins, .price .standard-price-loop ins .amount{
    color: #666;
    font-weight: 400;
}
.custom-price-wrapper .main-price .amount{
    color: #7f8c8d;
}
.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions a  {
    margin-inline-end: 5px;
    margin-bottom: 5px;
}
.wpb_content_element{
    margin-bottom: 0;
}
.awl-label-text{
    border-radius: 4px!important;
}
.product-label.onsale{
    border-radius: 4px;
}


.header-phone {
    font-size: 20px ;
    color: #ffffff ;
    border-width: 0 ;
    background: #e57300;
    padding: 10px 0;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 11px;
    max-width: 216px;
}
.header-phone .time-work{
    font-size: 14px;
    display: block;
    text-align: center;
}
.header-phone:hover{
    background: #c66605;
    color: #ffffff ;
}
#wd-67b82e4b746f1 a{
    height: 51px;
}
.mobileshow {
    display: none;
}
#zvoni a{
    width: 272px;
    text-align: center;
    padding-left: 33px;
}
#zvoni i{
    position: relative;
    float: left;
    margin-top: 8px;
    margin-bottom: -7px;
}
@media (min-width: 1025px){
    .wd-search-dropdown.wd-dropdown.woodmart-search-dropdown{
        width: 355px;
    }
    .search-results-wrapper {
        position: initial !important;
    }
    .wd-dropdown-results.wd-dropdown.woodmart-search-results{
        left: 0;
        padding: 0 !important;
    }



}
@media (max-width: 1024px){

    .header-phone {
        font-size: 14px;
        border-radius: 5px;
        gap: 4px;
        line-height: 8px;
        max-width: 178px;
    }
    .header-phone .time-work{
        font-size: 10px;
    }

    div[class*="wd-carousel-spacing"] .owl-nav>div[class*="next"] {
        margin-right: 40px;
    }
    div[class*="wd-carousel-spacing"] .owl-nav>div[class*="prev"] {
        margin-left: 40px;
    }


   .article-body-container table {
        overflow-x: auto;
        display: block;
    }
}

@media (max-width: 768px) {
	td.product-remove a:before  { 
    font-size: 20px!important;
}
	    .woocommerce-cart-form__contents td.product-quantity input[type="button"], .woocommerce-cart-form__contents td.product-quantity input[type="number"], .group_table td.product-quantity input[type="button"], .group_table td.product-quantity input[type="number"] {
        height: 40px;
    }
    .blocks-shares{
        padding: 0;
        flex-wrap:nowrap;
    }
    .blocks-shares a {
        flex: 0 0 80vw;
        max-width: 80vw;
    }
    .woocommerce-view-order .woocommerce-button.button.cancel.order-actions-button {
       margin-bottom: 10px;
    }
    .payment_methods .payment_box{
        font-size: 13px;
    }

    .woocommerce-discounts-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .discount-product-item {
        padding: 10px;
    }

    .discount-product-item h3 {
        font-size: 14px;
    }
    .vc_custom_1776167883323, #properzarkold{
        display: none!important;
    }
    #wd-69bf827f66d4b a  {
        padding: 13px 14px;}
}

@media (max-width: 576px) {
    .quick-order{
        display: block;
    }
    .mobileshow {
        display: block;
    }
    .mobilehide{
display: none;
    }
	.product-label.out-of-stock { 
    font-size: 11px !important;
}
    .wc-address-book-address{
        flex-direction:column!important;
        align-items: baseline!important;
    }
    #popularyty h4,
    #samoe_vigodnoe h4 {
        margin-left: 10px;
		color: #106cd8;
    }

    .count_water {
        margin: 48px 0 0 79px;
        font-size: 11px;
        width: 169px;
        line-height: 9px;
    }
    .catcarusel .owl-carousel.owl-drag .owl-item{
        width: 150px !important;
    }
}


@media (max-width: 480px) {
    .woocommerce-account .woocommerce-MyAccount-navigation ul li a .count {
        padding: 1px 5px;
        font-size: 10px;
    }
}


@media (max-width: 392px) {
    .bfw-spisanie-blocks-button {
        width: 100% !important;
        padding: 16px 3px;
    }
}


/* =============================================================
Раскрывающийся блок — CSS Checkbox Trick
Файл: collapsible-block.css

Префикс cbwc- (collapsible-block-widget-component) добавлен
ко всем классам и анимациям, чтобы стили темы WordPress
не могли их перекрыть через совпадение имён.
============================================================= */


/* ── 1. Скрываем нативный чекбокс полностью ── */
.cbwc-collapsible-block__hidden-checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}


/* ── 2. Обёртка блока ── */
.cbwc-collapsible-block {
    /* max-width: 680px; */
    margin: 24px auto;
    border: 2px solid #1565c0;
    border-radius: 14px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        'Helvetica Neue', Arial, sans-serif;
    box-shadow: 0 6px 24px rgba(21, 101, 192, 0.18);
    background: #ffffff;

    /* Пульсация при загрузке — 2 раза говорит «нажми меня» */
    animation: cbwc-collapsible-block-attract-attention 1.8s ease-in-out 0.6s 2;
}


/* ── 3. Кликабельный заголовок ── */
.cbwc-collapsible-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    transition: background 0.25s ease;
}

.cbwc-collapsible-block__header:hover {
    background: linear-gradient(135deg, #0d47a1 0%, #083885 100%);
}

/* Подчёркиваем интерактивность фокусом (доступность) */
.cbwc-collapsible-block__hidden-checkbox:focus-visible
    ~ .cbwc-collapsible-block
    .cbwc-collapsible-block__header {
    outline: 3px solid #64b5f6;
    outline-offset: -3px;
}

.cbwc-collapsible-block__header-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.2px;
}


/* ── 4. Стрелка-иконка в заголовке ── */
.cbwc-collapsible-block__arrow-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.cbwc-collapsible-block__arrow-svg {
    width: 16px;
    height: 16px;
}


/* ── 5. Область контента ── */
/*
Высота в свёрнутом состоянии — ~2 строки текста (88px).
Высота в раскрытом состоянии — 700px (заведомо больше любого текста).
Плавный переход через max-height (0.5s).

ВАЖНО: padding-bottom у .cbwc-collapsible-block__text-body резервирует 40px
под label «Свернуть», чтобы он не перекрывал последнюю строку текста
в раскрытом состоянии.
*/
.cbwc-collapsible-block__content-area {
    position: relative;
    max-height: 88px;
    overflow: hidden;
    background: #f0f7ff;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/*
Градиент реализован через ::after псевдоэлемент.
Псевдоэлементы не перехватывают pointer events —
проблемы с pointer-events: none + mobile WebKit полностью отсутствуют.
z-index: 1 — псевдоэлемент над текстом, но ПОД label (z-index: 2).
*/
.cbwc-collapsible-block__content-area::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: linear-gradient(
        to bottom,
        rgba(240, 247, 255, 0)    0%,
        rgba(240, 247, 255, 0.85) 45%,
        rgba(240, 247, 255, 1)    100%
    );
    z-index: 1;
    transition: opacity 0.35s ease;
    pointer-events: none;
}


/* ── 6. Текстовый блок ── */
.cbwc-collapsible-block__text-body {
    padding: 16px 20px 20px;
    font-size: 13.0px;
    /* line-height: 1.75; */
    color: #1a2a3a;

    /*
    Резервируем 40px снизу под label «Свернуть».
    В свёрнутом состоянии этот отступ скрыт за overflow: hidden.
    В раскрытом — образует пространство между последней строкой и кнопкой.
    */
    padding-bottom: 40px;
}

.cbwc-collapsible-block__text-body p {
    margin: 0 0 10px 0;
}

.cbwc-collapsible-block__text-body p:last-child {
    margin-bottom: 0;
}


/* ── 7. Общие стили для обоих hint-label ── */
/*
Оба label — прямые дочерние элементы .cbwc-collapsible-block__content-area.
НЕ вложены ни в какой pointer-events: none родитель.
z-index: 2 поднимает их НАД ::after псевдоэлементом (z-index: 1).
*/
.cbwc-collapsible-block__read-more-hint,
.cbwc-collapsible-block__collapse-hint {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;

    font-size: 12.5px;
    font-weight: 700;
    color: #1565c0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;

    transition: opacity 0.35s ease, color 0.2s ease;
}

.cbwc-collapsible-block__read-more-hint:hover,
.cbwc-collapsible-block__collapse-hint:hover {
    color: #0d47a1;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ── 8. Label «Читать дальше» — видна в СВЁРНУТОМ состоянии ── */
.cbwc-collapsible-block__read-more-hint {
    bottom: 8px;

    /* Анимация bounce только у «Читать дальше» — привлекает внимание */
    animation: cbwc-collapsible-read-more-hint-bounce 1.5s ease-in-out infinite;
}


/* ── 9. Label «Свернуть» — скрыта по умолчанию ── */
/*
По умолчанию: невидима и некликабельна.
Появляется только при :checked (блок раскрыт).
Без анимации bounce — не отвлекает пользователя при чтении текста.
Стрелки у неё смотрят ВВЕРХ (polyline: 18 15 12 9 6 15 в HTML).
*/
.cbwc-collapsible-block__collapse-hint {
    bottom: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* ================================================================
СОСТОЯНИЯ ПРИ РАСКРЫТИИ — :checked ~ sibling
================================================================ */

/* Раскрываем контент */
.cbwc-collapsible-block__hidden-checkbox:checked
    ~ .cbwc-collapsible-block
    .cbwc-collapsible-block__content-area {
    max-height: 700px;
}

/* Скрываем градиент (::after псевдоэлемент) */
.cbwc-collapsible-block__hidden-checkbox:checked
    ~ .cbwc-collapsible-block
    .cbwc-collapsible-block__content-area::after {
    opacity: 0;
}

/*
Скрываем «Читать дальше» в раскрытом состоянии.
!important защищает от перекрытия общими стилями темы WordPress,
например: label { opacity: 1; visibility: visible; }.
visibility: hidden — дополнительная страховка: элемент полностью
убирается из визуального дерева, даже если тема переопределит opacity.
*/
.cbwc-collapsible-block__hidden-checkbox:checked
    ~ .cbwc-collapsible-block
    .cbwc-collapsible-block__read-more-hint {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    /* Останавливаем bounce-анимацию у скрытого элемента */
    animation-play-state: paused;
}

/* Показываем «Свернуть» в раскрытом состоянии */
.cbwc-collapsible-block__hidden-checkbox:checked
    ~ .cbwc-collapsible-block
    .cbwc-collapsible-block__collapse-hint {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Поворачиваем стрелку в заголовке */
.cbwc-collapsible-block__hidden-checkbox:checked
    ~ .cbwc-collapsible-block
    .cbwc-collapsible-block__arrow-wrapper {
    transform: rotate(180deg);
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 1);
}


/* ================================================================
АНИМАЦИИ
Имена анимаций также содержат префикс cbwc-, чтобы исключить
конфликт с @keyframes из темы или других плагинов.
================================================================ */

/* Блок «пульсирует» при загрузке — привлекает внимание */
@keyframes cbwc-collapsible-block-attract-attention {
    0%, 100% {
        box-shadow: 0 6px 24px rgba(21, 101, 192, 0.18);
    }

    50% {
        box-shadow: 0 6px 32px rgba(21, 101, 192, 0.55),
            0 0 0 5px rgba(21, 101, 192, 0.2);
    }
}

/*
Подсказка «Читать дальше» — прыгает вверх-вниз.
ВАЖНО: translateX(-50%) присутствует в ОБОИХ кадрах,
иначе анимация translateY сбрасывает translateX и
подсказка уходит вправо от центра.
*/
@keyframes cbwc-collapsible-read-more-hint-bounce {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-4px);
    }
}
