:root {
	--wd-cat-brd-radius: 25px;
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: #83b735;
	--wd-alternative-color: rgb(100,135,27);
	--btn-default-bgcolor: rgb(247,247,247);
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #83b735;
	--btn-accented-bgcolor-hover: rgb(155,193,48);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(106,165,51);
	background-image: none;
}
html .wd-dropdown-menu.wd-design-sized .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-full-width .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu > li > a, html .wd-dropdown-menu.wd-design-default .wd-sub-menu li a, html .wd-dropdown-cats .wd-nav.wd-nav-vertical > li > a {
	font-family: Arial, Helvetica, sans-serif;	font-weight: 600;
	font-size: 13px;
	line-height: 14.5px;
	color: rgba(2,0,1,0.72);
}
html .wd-dropdown-menu.wd-design-sized .wd-sub-menu > li > a:hover, body .wd-dropdown-menu.wd-design-full-width .wd-sub-menu > li > a:hover, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu  > li > a:hover, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu > li > a:hover, html .wd-dropdown-menu.wd-design-default .wd-sub-menu li a:hover, html .wd-dropdown-cats .wd-nav.wd-nav-vertical > li:hover > a {
	color: rgb(86,140,42);
}
 {
	padding: 2px 2px 2px 2px;
}
.wd .product-label.onsale {
	background-color: rgb(221,51,51);
}
.wd .product-label.new {
	background-color: rgb(119,168,52);
}
.wd .product-label.featured {
	background-color: rgb(221,51,51);
}
.wd .product-label.out-of-stock {
	background-color: rgb(216,163,28);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 900px;
}
.wd-builder-off .wd-fbt.wd-design-side {
	--wd-form-width: 250px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--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: 12px;
}

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


.wd-page-title {
background-color: rgba(66,109,6,0.9);
}

/* --- Стили для блока согласия с политикой конфиденциальности --- */

/* Общий контейнер */
.woocommerce-terms-and-conditions-wrapper {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 25px;
    margin: 25px 0;
    font-family: inherit;
    transition: all 0.3s ease;
}

.woocommerce-terms-and-conditions-wrapper:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-color: #c0c0c0;
}

/* Контейнер текста — flex, чтобы замок и текст шли в строку */
.woocommerce-privacy-policy-text {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px;
}

/* Текст политики */
.woocommerce-privacy-policy-text p {
    font-size: 11px !important;
    line-height: 1.5 !important;
    color: #555 !important;
    margin: 0 !important;
    flex: 1;
}

/* Иконка замка */
.woocommerce-privacy-policy-text::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='11' width='14' height='10' rx='2' fill='%23d32f2f'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4' stroke='%23d32f2f' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='16' r='1.5' fill='white'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Ссылка на политику */
a.woocommerce-privacy-policy-link {
    color: #d32f2f;
    font-weight: 500;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}
a.woocommerce-privacy-policy-link:hover {
    color: #b71c1c;
    text-decoration: none !important;
}

/* Чекбокс */
.woocommerce-terms-and-conditions-wrapper .form-row label {
    margin-bottom: 8px;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .woocommerce-terms-and-conditions-wrapper {
        padding: 14px;
    }
    .woocommerce-privacy-policy-text p {
        font-size: 10px !important;
    }
    .woocommerce-privacy-policy-text::before {
        width: 17px;
        height: 17px;
    }
}
/* --- Блок информации о доставке --- */

.elementor-element-bb44b4b .wd-text-block {
    background-color: #f8f9fa !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 20px 25px !important;
    font-family: inherit !important;
    transition: all 0.3s ease !important;
}

.elementor-element-bb44b4b .wd-text-block:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    border-color: #c0c0c0 !important;
}

/* Текст внутри */
.elementor-element-bb44b4b .wd-text-block p {
    font-size: 11px !important;
    line-height: 1.5 !important;
    color: #555 !important;
    position: relative !important;
    padding-left: 28px !important;
    margin: 0 !important;
}

