/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 08 2026 | 12:06:41 */
/* =====================================================================
   Левое меню: разделы каталога (виджет категорий) и дочерние страницы
   (шорткод [menu_childpages], сниппет 026); колонки «контент + меню» на
   планшетах.
   (08.10.2026, сведено из записей Left Menu, «Отключаем показ подменю для
   не текущего раздела» и части «Продукция в списке».)
   ===================================================================== */

/* Подразделы показываем только у текущего раздела */
.widget_product_categories li:not(.current-cat-parent):not(.current-cat) ul {
	display: none;
}

.widget .widget-title {
	color: white;
	background: linear-gradient(to right, black, transparent);
}

.widget_product_categories ul {
	background: linear-gradient(to right, black, transparent);
}

.page .widget_product_categories {
	display: none;
}

.widget-area .widget a {
	font-weight: 400 !important;
	padding: 0.4em 0.7em;
	text-decoration: none;
	display: block;
	color: white;
}
.widget-title2 a {
	font-weight: 400 !important;
}

/* Текущий раздел / текущая страница */
.widget_product_categories li.current-cat > a, .text-categories li.current_page_item {
	text-decoration: none !important;
	color: black;
	background-color: white;
	border-radius: 2px;
	display: block;
}
.text-categories li.current_page_item {
	padding: 0.4em 0.7em;
}

/* Родитель текущего раздела */
.widget_product_categories li.current-cat-parent > a {
	font-weight: bold !important;
	border-left: 1px solid white;
	border-bottom: 1px solid;
	border-image: linear-gradient(to right, white, transparent) 1;
	border-top: 1px solid;
	border-image: linear-gradient(to right, white, transparent) 1;
}

.widget_product_categories li a:hover, .text-categories li a:hover {
	color: black;
	background-color: white;
	border-radius: 2px;
	display: block;
}

.widget-area .widget .widget-title2 a {
	padding: 0 !important;
	font-weight: 300 !important;
}

.widget_product_categories ul ul ul {
	margin-top: 0.5em !important;
}
.widget_product_categories ul ul ul li {
	margin-bottom: 0.4em;
}
.widget_product_categories ul .children {
	margin-top: 0.7em;
}
.widget_product_categories ul li {
	margin-bottom: 0;
}
.widget_product_categories li::before {
	content: none !important;
	display: none;
}
.widget_product_categories li {
	padding-left: 0 !important;
}
.widget_product_categories ul .children {
	padding-left: 2em !important;
	margin-bottom: 1em;
}

/* ===== Колонки на планшетах ===== */
@media (orientation: landscape) and (max-width: 1024px) {
	.left-sidebar .content-area {
		width: 68.9130434783%;
	}
	.left-sidebar .widget-area {
		width: 26.7391304348%;
	}
}

/* Портрет: меню уходит под контент, на всю ширину */
@media (orientation: portrait) and (max-width: 1024px) {
	.left-sidebar .content-area {
		width: 100%;
	}
	.site-content .col-full {
		display: flex;
		flex-flow: row wrap;
	}
	#secondary {
		order: 2 !important;
		width: 100%;
		margin-bottom: 1em;
	}
	#secondary .widget_product_categories {
		margin-left: 0 !important;
		margin-bottom: 0.5em;
	}
	#secondary .widget-title {
		padding-bottom: 0.1em;
	}
	.widget .widget-title {
		margin-left: 0.5em;
	}
	#primary {
		order: 2;
	}
}
