@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//huananzhi.ru/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.1.2") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//huananzhi.ru/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//huananzhi.ru/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//huananzhi.ru/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//huananzhi.ru/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//huananzhi.ru/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//huananzhi.ru/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//huananzhi.ru/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//huananzhi.ru/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 13px;
	--wd-title-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 700;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 15px;
	--wd-header-el-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 12px;
	--wd-primary-color: rgb(236,100,30);
	--wd-alternative-color: rgb(236,100,30);
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #ec641e;
	--btn-default-bgcolor-hover: rgb(236,100,30);
	--btn-accented-bgcolor: rgb(236,100,30);
	--btn-accented-bgcolor-hover: rgb(237,91,18);
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-sticky-btn-height: 95px;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(255,255,255);
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 800px;
}
.wd-page-title {
	background-color: rgb(255,255,255);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(255,255,255);
	background-image: none;
}
.product-labels .product-label.onsale {
	background-color: rgb(252,174,58);
}
.product-labels .product-label.attribute-label:not(.label-with-img) {
	background-color: rgb(255,150,58);
	color: rgb(255,255,255);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 0px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 5px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 8px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* === КНОПКИ В ШАПКЕ: WhatsApp и Telegram === */
.img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.img-link .img {
    transition: transform 0.3s ease-in-out;
}

.img-link:hover .img {
    transform: scale(1.1);
}

/* === МОДАЛЬНОЕ ОКНО ОТПРАВКИ ФОРМЫ === */
.modal {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
}

.modal input:checked ~ * {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 100px;
    height: 100px;
    background-color: white;
    padding: 50px;
    text-align: center;
    animation: checkmark 1s 0.5s ease-in-out forwards;
}

@keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.checkmark {
    width: 100%;
    height: 70%;
    border: 3px solid green;
    border-radius: 50%;
    position: relative;
    animation: draw-checkmark 1s 0.5s ease-in-out forwards;
}

.checkmark::before {
    content: '';
    width: 30%;
    height: 70%;
    background-color: green;
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    animation: mask-checkmark 0.5s 1.5s ease-in-out forwards;
}

.checkmark::after {
    content: '';
    width: 70%;
    height: 3px;
    background-color: green;
    position: absolute;
    top: 60%;
    left: 30%;
    transform: translateX(-50%);
}

/* === КНОПКА ЗВОНКА/ЗАЯВКИ === */
.myButton {
    box-shadow: inset 0px 1px 0px 0px #f29c9c;
    background: linear-gradient(to bottom, #ec641e 5%, #ec641e 100%);
    border-radius: 28px;
    border: 1px solid #ec641e;
    color: #fff;
    font-family: Arial;
    font-size: 10px;
    padding: 10px 20px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #000;
    display: inline-block;
    cursor: pointer;
}

.myButton:hover {
    background: linear-gradient(to bottom, #ec641e 5%, #ec641e 100%);
}

.myButton:active {
    top: 1px;
    position: relative;
}

/* === СПОЙЛЕР/ВЫПАДАЮЩИЙ FAQ === */
details {
    display: block;
    background: #fff;
    width: 100%;
    box-shadow: 0 10px 15px -5px rgba(0,0,0,0.1),
                0 10px 10px -5px rgba(0,0,0,0.04);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

summary {
    display: block;
    padding: .3em .3em .3em 1.4em;
    font-size: 1.4em;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
    color: #4a148c;
}

summary:before {
    content: "";
    position: absolute;
    top: .4em;
    left: .3em;
    background: url("data:image/svg+xml;base64,...") no-repeat center/1em;
    width: 1em;
    height: 1em;
    transition: transform .5s;
}

details[open] summary:before {
    transform: rotateZ(90deg);
}

summary ~ * {
    padding: 0 2em 10px 2em;
    color: #2e2d2d;
    animation: sweep .5s ease-in-out;
}

@keyframes sweep {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* === УВЕДОМЛЕНИЯ WooCommerce — ОТКЛЮЧЕНО === */
.woocommerce-notices-wrapper,
.woocommerce-NoticeGroup,
.woocommerce-NoticeGroup-checkout,
.woocommerce-message,
.woocommerce-error {
    display: none !important;
}

/* === МЕТКА АКЦИИ (Shake Animation) === */
.onsale.product-label.shake-label {
    background-color: transparent;
    font-size: 14px;
    font-weight: bold;
    padding: 15px 30px;
    text-transform: uppercase;
    position: relative;
    animation: shake 2s ease-in-out infinite;
}

.onsale.product-label.shake-label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 200%;
    background-color: #dc2626;
    border-radius: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
    75% { transform: rotate(-3deg); }
    100% { transform: rotate(0deg); }
}

/* === КОРЗИНА: СТИЛИ ДЛЯ КОЛИЧЕСТВА === */
.quantity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.quantity p {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
}

/* === ТЕКСТ В ЧАТЕ: СВЕТЛАЯ И ТЁМНАЯ ТЕМЫ === */
body.light-theme .bx-livechat-textarea .bx-im-textarea-input {
    color: #000;
    background-color: #fff;
}

body.dark-theme .bx-livechat-textarea .bx-im-textarea-input {
    color: #fff;
    background-color: #2b2b2b;
}

/* === КНОПКИ НА МОБИЛЬНОЙ ВЕРСИИ === */
@media (max-width: 768px) {
    form.cart {
        flex-direction: column;
        align-items: stretch;
    }

    .cart .quantity {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 15px;
    }

    .cart .quantity input.minus,
    .cart .quantity input.plus {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .cart .quantity input.qty {
        width: 60px;
        height: 48px;
        text-align: center;
        font-size: 18px;
    }

    .cart button.single_add_to_cart_button,
    .cart button.wd-buy-now-btn {
        width: 100%;
        height: 56px;
        font-size: 18px;
        margin-bottom: 10px;
    }
}

/* === МОБИЛЬНЫЕ КНОПКИ: WHATSAPP / TELEGRAM === */
.custom-grey-button {
    background-color: #fff;
    color: #515962;
    border: 1px solid #515962;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.custom-grey-button:hover {
    background-color: #f1f2f3;
    color: #0c0d0e;
    border-color: #0c0d0e;
}

/* === ССЫЛКИ В БОКОВОМ МЕНЮ КАТЕГОРИЙ === */
.unique-category-list-hz li a {
    color: #2e2d2d !important; /* Тёмно-серый по умолчанию */
    text-decoration: none;
    display: block;
    padding: 6px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.unique-category-list-hz li a:hover {
    background-color: #ec641e !important;
    color: #fff !important;
}

.unique-category-list-hz li a.active,
.unique-category-list-hz li.current-cat a,
.unique-category-list-hz li.current_page_item a {
    background-color: #ec641e !important;
    color: #fff !important;
}

/**убирает наслоение**/
@media (max-width: 768px) {
    .woocommerce ul.products li.product {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .woocommerce-loop-product__title {
        font-size: 1.2em;
        margin-bottom: 5px;
        word-wrap: break-word;
    }

    .star-rating {
        margin-bottom: 5px;
    }

    .price {
        font-size: 1.1em;
        margin-bottom: 10px;
    }

    .button {
        width: 100%;
        box-sizing: border-box;
    }
}