/* Иконка коробки */
.elementor-element-bb44b4b .wd-text-block p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73L13 2.27a2 2 0 0 0-2 0L4 6.27A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z' fill='none' stroke='%23d32f2f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpolyline points='3.27 6.96 12 12.01 20.73 6.96' fill='none' stroke='%23d32f2f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cline x1='12' y1='22.08' x2='12' y2='12' stroke='%23d32f2f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .elementor-element-bb44b4b .wd-text-block {
        padding: 14px !important;
    }
    .elementor-element-bb44b4b .wd-text-block p {
        font-size: 10px !important;
        padding-left: 24px !important;
    }
    .elementor-element-bb44b4b .wd-text-block p::before {
        width: 17px;
        height: 17px;
    }
}

/* --- Блок примечания к заказу --- */

.woocommerce-additional-fields {
    background-color: #B3C58259 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 12px !important;
    padding: 5px 5px !important;
    margin: 0px 0 !important;
    font-family: inherit !important;
    transition: all 0.3s ease !important;
}

.woocommerce-additional-fields:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    border-color: #c0c0c0 !important;
}

/* Заголовок "Детали" */
.woocommerce-additional-fields h3 {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    border: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Строка с примечанием */
.woocommerce-additional-fields .form-row {
    margin: 0 !important;
    padding: 0 !important;
}

/* Подпись к полю */
.woocommerce-additional-fields label {
    font-size: 11px !important;
    color: #555 !important;
    font-weight: 500 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

/* Увеличиваем эмодзи ✍️ */
.woocommerce-additional-fields label {
    font-size: 12px !important;
}

/* Поле ввода */
.woocommerce-additional-fields textarea {
    font-size: 12px !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 12px !important;
    background-color: #fff !important;
    resize: vertical !important;
    min-height: 80px !important;
    width: 100% !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    font-family: inherit !important;
}

.woocommerce-additional-fields textarea:focus {
    border-color: #d32f2f !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(211,47,47,0.1) !important;
}

/* Текст "необязательно" */
.woocommerce-additional-fields .optional {
    font-size: 10px !important;
    color: #999 !important;
    font-weight: 400 !important;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .woocommerce-additional-fields {
        padding: 14px !important;
    }
    .woocommerce-additional-fields label {
        font-size: 10px !important;
    }
    .woocommerce-additional-fields textarea {
        font-size: 11px !important;
        padding: 10px !important;
        min-height: 70px !important;
    }
}

/* --- Компактные поля ввода на странице оформления заказа --- */

/* Все текстовые поля, email, телефон */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout select {
    font-size: 13px !important;
    padding: 7px 10px !important;
    height: 36px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    background-color: #fff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

/* При фокусе — НЕЖНО-ЗЕЛЁНАЯ подсветка */
.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout input[type="number"]:focus,
.woocommerce-checkout select:focus {
    border-color: #81c784 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(129,199,132,0.15) !important;
}

/* Подписи к полям */
.woocommerce-checkout label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #666 !important;
    margin-bottom: 2px !important;
}

/* Расстояние между строками — УМЕНЬШЕНО */
.woocommerce-checkout .form-row {
    margin-bottom: 8px !important;
}

/* Селекты */
.woocommerce-checkout select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    padding-right: 28px !important;
}

/* Опциональная подпись */
.woocommerce-checkout .optional {
    font-size: 10px !important;
    color: #bbb !important;
}

/* Поле textarea отдельно */
.woocommerce-checkout textarea {
    font-size: 13px !important;
    padding: 8px 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    background-color: #fff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    min-height: 70px !important;
}

.woocommerce-checkout textarea:focus {
    border-color: #81c784 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(129,199,132,0.15) !important;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .woocommerce-checkout input[type="text"],
    .woocommerce-checkout input[type="email"],
    .woocommerce-checkout input[type="tel"],
    .woocommerce-checkout input[type="number"],
    .woocommerce-checkout select {
        font-size: 12px !important;
        padding: 6px 8px !important;
        height: 34px !important;
    }
    .woocommerce-checkout label {
        font-size: 10px !important;
    }
    .woocommerce-checkout .form-row {
        margin-bottom: 6px !important;
    }
}

/* ================================================================
   WooConnect — Оформление страницы "Спасибо за заказ"
   ================================================================ */
/* --- Страница "Спасибо за заказ" --- */

.thankyou-wrapper {
    max-width: 700px;
    margin: 40px auto;
    font-family: inherit;
}

/* Заголовок */
.thankyou-header {
    text-align: center;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 25px;
    margin-bottom: 20px;
}

.thankyou-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.thankyou-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
}

