@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//zugzwang.tech/wp-content/themes/woodmart/fonts/woodmart-font-3-400.woff2?v=8.2.5") format("woff2");
}

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

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

:root {
	--wd-text-font: "Satoshi", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 500;
	--wd-text-color: #767676;
	--wd-text-font-size: 16px;
	--wd-title-font: "Satoshi", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Satoshi", 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: "Satoshi", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Satoshi", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 14px;
	--wd-primary-color: rgb(20,51,49);
	--wd-alternative-color: rgb(250,213,91);
	--wd-link-color: rgb(24,67,65);
	--wd-link-color-hover: rgba(24,67,65,0.76);
	--btn-default-bgcolor: rgb(36,36,36);
	--btn-default-bgcolor-hover: rgb(51,51,51);
	--btn-accented-bgcolor: rgb(24,67,65);
	--btn-accented-bgcolor-hover: rgba(24,67,65,0.73);
	--btn-font-weight: 500;
	--btn-transform: capitalize;
	--btn-font-size: 14px;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--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-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(245,247,248);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(245,247,248);
	background-image: none;
}
html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
	font-size: 28px;
}
.whb-top-bar .wd-nav.wd-nav-secondary > li > a {
	font-size: 13px;
}
html .wd-nav-mobile > li > a {
	text-transform: none;
}
html .wd-nav-mobile .wd-sub-menu li a {
	text-transform: none;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	text-transform: none;
}
html table th {
	text-transform: none;
}
html .wd-checkout-steps li {
	text-transform: none;
}
.page .wd-page-content {
	background-color: rgb(245,247,248);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(245,247,248);
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(245,247,248);
	background-image: none;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(245,247,248);
	background-image: none;
}
.single-post .wd-page-content {
	background-color: rgb(245,247,248);
	background-image: none;
}
.woodmart-archive-portfolio .wd-page-content {
	background-color: rgb(245,247,248);
	background-image: none;
}
.single-portfolio .wd-page-content {
	background-color: rgb(245,247,248);
	background-image: none;
}
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-bg: rgb(255,255,255);
}
.product-labels .product-label.onsale {
	background-color: rgb(194,209,151);
}
.product-labels .product-label.new {
	background-color: rgb(194,209,151);
}
.product-labels .product-label.featured {
	background-color: rgb(194,209,151);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 24px;
	}
	[class*="thumbs-grid-bottom"] .woocommerce-product-gallery__wrapper.wd-grid {
		--wd-col: 1;
	}

}

@media (max-width: 768.98px) {
	html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
		font-size: 22px;
	}
	[class*="thumbs-grid-bottom"] .woocommerce-product-gallery__wrapper.wd-grid {
		--wd-col: 1;
	}

}
:root{
--wd-container-w: 1660px;
--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: 1660px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


@font-face {
	font-family: "Satoshi";
	src: url("//zugzwang.tech/wp-content/uploads/2024/10/Satoshi-Medium.woff") format("woff");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "Satoshi";
	src: url("//zugzwang.tech/wp-content/uploads/2024/10/Satoshi-Bold.woff") format("woff");
	font-weight: 600;
	font-style: normal;
}

/* =================================================================
   1. КОРЗИНА: ФИКС НАЛОЖЕНИЯ ФУТЕРА
   ================================================================= */
.woocommerce-cart .elementor-element-72aea968 {
    margin-bottom: 80px !important;
    padding-bottom: 40px !important;
    display: block !important;
}

.woocommerce-cart .wd-carousel-container {
    margin-bottom: 60px !important;
}

.woocommerce-cart .wd-footer {
    margin-top: 80px !important;
    clear: both !important;
    position: relative !important;
    z-index: 100 !important;
}

.woocommerce-cart .wd-products-element::after {
    content: '';
    display: block;
    height: 60px;
    clear: both;
}

.woocommerce-cart .wd-page-content {
    padding-bottom: 80px !important;
}

.woocommerce-cart .elementor-element-72aea968 .e-con-inner {
    min-height: 400px !important;
    padding-bottom: 60px !important;
}

/* =================================================================
   2. СКРЫТИЕ КАТЕГОРИИ "UNCATEGORIZED"
   ================================================================= */
.widget_product_categories li.cat-item a[href*="uncategorized"],
.woocommerce-breadcrumb a[href*="uncategorized"],
.product-category.uncategorized {
    display: none !important;
}
/* Скрываем маркер списка */
.widget_product_categories li.cat-item:has(a[href*="uncategorized"]) {
    display: none !important;
}

/* =================================================================
   3. ФИКС "НЕДАВНО ПРОСМОТРЕННЫЕ" (RECENTLY VIEWED)
   ================================================================= */
.wd-carousel-container .wd-product.wd-hover-small .product-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    height: 100% !important;
    border: 1px solid #f0f0f0;
    background: #fff;
    border-radius: 8px;
}

.wd-carousel-container .wd-product.wd-hover-small .product-element-top {
    width: 100% !important;
    height: 160px !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important;
}

.wd-carousel-container .wd-product.wd-hover-small .product-element-top img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.wd-carousel-container .wd-product.wd-hover-small .product-element-bottom {
    width: 100% !important;
    padding: 0 10px 15px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* =================================================================
   4. ГЛОБАЛЬНАЯ СЕТКА ТОВАРОВ (ВЕРНУЛИ КРУПНЫЕ КАРТИНКИ)
   ================================================================= */
/* Выравнивание карточки */
.product-grid-item .product-wrapper {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    justify-content: space-between !important;
}

/* Контейнер картинки: фиксируем высоту, чтобы сетка была ровной */
.product-grid-item .product-element-top {
    height: 300px !important; /* Увеличил размер, чтобы было как раньше */
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #fff !important;
    margin-bottom: 10px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
}

/* Ссылка внутри контейнера */
.product-grid-item .product-element-top > a {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
}

/* САМО ИЗОБРАЖЕНИЕ - ДЕЛАЕМ КРУПНЫМ */
.product-grid-item .product-element-top img {
    width: 100% !important;      /* Растягиваем на всю ширину */
    height: 100% !important;     /* Растягиваем на всю высоту */
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important; /* Вписываем (не обрезаем) */
    margin: 0 !important;
    padding: 0 !important;
}

/* Выравнивание кнопок и цены по низу */
.product-grid-item .product-element-bottom {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
.product-grid-item .wd-bottom-actions,
.product-grid-item .price {
    margin-top: auto !important;
}

/* =================================================================
   5. СТРАНИЦА ТОВАРА (SINGLE PRODUCT)
   ================================================================= */
.single-product .woocommerce-product-gallery__image {
    height: 600px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #fff;
    overflow: hidden;
}

.single-product .woocommerce-product-gallery__image > a {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
}

.single-product .woocommerce-product-gallery__image img {
    width: auto !important; 
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    position: relative !important;
}

@media (max-width: 768px) {
    .single-product .woocommerce-product-gallery__image {
        height: 400px !important;
    }
}

/* =================================================================
   6. РЕЗУЛЬТАТЫ ПОИСКА (ВЫПАДАЮЩИЙ СПИСОК)
   ================================================================= */
.wd-search-suggestions .wd-suggestion-thumb {
    width: 70px !important;
    height: 70px !important;
    flex: 0 0 70px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #fff;
    overflow: hidden;
    margin-right: 15px !important;
}

.wd-search-suggestions .wd-suggestion-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: 0 !important;
}

.wd-search-suggestions .wd-suggestion {
    align-items: center !important;
}