/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 08 2026 | 18:29:42 */
/* =====================================================================
   Каталог: разделы (картинка и описание раздела, подразделы) и список
   товаров (карточки, артикулы, значок вариаций, ссылки на PDF и видео).
   (08.10.2026, сведено из записей «Пометка для вариативных товаров в
   списке», «Блок описания категории», «Картинка раздела», «Подкатегории в
   списке», «Убрать сортировку», «Продукция в списке», части Text.)
   ===================================================================== */

/* ===== Значок вариативного товара и артикулы вариаций (сниппет 012) ===== */
.variable {
	color: yellow;
	position: absolute;
	left: 15px;
	top: 5.1em;
}
.variable i {
	font-size: 110%;
}
.variable-sku {
	color: white;
	position: absolute;
	left: 35px;
	top: 6.3em;
	text-align: left;
	font-size: 80%;
}

/* ===== Описание раздела (вкладки под списком, сниппет 024) ===== */
.term-description ul {
	list-style: square;
}

/* ===== Шапка раздела: картинка раздела + заголовок (сниппет 023) ===== */
.woocommerce-products-header {
	margin-bottom: 2em;
	display: flex;
	margin-right: 5px;
}
.woocommerce-products-header .cat-img {
	margin-right: 0.5em;
}
.woocommerce-products-header .cat-img img {
	max-width: 100px;
	cursor: zoom-in;
	border: 1px solid white;
}
.woocommerce-products-header .cat-img a {
	display: inline-block;
	overflow: visible;
	vertical-align: middle;
}
.woocommerce-products-header .cat-img a img {
	transition: transform 0.3s ease;
	display: block;
}
.woocommerce-products-header .cat-img a:hover img {
	transform: scale(1.2);
}
.woocommerce-products-header h1 {
	font-size: 2rem;
	margin: auto;
	flex: 1;
	display: flex;
	align-items: center;
	border-radius: 2px;
}

/* ===== Подразделы в списке ===== */
#content .product-category h2 {
	font-size: 1.3rem;
	border-bottom: none;
	color: black;
}
#content .product-category h2 .count {
	display: none;
}
#content ul.products li.product.product-category img {
	padding-top: 1.618em;
}
#content .product-category a {
	display: block;
	overflow: hidden;
}
#content .product-category a img {
	transition: transform 0.3s ease;
	display: block;
}
#content .product-category a:hover img {
	transform: scale(1.1);
}

/* ===== Сортировка списка не показывается ===== */
.storefront-sorting {
	display: none;
}

/* ===== Список товаров ===== */
.woocommerce-products-header__title {
	margin-bottom: 1.5em;
}
.append-block-small a {
	color: black;
}
ul.products li.product h3 {
	font-weight: 500;
	font-size: 1.1rem;
	margin-bottom: 0.7em;
}

ul.products li.product {
	background-color: white;
}

/* Название с артикулом (сниппет 012) */
#content .products .div-woocommerce-loop-product__title {
	display: flex;
	align-items: center;
	height: 4em;
	margin-top: -8px;
	padding-left: 3px;
}
#content .products h3.woocommerce-loop-product__title {
	font-size: 0.9rem;
	overflow-y: hidden;
	margin-bottom: 0;
	display: flex;
	align-items: flex-start;
	gap: 5px;
	font-weight: 500 !important;
	text-align: left;
	padding: 0;
	color: black;
	max-height: 3lh;
	line-height: 1.2;
}
.loop-product-sku {
	font-weight: 400;
	color: darkgray;
	display: inline-block;
	flex-shrink: 0;
	line-height: inherit;
}

.woocommerce-products-header__title {
	color: white;
	padding: 0.2em 0.5em;
}

/* Картинка товара: высота 1,5 ширины, увеличение при наведении (сниппет 011) */
.product .imagewrapper {
	width: 100%;
	height: 0;
	padding-bottom: 150%;
	overflow: hidden;
	margin-bottom: 0.5em;
}
.product .imagewrapper a {
	display: inline-block;
	overflow: hidden;
	vertical-align: middle;
}
.product .imagewrapper a img {
	transition: transform 0.3s ease;
	display: block;
}
.product .imagewrapper a:hover img {
	transform: scale(1.1);
}

/* Ссылки на PDF и видео под названием (сниппет 012) */
.append-block-small .link-to-pdf a {
	display: block;
	font-size: 0.9rem;
	line-height: normal;
	margin-bottom: 0.4em;
	margin-left: 0;
	text-align: left;
	padding-left: 1.3em;
}
.append-block-small .link-to-pdf a i {
	font-size: 1rem;
	display: inline-block;
	position: absolute;
	left: 0.5em;
}
.append-block-small .link-to-video a {
	display: block;
	font-size: 0.9rem;
	line-height: normal;
	margin-bottom: 0.4em;
	margin-left: 0;
	text-align: left;
	padding-left: 1.4em;
}
.append-block-small .link-to-video a i {
	font-size: 1rem;
	display: inline-block;
	position: absolute;
	left: 0.5em;
}
.append-block-small span {
	margin-bottom: 0.5em;
}

/* Карточка в списке: тень при наведении */
li.product {
	padding: 0.5em;
}
li.product:hover {
	-webkit-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
	-moz-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
	box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
}
.append-block-small {
	z-index: 1;
}

ul.products li.product {
	margin-bottom: 3em !important;
}
/* Товары в блоке WooCommerce «Выбранные товары» (страница «Новинки») */
.wc-block-grid__products .wc-block-grid__product {
	margin-bottom: 6em;
}

/* Две колонки товаров на планшетах */
@media (orientation: landscape) and (max-width: 1024px) {
	.site-main ul.products.columns-4 li.product {
		width: 48%;
		margin-right: 4%;
	}
	.site-main ul.products.columns-4 li.product:nth-child(2n) {
		margin-right: 0;
	}
}
@media (orientation: landscape) and (min-width: 768px) and (max-width: 1280px) {
	.site-main ul.products.columns-4 li.product {
		width: 48%;
		margin-right: 4%;
	}
	.site-main ul.products.columns-4 li.product:nth-child(2n) {
		margin-right: 0;
	}
}
@media (orientation: portrait) and (max-width: 1024px) {
	ul.products li.product {
		margin-bottom: 2em !important;
	}
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
	.site-main ul.products.columns-4 li.product {
		width: 48%;
		margin-right: 4%;
	}
	.site-main ul.products.columns-4 li.product:nth-child(2n) {
		margin-right: 0;
	}
}