.thankyou-header p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Блоки с заказами */
.thankyou-orders {
    margin-bottom: 20px;
}

.thankyou-order-box {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 16px;
}

.thankyou-order-box h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.thankyou-order-box table {
    width: 100%;
    font-size: 11px;
    color: #555;
    border-collapse: collapse;
}

.thankyou-order-box table td {
    padding: 4px 0;
    vertical-align: top;
}

.thankyou-order-box table td:last-child {
    text-align: right;
    font-weight: 500;
}

.thankyou-order-box .total-row td {
    font-weight: 700;
    font-size: 13px;
    color: #333;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
    margin-top: 4px;
}

/* Загрузка */
.thankyou-loading {
    text-align: center;
    font-size: 13px;
    color: #999;
    padding: 30px;
}

/* Блок доставки */
.thankyou-delivery {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 20px;
}

.thankyou-delivery h3 {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.thankyou-delivery p {
    font-size: 11px;
    color: #555;
    margin: 0 0 6px 0;
    line-height: 1.5;
}

.thankyou-delivery a {
    color: #d32f2f;
    font-weight: 500;
    text-decoration: underline;
}

/* Кнопка возврата */
.thankyou-footer {
    text-align: center;
}

.thankyou-btn {
    display: inline-block;
    background-color: #d32f2f;
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.thankyou-btn:hover {
    background-color: #b71c1c;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .thankyou-wrapper {
        margin: 20px 10px;
    }
    .thankyou-header {
        padding: 20px 15px;
    }
    .thankyou-header h2 {
        font-size: 18px;
    }
    .thankyou-order-box {
        padding: 14px;
    }
    .thankyou-delivery {
        padding: 14px;
    }
}

/* --- Выравнивание количества в корзине WoodMart --- */
.woocommerce-cart-form .quantity {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    margin: 0 !important;
}

.woocommerce-cart-form .quantity .qty {
    height: 38px !important;
    line-height: 38px !important;
    padding: 0 8px !important;
    margin: 0 !important;
    text-align: center !important;
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    background: #fff !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    font-size: 14px !important;
}

.woocommerce-cart-form .quantity .minus,
.woocommerce-cart-form .quantity .plus {
    height: 38px !important;
    width: 38px !important;
    line-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

/* Убираем возможные отступы у кнопок от темы */
.woocommerce-cart-form .quantity .minus {
    border-radius: 4px 0 0 4px !important;
}
.woocommerce-cart-form .quantity .plus {
    border-radius: 0 4px 4px 0 !important;
}

.woocommerce-cart-form .quantity {
    display: inline-flex !important;
    align-items: center !important;
}

.woocommerce-cart-form .quantity .qty {
    height: 42px !important;
    line-height: 42px !important;
    padding-bottom: 0 !important;
    margin-top: -20px !important; /* Ключевое отличие */
    vertical-align: middle !important;
}@media (min-width: 1025px) {
	.product-labels.labels-rounded .out-of-stock {
    max-width: 50px;
    font-size: 10px;
}
.product-grid-item :is(.product-image-link,.hover-img) img {
    width: 200px;
    height: 200px;
}
@media (min-width: 1025px) {
    .title-size-default .title {
        font-size: 48px;
    }
}

}

@media (min-width: 577px) and (max-width: 767px) {
	/* Принудительное уменьшение шрифта для мобильных */
@media only screen and (max-width: 767px) {
    
    /* Основной селектор для названия категории в Woodmart */
    .wd-cat .wd-cat-title, 
    .category-title,
    .wd-cat-title,
    .product-category-title,
    .cat-name,
    .wd-nav .category-title,
    .wd-cat .wd-cat-title h4,
    .wd-cat .wd-cat-title h2,
    .wd-cat .wd-cat-title h3,
    .wd-cat .wd-cat-title span {
        font-size: 11px !important;
        line-height: 1.2 !important;
        font-weight: 500 !important;
        letter-spacing: 0 !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }

    /* Убираем отступы сверху/снизу для компактности */
    .wd-cat .wd-cat-title {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Для случая, если категория в карточке товара */
    .wd-product .category-list .wd-cat-wrapper .wd-cat-title {
        font-size: 11px !important;
    }
}
}

