:root {
	--wd-text-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(79,88,100);
	--wd-text-font-size: 16px;
	--wd-title-font: "Tenor Sans", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 400;
	--wd-title-color: rgb(38,49,15);
	--wd-entities-title-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: rgb(38,49,15);
	--wd-entities-title-color-hover: rgb(84, 117, 16);
	--wd-alternative-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(38,49,15);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-brd-radius: 24px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-otl-color: rgb(38,49,15);
	--wd-primary-color: rgb(38,49,15);
	--wd-alternative-color: rgb(138,176,44);
	--btn-default-font-family: "Roboto", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 500;
	--btn-default-font-size: 14px;
	--btn-default-bgcolor: rgb(38,49,15);
	--btn-default-bgcolor-hover: rgb(84,117,16);
	--btn-default-padding: 12px 28px 12px 28px;
	--btn-accented-font-family: "Roboto", Arial, Helvetica, sans-serif;
	--btn-accented-font-weight: 500;
	--btn-accented-font-size: 16px;
	--btn-accented-bgcolor: rgb(38,49,15);
	--btn-accented-bgcolor-hover: rgb(84,117,16);
	--btn-accented-padding: 12px 28px 12px 28px;
	--wd-form-brd-width: 1px;
	--notices-success-bg: rgb(244,247,240);
	--notices-success-color: rgb(38,49,15);
	--notices-warning-bg: rgb(250,246,240);
	--notices-warning-color: rgb(84,67,50);
	--wd-link-color: rgb(84,117,16);
	--wd-link-color-hover: #26310F;
	--wd-link-decor-style-hover: solid;
	--wd-link-decor-color-hover: rgb(38,49,15);
}
.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(250,246,240);
	background-image: none;
}
html .product-image-summary-wrap .summary-inner > .price, html .wd-single-price .price {
	font-family: "Tenor Sans", Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 25px;
}
html .wd-product .wd-entities-title, html .wd-product.product-list-item .wd-entities-title {
	font-family: "Tenor Sans", Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 15px;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-family: "Tenor Sans", Arial, Helvetica, sans-serif;
	font-weight: 400;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(38,49,15);
	--wd-form-placeholder-color: rgb(145,152,161);
	--wd-form-brd-color: rgb(195,199,205);
	--wd-form-brd-color-focus: rgb(38,49,15);
}
.wd-nav-arrows.wd-pos-sep:not(:where(.wd-custom-style)) {
	--wd-arrow-color: rgb(38,49,15);
	--wd-arrow-color-hover: rgb(84,117,16);
	--wd-arrow-color-dis: rgb(195,199,205);
	--wd-arrow-bg-hover: rgb(244,247,240);
}
.wd-nav-pagin-wrap:not(.wd-custom-style) {
	--wd-pagin-size: 8px;
	--wd-pagin-bg: rgb(195,199,205);
	--wd-pagin-bg-hover: rgb(84,117,16);
	--wd-pagin-bg-act: rgb(38,49,15);
}
.wd-nav-scroll {
	--wd-nscroll-height: 3px;
	--wd-nscroll-bg: rgb(232,235,240);
	--wd-nscroll-drag-bg: rgb(38,49,15);
	--wd-nscroll-drag-bg-hover: rgb(84,117,16);
}
.wd .product-label.onsale {
	background-color: rgb(255,112,121);
}
.wd .product-label.new {
	background-color: rgb(208,245,88);
	color: rgb(38,49,15);
}
.wd .product-label.featured {
	background-color: rgb(84,117,16);
}
.wd .product-label.out-of-stock {
	background-color: rgb(195,199,205);
	color: rgb(38,49,15);
}
.wd .product-label.attribute-label:not(.label-with-img) {
	background-color: rgb(250,246,240);
	color: rgb(38,49,15);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--btn-default-padding: 10px 24px 10px 24px;
	--btn-accented-padding: 10px 24px 10px 24px;
	}
	html .wd-product .wd-entities-title, html .wd-product.product-list-item .wd-entities-title {
		font-size: 15px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--btn-default-padding: 10px 20px 10px 20px;
	--btn-accented-padding: 10px 20px 10px 20px;
	}
	html .wd-product .wd-entities-title, html .wd-product.product-list-item .wd-entities-title {
		font-size: 13px;
	}

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

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


.wd-page-title {
background-color: rgb(250,246,240);
}

:where(.wd-loop-builder-off) .product-labels {
	position: absolute;
	top: 13px;
	inset-inline-start: 10px;
	z-index: 1;
	transform: translateZ(0);
}

/* Закругление всех четырех углов у фото товара в сетке */
.product-grid-item .product-element-top,
.product-grid-item .product-element-top img,
.product-grid-item .wd-buttons,
.product-grid-item .quick-shop-wrapper {
    border-radius: 24px !important;
    overflow: hidden !important;
}

.bfw-spisanie-blocks-button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px;
	cursor: pointer;
	border: 2px solid #acacac;
	border-radius: 24px;
}

.computy_skidka_form.open {
	opacity: 1;
	max-height: 500px;
	padding: 10px;
	border: 2px solid #a5a5a5;
	border-top: none;
	border-radius: 24px;
}

.computy_skidka_form .button, .computy_skidka_form .remove_points, .code_coupon_submit {
	cursor: pointer;
	color: #fff;
	border: none;
	border-radius: 30px !important;
}

.text_how_many_points {
	margin-bottom: -15px;
	width: 100%;
}



/* ====== Шрифт для строки "категория + цена" — меняешь тут ====== */
:root {
    --catprice-font-family: 'Tenor Sans', sans-serif;
    --catprice-font-size: 16px;
}


.product-grid-item .product-element-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "title title"
        "cats  price"
        ".     price";
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;
}

/* Этаж 1-2: название, максимум 2 строки, дальше многоточие */
.product-grid-item .product-element-bottom .wd-entities-title {
    grid-area: title;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Этаж 3 слева: категории, до 3 шт, не влезли — обрезаются */
.product-grid-item .product-element-bottom .wd-product-cats {
    grid-area: cats;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--catprice-font-family);
    font-size: var(--catprice-font-size);
}

/* Этаж 3 справа: цена. Этаж 4 справа: кешбэк (внутри .price, встаёт сам строкой ниже) */
.product-grid-item .product-element-bottom .price {
    grid-area: price;
    text-align: right;
    white-space: nowrap;
    font-family: var(--catprice-font-family);
    font-size: var(--catprice-font-size);
}

.product-grid-item .product-element-bottom .how_mach_bonus {
    margin: 0;
    text-align: right;
}

/* ====== Настройки шрифта блока "Кешбэк" — отдельно от цены ====== */
:root {
    --bonus-font-family: 'Roboto', sans-serif;
    --bonus-font-size: 12px;
}

.product-grid-item .product-element-bottom .price .how_mach_bonus,
.product-grid-item .product-element-bottom .price .how_mach_bonus * {
    font-family: var(--bonus-font-family) !important;
    font-size: var(--bonus-font-size) !important;
    text-align: right;
    margin: 0;
}


/* Скрытие красной звездочки только у поля Фамилия в личном кабинете */
.woocommerce-account .woocommerce-form-row[id*="last_name"] label .required,
.woocommerce-account label[for="account_last_name"] .required {
    display: none !important;
}@media (max-width: 576px) {
	.wd-cookies-inner .cookies-info-text {
	padding-inline-end: 0;
	font-size: 14px;
}
}

