@charset "utf-8";
/* ===== ОБЪЕДИНЁННЫЙ CSS САЙТА (локальная сборка БГК) =====
   Порядок важен: движковая база -> страничные -> BGK-оверлеи (побеждают последние).
   Сборка: 2026-10-27. Кодировка: UTF-8 (исходники частично были в cp1251).
   ===== */

/* ================== main.css ================== */
/*** e58a37 = Оранжевый по брендбуку ***/
/*** 1b1b1b = Черный по брендбуку ***/
/*** 274796 = Синий по брендбуку ***/



/* ===== Font Awesome 6 (локальные файлы как fallback CDN all.min.css):
       пишутся ДО подключаемого all.min.css: совпадающее правило CDN «позднее» и побеждает, когда CDN доступен;
       на страницах без CDN иконки .fas/.far/.fab всё равно работают ===== */
@font-face {
	font-family: 'Font Awesome 6 Free';
	font-style: normal;
	font-weight: 900;
	font-display: block;
	src: url(fonts/FontAwesome-solid-900.woff2) format("woff2");
}
@font-face {
	font-family: 'Font Awesome 6 Free';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url(fonts/FontAwesome-reqular-400.woff2) format("woff2");
}
@font-face {
	font-family: 'Font Awesome 6 Brands';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url(fonts/FontAwesome-brands-400.woff2) format("woff2");
}
/* @font-face{ */
	/* font-family:'FontAwesome'; */
	/* src:url(fonts/FontAwesome.otf) format("opentype"); */
	/* font-weight:700; */
	/* font-style:normal */
/* } */
@font-face{
	font-family: "Ubuntu Light";
	src: url(fonts/Ubuntu/Ubuntu-Light.ttf) format("truetype");
	font-weight:400;
	font-style:normal;
}
@font-face{
	font-family: "Ubuntu Light Italic";
	src: url(fonts/Ubuntu/Ubuntu-LightItalic.ttf) format("truetype");
	font-weight:400;
	font-style:italic;
}
@font-face{
	font-family: "Ubuntu Medium";
	src: url(fonts/Ubuntu/Ubuntu-Medium.ttf) format("truetype");
	font-weight:400;
	font-style:normal;
}
@font-face{
	font-family: "Ubuntu Medium Italic";
	src: url(fonts/Ubuntu/Ubuntu-MediumItalic.ttf) format("truetype");
	font-weight:400;
	font-style:italic;
}
@font-face{
	font-family: "Ubuntu Regular";
	src: url(fonts/Ubuntu/Ubuntu-Regular.ttf) format("truetype");
	font-weight:400;
	font-style:normal;
}
@font-face{
	font-family: "Ubuntu Italic";
	src: url(fonts/Ubuntu/Ubuntu-Italic.ttf) format("truetype");
	font-weight:400;
	font-style:italic;
}
@font-face{
	font-family: "Ubuntu Bold";
	src: url(fonts/Ubuntu/Ubuntu-Bold.ttf) format("truetype");
	font-weight:700;
	font-style:normal;
}
@font-face{
	font-family: "Ubuntu Bold Italic";
	src: url(fonts/Ubuntu/Ubuntu-BoldItalic.ttf) format("truetype");
	font-weight:700;
	font-style:italic;
}
@font-face{
	font-family: "FreeSans";
	font-style: normal;
	font-weight: 400;
	src: url(fonts/FreeSans.woff) format("woff2");
}
@font-face{
	font-family:'FontAwesome Regular';
	src:url(fonts/FontAwesome-reqular-400.woff2) format("woff2");
	font-weight:700;
	font-style:normal
}
@font-face{
	font-family:'FontAwesome';
	src:url(fonts/FontAwesome-solid-900.woff2) format("woff2");
	font-weight:700;
	font-style:normal
}
@font-face{
	font-family:'FontAwesome Brands';
	src:url(fonts/FontAwesome-brands-400.woff2) format("woff2");
	font-weight:700;
	font-style:normal
}
@font-face{
	font-family:'GOST';
	src: url(fonts/GOST_regular.ttf) format("truetype");
	font-weight:400;
	font-style:italic;
}
@font-face{
	font-family:'GOST Italic';
	src: url(fonts/GOST_italic.ttf) format("truetype");
	font-weight:400;
	font-style:italic;
}
.glyph {
	font-family:'FontAwesome';
}




*, *:before, *:after {
	margin: 0;
	padding: 0;
	outline: 0;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	
	}
::-webkit-input-placeholder { font-style: italic; color: #a0a0a0; }
::-moz-placeholder { font-style: italic; color: #a0a0a0; }
:-ms-input-placeholder { font-style: italic; color: #a0a0a0; }
:-moz-placeholder { font-style: italic; color: #a0a0a0; }




.nowrap {
	white-space: nowrap;
}
.no-nowrap {
	white-space: normal !important;
}
.noselect {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
 }
.nomargin { 
	margin: 0 !important;
}
.nopadding {
	padding: 0 !important;
}



html {
	height: 100%;
}

body {
	color: #333333;
	position: relative;
	height: 100%;
	font-family: "Ubuntu Regular";
	font-weight: 600;
	background: #f8f9fb;
}
body.blur {
	/* background: #bababa; */
}
header, main, aside, section, footer, nav {
	display: inline-block;
	width: 100%;
	float: left;
}
.wrap {
	display: block;
	position: relative;
	margin: 0 auto;
	left: 0;
	right: 0;
}
a {
	color: #67697ecc;
}
a,a:visited {
	text-decoration: none;
}
a:hover {
	color: #67697e;
}



input {
	-ms-user-select: none;
	-moz-user-select: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: none;
	background: #ffffff;
	background: transparent;
}
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	cursor: pointer;
}
ol, ul, li {
	list-style: none;
	list-style-type: none;
}
ol li {
	list-style-type: decimal !important;
    list-style-position: inside !important;
	font-size: 15px;
}
h1,h2,h3,h4,h5 {
	font-family: "Ubuntu Light";
}
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-top { vertical-align: top; }
.text-middle { vertical-align: middle; }
.mask { color: #a0a0a0; }



.nicescrollbar::-webkit-scrollbar {
    width: 3px;
    background: transparent;
}
.nicescrollbar::-webkit-scrollbar-thumb {
    background: #f0f0f0;
}
.nicescrollbar.bar5::-webkit-scrollbar {
    width: 5px;
}
.nicescrollbar.bar8::-webkit-scrollbar {
    width: 8px;
}

.clearfix {
	display: block;
	width: 100%;
	height: 1px;
	clear: both;
}


.hr {
	display: inline-block;
	float: left;
	width: 100%;
	height: 0;
	background: transparent;
}


@media all and (min-width:250px) {
	/* Обертка */
	div.wrap {
		width: 100%;
		padding: 5px;
	}
	
	/* Хлебные крошки */
	#breadcrumbs {
		font-size: 14px;
		margin-bottom: 8px;
	}
	ul.breadcrumbs {
		margin: 5px 0;
	}
	ul.breadcrumbs li {
		display: inline;
		width: auto;
		padding: 0;
	}
	ul.breadcrumbs li:last-child {
		font-weight: 600;
	}
	ul.breadcrumbs li:after {
		content: "\f054";
		font-family: "FontAwesome";
		display: inline;
		width: auto;
		margin: 0 5px;
		color: #707070;
	}
	ul.breadcrumbs li:last-child:after {
		display: none;
	}
	ul.breadcrumbs li a {
		color: #707070;
	}
	ul.breadcrumbs li a:hover {
		text-decoration: underline;
	}
}

@media all and (min-width:700px) {
	/* Обертка */
	div.wrap {
		width: 100%;
		margin: 0 auto;
		padding: 0 30px;
	}
}


@media all and (min-width:7700px) {
		

		
		/* Категория */
		section.category-view {
			width: calc(100% - 310px);
			padding-left: 10px;
		}
		section.category-container {
			min-height: 500px;
			display: inline-block;
			float: left;
		}
		/* Категория > Параметрический поиск */
		section.category-wrap {
			display: flex;
			flex-direction: row;
			gap: 20px;
		}
		aside.category-filters {
			flex-grow: 0;
			width: 310px;
			font-size: 14px
		}
			
		.product-info .product-params {
			width: 65%;
			padding-right: 20px;
		}
			
		.product-info .product-offer {
			width: 35%;
		}
		
		/* Продукт - Преимущества */
		section.benefits .benefit {
			width: 300px;
			min-width: 300px; 
			float: left;
			margin-right: 20px;
		}
		

}



@media all and (min-width:71000px) {
	
	
			header .header-center .search {
				display: inline-block;
				float: left;
				width: 100%;
				padding: 0 10px;
			}	
			
			

			/* Категория */
			section.category-view {
				width: 670px;
				margin-left: 10px;
			}
			
			.items-wrap.tile .item {
				width: 670px;
			}
			
			.items-wrap.tile .item .item-image {
				width: 150px;
				display: inline-block;
				float: left;
			}
			
			.items-wrap.tile .item .item-desc {
				width: 300px;
				display: inline-block;
				float: left;
				padding: 0 10px;
			}
			.items-wrap.tile .item .item-tools {
				display: none;
			}
			.items-wrap.tile .item .item-actions {
				display: inline-block;
				float: right;
			}
			
			
			.product-content .params-2x2 {
				display: grid;
				grid-template-columns: repeat(2, 1fr);
				/* grid-template-rows: repeat(2, 1fr); */
				grid-column-gap: 50px;
				grid-row-gap: 0px;
				width: 100%;
			}
			
			/* Продукт */
			section.product-head {
				display: flex;
			}
			section.product-params {
				flex-grow: 1;
			}
}



@media all and (min-width:71200px) {
				div.wrap {
					width: 100%;
					max-width: 1520px;
					margin: 0 auto;
					padding: 0 30px;
				}
				div.flex-row {

				}
				
				

				


				
				#mainmenu {
					display: flex;
					justify-content: space-between;
					align-content: center;
					height: 56px;
					padding-left: 50px;
					line-height: 56px;
				}
				#mainmenu a {
					font-weight: 600;
					color: #444444;
					line-height: inherit;
					text-decoration: none;
				}
				#mainmenu a:hover {
					color: #ff0000;
				}
				main {
					color: #555555;
				}
				#mainmenu a.production {
					background: #1b1b1b;
					color: #ffffff;
					height: 40px;
					display: inline-block;
					padding: 10px 20px;
					line-height: 16px;
					margin-top: 10px;
					border: solid 2px #1b1b1b;
				}
				#mainmenu a.production:hover {
					background: #ffffff;
					color: #1b1b1b;
				}
				#mainmenu a.service {
					background: #e58a37;
					color: #ffffff;
					height: 40px;
					display: inline-block;
					padding: 10px 20px;
					line-height: 16px;
					margin-top: 10px;
					border: solid 2px #e58a37;
				}
				#mainmenu a.service:hover {
					background: #ffffff;
					color: #e58a37;
				}
				
				
				
				/* Категория */
				section.category-container {
					min-height: 500px;
					display: flex;
					flex-direction: row;
					gap: 10px
				}
				/* Категория > Параметрический поиск */
				section.category-wrap {
					display: flex;
					flex-direction: row;
					gap: 20px;
				}
				aside.category-filters {
					flex-grow: 0;
					width: 310px;
					font-size: 14px
				}
				section.category-view {
					width: calc(100% - 310px);
				}
				.items-wrap.tile .item {
					display: flex;
					flex-direction: row;
					justify-content: space-between;
					gap: 20px;
					line-height: 25px;
					font-size: 14px;
					border-top: solid 1px #dbdbdb;
					padding: 10px 0;
					width: 100%;
				}
				.items-wrap.tile .item .item-image {
					width: 160px;
					flex-grow: 0;
					flex-shrink: 0;
					text-align: center;
					position: relative;
					display: flex;
				}
				.items-wrap.tile .item .item-image ul.product-images {
					position: absolute;
					display: flex;
					left: 0;
					bottom: 0;
					right: 0;
					width: 100%;
					gap: 1px;
					flex-direction: row;
					justify-content: space-between;
				}
				.items-wrap.tile .item .item-image ul.product-images li {
					height: 150px;
					border-bottom: solid 4px #f0f0f0;
					flex-grow: 1;
					cursor: pointer;
				}
				.items-wrap.tile .item .item-image ul.product-images li.active {
					border-bottom: solid 4px #115cda;
				}
				.items-wrap.tile .item .item-image .product-image {
					display: flex;
					align-items: center;
				}

				.items-wrap.tile .item .item-image img {
					max-width: 150px;
					max-height: 150px;
				}
				
				
				.items-wrap.tile .item .item-desc {
					flex-grow: 1;
					padding-top: 0px;
				}
				
				.items-wrap.tile .item .item-desc a {
					font-weight: 600;
					font-size: 16px;
				}
				.items-wrap.tile .item .item-desc .item-properties {
					padding: 10px 0;
				}
				.items-wrap.tile .item .item-tools {
					flex-grow: 0;
					flex-shrink: 0;
					width: 120px;
					text-align: center;
					padding-top: 30px;
					display: block;
				}
				.items-wrap.tile .item .item-tools .rate-sum {
					color: #707070;
				}
				.items-wrap.tile .item .item-tools .rate-sum span {
					font-weight: 600;
					color: #333333;
				}
				.items-wrap.tile .item .item-tools .rate-count a {
					border-bottom: dashed 1px #115cda;
				}
				.items-wrap.tile .item .item-tools .rate-count a:hover {
					border-bottom: dashed 1px #ff0000;
				}
				.items-wrap.tile .item .stars {
					display: inline;
					cursor: pointer;
				}
				.items-wrap.tile .item .star {
					position: relative;
				}
				.items-wrap.tile .item .star:before {
					content: "\f005";
					font-family: "FontAwesome Regular";
					color: #b6b6b6;
					font-size: 15px;
				}
				.items-wrap.tile .item .star.gold:before {
					font-family: "FontAwesome";
					color: #ffd700;
				}
				
				.items-wrap.tile .item .item-desc .favorite-and-compare {
				}	
				.items-wrap.tile .item .item-desc .favorite-and-compare > span {
					position: relative;
					padding-left: 25px;
					cursor: pointer;
					text-align: left;
					float: left;
				}
				.items-wrap.tile .item .item-desc .favorite-and-compare > span:hover {
					color: #ff0000;
				}
				.items-wrap.tile .item .item-desc .favorite-and-compare > span:before {
					content: "\f004";
					font-family: "FontAwesome Regular";
					display: block;
					position: absolute;
					left: 0;
					top: 0;
					width: 25px;
					height: 25px;
					text-align: center;
					line-height: 25px;
					font-size: 16px;
				}
				.items-wrap.tile .item .item-desc .favorite-and-compare > span.favorite:before { content: "\f004"; }
				.items-wrap.tile .item .item-desc .favorite-and-compare > span.compare { margin-left: 20px; }
				.items-wrap.tile .item .item-desc .favorite-and-compare > span.compare:before { content: "\e0e3"; font-family: "FontAwesome"; }
				
				.items-wrap.tile .item .item-actions {
					flex-grow: 0;
					flex-shrink: 0;
					width: 220px;
					text-align: center;
				}
				.items-wrap.tile .item .item-actions .item-price {
					line-height: 25px;
					font-size: 25px;
					font-weight: 600;
					margin-top: 20px;
				}
				.items-wrap.tile .item .item-actions .item-price span:after {
					content: "\f158";
					font-family: "FontAwesome";
					font-size: 22px;
					margin-left: 3px;
				}
				.items-wrap.tile .item .item-actions .add-to-cart {
					position: relative;
					width: 180px;
					height: 55px;
					background: #c52d27;
					border: none;
					cursor: pointer;
					text-transform: uppercase;
					font-size: 16px;
					color: #ffffff;
					padding-left: 30px;
					font-weight: 600;
					margin: 25px 0;
				}
				.items-wrap.tile .item .item-actions .add-to-cart:hover {
					opacity: 0.7;
				}
				.items-wrap.tile .item .item-actions .add-to-cart:active {
					opacity: 1;
				}
				.items-wrap.tile .item .item-actions .add-to-cart span:before {
					content: "\f054";
					font-family: "FontAwesome";
					display: block;
					position: absolute;
					left: 20px;
					top: 9px;
					width: 40px;
					height: 40px;
					line-height: 40px;
					text-align: center;
					font-size: 20px;
					color: #ffffff;
				}
				
				
				/* Продукт */
				section.product-head {
					display: flex;
				}
				h1 {
					margin: 10px 0 0 0;
					line-height: 50px;
					font-size: 22px;
				}
				section.product-header .sku {
					font-size: 12px;
					margin-bottom: 8px;
				}
				section.product-info {
					display: flex;
					flex-direction: row;
					gap: 30px;
				}
				section.product-info section.product-gallery {
					width: 500px;
					min-width: 500px;
					margin-top: 40px;
					gap: 10px;
				}
				section.product-info ul.product-images {
					display: flex;
					width: 116px;
					height: 425px;
					overflow-x: hidden;
					overflow-y: scroll;
					flex-direction: column;
					justify-content: space-between;
					gap: 5px;
					flex-grow: 0;
					flex-shrink: 0;
					float: left;
					direction: rtl;
				}
				section.product-info ul.product-images li {
					min-width: 106px;
					width: 106px;
					height: 106px;
					min-height: 106px;
					text-align: center;
					border: solid 3px #f0f0f0;
					border-radius: 3px;
					font-size: 0;
					display: flex;
					/* align-content: center; */
					align-items: center;
					justify-content: center;
					cursor: pointer;
					direction: ltr;
				}
				section.product-info ul.product-images li.active {
					border-color: #e58a37;
				}
				section.product-info ul.product-images li img {
					max-width: 100px;
					max-height: 100px;
				}
				section.product-info div.product-image {
					width: 375px;
					height: 375px;
					float: right;
					border: solid 3px #f0f0f0;
					border-radius: 3px;
					display: flex;
					justify-content: center;
					align-items: center;
					cursor: pointer;
				}
				.product-info div.product-image img {
					max-width: 470px;
					max-height: 470px;
				}
				.product-info .product-params {
					
					border-bottom: solid 3px #f0f0f0;
					padding-right: 0;
				}
				.product-info .official-parthner {
					display: grid;
					line-height: 25px;
					justify-content: start;
					grid: 50px / 50% 50%;
				}
				.product-info .delivery {
					display: grid;
					line-height: 25px;
					justify-content: start;
					grid: 50px / 50% 50%;
				}
				.product-info .delivery a {
					color: #707070;
					border-bottom: solid 1px #707070;
				}
				.product-info .delivery .delivery-method {
					position: relative;
				}
				.product-info .delivery .delivery-method > div {
					margin-left: 25px;
					color: #115cda;
					font-weight: 600;
					cursor: pointer;
				}
				.product-info .delivery .delivery-method > div:before {
					content: "\f466";
					font-family: "FontAwesome";
					display: block;
					top: 0px;
					left: 0;
					position: absolute;
					font-size: 19px;
					color: #707070;
				}
				.product-info .delivery .delivery-method > span {
					margin-left: 25px;
				}


				
				
				.product-info .product-offer {
					width: 290px;
					min-width: 290px;
					font-size: 13px;
				}

				
				/* Продукт - Вкладки */
				
				/* Преимущества */
				section.benefits .wrap {
					display: flex;
					flex-direction: row;
					justify-content: space-between;
					font-size: 14px;
				}
		
				/* Продукт - Преимущества */
				section.benefits .benefit {
					float: none;
					margin: 0 0 20px 0;
				}
				
				/* Производство */
				section.production-background {
					background: #c52d27;
					height: 475px;
					color: #ffffff;
					position: relative;
				}
				section.production-background h1 {
					margin-top: 140px;
					font-size: 25px;
				}
				section.product-header .sku {
					margin-bottom: 10px;
				}
				section.production-background img {
					position: absolute;
					top: 25px;
					right: 0;
					width: 465px;
				}
				.presentation-horizontal {
					display: grid;
					grid-template-columns: repeat(5, 1fr);
					grid-template-rows: 1fr;
					grid-column-gap: 20px;
					grid-row-gap: 0px;
				}	
				.presentation-horizontal.w4 {
					grid-template-columns: repeat(4, 1fr);
					margin-bottom: 30px;
				}
				.presentation-horizontal h3 {
					margin: 20px 0 20px 0;
					height: 50px;
					line-height: 30px;
					padding: 0 10px;
				}
				.presentation-horizontal p {
					background: #f6f6f6;
					padding: 5px 10px;
				}
				.presentation-horizontal.w4 p {
					height: 190px;
					background: #f6f6f6;
				}
				.presentation-horizontal p:hover {
					background: #e58a37;
					color: #ffffff;
				}
				.presentation-horizontal.w4 p:hover {
					background: #e58a37;
					color: #ffffff;
				}
				
				/* Ремонт */
				section.maintaince-background {
					background: #e58a37;
					height: 475px;
					color: #ffffff;
					position: relative;
				}
				section.maintaince-background h1 {
					margin-top: 140px;
					font-size: 25px;
				}
				section.maintaince-background img {
					position: absolute;
					top: 25px;
					right: 0;
					width: 465px;
					height: 430px;
				}
				
				
				
				
				span.but-make-order {
					display: inline-block;
					background: #ffffff;
					color: #333333;
					border-radius: 3px;
					cursor: pointer;
				}
				span.but-make-order:hover {
					color: #c52d27;
				}
				section.benefits.production .wrap {
					display: flex;
					flex-direction: row;
					justify-content: center;
					font-size: 14px;
					flex-wrap: wrap;
					gap: 40px 90px;
				}
				section.benefits.production .benefit {
					width: 290px;
					min-width: 290px;
					background: none;
					border: none;
					background: #f6f6f6;
				}
				section.benefits.production .benefit > span:before {
					left: 120px;
				}
				/* section.benefits.production .benefit.expirence { background: #c52d2710; } */
				/* section.benefits.production .benefit.personal { background: #115cda10; } */
				/* section.benefits.production .benefit.quality { background: #ffd70010; } */
				/* section.benefits.production .benefit.team { background: #80005610; } */
				/* section.benefits.production .benefit.ecology { background: #00800010; } */
				/* section.benefits.production .benefit.effency { background: #ff6a0010; } */
				section.benefits.production .benefit.expirence > span:before { content: "\f5a2"; color: #c52d27; }
				section.benefits.production .benefit.personal > span:before { content: "\f508"; color: #115cda; }
				section.benefits.production .benefit.quality > span:before { content: "\f005"; color: #ffd700; }
				section.benefits.production .benefit.team > span:before { content: "\e533"; color: #800056; }
				section.benefits.production .benefit.ecology > span:before { content: "\f06c"; color: #008000; }
				section.benefits.production .benefit.effency > span:before { content: "\f02c"; color: #ff6a00; }
				
				
				
				
				/* Продукт > Отзывы */
				.reviews-statistics {
					width: 420px;
					float: right;
				}
				.reviews-statistics .reviews-progress span.progress-bar {
					width: 240px;
				}
				
				
				
				/*** ФОРМЫ ***/
				.popup-form.order-call {
					width: 500px;
					font-size: 14px;
				}
				.popup-form.order-call .form.edit-field label {
					width: 35%;
				}
				.form.edit-field input[type="text"], .form.edit-field textarea {
					width: 65%;
				}
				.form.edit-field input[type="text"].invalid {
					border-bottom: solid 1px #ff0000;
					background: #ff000020;
				}
				.popup-form.order-call button[type="submit"] {
					width: 480px;
					display: none;
				}
				.popup-form.place-order {
					width: 570px;
					font-size: 14px;
				}
				.popup-form.place-order .form.edit-field label {
					width: 35%;
				}
				.popup-form.place-order .form.edit-field input[type="text"], .popup-form.place-order .form.edit-field textarea {
					width: 65%;
				}
				.popup-form.place-order button[type="submit"] {
					width: 550px;
					display: none;
				}
				.popup-form.place-order .form.edit-field > p {
					font-weight: 600;
					color: #00669e;
					background: #f0f0f0;
					padding: 0 10px;
				}
				
				/*** Обратная связь на странице ***/
				section.callback {
					display: inline-block;
					float: left;
					width: 100%;
					height: 380px;
					background: url('/media/images/main/callback.jpg');
					background-position: center center;
					background-size: 100%;
					text-align: right;
					margin-bottom: -65px;
				}
				#callback {
					display: inline-block;
					float: right;
					width: 500px;
					height: 300px;
					margin: 40px;
					background: #b0cb1ff0;
					padding: 15px 30px;
					border-radius: 6px;
					text-align: left;
				}
				#callback span {
					margin-top: 5px;
				}
}



/*** Блок страниц статей (/articles/...) — типографика контента ***/
main section.articles {
	padding-bottom: 30px;
}
main section.articles h1 {
	font-size: 28px;
	line-height: 1.25;
	margin: 15px 0 20px 0;
	font-weight: normal;
}
main section.articles h2 {
	font-size: 22px;
	line-height: 1.3;
	margin: 25px 0 10px 0;
	font-weight: normal;
}
main section.articles h3,
main section.articles h4,
main section.articles h5 {
	font-size: 18px;
	line-height: 1.35;
	margin: 20px 0 8px 0;
	font-weight: normal;
}
main section.articles p {
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 12px 0;
}
main section.articles ul,
main section.articles ol {
	margin: 0 0 12px 0;
	padding-left: 25px;
}
main section.articles ul {
	list-style: disc outside;
}
main section.articles ol {
	list-style: decimal outside;
}
main section.articles ul li,
main section.articles ol li {
	font-size: 15px;
	line-height: 1.55;
	margin: 0 0 6px 0;
	list-style: inherit;
}
main section.articles ul li {
	list-style-type: disc !important;
	list-style-position: outside !important;
}
main section.articles ol li {
	list-style-type: decimal !important;
	list-style-position: outside !important;
}
main section.articles a {
	color: #274796;
	text-decoration: underline;
}
main section.articles a:hover {
	text-decoration: none;
}
main section.articles img {
	max-width: 100%;
	height: auto;
	margin: 5px 0 10px 0;
}
main section.articles table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 14px 0;
}
main section.articles table th,
main section.articles table td {
	border: 1px solid #e0e0e0;
	padding: 6px 10px;
	font-size: 14px;
	line-height: 1.45;
	text-align: left;
}
main section.articles table th {
	background: #f5f5f5;
	font-family: "Ubuntu Medium";
}
main section.articles blockquote {
	margin: 10px 0 14px 0;
	padding: 10px 15px;
	border-left: 3px solid #274796;
	background: #f7f7f7;
	font-style: italic;
}
main section.articles hr {
	border: 0;
	border-top: 1px solid #e0e0e0;
	margin: 18px 0;
}
@media all and (min-width:1200px) {
	main section.articles h1 {
		font-size: 34px;
		margin: 20px 0 25px 0;
	}
	main section.articles h2 {
		font-size: 26px;
	}
	main section.articles h3,
	main section.articles h4,
	main section.articles h5 {
		font-size: 20px;
	}
	main section.articles p,
	main section.articles ul li,
	main section.articles ol li {
		font-size: 16px;
	}
}

/* ================== header.css ================== */
@media all and (min-width: 250px) and (max-width: 699px){
	section.header-top .flex .link {
		display: inline-block;
		float: left;
		padding: 0 10px 5px 0;
		width: auto;
	}
}
@media all and (min-width:700px) {
	
	/* Заголовок */
	header {
		margin-bottom: 30px;
		background: #ffffff;
		box-shadow: 0 10px 15px #00000005;
		font-size: 15px;
	}
	header .flex {
		width: 100%;
		height: 100%;
		display: flex;
	}
	header a {
		color: #67697ecc;
	}
	header a:hover {
		color: #67697e;
	}
	
	/* Заголовок - верх */
	section.header-top {
		height: 60px;
		border-bottom: solid 1px #d2d3e04d;
	}
	section.header-top .flex .link {
		padding: 24px 0 18px 0;
		margin-right: 24px;
	}
	section.header-top .flex .link.personal {
		flex-grow: 1;
		text-align: right;
		margin-right: 0;
	}
	section.header-top .link.personal:before {
		content: "_";
		font-family: "FontAwesome Regular";
		display: inline;
		width: 32px;
		text-align: center;
		color: #575757;
		font-size: 17px;
	}
	section.header-top .link.personal:before { content: "\f007"; }
	
	/* Заголовок - середина */
	section.header-center {
		height: 95px;
		padding: 15px 0;
	}
	header .header-center .search {
		width: calc(100% - 200px);
		padding-top: 15px;
	}	
	section.header-center .callback {
		width: 200px;
		padding-left: 20px;
	}
	section.header-center .logo {
		/* width: 320px; */
		flex-grow: 1;
	}
	section.header-center .logo img {
		width: 300px;
		height: 60px;
	}
	section.header-center .search {
		float: none;
		width: auto;
		flex-grow: 1;
		padding: 5px 10px;
		position: relative;
	}
	section.header-center .contact {
		display: flex;
		flex-direction: column;
		row-gap: 6px;
		margin-right: 25px;
	}
	section.header-center .contact > span {
		font-size: 15px;
		color: #67697ecc;
	}
	.tg-link:before {
		content: "\f2c6";
		display: inline;
		font-family: "FontAwesome Brands";
		font-size: 19px;
		color: #1c93ce;
		margin-right: 10px;
	}
	section.header-center .contact .phone-more {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: flex-end;
	}
	a.phone {
		color: #2e2f38;
		font-size: 19px;
		font-weight: 600;
		font-family: "Ubuntu Regular";
	}
	.tg-link:before {
		content: "\f2c6";
		display: inline;
		font-family: "FontAwesome Brands";
		font-size: 19px;
		color: #1c93ce;
		margin-right: 10px;
	}
	.contacts-more:before {
		content: "\f141";
		display: inline;
		font-family: "FontAwesome";
		font-size: 19px;
		color: #2e2f38;
		margin-left: 10px;
	}
	section.header-center .callback {
		text-align: left;
		padding-left: 30px;
	}
	section.header-center .callback a {
		display: block;
		line-height: 44px;
		border: solid 1px #b0cb1f;
		background: #ffffff;
		padding: 0 25px;
		white-space: nowrap;
		border-radius: 23px;
		color: #b0cb1f;
		cursor: pointer;
		transition: all 0.18s linear;
	}
	section.header-center .callback a:hover {
		background: #b0cb1f;
		color: #ffffff;
	}
	section.header-bottom {
		height: 86px;
	}
	.header-bottom-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 20px 0;
		position: relative;
	}
	nav#katalog {
		width: 320px;
		border-radius: 23px;
		padding: 8px 26px;
		display: flex;
		justify-content: flex-start;
		background: #b0cb1f;
		color: #ffffff;
		cursor: pointer;
		font-size: 15px;
		font-family: 'Ubuntu Regular';
		font-weight: 600;
	}
	nav#katalog span {
		line-height: 30px;
	}
	nav#katalog span:before {
		content: "\f0c9";
		display: inline-block;
		float: left;
		margin-right: 15px;
		font-family: "FontAwesome";
		font-size: 20px;
		color: #ffffff;
		line-height: 30px;
		height: 30px;
	}
	nav#katalog:hover {
		background: #b0cb1fe0;
	}
	nav#katalog:active {
		background: #a3bc1c;
	}
	
	div.favorite,
	div.compare {
		display: block;
		position: relative;
		width: 45px;
		height: 45px;
		cursor: pointer;
		opacity: 0.6;
		transition: all 0.18s linear;
	}
	div.favorite:hover,
	div.compare:hover {
		opacity: 1;
	}
	.but-favorite {
		display: block;
		position: absolute;
		left: auto;
		right: 0;
		top: 0;
		width: 20px;
		height: 20px;
		text-align: center;
		line-height: 20px;
		background: #ffffff;
		color: #ff0000;
		border-radius: 10px;
		box-shadow: 1px 1px 3px 1px #00000020, 0 10px 15px #00000020;
		font-size: 11px;
	}
	div.favorite:before {
		content: "\f004";
		font-family: "FontAwesome";
		display: block;
		width: 45px;
		height: 45px;
		text-align: center;
		line-height: 45px;
		font-size: 20px;
		color: #ff0000;
		
	}
	div.compare:before {
		content: "\f24e";
		font-family: "FontAwesome";
		display: block;
		width: 45px;
		height: 45px;
		text-align: center;
		line-height: 45px;
		font-size: 20px;
		color: #274796;
	}
	.but-compare {
		display: block;
		position: absolute;
		left: auto;
		right: 0;
		top: 0;
		width: 20px;
		height: 20px;
		text-align: center;
		line-height: 20px;
		background: #ffffff;
		color: #274796;
		border-radius: 10px;
		box-shadow: 1px 1px 3px 1px #00000020, 0 10px 15px #00000020;
		font-size: 11px;
	}
	
	div.basket {
		width: 135px;
		border-radius: 23px;
		padding: 8px 26px;
		display: flex;
		background: #ffa500;
		color: #ffffff;
		cursor: pointer;
		font-size: 15px;
		font-family: 'Ubuntu Regular';
		font-weight: 600;
		position: relative;
	}
	div.basket:hover {
		background: #ffa500e0;
	}
	div.basket:active {
		background: #ec9c0b;
	}
	div.basket span.basket-title {
		display: inline-block;
		padding-left: 12px;
		line-height: 30px;
	}
	div.basket span.basket-icon {
		display: inline-block;
		position: absolute;
		left: 8px;
		top: 7px;
		width: 30px;
		height: 30px;
	}
	div.basket span.basket-icon:before {
		content: "\f291";
		display: block;
		width: 30px;
		height: 30px;
		line-height: 30px;
		text-align: center;
		font-family: "FontAwesome";
		font-size: 15px;
		color: #ffffff;
	}
	div.basket span.basket-qty {
		display: block;
		position: absolute;
		left: 103px;
		top: 12px;
		width: 20px;
		height: 20px;
		line-height: 20px;
		text-align: center;
		border-radius: 50%;
		background: #ffffff;
		color: orange;
		overflow: hidden;
		font-size: 11px;
	}
	div.search {
		border-radius: 23px;
		display: inline-block;
		width: calc(100% - 320px - 255px);
		font-family: 'FontAwesome Regular';
		font-size: 15px;
		line-height: 30px;
		padding: 0px;
		padding-left: 15px;
	}
	div.search form {
		width: 100%;
		position: relative;
		border-radius: 23px;
	}
	body.blur div.search form {
		box-shadow: 0 0 10px 5px #00000030;
	}
	div.search input[name="keyword"] {
		background: #f2f4f8cc;
		width: 100%;
		padding: 12px 125px 12px 45px;
		font-family: "Ubuntu Regular";
		font-size: 15px;
		border: solid 1px #ffffff;
		border-radius: 23px;
	}
	div.search input[name="keyword"]:focus {
		background: #ffffff;
	}
	input.submit-left,
	input.submit-right,
	span.submit-left,
	span.submit-right {
		position: absolute;
		color: #67697e;
		font-weight: 100;
	}
	span.submit.submit-left,
	input.submit-left {
		display: block;
		width: 34px;
		height: 34px;
		left: 6px;
		top: 5px;
		cursor: pointer;
	}
	span.submit.submit-left:after {
		content: "\f002";
		display: block;
		position: absolute;
		left: 0;
		top: 0;
		width: 34px;
		height: 34px;
		background: #ffffff;
		border-radius: 17px;
		font-family: "FontAwesome";
		text-align: center;
		line-height: 34px;
		font-size: 15px;
	}
	span.submit.submit-right,
	input.submit-right {
		left: auto;
		right: 4px;
		top: 5px;
		line-height: 34px;
		padding: 0 20px;
		border-radius: 17px;
		cursor: pointer;
		font-family: "Ubuntu Regular";
		font-size: 15px;
	}
	span.submit-right {
		background: #ffffff;
	}
	input.submit-right {
		width: 85px;
		height: 34px;
	}
}
/* Модальные окна шапки: «Контакты» (телефонный блок) и «Обратный звонок»
   (общие рамы .cat-modal-overlay/.cat-modal - из katalog.css, закрываются
   персональным personal-kit.js: ✕ / клик по затемнению / Esc) */
.site-contacts-modal, .site-callback-modal { width: 480px; top: 120px; }
.site-contacts-body { padding: 2px 0 6px; }
.site-contact-row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: 'Ubuntu Light';
	font-size: 14px;
	color: #2e2f38;
	margin: 0 0 10px;
}
.site-contact-row .fa { font-family: 'FontAwesome'; font-weight: 400; width: 20px; text-align: center; color: #b0cb1f; font-size: 15px; }
.site-contact-row a { color: #274796; text-decoration: none; }
.site-contact-row a:hover { text-decoration: underline; }
.site-contact-row.grey { color: #8a94a0; font-size: 13px; line-height: 20px; }
.site-callback-link {
	display: inline-block;
	background: #b0cb1f;
	color: #ffffff !important;
	border-radius: 23px;
	padding: 10px 24px;
	font-size: 14px;
	text-decoration: none !important;
	transition: background 0.18s linear;
}
.site-callback-link:hover { background: #b0cb1fe0; }
.site-callback-note { font-family: 'Ubuntu Light'; font-size: 13px; color: #8a94a0; margin: 0 0 14px; }
.site-form-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.site-form-field > span { font-family: 'Ubuntu Light'; font-size: 12px; color: #707070; }
.site-form-field > span em { color: #c9403c; font-style: normal; }
.site-form-field input {
	font-family: 'Ubuntu Light';
	font-size: 14px;
	color: #2e2f38;
	padding: 10px 12px;
	border: 1px solid #ccd4dd;
	border-radius: 4px;
	outline: none;
	box-sizing: border-box;
}
.site-form-field input:focus { border-color: #b0cb1f; }
.site-form-note { font-size: 12px; color: #c9403c; margin: -4px 0 6px; min-height: 16px; }
.site-form-submit {
	background: #b0cb1f;
	border: none;
	border-radius: 23px;
	color: #ffffff;
	font-family: 'Ubuntu Light';
	font-size: 14px;
	padding: 11px 26px;
	cursor: pointer;
	transition: background 0.18s linear;
}
.site-form-submit:hover { background: #b0cb1fe0; }
.site-form-done { font-family: 'Ubuntu Regular'; font-size: 14px; color: #3d9b62; padding: 10px 0 2px; }

/* Модальное окно статей шапки (О магазине, Оплата, Доставка, Гарантия);
   текст грузится из полной страницы /articles/<alias> (section.articles) */
.site-article-modal { width: 640px; top: 90px; }
.site-article-body { padding: 2px 0 6px; font-family: 'Ubuntu Light'; font-size: 14px; line-height: 21px; color: #2e2f38; }
.site-article-body p { margin: 0 0 10px; }
.site-article-body h2, .site-article-body h3 { font-family: 'Ubuntu Regular'; font-size: 16px; color: #2e2f38; margin: 14px 0 8px; }
.site-article-body h4 { font-family: 'Ubuntu Regular'; font-size: 14px; color: #2e2f38; margin: 10px 0 6px; }
.site-article-body ul, .site-article-body ol { margin: 0 0 10px; padding-left: 20px; }
.site-article-body li { margin-bottom: 4px; }
.site-article-body table { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.site-article-body table td, .site-article-body table th { border: 1px solid #ccd4dd; padding: 6px 8px; font-size: 13px; }
.site-article-body a { color: #274796; text-decoration: none; }
.site-article-body a:hover { text-decoration: underline; }
.site-article-body img { max-width: 100%; height: auto; }
/* Нижняя ссылка «полный текст страницы» (в статьях и в контактах) */
.site-article-foot { border-top: 1px solid #e3e9ef; margin: 14px 0 0; padding: 10px 0 2px; text-align: right; }
.site-article-foot a { font-family: 'Ubuntu Light'; font-size: 13px; color: #274796; text-decoration: none; }
.site-article-foot a:hover { text-decoration: underline; }
.site-article-foot .fa { font-family: 'FontAwesome'; font-size: 12px; color: #b0cb1f; margin-left: 4px; }

/* ================== mainmenu.css ================== */
@media all and (min-width:1000px) {
		
	.main-container {
		display: inline-block;
		float: left;
		width: 100%;
		background: #F8F9FB;
	}
	.main-container-inner {
		display: flex;
	}
	.main-container-left {
		width: 320px;
		margin-right: 40px;
	}
	.main-container-right {
		width: calc(100% - 320px - 40px);
		height: auto;
	}
	aside {
		width: 100%;
	}
	aside ul {
		background: #ffffff;
		box-shadow: 0 10px 15px #00000005;
		display: inline-block;
		float: left;
		width: 100%;
	}
	aside ul li {
		display: inline-block;
		float: left;
		width: 100%;
		position: relative;
	}
	aside a {
		color: #67697e;
		text-decoration: none;
		display: flex;
		padding: 19px 26px;
		align-items: center;
		border-bottom: 1px solid #d2d3e04d;
		transition: all 0.18s linear;
		font-size: 15px;
		font-family: 'Ubuntu Regular';
		font-weight: 600;
	}
	aside a:hover {
		background: #f8f9fb;
		color: #274796;
		border-bottom-color: #f8f9fb
	}
	aside > ul > li > ul { 
		display: inline-block;
		display: none;
		width: 320px;
		position: absolute;
		left: 100%;
		top: 0;
		z-index: 10;
	}
	aside > ul > li:hover > ul {
		display: inline-block;
	}
}

/* ================== home.css ================== */
@media all and (min-width:1000px) {
	/* Слайдшоу */
	
	
	/* Папки */
	.folders {
		display: inline-block;
		width: 100%;
		float: left;
		margin-bottom: 30px;
	}
	.folder-items {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		grid-gap: 20px;
		padding: 20px;
		width: calc(100% + 40px);
		margin-left: -20px;
		margin-right: -20px;
	}
	.folder {
		height: 160px;
		min-height: 160px;
	}
	.folder.all {
		/* grid-row: 1 / 3; */
		/* height: 342px; */
	}
	.folder.all a {
		background: orange;
	}
	.folder a {
		padding: 32px 26px 30px;
		border-radius: 2px;
		background: #ffffff;
		display: flex;
		flex-direction: column;
		height: 100%;
		box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
		overflow: hidden;
		position: relative;
		text-decoration: none;
		transition: all 0.18s linear;
	}
	.folder a .folder-image {
		position: absolute;
		top: 0;
		right: 0;
		left: 0;
		bottom: 0;
		display: block;
	}
	.folder a .folder-image img {
		position: absolute;
		width: 100%;
		height: 100%;
		object-fit: cover;
		transition: all 0.18s linear;
	}
	.folder a:hover .folder-image img {
		transform: scale(1.1);
	}
	.folder a .folder-title {
		position: relative;
		z-index: 2;
		transition: all 0.18s linear;
		display: block;
		word-break: break-word;
		line-height: 1.35;
		color: #ffffff;
		font-size: 15px;
		padding-right: 50px;
	}
	.folder a .folder-items-qty {
		position: relative;
		z-index: 2;
		display: block;
		word-break: break-word;
		line-height: 1.35;
		color: #ffffff;
		font-size: 15px;
		font-weight: 100;
	}
	
	/* SEO-текст */	
	.home-about h1 {
		font-size: 21px;
		margin-bottom: 20px;
		color: #2e2f38;
	}
	.home-about p {
		color: #67697ecc;
		font-size: 15px;
		line-height: 1.35;
		margin-bottom: 16px;
	}
}

/* ================== selection.css ================== */
.product-selection,
.vendor-selection {
	width: 100%;
	float: left;
	padding-bottom: 20px;
	margin-bottom: 40px;
}
.product-selection-wrap,
.vendor-selection-wrap {
    width: calc(100% + 40px);
    overflow: hidden;
    padding-bottom: 20px;
    margin: 0 -20px;
}
.product-selection-header,
.vendor-selection-header {
    width: calc(100% - 40px);
    display: flex;
    margin: 0 20px 30px 20px;
    align-content: flex-end;
    justify-content: space-between;
}

.product-selection-title,
.vendor-selection-title {
	line-height: 46px;
	font-size: 20px;
	font-weight: 600;
	font-family: "Ubuntu Regular";
	padding-left: 20px;
}
.header-scroller {
    display: flex;
    flex-direction: row;
    align-content: flex-end;
    justify-content: center;
    flex-wrap: wrap;
	margin-right: 20px;
}
.product-selection-counter {
    display: inline-block;
    padding: 0 15px;
    line-height: 46px;
}
.product-selection-arrow {
	position: relative;
    background: #ffffff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 3;
    outline: none;
    box-shadow: 0 10px 15px #00000020;
	transition: all 0.18s linear;
}
.product-selection-arrow:after {
    content: "\f053";
    display: block;
    position: absolute;
    width: 46px;
    height: 46px;
    left: 0px;
    top: 0px;
    text-align: center;
    line-height: 46px;
    font-family: "FontAwesome";
    font-size: 14px;
    color: #2e2f38;
}
.product-selection-arrow.right:after {
    content: "\f054";
}
.product-selection-arrow:hover {
    background: #a3bc1c;
}
.product-selection-arrow:hover:after {
    color: #ffffff;
}
	
.product-selection-slides {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    grid-gap: 20px;
    padding: 5px 20px 20px 20px;
}
form.product-selection-item {
	margin-right: 0px;
	background: #ffffff;
	box-shadow: 0 10px 15px #00000010;
	padding: 24px;
}
.product-selection-item-inner {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 214px;
}
.product-selection-item-top {
    position: relative;
}
form.product-selection-item .product-flags {
    position: absolute;
    left: 0;
    top: 0;
}
form.product-selection-item .product-flags > div {
    display: block;
    padding: 0 13px;
    line-height: 32px;
    border-radius: 16px;
    color: #ffffff;
    background: #a3bc1c;
	font-size: 15px;
}
form.product-selection-item > div .product-new {
    background: #ffa500;
    background: #274796;
    background: #a3bc1c;
}
form.product-selection-item > div .product-special {
    background: #274796;
    background: #ffa500;
}
form.product-selection-item .product-image {
	margin-bottom: 20px;
}
form.product-selection-item .product-image a {
	
}
form.product-selection-item .product-image a img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}
.product-selection-item-center {
    height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: space-between;
    font-size: 15px;
    row-gap: 8px;
}
.product-selection-item-center .product-title {
	flex-grow: 1;
}
.product-selection-item-center .product-title a {
	color: #2e2f38;
	text-decoration: none;
    transition: all 0.18s linear;
    border-bottom: 1px solid transparent;
	line-height: 1.3;
}
.product-selection-item-center .product-title a:hover {
	border-bottom-color: #2e2f3880;
}

.product-selection-item-center  .product-rating {
	
}
.product-selection-item-center  .product-rating .star {
	display: inline-block;
	position: relative;
	width: 10px;
	height: 10px;
}
.product-selection-item-center  .product-rating .star:before {
	content: "\f005";
	font-family: "FontAwesome Regular";
	display: block;
	left: 0;
	top: 0;
	width: 10px;
	height: 10px;
	line-height: 10px;
	text-align: center;
	font-size: 10px;
	color: gold;
}
.product-selection-item-center  .vendor-title a {
	font-size: 14px;
	color: #274796;
	text-decoration: none;
	border-bottom: solid 1px transparent;
}
.product-selection-item-center  .vendor-title a:hover {
	border-bottom: solid 1px #274796;
}
.product-selection-item-center  .product-sku {
    color: #67697ecc;
    font-family: "Ubuntu Regular";
    font-size: 14px;
    font-weight: 100;
}
.product-selection-item-bottom {
    height: 155px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 15px;
}
.product-selection-item-bottom .product-warehouse {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.product-selection-item-bottom .product-price {
    font-size: 20px;
}
.product-selection-item-bottom .product-price span {
    font-size: 14px;
}
.product-selection-item-bottom .product-stock {
    display: block;
    width: auto;
    padding: 0 10px;
    border: solid 1px #b0cb1f;
    line-height: 24px;
    border-radius: 12px;
    color: #2e2f38d0;
    font-size: 13px;
}
.product-selection-item-bottom .product-basket {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.product-selection-item-bottom .product-amount {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
	background: #f2f4f8cc;
	border-radius: 23px;
	box-shadow: inset 0 0 0 1px #d2d3e066;
}
.product-selection-item-bottom .amount-counter {
    width: 30px;
    height: 46px;
    border: none;
    background: none;
    line-height: 45px;
    font-size: 25px;
    font-weight: 600;
    color: #585858;
}
.product-selection-item-bottom .product-amount input[name="qty"] {
	line-height: 46px;
	background: transparent;
	color: #2e2f38b3;
	width: 40px;
	font-size: 16px;
	text-align: center;
}
.product-selection-item-bottom .add2basket {
    line-height: 46px;
    color: #ffa500;
    background: transparent;
    border: solid 1px #ffa500;
    padding: 0 15px 0 37px;
    border-radius: 23px;
    width: 70px;
    cursor: pointer;
    transition: all 0.18s linear;
    position: relative;
}
.product-selection-item-bottom .add2basket:before {
    content: "\f291";
    font-family: "FontAwesome";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 46px;
    line-height: 46px;
    text-align: center;
    font-size: 20px;
}
.product-selection-item-bottom .add2basket:hover {
	background: #ffa500;
	color: #ffffff;
}
.product-selection-item-bottom .add2basket:hover:after {
	color: #ffffff;
}
.product-selection-item-bottom .product-tools {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}
.product-selection-item-bottom .product-tools .icon {
    display: block;
    line-height: 25px;
    padding-left: 25px;
    position: relative;
    font-family: "Ubuntu Light";
    font-size: 13px;
    font-weight: 100;
    color: #67697ecc;
	cursor: pointer;
}
.product-selection-item-bottom .product-tools .icon:before{
	content: "\e473";
	font-family: "FontAwesome";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 25px;
	height: 25px;
	text-align: center;
	line-height: 25px;
	font-size: 16px;
	opacity: 0.6;
    transition: all 0.18s linear;
}
.product-selection-item-bottom .product-tools .icon.to-favorite:before {
	content: "\f004";
}
.product-selection-item-bottom .product-tools .icon:hover:before{
	opacity: 1;
}
.product-selection-item-bottom .product-tools .icon.to-compare:hover:before {
	color: #274796;
}
.product-selection-item-bottom .product-tools .icon.to-favorite:hover:before {
	color: #ff0000;
}



.product-selection-item.review {
    width: 550px;
	font-size: 15px;
	font-family: "Ubuntu Regular";
	font-weight: 100;
	border-top: none;
}
.product-selection-item.review .product-selection-item-inner {
    position: relative;
    width: 535px;
    padding: 30px 26px;
    background: #ffffff;
    box-shadow: 0 10px 15px #00000010;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.product-selection-item.review .symbol-quote {
	display: block;
	height: 20px;
}
.product-selection-item.review .symbol-quote:before {
	content: "\f10d";
	font-family: "FontAwesome";
	position: absolute;
	left: 20px;
	top: 20px;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	font-size: 20px;
	color: #d2d3e04d;
}
.product-selection-item.review .review-author {
	display: block;
	height: 20px;
	font-weight: 600;
	text-align: right;
}

.vendor-selection-slides {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    grid-gap: 20px;
    padding: 5px 20px 20px 20px;
}
.vendor-selection-item {
    margin-right: 0px;
    background: #ffffff;
    box-shadow: 0 10px 15px #00000010;
    padding: 0px;
    width: calc(16.66% - 22px);
    margin: 0 11px;
}
.vendor-selection-item-inner {
	position: relative;
    width: 100%;
}
.vendor-selection-item-inner a {
	display: block;
	float: left;
	width: 100%;
	height: 100%;
	position: relative;
    padding-top: 51.45%;
}
.vendor-selection-item-inner a img {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/****************************************************************************/
/* Карусели главной: макет карточки «Изображение» + флаги; кнопки зелёные.   */
/* Скрывается всё, что не вмещается (overflow), справа — градиент 200px.     */
/****************************************************************************/

.product-selection-wrap, .vendor-selection-wrap { position: relative; }
.product-selection-slides, .vendor-selection-slides {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	grid-gap: 16px;
	padding: 5px 20px 16px;
}
/* Кадровое окно - на внешней рамке карусели (лента движется без собственного клиппинга) */
.product-selection-wrap, .vendor-selection-wrap {
	overflow: hidden;
}
.carousel-fade {
	position: absolute;
	right: 0;
	top: 0;
	width: 200px;
	height: 100%;
	pointer-events: none;
	z-index: 3;
	background: linear-gradient(to right, rgba(248, 249, 251, 0), #f8f9fb);
}

/* Карточка как в виде «Изображение» */
form.product-selection-item {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 240px;
	flex-grow: 0;
	flex-shrink: 0;
	background: #ffffff;
	border: solid 1px #e8e8e8;
	border-radius: 8px;
	box-shadow: none;
	padding: 0;
	overflow: hidden;
	transition: box-shadow 0.18s linear;
}
form.product-selection-item:hover { box-shadow: 0 6px 18px #00000018; }
.product-selection-item-inner { width: 100%; padding: 0; }

/* Флаги поверх фото */
form.product-selection-item .product-flags {
	position: absolute;
	left: 8px;
	top: 8px;
	z-index: 2;
}
form.product-selection-item .product-flags > div {
	display: block;
	padding: 0 12px;
	line-height: 26px;
	border-radius: 13px;
	color: #ffffff;
	font-family: 'Ubuntu Regular';
	font-size: 12px;
}
form.product-selection-item .product-new { background: #a3bc1c; }
form.product-selection-item .product-special { background: #ffa500; }

/* Фото: высота как в виде «Изображение» */
.product-selection-item .selection-item-image {
	display: block;
	padding: 10px 0;
	background: #ffffff;
}
.product-selection-item .selection-item-image img {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: contain;
}

/* Подпись */
.product-selection-item .selection-caption {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 6px 12px 12px;
	flex-grow: 1;
}
.product-selection-item .selection-item-title {
	font-family: 'Ubuntu Light';
	font-size: 13px;
	line-height: 18px;
	color: #2e2f38;
	text-decoration: none;
	font-weight: 600;
	height: calc(18px * 3); /* ровно 3 строки — карточки в ряд ровные */
	min-height: calc(18px * 3); /* минимум 3 строки */
	overflow: hidden;
}
.product-selection-item .selection-item-title:hover { color: #274796; height: auto; } /* при наведении — авторазмер */
.product-selection-item .vendor-title a {
	font-family: 'Ubuntu Light';
	font-size: 12px;
	color: #274796;
	text-decoration: none;
}
.product-selection-item .vendor-title a:hover { text-decoration: underline; }

/* Склад: строка (тема зелёная) */
.product-selection-item .selection-stock {
	display: flex;
	align-items: baseline;
	gap: 2px;
	white-space: nowrap;
}
.product-selection-item .selection-stock .stock-head,
.product-selection-item .selection-stock .stock-unit {
	font-family: 'Ubuntu Light';
	font-size: 11px;
	color: #8a94a0;
}
.product-selection-item .selection-stock .stock-num {
	background: #b0cb1f;
	color: #ffffff;
	padding: 0 4px;
	border-radius: 3px;
	margin: 0 6px;
	font-family: 'Ubuntu Light';
	font-weight: 700;
	font-size: 13px;
}
.product-selection-item .selection-stock .stock-note {
	font-family: 'Ubuntu Light';
	font-size: 11px;
	color: #707070;
}
.product-selection-item .selection-stock .stock-note.none { color: #c9403c; }

/* Цена + звёзды в строке (равные промежутки — как в виде «Изображение») */
.product-selection-item .selection-price-line {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-evenly;
	margin: 5px 0;
}
.product-selection-item .product-price {
	font-family: 'Ubuntu Light';
	font-size: 16px;
	font-weight: 600;
	color: #2e2f38;
	white-space: nowrap;
}
.product-selection-item .product-price > span:after {
	content: "\f158";
	font-family: 'FontAwesome';
	font-size: 14px;
	margin-left: 4px;
}
.product-selection-item .product-rating .star {
	display: inline-block;
	position: relative;
	width: 12px;
	height: 12px;
}
.product-selection-item .product-rating .star:before {
	content: "\f005";
	font-family: "FontAwesome Regular";
	display: block;
	width: 12px;
	height: 12px;
	line-height: 12px;
	text-align: center;
	font-size: 11px;
	color: #b6b6b6;
}
.product-selection-item .product-rating .star.gold:before { font-family: "FontAwesome"; color: #ffd700; }

/* Счётчик + кнопка «В корзину» (зелёная тема, как в категории) */
.product-selection-item .selection-cart {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 7px;
}
.product-selection-item .product-amount {
	background: #f2f4f8cc;
	border-radius: 17px;
	box-shadow: none;
}
.product-selection-item .amount-counter { width: 26px; height: 26px; line-height: 26px; font-size: 14px; }
.product-selection-item .product-amount input[name="qty"] { width: 30px; height: 26px; line-height: 26px; font-size: 13px; }
.product-selection-item .add2basket {
	display: inline-flex;
	align-items: center;
	background: #b0cb1f;
	border: none;
	border-radius: 23px;
	color: #ffffff;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 13px;
	padding: 8px 12px 8px 12px;
	cursor: pointer;
	white-space: nowrap;
	text-indent: 14px;
	transition: background 0.18s linear;
}
.product-selection-item .add2basket:before {
	content: "\f291";
	font-family: 'FontAwesome';
	margin-left: -14px;
	margin-right: 6px;
}
.product-selection-item .add2basket:hover { background: #b0cb1fe0; }
.product-selection-item .add2basket:active { background: #a3bc1c; }
/* Момент успеха — как на странице категории (.cat-add-to-basket.added):
   затемнение фона зелёной схемы, текст «Добавлено ✓» держится 1.4 с */
.product-selection-item .add2basket.added,
.product-selection-item .add2basket.added:hover,
.product-selection-item .add2basket.added:active { background: #a3bc1c; }

/* Действия внизу карточки */
.product-selection-item .selection-tools {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	gap: 6px;
	opacity: 0.85;
	margin-top: auto;
	padding-top: 6px;
}
.product-selection-item .selection-tools .icon {
	cursor: pointer;
	font-size: 11px;
	color: #707070;
	transition: color 0.15s linear;
}
.product-selection-item .selection-tools .icon:hover { color: #b0cb1f; }

/* Карточка карусели не отображает состояние избранного/сравнения по товару -
   кнопки убраны из карточки за неработающий синхрон-контекст */

/* Заголовки каруселей */
.product-selection-title, .vendor-selection-title {
	font-family: 'Ubuntu Light';
	font-weight: 600;
}

/* Счётчик количества в каруселях: пилюля по стандарту (flex + сброс кнопок) */
.product-selection-item .product-amount {
	display: inline-flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	background: #f2f4f8cc;
	border-radius: 17px;
}
.product-selection-item .amount-counter {
	width: 26px;
	height: 26px;
	line-height: 26px;
	border: none;
	background: none;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	color: #585858;
	cursor: pointer;
	font-family: 'Ubuntu Regular';
}
.product-selection-item .amount-counter:active { color: #a3bc1c; }
.product-selection-item .product-amount input[name="qty"] {
	width: 30px;
	height: 26px;
	line-height: 26px;
	border: none;
	background: transparent;
	padding: 0;
	color: #2e2f38b3;
	font-size: 13px;
	text-align: center;
	outline: none;
}

/* ================== katalog.css ================== */
/*
 * Стили каталога magaзина elteco.pro
 *
 * Состав:
 *  - меню каталога в шапке;
 *  - корневая страница /katalog (плитки + дерево);
 *  - страница категории: адаптив под все вьюпорты (мобильный, планшет >=770px, десктоп >=1200px);
 *  - страница бренда /vendor;
 *  - корзина и popup-форма оформления заказа.
 *
 * Файл подключён ко всем страницам через renderHeadBlock().
 */

/**************************************************************************************/
/* Меню каталога в шапке																*/
/**************************************************************************************/

ul.katalog-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.katalog-menu li {
	list-style: none;
	margin: 0 0 4px 0;
	padding: 0;
}

ul.katalog-menu li > a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	line-height: 32px;
	font-size: 14px;
	text-decoration: none;
	color: #333333;
	padding: 5px 20px;
	border-radius: 4px;
}

ul.katalog-menu li > a:hover {
	background: #f0f6ff;
	color: #115cda;
}

ul.katalog-menu li > a .title {
	flex-grow: 1;
}

ul.katalog-menu li > a .arrow-right {
	flex-grow: 0;
	width: 5px;
	height: 5px;
	border-top: solid 2px #999999;
	border-right: solid 2px #999999;
	transform: rotate(45deg);
	margin-right: 2px;
}

ul.katalog-menu li > ul {
	margin: 2px 0 8px 0;
	padding: 0;
	box-shadow: 0 5px 14px rgba(39, 71, 150, 0.10);
}

ul.katalog-menu li > ul li > a {
	line-height: 28px;
	font-size: 13px;
	color: #555555;
	padding-left: 20px;
}

ul.katalog-menu li > ul li > a .arrow-right {
	display: none;
}

/**************************************************************************************/
/* Корневая страница каталога															*/
/**************************************************************************************/

section.katalog-root {
	width: 100%;
	padding: 10px 0 30px 0;
}

section.katalog-root h1 {
	font-size: 26px;
	margin: 10px 0 20px 0;
}

section.katalog-tree {
	margin-top: 30px;
	width: 100%;
}

section.katalog-tree ul {
	columns: 3;
	column-gap: 40px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14px;
}

section.katalog-tree ul li {
	list-style: none;
	margin: 0 0 14px 0;
	padding: 0;
	break-inside: avoid;
}

section.katalog-tree ul > li > a {
	display: inline-block;
	font-weight: 600;
	line-height: 24px;
	color: #333333;
	text-decoration: none;
}

section.katalog-tree ul > li > a:hover {
	color: #115cda;
}

section.katalog-tree ul > li > ul {
	columns: auto;
	margin: 0;
	padding: 0;
}

section.katalog-tree ul > li > ul li {
	margin: 0;
	break-inside: avoid;
}

section.katalog-tree ul > li > ul li a {
	line-height: 21px;
	color: #555555;
	text-decoration: none;
}

section.katalog-tree ul > li > ul li a:hover {
	color: #115cda;
	text-decoration: underline;
}

/**************************************************************************************/
/* Страница бренда																		*/
/**************************************************************************************/

section.vendor-container {
	width: 100%;
	padding: 10px 0 30px 0;
}

section.vendor-container h1 {
	font-size: 26px;
	margin: 10px 0 20px 0;
}

section.vendor-view .category-hint,
section.vendor-container .category-hint {
	color: #707070;
	padding: 20px 0;
}

/**************************************************************************************/
/* Категория: контейнер и фильтры														*/
/* Базовые стили - мобильные (< 770px), далее вьюпорты 770px и 1200px					*/
/**************************************************************************************/

section.category-container {
	min-height: 300px;
	margin: 0 0 30px 0;
}

/* Фильтры: на узких экранах - колонка над списком */
aside.category-filters {
	width: 100%;
	font-size: 14px;
	margin: 0 0 20px 0;
}

aside.category-filters > ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

aside.category-filters li.param {
	border: solid 1px #e0e0e0;
	border-radius: 4px;
	margin: 0 0 10px 0;
	padding: 0 10px;
	background: #ffffff;
}

aside.category-filters li.param > span {
	display: inline-block;
	float: left;
	width: 100%;
	font-weight: 600;
	position: relative;
	cursor: pointer;
	padding: 10px 0 5px 0;
}

aside.category-filters li.param > span:after {
	content: "\f078";
	font-family: "FontAwesome";
	display: block;
	position: absolute;
	top: 5px;
	right: -5px;
	width: 25px;
	height: 25px;
	line-height: 25px;
	text-align: center;
	transition: transform 0.25s;
}

aside.category-filters li.param.collapsed > span:after {
	transform: rotate(180deg);
}

aside .param-values {
	width: 100%;
	max-height: 190px;
	overflow-y: scroll;
	list-style: none;
	margin: 0;
	padding: 0 0 10px 0;
	clear: left;
}

aside.category-filters li.param.collapsed ul.param-values {
	display: none;
}

aside .param-values li {
	position: relative;
	padding: 4px 2px 4px 30px;
	cursor: pointer;
}

aside .param-values li:hover {
	color: #ff0000;
}

aside .param-values li:before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	top: 5px;
	width: 20px;
	height: 20px;
	border: solid 1px #dbdbdb;
	border-radius: 3px;
	background: #ffffff;
}

aside .param-values li:after {
	content: "";
	font-family: "FontAwesome";
	display: block;
	position: absolute;
	left: 0;
	top: 5px;
	width: 20px;
	height: 20px;
	text-align: center;
	line-height: 20px;
}

aside .param-values li.checked:after {
	content: "\f00c";
	color: #b0cb1f;
	font-size: 16px;
}

/* Кнопки фильтра */
.but-cat-filter {
	display: inline-block;
	float: left;
	padding: 8px 10px;
	border: solid 1px #b0cb1f;
	cursor: pointer;
	transition: all 0.18s linear;
	border-radius: 23px;
	text-decoration: none;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 14px;
	text-transform: none;
	line-height: 20px;
}

.but-cat-filter.apply {
	background: #ffffff;
	color: #b0cb1f;
	font-weight: 600;
	font-size: 13px;
	margin: 15px 10px 15px 0;
}

.but-cat-filter.apply:hover {
	background: #b0cb1f;
	color: #ffffff;
}
	.but-cat-filter.apply:active {
		background: #a3bc1c;
		color: #ffffff;
	}

.but-cat-filter.reset {
	background: #b0cb1f;
	color: #ffffff;
	font-weight: 600;
	font-size: 13px;
	margin: 15px 0;
}

.but-cat-filter.reset:hover {
	color: #b0cb1f;
	background: #ffffff;
}
	.but-cat-filter.reset:active {
		color: #ffffff;
		background: #a3bc1c;
		border-color: #a3bc1c;
	}

span.but-cat-filter.show-more {
	display: block;
	margin: 0 auto;
	float: none;
	background: #b0cb1f;
	color: #ffffff;
	border-color: #b0cb1f;
	font-weight: 600;
	cursor: pointer;
}

span.but-cat-filter.show-more:hover {
	background: #ffffff;
	color: #b0cb1f;
}
	span.but-cat-filter.show-more:active {
		background: #a3bc1c;
		border-color: #a3bc1c;
		color: #ffffff;
	}

/* Строка состояния выборки и чипы быстрых фильтров */
.view-and-sort {
	padding: 5px 0;
	border-bottom: solid 1px #e5e5e5;
}

.total-items-count {
	display: inline-block;
	float: left;
	width: 100%;
	line-height: 40px;
}

/* Чипы применённых фильтров - общий формат кнопок категории: пилюля,
   тонкий Ubuntu Light, палитра #b0cb1f (hover #b0cb1fe0, active #a3bc1c) */
.filter-link {
	display: inline-block;
	float: left;
	width: auto;
	height: 28px;
	line-height: 25px;
	margin: 0 10px 10px 0;
	position: relative;
	padding: 0 34px 0 14px;
	background: #ffffff;
	border: solid 1px #b0cb1f;
	border-radius: 14px;
	color: #b0cb1f;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 13px;
	transition: color .15s, border-color .15s;
}
.filter-link:hover,
.filter-link:active {
	color: #a3bc1c;
	border-color: #a3bc1c;
}

/* Кнопка удаления значения - круглая внутри пилюли */
.filter-link .delete-link-btn {
	display: block;
	position: absolute;
	right: 1px;
	top: 2px;
	width: 21px;
	height: 21px;
	cursor: pointer;
	font-size: 12px;
	line-height: 24px;
}

.filter-link .delete-link-btn:before {
	content: "\f00d";
	font-family: "FontAwesome";
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 21px;
	height: 21px;
	line-height: 21px;
	text-align: center;
	background: transparent;
	color: #b0cb1f;
	border-radius: 50%;
	transition: background .15s, color .15s;
}
.filter-link .delete-link-btn:hover:before {
	background: #b0cb1fe0;
	color: #ffffff;
}
.filter-link .delete-link-btn:active:before {
	background: #a3bc1c;
	color: #ffffff;
}

p.category-hint {
	text-align: center;
	color: #707070;
	font-size: 15px;
	margin-bottom: 20px;
}

/**************************************************************************************/
/* Категория: карточка товара в списке													*/
/* Базовая (мобильная) разметка - далее расширяется по вьюпортам						*/
/**************************************************************************************/

.items-wrap.tile {
	width: 100%;
}

.items-wrap.tile .item {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	gap: 12px;
	line-height: 22px;
	font-size: 13px;
	border-top: solid 1px #dbdbdb;
	padding: 12px 0;
	width: 100%;
}

/* Изображение */
.items-wrap.tile .item .item-image {
	width: 110px;
	flex-grow: 0;
	flex-shrink: 0;
	text-align: center;
	position: relative;
	display: flex;
	align-items: center;
}

.items-wrap.tile .item .item-image img {
	max-width: 100%;
	max-height: 110px;
	margin: 0 auto;
}

.items-wrap.tile .item .item-image ul.product-images {
	display: none;
}

/* Описание */
.items-wrap.tile .item .item-desc {
	flex-grow: 1;
	flex-shrink: 1;
	min-width: 0;
	padding-top: 2px;
}

.items-wrap.tile .item .item-desc a {
	font-weight: 600;
	font-size: 14px;
	color: #333333;
	text-decoration: none;
	line-height: 20px;
}

.items-wrap.tile .item .item-desc a:hover {
	color: #115cda;
}

.items-wrap.tile .item .item-desc .item-properties {
	padding: 8px 0;
	color: #707070;
	line-height: 18px;
}

.items-wrap.tile .item .item-desc .favorite-and-compare {
/* на мобильных не показываем, чтобы не мешать списку */
	display: none;
}

/* Рейтинг скрыт на мобильном (нет отзывов - не занимает место) */
.items-wrap.tile .item .item-tools {
	display: none;
}

/* Действия: цена + кнопки */
.items-wrap.tile .item .item-actions {
	flex-grow: 0;
	flex-shrink: 0;
	width: 150px;
	text-align: right;
}

.items-wrap.tile .item .item-actions .item-price {
	line-height: 25px;
	font-size: 18px;
	font-weight: 700;
	white-space: nowrap;
}

.items-wrap.tile .item .item-actions .item-price span:after {
	content: "\f158";
	font-family: "FontAwesome";
	font-size: 16px;
	margin-left: 3px;
}

.items-wrap.tile .item .item-actions .add-to-cart {
	position: relative;
	display: block;
	width: 100%;
	height: 36px;
	line-height: 36px;
	background: #b0cb1f;
	border: none;
	cursor: pointer;
	text-transform: none;
	font-size: 12px;
	color: #ffffff;
	padding: 0 5px 0 26px;
	font-weight: 600;
	margin: 8px 0 0 0;
	text-decoration: none;
	text-align: center;
	text-indent: 10px;
}

.items-wrap.tile .item .item-actions .add-to-cart:hover {
	opacity: 0.75;
}
	.items-wrap.tile .item .item-actions .add-to-cart:active {
		background: #a3bc1c;
		color: #ffffff;
	}

.items-wrap.tile .item .item-actions .add-to-cart span:before {
	content: "\f054";
	font-family: "FontAwesome";
	display: block;
	position: absolute;
	left: 8px;
	top: 2px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	font-size: 14px;
	color: #ffffff;
}

.items-wrap.tile .item .item-actions .add-to-basket {
	position: relative;
	display: block;
	width: 100%;
	height: 36px;
	line-height: 32px;
	background: #115cda;
	border: solid 2px #115cda;
	cursor: pointer;
	text-transform: none;
	font-size: 12px;
	color: #ffffff;
	font-weight: 600;
	margin: 6px 0 0 0;
	text-decoration: none;
	text-align: center;
	text-indent: 14px;
	white-space: nowrap;
}

.items-wrap.tile .item .item-actions .add-to-basket:hover {
	background: #0e4cb8;
}

.items-wrap.tile .item .item-actions .add-to-basket.added {
	background: #3d9c3d;
	border-color: #3d9c3d;
}

.items-wrap.tile .item .item-actions .add-to-basket span:before {
	content: "\f290";
	font-family: "FontAwesome";
	position: absolute;
	left: 8px;
	top: 2px;
	font-size: 15px;
}

/* Пагинация */
nav.pagination {
	padding: 10px 0 20px 0;
	border-top: solid 1px #dbdbdb;
}

/**************************************************************************************/
/* Категория: планшет и десктоп (>= 770px)												*/
/**************************************************************************************/

@media all and (min-width:770px) {

	/* Контейнер: сайдбар фильтров + список */
	section.category-container {
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		gap: 20px;
		min-height: 500px;
	}

	aside.category-filters {
		width: 334px;
		flex-grow: 0;
		flex-shrink: 0;
		margin: 0;
		position: sticky;
		top: 110px;
	}

	section.category-view {
		width: auto;
		flex-grow: 1;
		flex-shrink: 1;
		min-width: 0;
	}

	/* Карточка товара в списке: появляется рейтинг */
	.items-wrap.tile .item {
		gap: 20px;
		font-size: 14px;
		line-height: 25px;
		padding: 10px 0;
	}

	.items-wrap.tile .item .item-image {
		width: 150px;
	}

	.items-wrap.tile .item .item-image img {
		max-height: 150px;
	}

	.items-wrap.tile .item .item-desc a {
		font-size: 16px;
	}

	.items-wrap.tile .item .item-desc .favorite-and-compare {
		display: block;
		padding: 10px 0 0 0;
	}

	.items-wrap.tile .item .item-desc .favorite-and-compare > span {
		position: relative;
		padding-left: 25px;
		cursor: pointer;
		margin-right: 15px;
		display: inline-block;
	}

	.items-wrap.tile .item .item-desc .favorite-and-compare > span:hover {
		color: #ff0000;
	}

	.items-wrap.tile .item .item-desc .favorite-and-compare > span:before {
		content: "\f004";
		font-family: "FontAwesome Regular";
		display: block;
		position: absolute;
		left: 0;
		top: 0;
		width: 25px;
		height: 25px;
		text-align: center;
		line-height: 25px;
		font-size: 16px;
	}

	.items-wrap.tile .item .item-desc .favorite-and-compare > span.compare:before {
		content: "\f0ec";
	}

	.items-wrap.tile .item .item-tools {
		display: block;
		flex-grow: 0;
		flex-shrink: 0;
		width: 120px;
		text-align: left;
		padding-top: 4px;
	}

	.items-wrap.tile .item .item-tools .rate-sum {
		color: #707070;
	}

	.items-wrap.tile .item .item-tools .rate-sum span {
		font-weight: 600;
		color: #333333;
	}

	.items-wrap.tile .item .item-tools .rate-count a {
		border-bottom: dashed 1px #115cda;
	}

	.items-wrap.tile .item .item-tools .rate-count a:hover {
		border-bottom: dashed 1px #ff0000;
	}

	.items-wrap.tile .item .star {
		position: relative;
	}

	.items-wrap.tile .item .star:before {
		content: "\f005";
		font-family: "FontAwesome Regular";
		color: #b6b6b6;
		font-size: 15px;
	}

	.items-wrap.tile .item .star.gold:before {
		font-family: "FontAwesome";
		color: #ffd700;
	}

	/* Действия */
	.items-wrap.tile .item .item-actions {
		width: 200px;
		text-align: center;
	}

	.items-wrap.tile .item .item-actions .item-price {
		font-size: 22px;
	}

	.items-wrap.tile .item .item-actions .item-price span:after {
		font-size: 20px;
		margin-left: 3px;
	}

	.items-wrap.tile .item .item-actions .add-to-cart {
		height: 45px;
		line-height: 45px;
		font-size: 14px;
		margin: 5px 0 0 0;
		text-indent: 12px;
	}

	.items-wrap.tile .item .item-actions .add-to-cart span:before {
		width: 40px;
		height: 40px;
		line-height: 40px;
		font-size: 18px;
	}

	.items-wrap.tile .item .item-actions .add-to-basket {
		height: 40px;
		line-height: 36px;
		font-size: 13px;
		margin: 8px 0 0 0;
	}
}

/**************************************************************************************/
/* Категория: широкий десктоп (>= 1200px)												*/
/**************************************************************************************/

@media all and (min-width:1200px) {

	aside.category-filters {
		width: 357px;
		flex-basis: 310px;
		padding: 15px;
		background: #fafafa;
		border: solid 1px #eeeeee;
		border-radius: 6px;
	}

	section.category-view {
		width: auto;
	}

	.items-wrap.tile .item .item-image {
		width: 160px;
	}

	.items-wrap.tile .item .item-image img {
		max-height: 160px;
	}

	.items-wrap.tile .item .item-actions {
		width: 220px;
	}

	.items-wrap.tile .item .item-actions .add-to-cart,
	.items-wrap.tile .item .item-actions .add-to-basket {
		width: 180px;
		margin-left: auto;
		margin-right: auto;
	}

	.items-wrap.tile .item .item-actions .add-to-cart {
		height: 45px;
		font-size: 15px;
	}
}

/**************************************************************************************/
/* Корзина																				*/
/**************************************************************************************/

section.basket-container {
	width: 100%;
	padding: 10px 0 40px 0;
}

section.basket-container h1 {
	font-size: 26px;
	margin: 10px 0 20px 0;
}

section.basket-empty p {
	font-size: 15px;
	color: #555555;
	padding: 20px 0;
}

section.basket-empty a {
	color: #115cda;
}

table.basket {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

table.basket th {
	text-align: left;
	background: #f5f5f5;
	padding: 8px 10px;
	border-bottom: solid 2px #e0e0e0;
	font-size: 13px;
	text-transform: none;
	color: #707070;
}

table.basket td {
	padding: 8px 10px;
	border-bottom: solid 1px #e5e5e5;
	vertical-align: middle;
}

table.basket td.t-image img {
	width: 70px;
	height: 70px;
	object-fit: contain;
}

table.basket td.t-title a {
	color: #333333;
	text-decoration: none;
}

table.basket td.t-title a:hover {
	color: #115cda;
	text-decoration: underline;
}

table.basket td.t-price,
table.basket td.t-sum {
	white-space: nowrap;
}

table.basket td.t-remove {
	text-align: center;
}

table.basket td .remove-item {
	display: inline-block;
	width: 26px;
	height: 26px;
	line-height: 24px;
	text-align: center;
	font-size: 18px;
	color: #c52d27;
	border: solid 1px #e5c5c5;
	border-radius: 3px;
	cursor: pointer;
}

table.basket td .remove-item:hover {
	background: #fdf2f2;
}

table.basket .amount-counter {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

table.basket .amount-counter input[name="qty"] {
	width: 56px;
	height: 32px;
	text-align: center;
	border: solid 1px #dddddd;
}

table.basket .amount-counter .minus,
table.basket .amount-counter .plus {
	display: inline-block;
	width: 28px;
	height: 28px;
	line-height: 26px;
	text-align: center;
	border: solid 1px #dddddd;
	border-radius: 3px;
	cursor: pointer;
	user-select: none;
}

table.basket .amount-counter .minus:before { content: "\2212"; font-size: 15px; }
table.basket .amount-counter .plus:before  { content: "+";    font-size: 15px; }

section.basket-summary {
	margin-top: 20px;
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

section.basket-summary .clear-button {
	color: #c52d27;
	cursor: pointer;
	font-size: 13px;
	text-decoration: underline;
}

section.basket-summary .basket-total {
	flex-grow: 1;
	text-align: right;
	font-size: 15px;
}

section.basket-summary .basket-total b {
	color: #115cda;
}

section.basket-summary .but-place-order {
	display: inline-block;
	background: #115cda;
	color: #ffffff;
	text-transform: none;
	font-weight: 600;
	font-size: 14px;
	line-height: 48px;
	padding: 0 30px;
	text-decoration: none;
	white-space: nowrap;
}

section.basket-summary .but-place-order:hover {
	background: #0e4cb8;
}

/**************************************************************************************/
/* Popup-форма оформления заказа															*/
/**************************************************************************************/

.popup-form.basket-order {
	width: 640px;
	max-width: calc(100vw - 30px);
	font-size: 14px;
}

.popup-form.basket-order .basket-order-items {
	max-height: 220px;
	overflow: auto;
	margin-bottom: 10px;
	border: solid 1px #eeeeee;
}

.popup-form.basket-order table.basket td {
	font-size: 13px;
	padding: 6px 10px;
}

.popup-form.basket-order table.basket tr.total-row td {
	font-weight: 600;
	background: #f5f5f5;
}

.popup-form.basket-order table.basket td.t-qty {
	width: 90px;
	white-space: nowrap;
}

.popup-form.basket-order table.basket td.t-sum {
	width: 120px;
	text-align: right;
	white-space: nowrap;
}

/**************************************************************************************/
/* Узкие экраны (< 560px): компактная карточка в списке									*/
/**************************************************************************************/

@media all and (max-width:559px) {

	section.category-container {
		margin: 0 0 20px 0;
	}

	aside.category-filters {
		margin: 0 0 14px 0;
		font-size: 13px;
	}

	.items-wrap.tile .item {
		flex-wrap: wrap;
		gap: 10px;
		padding: 10px 0;
	}

	.items-wrap.tile .item .item-image {
		width: 90px;
	}

	.items-wrap.tile .item .item-image img {
		max-height: 90px;
	}

	/* Описание занимает вторую строку на всю ширину */
	.items-wrap.tile .item .item-desc {
		flex-grow: 100;
		flex-basis: calc(100% - 100px);
	}

	/* Цена и кнопки - третья строка */
	.items-wrap.tile .item .item-actions {
		width: 100%;
		text-align: left;
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.items-wrap.tile .item .item-actions .item-price {
		flex-grow: 0;
		font-size: 16px;
	}

	.items-wrap.tile .item .item-actions .add-to-cart,
	.items-wrap.tile .item .item-actions .add-to-basket {
		width: auto;
		min-width: 140px;
		flex-grow: 1;
		margin: 0;
	}

	.view-and-sort .total-items-count {
		font-size: 13px;
	}
}

/**************************************************************************************/
/* Тулбар списка категории (в стиле Bitrix) + пагинация								  */
/**************************************************************************************/

.cat-toolbar-first-line {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-direction: column;
    align-content: flex-start;
}

.cat-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 14px;
}

.cat-toolbar-box {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.cat-toolbar-box label {
	font-size: 11px;
	color: #707070;
	text-transform: none;
	letter-spacing: 0.4px;
}

.cat-tool-bar-box select,
.cat-toolbar .cat-sort-select,
.cat-toolbar .cat-limit-select {
	border: solid 1px #ffffff;
	border-radius: 17px;
	padding: 5px 12px;
	font-size: 13px;
	background: #f2f4f8cc;
	outline: none;
	font-family: 'Ubuntu Regular';
}
.cat-toolbar .cat-sort-select:focus,
.cat-tool-bar-box .cat-limit-select:focus,
.cat-toolbar .cat-limit-select:focus {
	background: #ffffff;
	border-color: #b0cb1f;
}

.cat-toolbar .cat-dir-btn,
.cat-toolbar .cat-view-btn {
	border: solid 1px #f2f4f8cc;
	border-radius: 17px;
	background: #f2f4f8cc;
	padding: 5px 11px;
	cursor: pointer;
	font-size: 13px;
	color: #2e2f38;
	transition: all 0.18s linear;
}

.cat-toolbar .cat-dir-btn:hover,
.cat-toolbar .cat-view-btn:hover {
	color: #b0cb1f;
	border-color: #b0cb1f;
	background: #ffffff;
}

.cat-toolbar .cat-dir-btn:active,
.cat-toolbar .cat-view-btn:active {
	background: #a3bc1c;
	border-color: #a3bc1c;
	color: #ffffff;
}

.cat-view-switch .cat-view-btn.active {
	background: #b0cb1f;
	color: #ffffff;
	border-color: #b0cb1f;
}

/* Пагинация */
nav.cat-pagination {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 0 6px 0;
	border-top: solid 1px #dbdbdb;
	margin-top: 6px;
}

nav.cat-pagination ul {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

nav.cat-pagination a {
	display: inline-block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #b0cb1f;
	color: #ffffff;
	font-size: 13px;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.18s linear;
	box-sizing: border-box;
}

nav.cat-pagination a:hover {
	background: #b0cb1fe0;
	color: #ffffff;
}

nav.cat-pagination a:active {
	background: #a3bc1c;
	color: #ffffff;
}

nav.cat-pagination a.current {
	background: #a3bc1c;
	color: #ffffff;
}

nav.cat-pagination .cat-page-dots {
	color: #707070;
	padding: 0 4px;
}

nav.cat-pagination .cat-pagination-caption {
	font-size: 12px;
	color: #707070;
	margin-left: auto;
}

/**************************************************************************************/
/* Виды карточек: «Изображения» и «Таблица»											  */
/**************************************************************************************/

.items-wrap.tile { }
.items-wrap.view-image {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 14px;
}
.items-wrap.view-image .item.view-image {
	border: none;
	border-top: none;
	padding: 0;
	display: flex;
	flex-direction: column;
}
.items-wrap.view-image .item-image img {
	width: 100%;
	height: 170px;
	object-fit: contain;
	border: solid 1px #eeeeee;
	border-radius: 4px;
	background: #ffffff;
}
.items-wrap.view-image .item-caption {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 6px 2px;
}
.items-wrap.view-image .item-caption a { font-size: 13px; font-weight: 500; color: #333333; text-decoration: none; line-height: 18px; }
.items-wrap.view-image .item-caption a:hover { color: #115cda; }
.items-wrap.view-image .item-mfr { font-size: 12px; color: #707070; }
.items-wrap.view-image .item-price { font-weight: 700; font-size: 15px; }
.items-wrap.view-image .add-to-cart { background: #b0cb1f; border: none; color: #ffffff; cursor: pointer; font-size: 12px; padding: 6px 10px; border-radius: 3px; text-transform: none; }

/* Таблица */
.items-wrap.view-table .item.view-table {
	display: grid;
	grid-template-columns: 72px minmax(240px, 1fr) 92px 104px 128px 158px;
	gap: 14px;
	align-items: center;
	border-top: solid 1px #dbdbdb;
	padding: 10px 2px;
}
.items-wrap.view-table .item-image-box img { width: 64px; height: 64px; object-fit: contain; border: solid 1px #eeeeee; border-radius: 3px; background: #ffffff; }
.items-wrap.view-table .item-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.items-wrap.view-table .item-title-link { font-size: 14px; font-weight: 700; color: #333333; text-decoration: none; }
.items-wrap.view-table .item-title-link:hover { color: #115cda; }
.items-wrap.view-table .item-code { font-size: 12px; color: #707070; font-family: Consolas, monospace; }
.items-wrap.view-table .item-mfr { font-size: 12px; color: #707070; }
.items-wrap.view-table .item-props { font-size: 12px; color: #4a5a6c; line-height: 17px; }
.items-wrap.view-table .item-props .prop-name { color: #707070; }
.items-wrap.view-table .item-instock { font-size: 12px; color: #3d9b62; }
.items-wrap.view-table .item-price-act { text-align: right; }
.items-wrap.view-table .item-price { font-weight: 700; font-size: 16px; }
.items-wrap.view-table .add-to-cart { background: #b0cb1f; border: none; color: #ffffff; cursor: pointer; font-size: 12px; padding: 6px 12px; border-radius: 3px; text-transform: none; margin-top: 4px; }

/* Мобильные версии тулбара/пагинации/таблицы */
@media all and (max-width:760px) {
	.items-wrap.view-table .item.view-table {
		grid-template-columns: 56px 1fr 90px;
		gap: 8px;
	}
	.items-wrap.view-table .item-props { display: none; }
	.cat-pagination .cat-pagination-caption { font-size: 11px; }
}

/**************************************************************************************/
/* Плавующие кнопки «Применить» и счётчик											  */
/**************************************************************************************/

.cat-filters-aside {
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 140px);
	position: sticky;
	top: 110px;
}
.cat-filters-aside .filters-scroll {
	flex-grow: 1;
	overflow-y: auto;
	min-height: 120px;
}
.cat-filters-aside .filters-actions {
	flex-grow: 0;
	flex-shrink: 0;
	padding: 12px 10px 4px 10px;
	border-top: solid 2px #eeeeee;
	background: #ffffff;
}
.cat-filters-aside .filters-actions .but-cat-filter { float: none; }

/* «Показать все фильтры» - текстовая кнопка с точечным подчёркиванием */
.cat-filters-more-toggle {
	display: block;
	width: 100%;
	text-align: center;
	font-family: 'Ubuntu Light';
	font-size: 13px;
	color: #2e2f38;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 12px 0 2px;
	margin: 0;
	text-decoration: underline dotted #9aa4b0;
	text-underline-offset: 3px;
	transition: color 0.18s linear;
}
.cat-filters-more-toggle:hover { color: #b0cb1f; }

/* Скрытый блок дополнительных характеристик (param_1..50 без флага int_search) */
.filters-scroll .cat-filters-more {
	list-style: none;
	padding: 0;
	margin: 0;
	background: transparent;
}
.filters-scroll .cat-filters-more-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Единая плавующая группа: «Применить (N)» + «Сбросить» (справа от колонки фильтров);
   скрыта по умолчанию, показывается после первого клика по значению фильтра */
.cat-apply-float-right {
	display: none;
	position: fixed;
	left: 260px;
	z-index: 60;
	background: #ffffff;
	border-radius: 22px;
	padding: 6px 8px;
	box-shadow: 0 6px 16px #00000040;
}
/* Основная кнопка «Применить (N)» - зелёная пилюля */
.cat-apply-float-right .cat-apply-btn {
	background: #b0cb1f;
	color: #ffffff;
	border: none;
	border-radius: 22px;
	padding: 10px 16px;
	cursor: pointer;
	font-size: 13px;
	transition: all 0.18s linear;
}
.cat-apply-float-right .cat-apply-btn:hover { background: #b0cb1fe0; }
.cat-apply-float-right .cat-apply-btn:active { background: #a3bc1c; }

/* «Сбросить» в группе - пилюля-аутлайн (второстепенное действие) */
.cat-apply-count { font-weight: 700; }
@media all and (max-width:760px) {
	.cat-apply-float-right { right: 10px; left: auto; }
}

/* База контейнера для вида «Таблица» (строки-карточки идут подряд) */
.items-wrap.view-table { display: block; }
.items-wrap.view-image { display: grid; }

/**************************************************************************************/
/* Кнопки категории: круглая форма иконок + тонкий шрифт как в шапке					  */
/**************************************************************************************/

/* Круглые кнопки-иконки (Порядок / Вид) */
.cat-toolbar .cat-dir-btn,
.cat-toolbar .cat-view-btn {
	width: 34px;
	height: 34px;
	padding: 0;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: "Ubuntu Regular";
	font-weight: 400;
}
.cat-toolbar .cat-dir-btn i,
.cat-tool-bar-box .cat-view-btn i,
.cat-toolbar .cat-view-btn i {
	font-size: 14px;
}

/* Тонкий шрифт кнопок как в шапке (Ubuntu, без капса, обычный вес) */
.but-cat-filter,
.items-wrap.tile .item .item-actions .add-to-cart,
.items-wrap.view-table .item .item-actions .add-to-cart,
.items-wrap.view-image .add-to-cart {
	font-family: "Ubuntu Regular";
	font-weight: 400;
	font-size: 14px;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1;
}

/* Пилюли: высоты по образцу шапки */
.but-cat-filter.apply,
.but-cat-filter.reset,
span.but-cat-filter.show-more {
	border-radius: 23px;
	padding: 10px 24px;
}
.items-wrap.tile .item .item-actions .add-to-cart,
.items-wrap.view-table .item .item-actions .add-to-cart,
.items-wrap.view-image .add-to-cart {
	border-radius: 23px;
	padding: 9px 22px;
	height: auto;
}
.items-wrap.tile .item .item-actions .add-to-cart { line-height: 1.2; }
.items-wrap.view-table .item .item-actions .add-to-cart { line-height: 1.2; }

/* Тулбар-селекты тоже тонкие */
.cat-toolbar .cat-sort-select,
.cat-toolbar .cat-limit-select {
	font-weight: 400;
	color: #2e2f38;
}

/* Базовые стили элементов нетайловых видов (не наследуют правила .items-wrap.tile .item) */
.items-wrap.view-image .item.view-image,
.items-wrap.view-table .item.view-table {
	font-size: 14px;
	line-height: 20px;
	color: #2e2f38;
}
.items-wrap.view-table .item.view-table { border-bottom: solid 1px #dbdbdb; }
.items-wrap.view-image .item.view-image { border-bottom: none; }


/* Иконочный шрифт для глифов кнопок категории */
i.fa:before {
	font-family: FontAwesome;
}



/**************************************************************************************/
/* Тулбар: полные стили групп (выравнивание, высоты, joined «Вид»)					  */
/**************************************************************************************/

.cat-view-and-sort.cat-view-and-sort {
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
}

.cat-toolbar.cat-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 16px;
	padding: 10px 14px 12px 14px;
	background: #f8f9fbee;
	border: solid 1px var(--borderCat, #eef0f3);
	border-radius: 10px;
}

.cat-toolbar-box {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 4px;
	min-height: 56px;
}

.cat-toolbar-box > label {
	font-size: 11px;
	font-weight: 400;
	color: #8a94a0;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	line-height: 14px;
}

.cat-toolbar-box .cat-sort-select,
.cat-toolbar-box .cat-limit-select {
	height: 34px;
	line-height: 34px;
	padding: 0 26px 0 12px;
	font-size: 14px;
	color: #2e2f38;
}

.cat-toolbar-box .cat-dir-btn {
	width: 34px;
	height: 34px;
	padding: 0;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.cat-toolbar .cat-view-switch {
	display: inline-flex;
	gap: 4px;
	background: #f2f4f8cc;
	border-radius: 23px;
	padding: 3px;
}

.cat-toolbar .cat-view-btn {
	width: 42px;
	height: 28px;
	border-radius: 20px;
	border: none;
	background: transparent;
	font-size: 14px;
}

.cat-toolbar .cat-view-btn.active {
	background: #b0cb1f;
	box-shadow: 0 1px 3px #00000020;
}

/* Плавующие и в-panel кнопки тоже тонкие */
.cat-float-actions .but-cat-filter,
.cat-apply-float-right {
	font-family: 'Ubuntu Light';
	font-weight: 400;
	text-transform: none;
}


/**************************************************************************************/
/* Виды: «Изображения» и «Таблица» - полные карточные стили							    */
/**************************************************************************************/

.items-wrap.view-image {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}
.items-wrap.view-image .item.view-image {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: solid 1px #e8e8e8;
	border-radius: 8px;
	overflow: hidden;
	padding: 0;
	transition: box-shadow 0.18s linear;
}
.items-wrap.view-image .item.view-image:hover {
	box-shadow: 0 6px 18px #00000018;
}
.items-wrap.view-image .item-image-box img {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: contain;
	background: #ffffff;
	border: none;
}
.items-wrap.view-image .item-caption {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px 12px 12px 12px;
}
.items-wrap.view-image .item-caption a {
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 14px;
	line-height: 19px;
	color: #2e2f38;
	text-decoration: none;
}
.items-wrap.view-image .item-caption a:hover { color: #b0cb1f; }
.items-wrap.view-image .item-mfr { font-size: 12px; color: #8a94a0; }
.items-wrap.view-image .item-price { font-weight: 700; }
.items-wrap.view-image .item-price,
.items-wrap.view-image .add-to-cart { padding-left: 0; padding-right: 0; }
.items-wrap.view-image .add-to-cart {
	margin-top: 4px;
	background: #b0cb1f;
	color: #ffffff;
	font-size: 13px;
	padding: 8px 16px;
	border-radius: 23px;
	cursor: pointer;
	text-align: center;
	transition: all 0.18s linear;
}

.items-wrap.view-table .item.view-table {
	border: none;
	border-bottom: solid 1px #dbdbdb;
	border-radius: 0;
	padding: 10px 4px;
}
.items-wrap.view-table .item.view-table:hover { background: #f7fafd; }
.items-wrap.view-table .item-title-link {
	font-family: 'Ubuntu Light';
	font-size: 14px;
	font-weight: 700;
	color: #2e2f38;
	text-decoration: none;
}
.items-wrap.view-table .item-title-link:hover { color: #b0cb1f; }
.items-wrap.view-table .item-code,
.items-wrap.view-table .item-mfr { font-family: 'Ubuntu Light'; }
.items-wrap.view-table .item-props,
.items-wrap.view-table .item-instock { font-family: 'Ubuntu Light'; }
.items-wrap.view-table .item-price { font-family: 'Ubuntu Light'; font-weight: 700; font-size: 15px; }
.items-wrap.view-table .item-price-act .add-to-cart {
	background: #ffffff;
	color: #b0cb1f;
	border: solid 1px #b0cb1f;
	border-radius: 23px;
	padding: 6px 16px;
	cursor: pointer;
	text-align: center;
	transition: all 0.18s linear;
	display: inline-block;
}
.items-wrap.view-table .item-price-act .add-to-cart:hover { background: #b0cb1f; color: #ffffff; }
.items-wrap.view-table .item-price-act .add-to-cart:active { background: #a3bc1c; border-color: #a3bc1c; color: #ffffff; }

/* Дублирующая кнопка: позиция у колонки фильтров задаётся JS (left), не у правого края */
.cat-apply-float-right {
	right: auto;
	left: 340px;
}
@media all and (max-width:760px) {
	.cat-apply-float-right { left: 12px; }
}

/**************************************************************************************/
/* Глифы иконок тулбара/пагинации категории (страница не подключает font-awesome.css;  */
/* семейство FontAwesome объявлено в main.css на отслуженном (исправленном) шрифте)	  */
/**************************************************************************************/
.cat-toolbar .fa,
nav.cat-pagination .fa {
	font-family: 'FontAwesome';
}
.cat-dir-btn i.fa-sort-amount-asc:before { content: "\f160"; }
.cat-dir-btn i.fa-sort-amount-desc:before { content: "\f160"; }
.cat-dir-btn[data-dir="DESC"] i { transform: scaleY(-1); }
.cat-view-btn i.fa-th-large:before { content: "\f009"; }
.cat-view-btn i.fa-file-image-o:before { content: "\f1c5"; }
.cat-view-btn i.fa-list:before { content: "\f03a"; }
nav.cat-pagination .fa-chevron-left:before { content: "\f053"; }
nav.cat-pagination .fa-chevron-right:before { content: "\f054"; }

/* Тег <i> браузерно курсивен, а у FontAwesome-шрифта нет наклонных
   начертаний - курсив синтезируется наклоном глифов. Гасим: */
i.fa {
	font-style: normal;
	font-weight: 400;
}

/**************************************************************************************/
/* «Плитки» - настоящая сетка карточек (перекрывает строчные правила миграции)		  */
/**************************************************************************************/

.items-wrap.tile {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
	gap: 16px;
	border-top: none;
}

.items-wrap.tile .item {
	display: flex;
	flex-direction: column;
	gap: 0;
	border: solid 1px #e8e8e8;
	border-top: solid 1px #e8e8e8;
	border-radius: 10px;
	background: #ffffff;
	overflow: hidden;
	position: relative;
	transition: box-shadow 0.18s linear;
	width: auto;
}

.items-wrap.tile .item:hover {
	box-shadow: 0 8px 22px #0000001a;
}

/* Фото сверху на всю ширину карточки */
.items-wrap.tile .item .item-image {
	width: 100%;
	height: auto;
	text-align: center;
	display: block;
	padding: 14px 24px 10px;
	background: #ffffff;
	position: relative;
}

.items-wrap.tile .item .item-image .product-image {
	display: flex;
	align-items: center;
	justify-content: center;
}

.items-wrap.tile .item .item-image img {
	max-width: 100%;
	max-height: 190px;
	margin: 0 auto;
}

.items-wrap.tile .item .item-image ul.product-images {
	display: flex;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	gap: 1px;
	flex-direction: row;
	justify-content: space-between;
}

.items-wrap.tile .item .item-image ul.product-images li {
	height: 4px;
	border-bottom: solid 3px #f0f0f0;
	flex-grow: 1;
	cursor: pointer;
}

.items-wrap.tile .item .item-image ul.product-images li.active {
	border-bottom-color: #115cda;
}

/* Тело карточки */
.items-wrap.tile .item .item-desc {
	width: 100%;
	flex-grow: 1;
	padding: 4px 14px 8px;
}

.items-wrap.tile .item .item-desc a {
	display: block;
	font-size: 14px;
	line-height: 19px;
	color: #2e2f38;
	font-weight: 400;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.items-wrap.tile .item .item-desc a:hover {
	color: #b0cb1f;
}

/* Краткие свойства: не более 4 строк, остальное скрыто */
.items-wrap.tile .item .item-desc .item-properties {
	max-height: 64px;
	overflow: hidden;
	font-size: 12px;
	line-height: 16px;
	color: #8a94a0;
	padding: 6px 0 0;
}

.items-wrap.tile .item .item-desc .favorite-and-compare {
	display: flex;
	padding: 0;
}

.items-wrap.tile .item .item-desc .favorite-and-compare > span {
	float: none;
}

/* Рейтинг в плитке не показываем (шум при 0 отзывов) */
.items-wrap.tile .item .item-tools {
	display: none;
}

/* Нижняя строка карточки: цена слева, кнопка справа */
.items-wrap.tile .item .item-actions {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 14px 12px;
	margin: 0;
	text-align: left;
	background: #ffffff;
}

.items-wrap.tile .item .item-actions .item-price {
	width: auto;
	font-size: 18px;
	font-weight: 700;
	font-family: 'Ubuntu Regular';
}

.items-wrap.tile .item .item-actions .add-to-cart {
	width: auto;
	margin: 0;
	align-self: center;
}

/**************************************************************************************/
/* Финальная полировка																  */
/**************************************************************************************/

/* «В избранное / Сравнить» - в одну строку, компактно */
.items-wrap.tile .item .item-desc .favorite-and-compare {
	gap: 14px;
}
.items-wrap.tile .item .item-desc .favorite-and-compare > span {
	white-space: nowrap;
	padding-left: 20px;
	font-size: 12px;
	line-height: 18px;
}
.items-wrap.tile .item .item-desc .favorite-and-compare > span:before {
	width: 18px;
	font-size: 14px;
	line-height: 18px;
}

/* «Подробнее»: текст не наезжает на стрелку */
.items-wrap.tile .item .item-actions .add-to-cart {
	padding: 9px 18px 9px 34px;
	text-indent: 0;
}
.items-wrap.tile .item .item-actions .add-to-cart span:before {
	left: 12px;
	top: 7px;
	width: 18px;
	height: 20px;
	line-height: 20px;
	font-size: 13px;
}

/* Значок рубля в видах Таблица и Изображения */
.items-wrap.view-table .item-price > span:after,
.items-wrap.view-image .item-price > span:after {
	content: "\f158";
	font-family: 'FontAwesome';
	font-size: 14px;
	margin-left: 4px;
}


/**************************************************************************************/
/* Финал: Ubuntu Light на кнопках фильтра + строки на всю ширину                        */
/**************************************************************************************/

.but-cat-filter.apply,
.but-cat-filter.reset,
span.but-cat-filter.show-more,
.cat-float-actions .but-cat-filter.apply,
.cat-float-actions .but-cat-filter.reset,
button.cat-apply-float-right {
	font-family: 'Ubuntu Light';
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	font-size: 13px;
}

/* «Показать ещё» - строка во всю ширину */
nav.pagination {
	display: block;
	width: 100%;
	padding: 12px 0;
	box-sizing: border-box;
}
nav.pagination .but-cat-filter.show-more {
	display: block;
	width: 100%;
	float: none;
	text-align: center;
	box-sizing: border-box;
}

/* Пагинация - во всю ширину */
nav.cat-pagination {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	align-items: center;
	box-sizing: border-box;
}
nav.cat-pagination ul { flex-grow: 0; }
nav.cat-pagination .cat-pagination-caption { margin-left: auto; }

/* «Показать ещё» и пагинация растягиваются на все колонки сетки списка */
.items-wrap.tile nav.pagination,
.items-wrap.tile nav.cat-pagination,
.items-wrap.view-table nav.pagination,
.items-wrap.view-table nav.cat-pagination,
.items-wrap.view-image nav.pagination,
.items-wrap.view-image nav.cat-pagination {
	grid-column: 1 / -1;
	width: 100%;
}


/**************************************************************************************/
/* Таблица: ячейки остатков, цена, счётчик и «В корзину»                                */
/**************************************************************************************/

.items-wrap.view-table .cell-stock {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	text-align: center;
}
.items-wrap.view-table .cell-stock .stock-num {
	font-family: 'Ubuntu Light';
	font-size: 16px;
	color: #2e2f38;
}
.items-wrap.view-table .cell-stock .stock-num .none { color: #b6b6b6; }
.items-wrap.view-table .cell-stock .stock-note {
	font-family: 'Ubuntu Light';
	font-size: 11px;
	color: #8a94a0;
}

/* Сроки под прочерком (отсутствие остатка) - оттенок красного */
.items-wrap.view-table .cell-stock .stock-note.none,
.items-wrap.view-table .cell-stock .stock-note[data-none="1"] {
	color: #c9403c;
}

.items-wrap.view-table .item-price-cell { text-align: right; }
.items-wrap.view-table .item-price {
	font-family: 'Ubuntu Light';
	font-weight: 700;
	font-size: 16px;
	white-space: nowrap;
}
.items-wrap.view-table .item-price > span:after {
	content: "\f158";
	font-family: 'FontAwesome';
	font-size: 14px;
	margin-left: 4px;
}

/* Счётчик количества + кнопка корзины */
.items-wrap.view-table .cell-cart {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
}
.items-wrap.view-table .qty-picker {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	background: #f2f4f8cc;
	border-radius: 17px;
	padding: 2px;
}
.items-wrap.view-table .qty-picker .qty-btn {
	width: 26px;
	height: 26px;
	line-height: 24px;
	border: none;
	border-radius: 50%;
	background: #ffffff;
	color: #2e2f38;
	font-size: 14px;
	cursor: pointer;
	padding: 0;
	box-shadow: 0 1px 2px #00000018;
	font-family: 'Ubuntu Regular';
}
.items-wrap.view-table .qty-picker .qty-btn:active { background: #a3bc1c; color: #ffffff; }
.items-wrap.view-table .qty-picker .qty-value {
	width: 34px;
	height: 26px;
	text-align: center;
	font-size: 13px;
	color: #2e2f38;
	background: transparent;
	border: none;
	padding: 0;
	outline: none;
}
.items-wrap.view-table .cat-add-to-basket {

	border: none;
	border-radius: 23px;
	color: #ffffff;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 13px;
	padding: 8px 20px;
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	transition: all 0.18s linear;
	text-indent: 14px;
}
.items-wrap.view-table .cat-add-to-basket:before {
	content: "\f291";
	font-family: 'FontAwesome';
	margin-left: -14px;
	margin-right: 6px;
}

/* Заголовок над остатками (Производитель: / БГК:) */
.items-wrap.view-table .cell-stock .stock-head {
	font-family: 'Ubuntu Light';
	font-size: 12px;
	color: #8a94a0;
}

/* Заголовок таблицы (только вид «Таблица») */
.items-wrap.view-table .cat-table-head {
	display: grid;
	grid-template-columns: 72px minmax(240px, 1fr) 92px 104px 128px 158px;
	gap: 14px;
	align-items: center;
	text-align: center;
	padding: 6px 4px 8px;
	border-bottom: solid 2px #dbdbdb;
	font-family: 'Ubuntu Light';
	font-size: 12px;
	color: #8a94a0;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}
@media all and (max-width:760px) {
	.items-wrap.view-table .cat-table-head { display: none; }
}

/* body главной несёт font-weight:600 (наследуется) - тонкие подписи и кнопки фиксируем явно */
.items-wrap.view-table .cell-stock .stock-note {
	font-weight: 400 !important;
}
.items-wrap.view-table .cell-stock .stock-note.none,
.items-wrap.view-table .cell-stock .stock-note.none::first-line {
	color: #c9403c !important;
	font-weight: 400 !important;
}
.items-wrap.view-table .cell-stock .stock-num,
.items-wrap.view-table .item-props,
.items-wrap.view-table .stock-head {
	font-weight: 400 !important;
}
.but-cat-filter.apply,
.but-cat-filter.reset,
span.but-cat-filter.show-more,
button.cat-apply-float-right,
.cat-float-actions .but-cat-filter {
	font-family: 'Ubuntu Light' !important;
	font-weight: 400 !important;
}

/* Полоса мелких действий под свойствами в таблице (11px, иконки FA) */
.items-wrap.view-table .item-props-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	align-items: center;
	margin: 3px 0 0;
	opacity: 0;
	transition: opacity 0.2s linear;
}
.items-wrap.view-table .item:hover .item-props-actions { opacity: 1; }
.items-wrap.view-table .item-props-actions .ipa-item {
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 11px;
	color: #707070;
	text-decoration: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
	transition: color 0.15s linear;
}
.items-wrap.view-table .item-props-actions .ipa-item:hover,
.items-wrap.view-table .item-props-actions .ipa-item:active { color: #b0cb1f; }
.items-wrap.view-table .item-props-actions .fa {
	font-family: 'FontAwesome';
	font-size: 11px;
}
/* Глифы иконок полосы */
.items-wrap.view-table .item-props-actions .fa-plug:before { content: "\f1e6"; }
.items-wrap.view-table .item-props-actions .fa-heart:before { content: "\f004"; }
.items-wrap.view-table .item-props-actions .fa-balance-scale:before { content: "\f24e"; }
.items-wrap.view-table .item-props-actions .fa-clone:before { content: "\f24d"; }
.items-wrap.view-table .item-props-actions .fa-info-circle:before { content: "\f05a"; }

/* Полоса действий (активное избранное - красное сердце) */
.items-wrap.view-table .item-props-actions .ipa-item.active,
.items-wrap.view-table .item-props-actions .ipa-item.active .fa {
	color: #e25458;
	opacity: 1;
}

/* Модальное окно сравнения (заглушка) */
.cat-modal-overlay {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #00000080;
	z-index: 200;
}
.cat-modal {
	position: absolute;
	left: 50%;
	top: 160px;
	transform: translateX(-50%);
	width: 520px;
	max-width: calc(100vw - 32px);
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 12px 48px #00000060;
	padding: 20px 24px 24px;
}
.cat-modal-title {
	margin: 0 0 12px;
	font-family: 'Ubuntu Regular';
	font-size: 18px;
	color: #2e2f38;
}
.cat-modal-content {
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 13px;
	color: #707070;
	line-height: 20px;
	min-height: 60px;
}
.cat-modal-close {
	position: absolute;
	right: 12px;
	top: 8px;
	cursor: pointer;
	color: #8a94a0;
	font-size: 16px;
	transition: color 0.15s linear;
}
.cat-modal-close:hover { color: #b0cb1f; }
.cat-modal-close .fa {
	font-family: 'FontAwesome';
	font-weight: 400;
}
.cat-modal-close .fa-times:before { content: "\f00d"; }

/* Полноэкранное окно «Каталог» (кнопка в шапке): обычное .cat-modal,
   только на весь экран, без скруглений; содержимое - сетка категорий
   по образцу div.catalog-page */
.site-catalog-full {
	left: 0;
	top: 0;
	transform: none;
	width: 100%;
	height: 100%;
	max-width: none;
	border-radius: 0;
	padding: 24px 40px 40px;
	overflow-y: auto;
}
.site-catalog-full .cat-modal-close {
	position: fixed;
	right: 24px;
	top: 20px;
	color: #45474f;
	z-index: 5;
}
.site-catalog-full .cat-modal-close:hover { color: #b0cb1f; }
.site-catalog-full .cat-modal-title {
	font-size: 24px;
	margin: 0 0 20px;
}
.site-catalog-full .catalog-page {
	max-width: 1280px;
	margin: 0 auto;
}
.catalog-page-wrap {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 28px 40px;
	align-items: start;
}
.catalog-page-wrap .catalog-column-title {
	display: block;
	font-family: 'Ubuntu Regular';
	font-size: 15px;
	font-weight: 600;
	color: #2e2f38;
	text-decoration: none;
	padding-bottom: 8px;
	border-bottom: solid 2px #dbdbdb;
}
.catalog-page-wrap .catalog-column-title:hover { color: #274796; }
.catalog-page-wrap ul.catalog-column-list {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}
.catalog-page-wrap ul.catalog-column-list li a {
	display: block;
	font-size: 13px;
	color: #555555;
	text-decoration: none;
	padding: 4px 0;
	line-height: 18px;
	transition: color 0.15s linear;
}
.catalog-page-wrap ul.catalog-column-list li a:hover { color: #b0cb1f; }

/* Строки с отметками (в корзине / в избранном / в сравнении) - полоса действий видна сразу */
.items-wrap.view-table .item.marked .item-props-actions { opacity: 1; }

/* Ярлык «В корзине: X шт.» - жирный */
.items-wrap.view-table .item-props-actions .ipa-basket {
	font-weight: 700;
}

/* Кнопка «Сравнить» (товар уже добавлен в сравнение) */
.items-wrap.view-table .item-props-actions .ipa-item.compare-added,
.items-wrap.view-table .item-props-actions .ipa-item.compare-added .fa,
.items-wrap.view-table .item-props-actions .ipa-item.compare-added:hover,
.items-wrap.view-table .item-props-actions .ipa-item.compare-added:active {
	color: #b0cb1f;
	opacity: 1;
}

/* Список товаров в модальном окне сравнения */
.cat-modal-list {
	max-height: 60vh;
	overflow-y: auto;
	padding: 4px 0;
}
/* Модальное окно сравнения - широкое, по содержимому таблицы */
.cat-modal-compare {
	width: auto;
	min-width: 640px;
	max-width: calc(100vw - 40px);
}

/* Показать только отличия */
.cmp-diff-bar { padding: 2px 0 12px; }
.cmp-diff-toggle {
	display: inline-block;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 13px;
	color: #b0cb1f;
	background: #ffffff;
	border: solid 1px #b0cb1f;
	border-radius: 23px;
	padding: 6px 16px;
	cursor: pointer;
	transition: all 0.18s linear;
}
.cmp-diff-toggle:hover { background: #b0cb1fe0; color: #ffffff; }
.cmp-diff-toggle.active { background: #b0cb1f; color: #ffffff; }

/* Таблица сравнения (flex): строки - характеристики, колонки - товары */
.cmp-table { width: 100%; }
.cmp-flex-row {
	display: flex;
	align-items: stretch;
	border-bottom: solid 1px #eeeeee;
}
.cmp-flex-row:last-child { border-bottom: none; }
.cmp-rowhead {
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: 150px;
	display: flex;
	align-items: center;
	padding: 8px 6px;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 12px;
	color: #8a94a0;
}
.cmp-cell {
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 0;
	min-width: 250px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 13px;
	color: #2e2f38;
	padding: 8px 10px;
	line-height: 17px;
	white-space: pre-line;
}
/* Строка изображений: 250x250, кнопка удаления в правом верхнем углу ячейки */
.cmp-img-row { border-bottom: solid 1px #eeeeee; }
.cmp-img-cell {
	position: relative;
	flex-grow: 0;
	max-width: 262px;
}
.cmp-img-cell img {
	width: 250px;
	height: 250px;
	object-fit: contain;
	display: block;
}
.cmp-img-cell .cmp-remove {
	position: absolute;
	right: 6px;
	top: 6px;
	width: 28px;
	height: 28px;
	line-height: 28px;
	text-align: center;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 1px 4px #00000030;
	font-size: 14px;
}
.cmp-img-cell .cmp-remove:hover {
	background: #c9403c;
	color: #ffffff;
}
/* Наименование - ссылка на товар */
.cmp-title {
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 13px;
	color: #2e2f38;
	text-decoration: none;
	text-align: center;
	transition: color 0.15s linear;
}
.cmp-title:hover { color: #b0cb1f; }
.cmp-remove {
	cursor: pointer;
	color: #8a94a0;
	font-size: 14px;
	flex-grow: 0;
	transition: color 0.15s linear;
}
.cmp-remove:hover { color: #c9403c; }
.cmp-remove .fa {
	font-family: 'FontAwesome';
	font-weight: 400;
}
.cmp-remove .fa-times:before { content: "\f00d"; }
.cmp-placeholder {
	font-family: 'Ubuntu Light';
	font-size: 12px;
	color: #8a94a0;
	padding: 16px 0;
}

/* Ярлык «В корзине: X шт.» - оранжевый как шапко-кнопка «Корзина» (#ffa500), жирный */
.items-wrap.view-table .item-props-actions .ipa-basket {
	color: #ffa500;
	font-weight: 700;
	cursor: pointer;
}

/* Личный кабинет: раскладка «меню слева + содержимое» (как колонка фильтров) */
.lk {
	background: #f8f9fb;
	padding: 24px 0 40px;
	min-height: 62vh;
}
.lk-layout {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}
.lk-menu {
	flex-grow: 0;
	flex-shrink: 0;
	width: 300px;
	background: #ffffff;
	border-radius: 6px;
	box-shadow: 0 2px 10px #00000010;
	padding: 14px 18px;
	box-sizing: border-box;
}
.lk-greeting {
	font-family: 'Ubuntu Regular';
	font-weight: 600;
	font-size: 15px;
	color: #2e2f38;
	padding: 6px 0 12px;
	margin: 0;
	border-bottom: solid 2px #eeeeee;
}
.lk-menu-item {
	display: block;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 14px;
	color: #2e2f38;
	padding: 9px 8px;
	margin: 2px -8px;
	border-radius: 4px;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.15s linear, background 0.15s linear;
}
.lk-menu-item:hover { color: #b0cb1f; }
.lk-menu-item.current { color: #b0cb1f; font-family: 'Ubuntu Regular'; }
.lk-menu-item.lk-logout { color: #c9403c; font-size: 13px; margin-top: 10px; border-top: solid 2px #eeeeee; padding-top: 12px; border-radius: 0; }
.lk-menu-item.lk-logout:hover { color: #a3231f; }
.lk-content {
	flex-grow: 1;
	background: #ffffff;
	border-radius: 6px;
	box-shadow: 0 2px 10px #00000010;
	padding: 20px 24px 24px;
	box-sizing: border-box;
	min-width: 0;
}
.lk-title {
	font-family: 'Ubuntu Regular';
	font-weight: 600;
	font-size: 20px;
	color: #2e2f38;
	margin: 0 0 16px;
}

/* Форма профиля */
.lk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; max-width: 720px; }
.lk-field { display: flex; flex-direction: column; gap: 4px; font-family: 'Ubuntu Light'; font-size: 12px; color: #8a94a0; }
.lk-field em { font-style: normal; color: #b8c0ca; }
.lk-field input, .lk-field select {
	font-family: 'Ubuntu Light';
	font-size: 14px;
	color: #2e2f38;
	padding: 7px 10px;
	border: solid 1px #dbdbdb;
	border-radius: 4px;
	background: #ffffff;
	outline: none;
}
.lk-field input:focus, .lk-field select:focus { border-color: #b0cb1f; }

.lk-form-note { display: none; font-family: 'Ubuntu Light'; font-size: 13px; color: #3d9b62; margin: 8px 0 0; }

/* Таблица корзины (та же сетка, что в категории, + Кол-во и Сумма) */
.lk-content .items-wrap.view-table .cat-table-head {
	grid-template-columns: 72px minmax(240px, 1fr) 92px 104px 118px 108px 110px;
}
.lk-content .items-wrap.view-table .item.view-table {
	grid-template-columns: 72px minmax(240px, 1fr) 92px 104px 118px 108px 110px;
}
.lk-content .items-wrap.view-table .cell-mfr { font-family: 'Ubuntu Light'; font-size: 13px; color: #4a5a6c; text-align: center; }
.lk-content .items-wrap.view-table .cell-price { font-family: 'Ubuntu Light'; font-size: 15px; font-weight: 700; color: #2e2f38; text-align: right; }
.lk-content .items-wrap.view-table .cell-qty { text-align: center; }
.lk-content .items-wrap.view-table .cell-sum { font-family: 'Ubuntu Light'; font-size: 15px; font-weight: 700; color: #2e2f38; text-align: right; }
.basket-total-line {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 22px;
	padding: 14px 4px 0;
}
.basket-total { font-family: 'Ubuntu Light'; font-size: 16px; color: #2e2f38; margin: 0; }
.basket-total b { font-weight: 700; }
.basket-order-btn { background: #b0cb1f; color: #ffffff; border: none; border-radius: 23px; padding: 10px 26px; cursor: pointer; font-family: 'Ubuntu Light'; font-weight: 400; font-size: 13px; transition: background 0.18s linear; }
.basket-order-btn:hover { background: #b0cb1fe0; }
.basket-order-btn:disabled { opacity: 0.6; cursor: default; }
.basket-order-done {
	font-family: 'Ubuntu Regular';
	font-weight: 600;
	font-size: 18px;
	color: #3d9b62;
	padding: 24px 0 8px;
	text-align: center;
}
.basket-empty { font-family: 'Ubuntu Light'; font-size: 14px; color: #707070; }
.basket-empty a { color: #b0cb1f; text-decoration: none; }
.basket-empty a:hover { text-decoration: underline; }

/* Выпадающее меню «Личный кабинет» в шапке [01.11.2026] */
.lk-header-menu {
	position: absolute;
	z-index: 1100; /* выше фиксированной шапки (z-index 1000) [01.11.2026] */
	background: #ffffff;
	border: 1px solid #e8ecf2;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(20, 40, 60, 0.12);
	padding: 6px 0;
	min-width: 190px;
}
.lk-header-menu a, .lk-header-menu .lk-header-logout {
	display: block;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 13px;
	color: #2e2f38;
	text-decoration: none;
	padding: 9px 16px;
	cursor: pointer;
	transition: color 0.15s linear, background 0.15s linear;
}
.lk-header-menu a:hover, .lk-header-menu .lk-header-logout:hover { color: #8fa417; background: #f7f9f2; }
.lk-header-menu .lk-header-logout { color: #c9403c; border-top: solid 1px #eeeeee; margin-top: 4px; }
.lk-header-menu .lk-header-logout:hover { color: #a3231f; }
@media all and (max-width:760px) {
	.lk-layout { flex-direction: column; }
	.lk-menu { width: 100%; }
	.lk-fields { grid-template-columns: 1fr; }
}

/* Авторизация на /personal (гость): карточка с табами Вход/Регистрация */
.lk-auth {
	max-width: 520px;
	margin: 6px auto 0;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 14px #00000014;
	padding: 26px 30px 30px;
	box-sizing: border-box;
}
.lk-auth-tabs {
	display: flex;
	gap: 10px;
	margin: 0 0 20px;
}
.lk-auth-tab {
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 0;
	text-align: center;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 14px;
	color: #2e2f38;
	padding: 10px 12px;
	background: #f2f4f8;
	border-radius: 23px;
	cursor: pointer;
	transition: color 0.18s linear, background 0.18s linear;
}
.lk-auth-tab:hover { color: #b0cb1f; }
.lk-auth-tab.current {
	background: #b0cb1f;
	color: #ffffff;
	font-family: 'Ubuntu Regular';
}
.lk-auth-tab.current:hover { color: #ffffff; }

.lk-auth-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
}
.lk-auth-form .lk-field input { width: 100%; box-sizing: border-box; }
.lk-auth-form .lk-field input[type="password"] { letter-spacing: 1px; }
.lk-btn-apply {
	background: #b0cb1f;
	color: #ffffff;
	border: none;
	border-radius: 23px;
	padding: 10px 26px;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.18s linear;
}
.lk-btn-apply:hover { background: #b0cb1fe0; }
.lk-btn-apply:disabled { opacity: 0.6; cursor: default; }
.lk-profile-form .lk-btn-apply { margin-top: 14px; }
.lk-auth-form .lk-form-note { margin: 0; }

/* Раздел «Заказы» ЛК */
.order-card {
	border: solid 1px #eeeeee;
	border-radius: 6px;
	margin: 0 0 14px;
	overflow: hidden;
}
.order-head {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 10px 14px;
	background: #f8f9fb;
	border-bottom: solid 1px #eeeeee;
	font-family: 'Ubuntu Light';
	font-size: 13px;
	color: #707070;
}
.order-number { font-family: 'Ubuntu Regular'; font-weight: 700; font-size: 14px; color: #2e2f38; }
.order-status {
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 12px;
	border: solid 1px currentColor;
}
.order-status.color-blue   { color: #2f7ff0; }
.order-status.color-teal   { color: #2aa7a0; }
.order-status.color-orange { color: #ffa500; }
.order-status.color-purple { color: #8b5cf6; }
.order-status.color-green  { color: #3d9b62; }
.order-status.color-red    { color: #c9403c; }
.order-total { margin-left: auto; font-weight: 700; color: #2e2f38; font-size: 14px; }
.order-items { padding: 0 14px 8px; }
.order-item-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	border-bottom: solid 1px #f1f3f7;
	font-family: 'Ubuntu Light';
	font-size: 13px;
	line-height: 17px;
}
.order-item-row:last-child { border-bottom: none; }
.order-item-row img { width: 44px; height: 44px; object-fit: contain; flex-grow: 0; flex-shrink: 0; }
.order-item-row a { text-decoration: none; color: #2e2f38; transition: color 0.15s linear; }
.order-item-row a:hover { color: #b0cb1f; }
.order-item-title { flex-grow: 1; min-width: 0; }
.order-item-qty { flex-grow: 0; color: #4a5a6c; white-space: nowrap; }
.order-item-sum { flex-grow: 0; font-weight: 700; color: #2e2f38; white-space: nowrap; }
@media all and (max-width:760px) {
	.order-head { flex-wrap: wrap; gap: 8px; }
}

/* Вкладки-панели карточек (AdminEditor) */
form.admin-editor .admin-tab { display: none; padding: 14px 0 2px; }
form.admin-editor .admin-tabs li.active { background: #ffffff; color: #b0cb1f; }

/* Быстрые ссылки категории: оранжевые пилюли под строкой «Всего отобранных позиций…» */
.cat-quick-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	padding: 6px 0 14px;
}
.cat-quick-link {
	background: #ffa500;
	color: #ffffff;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 13px;
	text-decoration: none;
	padding: 8px 18px;
	border-radius: 23px;
	transition: background 0.18s linear, transform 0.18s linear;
}
.cat-quick-link:hover { background: #ffa500d8; color: #ffffff; }
.cat-quick-link:active { background: #e89000; }

/* Список избранных товаров в модальном окне */
.cat-modal-favorites { width: 640px; max-width: calc(100vw - 32px); }
.cat-modal-analogs { width: 640px; max-width: calc(100vw - 32px); }
.fav-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-bottom: solid 1px #eeeeee;
	font-family: 'Ubuntu Light';
	font-size: 13px;
}
.fav-row:last-child { border-bottom: none; }
.fav-row img { width: 56px; height: 56px; object-fit: contain; }
.fav-row a { text-decoration: none; color: #2e2f38; }
.fav-row a:hover .fav-title { color: #b0cb1f; }
.fav-title { flex-grow: 1; line-height: 18px; }
.fav-price { font-weight: 700; white-space: nowrap; color: #2e2f38; }
.fav-remove {
	flex-grow: 0;
	cursor: pointer;
	color: #c9403c;
	font-size: 15px;
	padding: 4px 6px;
	transition: color 0.15s linear;
}
.fav-remove:hover { color: #8d2320; }
.fav-remove .fa { font-family: 'FontAwesome'; font-weight: 400; }

/* Знак рубля в корзине личного кабинета: Цена / Сумма строки / Итог */
.lk-content .items-wrap.view-table .cell-price > span:after,
.lk-content .items-wrap.view-table .cell-sum > span:last-child:after,
.lk-content .basket-total .basket-total-amount + span:after {
	content: "\f158";
	font-family: 'FontAwesome';
	font-size: 13px;
	margin-left: 4px;
	color: #2e2f38;
}

/* Категория: заголовок h1 над списком */
.cat-title {
	font-family: 'Ubuntu Regular';
	font-weight: 600;
	font-size: 20px;
	color: #2e2f38;
	margin: 4px 0 12px;
	padding: 0;
}
/* Отступ плиток подкатегорий внутри категории */
.cat-folders { padding: 4px 0 18px; }

/* Корневая страница каталога */
.catalog-root-title {
	font-family: 'Ubuntu Regular';
	font-weight: 600;
	font-size: 22px;
	color: #2e2f38;
	margin: 6px 0 18px;
}
.catalog-group { margin: 0 0 22px; }
.catalog-group-title { margin: 0 0 8px; font-family: 'Ubuntu Regular'; font-weight: 600; font-size: 17px; }
.catalog-group-title a { color: #2e2f38; text-decoration: none; }
.catalog-group-title a:hover { color: #b0cb1f; }
.catalog-subcats { display: flex; flex-direction: column; gap: 8px; }
.catalog-subcat {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #ffffff;
	border: solid 1px #eceef2;
	border-radius: 8px;
	padding: 8px 14px 8px 8px;
}
.catalog-subcat-image { flex-grow: 0; flex-shrink: 0; width: 64px; height: 64px; }
.catalog-subcat-image img { width: 100%; height: 100%; object-fit: contain; }
.catalog-subcat-title {
	flex-grow: 0;
	font-family: 'Ubuntu Regular';
	font-weight: 600;
	font-size: 14px;
	color: #2e2f38;
	text-decoration: none;
	white-space: nowrap;
}
.catalog-subcat-title:hover { color: #b0cb1f; }
.catalog-subcat-series {
	flex-grow: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin-left: auto;
	justify-content: flex-end;
}
.catalog-subcat-series-link {
	background: #f2f4f8;
	color: #2e2f38;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 12px;
	text-decoration: none;
	padding: 5px 12px;
	border-radius: 14px;
	transition: all 0.18s linear;
	white-space: nowrap;
}
.catalog-subcat-series-link:hover { background: #b0cb1f; color: #ffffff; }
@media all and (max-width:760px) {
	.catalog-subcat { flex-wrap: wrap; }
	.catalog-subcat-series { justify-content: flex-start; margin-left: 0; }
}

/* Плитки (папки): белая тень подписи - текст читается на светлых и тёмных фото */
.folders .folder-title,
.cat-folders .folder-title {
	text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9), 0 0 6px rgba(255, 255, 255, 0.5);
}

/* Страница товара: блок цены над «В корзину» (вставляет personal-kit.js) */
.product-price { margin: 0 0 10px; }
.product-price-value {
	font-family: 'Ubuntu Regular';
	font-weight: 700;
	font-size: 24px;
	color: #2e2f38;
	white-space: nowrap;
}
.product-price-value > span:after {
	content: "\f158";
	font-family: 'FontAwesome';
	font-size: 20px;
	margin-left: 5px;
	color: #2e2f38;
}
.product-price-note {
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 12px;
	color: #8a94a0;
	margin: 6px 0 0;
}

/* Модальное окно «Наличие» (страница товара): flex-таблица складов */
.cat-modal-availability { width: 640px; max-width: calc(100vw - 32px); }
.cat-modal-availability .cat-modal-title { max-width: 540px; line-height: 22px; }
.avail-table { display: flex; flex-direction: column; border-top: solid 1px #eeeeee; }
.avail-row {
	display: flex;
	padding: 9px 0;
	border-bottom: solid 1px #f1f3f7;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 13px;
	line-height: 18px;
}
.avail-row:last-child { border-bottom: none; }
.avail-row.avail-head { font-family: 'Ubuntu Regular'; font-weight: 600; }
.avail-cell-label {
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: 190px;
	color: #8a94a0;
	padding-right: 12px;
}
.avail-cell { flex-grow: 1; color: #2e2f38; min-width: 0; }
.avail-row.avail-head .avail-cell { color: #2e2f38; }
.avail-cell.avail-empty { color: #b6bec8; }
@media all and (max-width:760px) {
	.avail-cell-label { flex-basis: 120px; }
}

/* «Наличие»: равные колонки данных, центрирование всех строк */
.avail-table .avail-cell-label { flex: 0 0 280px; }
.avail-table .avail-cell {
	flex: 0 0 calc((100% - 280px) / 2);
	text-align: center;
}
@media all and (max-width:760px) {
	.avail-table .avail-cell-label { flex: 0 0 150px; }
	.avail-table .avail-cell { flex: 0 0 calc((100% - 150px) / 2); font-size: 12px; }
}

/* «Наличие»: настоящая таблица; цвет текста всех ячеек #333333;
   только горизонтальные границы (верх и низ строк, без вертикалей) */
table.avail-table {
	display: table;
	table-layout: fixed;
	width: 100%;
	border-collapse: collapse;
	border-top: solid 1px #eeeeee;
}
table.avail-table tr { border-bottom: solid 1px #eeeeee; }
table.avail-table td {
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 13px;
	line-height: 18px;
	color: #333333;
	padding: 9px 8px;
	vertical-align: middle;
}
table.avail-table td.avail-cell-label {
	width: 280px;
	text-align: left;
}
table.avail-table td.avail-cell { width: calc((100% - 280px) / 2); text-align: center; }
table.avail-table tr.avail-head td { font-family: 'Ubuntu Regular'; font-weight: 600; }
table.avail-table td.avail-empty { color: #333333; }
/* flex-стили прежней разкладки больше не актуальны */
table.avail-table .avail-cell-label,
table.avail-table .avail-cell { flex: none; }
@media all and (max-width:760px) {
	table.avail-table td.avail-cell-label { width: 150px; }
	table.avail-table td.avail-cell { width: calc((100% - 150px) / 2); font-size: 12px; }
}

/* Название параметра фильтра: единица измерения в скобках - серым */
.cat-filters-aside li.param > span .param-unit {
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 12px;
	color: #8a94a0;
}

/* Корзина ЛК: адрес доставки + «Вставить из профиля» */
.basket-address {
	clear: left;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px 0 12px;
	border-bottom: 1px solid var(--adm-border, #eee);
	margin-bottom: 15px;
}
.basket-address-row {
	display: flex;
	align-items: center;
	gap: 15px;
}
.basket-address-label { display: flex; align-items: center; gap: 12px; flex-grow: 1; font-family: "Ubuntu Light"; font-size: 13px; color: #2e2f38; }
.basket-address-label > span { flex-grow: 0; white-space: nowrap; color: #8a94a0; font-size: 12px; min-width: 100px; text-align: right; }
.basket-address-label input {
	flex-grow: 1;
	box-sizing: border-box;
	font-family: "Ubuntu Light";
	font-weight: 400;
	font-size: 14px;
	color: #333333;
	padding: 8px 12px;
	border: solid 1px var(--adm-border, #ccd4dd);
	border-radius: 4px;
	outline: none;
}
.basket-address-paste {
	align-self: flex-end;
	font-family: "Ubuntu Light";
	font-weight: 400;
	font-size: 12px;
	color: #b0cb1f;
	text-decoration: underline dotted #b0cb1f66;
	text-underline-offset: 3px;
	cursor: pointer;
	white-space: nowrap;
	transition: color 0.15s linear;
}
.basket-address-paste:hover { color: #a3bc1c; }
.basket-address-paste .fa { font-family: 'FontAwesome'; margin-right: 3px; }
.basket-address-paste .fa:before { content: "\f0ea"; }

/* Подтверждение учётной записи: баннер в ЛК (профиль/корзина) + страница подтверждения */
.lk-confirm-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	background: #fff7e6;
	border: 1px solid #ffa500;
	border-radius: 6px;
	padding: 12px 16px;
	margin: 0 0 16px;
	font-family: 'Ubuntu Light';
	font-size: 13px;
	line-height: 20px;
	color: #6b5300;
}
.lk-confirm-banner .fa { font-family: 'FontAwesome'; color: #ffa500; margin-right: 6px; font-size: 15px; }
.lk-confirm-banner .fa:before { content: "\f0e0"; }
.lk-confirm-banner b { font-family: 'Ubuntu Regular'; }
.lk-confirm-note { color: #a3bc1c; font-family: 'Ubuntu Regular'; }
.lk-confirm-resend {
	color: #3d9b62;
	background: #eef7ea;
	border: 1px solid #b0cb1f;
	border-radius: 14px;
	padding: 4px 14px;
	font-family: 'Ubuntu Regular';
	font-size: 12px;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s linear;
}
.lk-confirm-resend:hover { background: #ddefc6; }
.lk-confirm-resend .fa { font-family: 'FontAwesome'; color: #3d9b62; margin-right: 5px; font-size: 12px; }
.lk-confirm-resend .fa:before { content: "\f01e"; }
.basket-order-btn.locked { opacity: 0.5; cursor: default; }
.lk-confirm-page { padding: 32px 0 48px; }
.lk-confirm-card {
	max-width: 560px;
	margin: 0 auto;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 8px 30px #00000018;
	padding: 36px 40px 32px;
	text-align: center;
}
.lk-confirm-card .fa { font-family: 'FontAwesome'; font-size: 44px; margin-bottom: 14px; }
.lk-confirm-card .fa-check-circle:before { content: "\f058"; }
.lk-confirm-card .fa-envelope-open:before { content: "\f2b6"; }
.lk-confirm-card .fa-exclamation-triangle:before { content: "\f071"; }
.lk-confirm-card .fa.fa-check-circle { color: #3d9b62; }
.lk-confirm-card .fa.fa-envelope-open { color: #a3bc1c; }
.lk-confirm-card .fa.fa-exclamation-triangle { color: #ffa500; }
.lk-confirm-title { font-family: 'Ubuntu Regular'; font-weight: 600; font-size: 22px; color: #2e2f38; margin: 0 0 12px; }
.lk-confirm-text { font-family: 'Ubuntu Light'; font-size: 14px; line-height: 22px; color: #707070; margin: 0 0 22px; }
.lk-confirm-btn {
	display: inline-block;
	background: #b0cb1f;
	color: #ffffff;
	text-decoration: none;
	font-family: 'Ubuntu Light';
	font-size: 14px;
	padding: 11px 30px;
	border-radius: 23px;
	transition: background 0.18s linear;
}
.lk-confirm-btn:hover { background: #b0cb1fe0; }

/* Раздел «Заказы» ЛК: панель над списком и пагинация */
.lk-content .lk-orders-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: -6px 0 14px; }
.lk-content .lk-orders-limit { display: flex; align-items: center; gap: 8px; font-family: 'Ubuntu Light'; font-size: 13px; color: #707070; }
.lk-content .lk-orders-limit select { font-family: 'Ubuntu Light'; font-size: 13px; color: #2e2f38; padding: 5px 6px; border: 1px solid #d4d9e0; border-radius: 4px; background: #ffffff; cursor: pointer; }
.lk-content .lk-orders-completed { display: inline-flex; align-items: center; gap: 8px; font-family: 'Ubuntu Light'; font-size: 13px; color: #2e2f38; text-decoration: none; border: 1px solid #d4d9e0; border-radius: 18px; padding: 6px 14px; transition: border 0.15s linear, background 0.15s linear; }
.lk-content .lk-orders-completed:hover { border-color: #b0cb1f; }
.lk-content .lk-orders-switch { display: inline-block; width: 26px; height: 14px; border-radius: 8px; background: #d4d9e0; position: relative; transition: background 0.15s linear; }
.lk-content .lk-orders-switch:before { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #ffffff; transition: left 0.15s linear; }
.lk-content .lk-orders-completed.active { background: #f5faea; border-color: #b0cb1f; color: #3d7a3a; font-family: 'Ubuntu Regular'; }
.lk-content .lk-orders-completed.active .lk-content .lk-orders-switch { background: #b0cb1f; }
.lk-content .lk-orders-completed.active .lk-content .lk-orders-switch:before { left: 14px; }
.lk-content .lk-orders-paginator { clear: both; width: 100%; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 18px 0 6px; }
.lk-content .lk-orders-page, .lk-content .lk-orders-gap { font-family: 'Ubuntu Light'; font-size: 13px; color: #2e2f38; }
.lk-content .lk-orders-page { min-width: 30px; height: 30px; line-height: 28px; text-align: center; border: 1px solid #d4d9e0; border-radius: 15px; text-decoration: none; padding: 0 10px; transition: border 0.15s linear, background 0.15s linear; }
.lk-content .lk-orders-page:hover { border-color: #b0cb1f; }
.lk-content .lk-orders-page.current { background: #b0cb1f; border-color: #b0cb1f; color: #ffffff; font-family: 'Ubuntu Regular'; }
.lk-content .lk-orders-gap { padding: 0 4px; color: #b0b8c0; }
.lk-content .lk-orders-info { font-family: 'Ubuntu Light'; font-size: 12px; color: #8a94a0; margin-left: 12px; }

/* Модальное окно «Состав заказа» (ЛК): таблица как в форме редактирования заказа */
.lk-content .lk-order-items-btn { display: inline-flex; align-items: center; gap: 6px; font-family: 'Ubuntu Regular'; font-size: 12px; color: #3d9b62; background: #eef7ea; border: 1px solid #b0cb1f; border-radius: 14px; padding: 5px 14px; cursor: pointer; white-space: nowrap; transition: background 0.15s linear; }
.lk-content .lk-order-items-btn:hover { background: #ddefc6; }
.lk-content .lk-order-items-btn .fa { font-family: 'FontAwesome'; font-size: 13px; }
.lk-content .lk-order-items-btn .fa:before { content: "\f0ce"; }
.lk-content .cat-modal.cat-modal-orders { width: 1200px; top: 120px; padding: 20px 24px 20px; }
.lk-content .lk-order-items-table { width: 100%; border-collapse: collapse; font-family: 'Ubuntu Light'; font-size: 12px; line-height: 18px; color: #333333; }
.lk-content .lk-order-items-table th { background: #f2f4f8; border: 1px solid #e3e8ee; padding: 7px 8px; font-family: 'Ubuntu Regular'; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.3px; color: #555555; }
.lk-content .lk-order-items-table td { border: 1px solid #e3e8ee; padding: 6px 8px; vertical-align: top; }
.lk-content .lk-order-items-table tbody tr.odd { background: #f7f9f2; }
.lk-content .lk-order-items-table tbody tr:hover { background: #f4f7fd; }
.lk-content .lk-order-items-table .num { width: 34px; }
.lk-content .lk-order-items-table th.num, .lk-content .lk-order-items-table td.num { text-align: center; }
.lk-content .lk-order-items-table .code { width: 90px; }
.lk-content .lk-order-items-table .price { width: 90px; }
.lk-content .lk-order-items-table .qty { width: 80px; }
.lk-content .lk-order-items-table .sum { width: 100px; }
.lk-content .lk-order-items-table th.price, .lk-content .lk-order-items-table td.price, .lk-content .lk-order-items-table th.sum, .lk-content .lk-order-items-table td.sum, .lk-content .lk-order-items-table th.qty, .lk-content .lk-order-items-table td.qty { text-align: right; white-space: nowrap; }
.lk-content .lk-order-items-table .ship { width: 110px; }
.lk-content .lk-order-items-table .comment { width: 220px; }
.lk-content .lk-order-items-table td a { color: #1a3d7c; text-decoration: none; }
.lk-content .lk-order-items-table td a:hover { text-decoration: underline; }
.lk-content .lk-order-items-table td.grey, .lk-content .lk-order-items-table .grey { color: #8a94a0; }
.lk-content .lk-order-items-table .ta-c { text-align: center; }
.lk-content .lk-order-items-table .ta-r { text-align: right; }
.lk-content .lk-order-items-table .fw600 { font-family: 'Ubuntu Regular'; font-weight: 600; }
.lk-order-items-note { font-family: 'Ubuntu Light'; font-size: 11px; color: #8a94a0; margin-top: 8px; }


/**************************************************************************************/
/* Вид «Изображение»: контент карточки (паритет с таблицей: полоса действий,           */
/* остатки, цена со значком рубля, счётчик количества и «В корзину»)                   */
/**************************************************************************************/

/* Полоса мелких действий (появляется при наведении; у отмеченных карточек - сразу) */
.items-wrap.view-image .item-props-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	align-items: center;
	margin: 0;
	opacity: 0;
	transition: opacity 0.2s linear;
}
.items-wrap.view-image .item:hover .item-props-actions,
.items-wrap.view-image .item.marked .item-props-actions { opacity: 1; }
.items-wrap.view-image .item-props-actions .ipa-item {
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 11px;
	color: #707070;
	text-decoration: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
	transition: color 0.15s linear;
}
.items-wrap.view-image .item-props-actions .ipa-item:hover,
.items-wrap.view-image .item-props-actions .ipa-item:active { color: #b0cb1f; }
.items-wrap.view-image .item-props-actions .fa {
	font-family: 'FontAwesome';
	font-size: 11px;
}
/* Активное состояние (избранное) и «Сравнить» после добавления */
.items-wrap.view-image .item-props-actions .ipa-item.active,
.items-wrap.view-image .item-props-actions .ipa-item.active .fa { color: #e25458; opacity: 1; }
.items-wrap.view-image .item-props-actions .ipa-item.compare-added,
.items-wrap.view-image .item-props-actions .ipa-item.compare-added .fa,
.items-wrap.view-image .item-props-actions .ipa-item.compare-added:hover,
.items-wrap.view-image .item-props-actions .ipa-item.compare-added:active { color: #b0cb1f; opacity: 1; }
/* Ярлык «В корзине: X шт.» - оранжевый (#ffa500), жирный */
.items-wrap.view-image .item-props-actions .ipa-basket {
	color: #ffa500;
	font-weight: 700;
	cursor: pointer;
}

/* Свойства строки: краткие характеристики под наименованием */
.items-wrap.view-image .item-props {
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 12px;
	color: #4a5a6c;
	line-height: 17px;
}

/* Остатки склада (как в таблице, но слева) */
.items-wrap.view-image .cell-stock {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	text-align: left;
}
.items-wrap.view-image .cell-stock .stock-num {
	font-family: 'Ubuntu Light';
	font-weight: 700;
	font-size: 15px;
	color: #2e2f38;
}
.items-wrap.view-image .cell-stock .stock-note {
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 11px;
	color: #8a94a0;
}
.items-wrap.view-image .cell-stock .stock-note.none { color: #c9403c; }

/* Цена (значок рубля задан общим правилом выше) */
.items-wrap.view-image .item-price {
	font-family: 'Ubuntu Light';
	font-weight: 700;
	font-size: 16px;
	color: #2e2f38;
	white-space: nowrap;
}

/* Счётчик количества + «В корзину»: как в таблице, но в строку */
.items-wrap.view-image .cell-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
}
.items-wrap.view-image .qty-picker {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	background: #f2f4f8cc;
	border-radius: 17px;
	padding: 2px;
}
.items-wrap.view-image .qty-picker .qty-btn {
	width: 26px;
	height: 26px;
	line-height: 24px;
	border: none;
	border-radius: 50%;
	background: #ffffff;
	color: #2e2f38;
	font-size: 14px;
	cursor: pointer;
	padding: 0;
	box-shadow: 0 1px 2px #00000018;
	font-family: 'Ubuntu Regular';
}
.items-wrap.view-image .qty-picker .qty-btn:active { background: #a3bc1c; color: #ffffff; }
.items-wrap.view-image .qty-picker .qty-value {
	width: 34px;
	height: 26px;
	text-align: center;
	font-size: 13px;
	color: #2e2f38;
	background: transparent;
	border: none;
	padding: 0;
	outline: none;
}
.items-wrap.view-image .cat-add-to-basket {
	border: none;
	border-radius: 23px;
	color: #ffffff;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 13px;
	padding: 8px 20px;
	cursor: pointer;
	text-align: center;
	white-space: nowrap;
	transition: all 0.18s linear;
	text-indent: 14px;
}
.items-wrap.view-image .cat-add-to-basket:before {
    content: "\f291";
    font-family: 'FontAwesome';
    margin-left: -20px;
    margin-right: 0px;
}

/* Убираем прежний конфликтный селектор «Подробнее» (кнопка add-to-cart в новом виде не выводится) */

/* Вид «Изображение»: правки макета (на вид «Таблица» не влияют):
   отступ блока фото, ширина карточек +20%, остаток одной строкой с
   «На складе:» и единицей измерения, цена по центру +20% шрифта,
   действия (избранное/сравнение) прижаты к низу после «В корзину» */
.items-wrap.view-image { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.items-wrap.view-image .item-image-box { display: block; padding: 10px 0; }
.items-wrap.view-image .item-caption .item-props-actions { margin-top: auto; }
.items-wrap.view-image .item-caption { padding-bottom: 12px; }
/* Остаток: «На складе: 21 шт. - забрать сегодня» - одной строкой */
.items-wrap.view-image .cell-stock {
	flex-direction: row;
	align-items: baseline;
	gap: 2px;
	white-space: nowrap;
}
.items-wrap.view-image .cell-stock .stock-head,
.items-wrap.view-image .cell-stock .stock-unit {
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 11px;
	color: #8a94a0;
}
.items-wrap.view-image .cell-stock .stock-note { white-space: nowrap; }
/* Цена: по центру, шрифт +20% (16px -> 19px) */
.items-wrap.view-image .item-price {
	text-align: center;
	font-size: 19px;
}
/* Счётчик и «В корзину» - строго на одной строке */
.items-wrap.view-image .cell-cart {
	flex-wrap: nowrap;
	justify-content: center;
}

/* Вид «Изображение»: строки остатка и действий - flex в две колонки;
   наименование и свойства - максимум 3 строки, при наведении раскрываются;
   цена - отступ 5px сверху/снизу (вид «Таблица» не затронут) */
.items-wrap.view-image .cell-stock {
	justify-content: space-between;
	gap: 6px;
}
.items-wrap.view-image .cell-stock .stock-left {
	display: inline-flex;
	align-items: baseline;
	gap: 2px;
	white-space: nowrap;
	min-width: 0;
}
.items-wrap.view-image .cell-stock .stock-note { white-space: nowrap; }
.items-wrap.view-image .item-caption .item-props-actions {
	justify-content: space-between;
	gap: 6px;
}
/* Наименование: максимум 3 строки, при наведении - во всю высоту */
.items-wrap.view-image .item-title-link,
.items-wrap.view-image .item-props {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.items-wrap.view-image .item.view-image:hover .item-title-link,
.items-wrap.view-image .item.view-image:hover .item-props {
	-webkit-line-clamp: 99;
	overflow: visible;
}
/* Цена: отступ по вертикали */
.items-wrap.view-image .item-price { margin: 5px 0; }

/* Вид «Изображение»: ярлык «В корзине: X шт.» - отдельной строкой ниже всех,
   по центру (виден без наведения; в таблице ярлык остаётся в строке действий) */
.items-wrap.view-image .ipa-basket {
	display: block;
	text-align: center;
	white-space: nowrap;
}
.items-wrap.view-image .cell-stock .stock-num { margin: 0 8px; }

/* Вид «Изображение» - строка наличия: зелёная (#b0cb1f), если товар есть на складе;
   красная (#c9403c), если нет (под заказ) */
.items-wrap.view-image .cell-stock { color: #b0cb1f; }
.items-wrap.view-image .cell-stock .stock-note.none,
.items-wrap.view-image .item[data-inbasket] .cell-stock .stock-note.none { color: #c9403c; }

/* Вид «Изображение» - строка наличия целиком: зелёная #b0cb1f, если товар есть;
   красная #c9403c (класс stock-empty), если нет */
.items-wrap.view-image .cell-stock .stock-head,
.items-wrap.view-image .cell-stock .stock-num,
.items-wrap.view-image .cell-stock .stock-unit,
.items-wrap.view-image .cell-stock .stock-note { color: #b0cb1f; }
.items-wrap.view-image .cell-stock.stock-empty .stock-head,
.items-wrap.view-image .cell-stock.stock-empty .stock-num,
.items-wrap.view-image .cell-stock.stock-empty .stock-unit,
.items-wrap.view-image .cell-stock.stock-empty .stock-note { color: #c9403c; }

/* Вид «Изображение»: span.stock-num - инверсия (badge): фон зелёный, текст белый;
   при пустом остатке (stock-empty) - фон красный */
.items-wrap.view-image .cell-stock .stock-num {
	padding: 0 4px;
	border-radius: 3px;
}
.items-wrap.view-image .cell-stock.stock-empty .stock-num {
	background: #c9403c;
	color: #ffffff;
}

/* Вид «Изображение»: ярлык «В корзине: X шт.» - отдельная строка: полные стили
   (раньше часть правил былы заякорены на полосу действий .item-props-actions) */
.items-wrap.view-image .ipa-basket {
	color: #ffa500;
	font-weight: 700;
	cursor: pointer;
	font-family: 'Ubuntu Light';
	font-size: 12px;
	line-height: 18px;
}

/* Вид «Изображение»: нижняя группа карточки прижата к низу; если есть ярлык
   «В корзине», он открывает группу (margin-top: auto), а действия - самой
   последней строкой с небольшим отступом */
.items-wrap.view-image .item-caption .ipa-basket { margin-top: auto; }
.items-wrap.view-image .item-caption .ipa-basket ~ .item-props-actions { margin-top: 6px; }

/* Вид «Изображение»: подпись растягивается по высоте карточки -
   нижняя группа (ярлык «В корзине» + действия) реально прижимается к низу */
.items-wrap.view-image .item-caption { flex-grow: 1; }

/* Вид «Изображение»: ярлык «В корзине: X шт.» - с подчёркиванием, при наведении - без него */
.items-wrap.view-image .ipa-basket { text-decoration: underline; text-underline-offset: 2px; }
.items-wrap.view-image .ipa-basket:hover { text-decoration: none; }

/* Вид «Изображение»: строка действий (В избранное | В сравнение) -
   без зазора, колонки по центру */
.items-wrap.view-image .item-caption .item-props-actions {
	justify-content: center;
	gap: 0;
}

/* Вид «Изображение»: колонки действий - по центру с равными промежутками
   (space-evenly: слева/между/справа одинаковый воздух, без слипания) */
.items-wrap.view-image .item-caption .item-props-actions {
	justify-content: space-evenly;
}

/* Вид «Изображение»: кнопка «В корзину» - оранжевая #ffa500 (hover - прозразчик,
   active/added - тёмный оранжевый) */

/* Быстрые ссылки категории: зелёные пилюли (были оранжевые) */
.cat-quick-link { background: #b0cb1f; }
.cat-quick-link:hover { background: #b0cb1fe0; color: #ffffff; }
.cat-quick-link:active { background: #a3bc1c; }

/* Параметрический фильтр: прилипание ближе к верху (было top: 110px -
   слишком большой отступ сверху при прокрутке) */
.cat-filters-aside { top: 12px; max-height: calc(100vh - 24px); }

/* Параметрический фильтр: перебивка по специфичности (0,2,1) правила
   aside.category-filters (0,1,1) из @media (min-width:770px) */
aside.category-filters.cat-filters-aside { top: 12px; max-height: calc(100vh - 24px); }

/* Вид «Изображение» - строка остатка (в наличии): цвет #707070 (был зелёный);
   пустой остаток остаётся красным #c9403c */
.items-wrap.view-image .cell-stock:not(.stock-empty) .stock-head,
.items-wrap.view-image .cell-stock:not(.stock-empty) .stock-unit,
.items-wrap.view-image .cell-stock:not(.stock-empty) .stock-note { color: #707070; }

/* Таблица: кнопка «В корзину» - оранжевая #ffa500 (hover-прозрачность,
   active/added - тёмный оранжевый) */

/* Таблица: ярлык «В корзине: X шт.» - под кнопкой корзины (в cell-cart), по центру */
.items-wrap.view-table .cell-cart .ipa-basket {
	color: #ffa500;
	font-weight: 700;
	cursor: pointer;
	font-family: 'Ubuntu Light';
	font-size: 12px;
	line-height: 18px;
	white-space: nowrap;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.items-wrap.view-table .cell-cart .ipa-basket:hover { text-decoration: none; }

/* Чип применённого фильтра: крестик удаления ближе к углу */
.filter-link .delete-link-btn { right: -9px; top: 0px; }
.items-wrap.view-image .item-title-link { font-weight: 600; }
.items-wrap.view-image .item-caption a.item-title-link { font-weight: 600; }

/* Таблица: рейтинг под ценой - звёзды как на стартовой странице
   (контур FontAwesome Regular, заливка FontAwesome gold) */
.items-wrap.view-table .item-rating {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	margin-top: 4px;
}
.items-wrap.view-table .item-rating .stars { display: inline-flex; gap: 2px; }
.items-wrap.view-table .item-rating .star {
	display: inline-block;
	position: relative;
	width: 12px;
	height: 12px;
}
.items-wrap.view-table .item-rating .star:before {
	content: "\f005";
	font-family: "FontAwesome Regular";
	display: block;
	left: 0;
	top: 0;
	width: 12px;
	height: 12px;
	line-height: 12px;
	text-align: center;
	font-size: 11px;
	color: #b6b6b6;
}
.items-wrap.view-table .item-rating .star.gold:before {
	font-family: "FontAwesome";
	color: #ffd700;
}
/* «Отзывов: N» -> модальное окно отзывов о товаре */
.items-wrap.view-table .item-rating .item-reviews-link {
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 11px;
	color: #707070;
	cursor: pointer;
	text-decoration: underline dotted;
	text-underline-offset: 2px;
	transition: color 0.15s linear;
}

/* Модальное окно отзывов о товаре (пока с заглушкой под заголовком) */
.cat-modal-reviews { width: 720px; max-width: calc(100vw - 32px); top: 120px; }

/* Цветовые схемы списка (cookie catScheme; переключатель - в тулбаре категории) */
.items-wrap.scheme-blue { --cat-accent: #274796; --cat-accent-hover: #274796e0; --cat-accent-active: #1e3772; --cat-accent-soft: #274796aa; }
.items-wrap.scheme-green { --cat-accent: #b0cb1f; --cat-accent-hover: #b0cb1fe0; --cat-accent-active: #a3bc1c; --cat-accent-soft: #b0cb1faa; }
.items-wrap.scheme-orange { --cat-accent: #ffa500; --cat-accent-hover: #ffa500e0; --cat-accent-active: #e08c00; --cat-accent-soft: #ffa500aa; }
.items-wrap { --cat-accent: #274796; --cat-accent-hover: #274796e0; --cat-accent-active: #1e3772; --cat-accent-soft: #274796aa; }

/* Кнопки «В корзину» ( оба вида) */
.items-wrap .cat-add-to-basket { background: var(--cat-accent, #274796); }
.items-wrap .cat-add-to-basket:hover { background: var(--cat-accent-hover, #274796e0); }
.items-wrap .cat-add-to-basket:active,
.items-wrap .cat-add-to-basket.added { background: var(--cat-accent-active, #1e3772); }

/* Бейдж остатка (вид «Изображение»); пустой остаток всегда красный */
.items-wrap.view-image .cell-stock .stock-num { background: var(--cat-accent, #274796); color: #ffffff; }
.items-wrap.view-image .cell-stock.stock-empty .stock-num { background: #c9403c; color: #ffffff; }

/* Ярлык «В корзине: X шт.» (оба вида) */
.items-wrap.view-image .ipa-basket,
.items-wrap.view-table .cell-cart .ipa-basket {
	color: var(--cat-accent, #274796);
	text-decoration-color: var(--cat-accent-soft, #274796aa);
}
.items-wrap .item-rating .item-reviews-link:hover { color: var(--cat-accent, #274796); }

/* Переключатель схемы в тулбаре: свотчи цветов */
.cat-toolbar .cat-scheme-switch { display: inline-flex; gap: 4px; background: #f2f4f8cc; border-radius: 17px; padding: 3px; }
.cat-toolbar .cat-scheme-btn { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; box-sizing: border-box; transition: box-shadow 0.15s linear; }
.cat-toolbar .cat-scheme-btn[data-scheme="green"] { background: #b0cb1f; }
.cat-toolbar .cat-scheme-btn[data-scheme="blue"] { background: #274796; }
.cat-toolbar .cat-scheme-btn[data-scheme="orange"] { background: #ffa500; }
.cat-toolbar .cat-scheme-btn.active { border-color: #ffffff; box-shadow: 0 0 0 2px #8a94a0; }

/* Вид «Изображение»: строка цены - цена по центру, рейтинг звёздами справа (без «Отзывов: N») */
.items-wrap.view-image .item-price {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.items-wrap.view-image .item-price .item-stars {
	display: inline-flex;
	gap: 2px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}
.items-wrap.view-image .item-stars .star {
	display: inline-block;
	position: relative;
	width: 12px;
	height: 12px;
}
.items-wrap.view-image .item-stars .star:before {
	content: "\f005";
	font-family: "FontAwesome Regular";
	display: block;
	left: 0;
	top: 0;
	width: 12px;
	height: 12px;
	line-height: 12px;
	text-align: center;
	font-size: 11px;
	color: #b6b6b6;
}
.items-wrap.view-image .item-stars .star.gold:before {
	font-family: "FontAwesome";
	color: #ffd700;
}

/* Вид «Изображение»: строка цены - цена и рейтинг звёздами как две колонки
   с равными промежутками (как строки favorite/compare) */
.items-wrap.view-image .item-price {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
}
.items-wrap.view-image .item-price .item-stars {
	position: static;
	transform: none;
}
/* Убрать дублирующийся знак рубля у блока звёзд (глиф задан правилом span:after) */
.items-wrap.view-image .item-price > span.item-stars:after { content: none; }
.items-wrap.view-image .item-price .item-price-value { white-space: nowrap; font-size: 16px; font-weight: 600; }
/* Знак рубля у цены (глиф теперь вложен в .item-price-value) */
.items-wrap.view-image .item-price .item-price-value > span:after {
	content: "\f158";
	font-family: 'FontAwesome';
	font-size: 14px;
	margin-left: 4px;
}
/* Внешний span.item-price-value без глифа (иначе дубль с вложенным) */
.items-wrap.view-image .item-price > span.item-price-value:after { content: none; }

/* ================== product.css ================== */
section.product-header h1 {
	font-size: 21px;
	margin: 0 0 20px 0;
	color: #2e2f38;
}
section.product-offer {
    width: 390px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
}
.product-offer .stock-and-rate {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.product-offer .stock {
    border: solid 1px #b0cb1f;
    line-height: 24px;
    margin-bottom: 22px;
    padding: 0 20px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.18s linear;
	color: #b0cb1f;
	font-size: 14px;
}
.stock.preorder {
    color: #ffffff;
    background: #b0cb1f;
}
.product-offer .reviews {
    display: flex;
    flex-direction: row;
    gap: 22px;
	font-size: 14px;
}
.product-offer .star {
    display: inline-block;
    position: relative;
    width: 10px;
    height: 10px;
	cursor: pointer;
}
.product-offer .star:before {
    content: "\f005";
    font-family: "FontAwesome Regular";
    display: block;
    width: 10px;
    height: 10px;
    line-height: 10px;
    text-align: center;
    font-size: 10px;
    color: gold;
}

.product-offer .product-basket {
	display: flex;
	justify-content: space-between;
	flex-wrap: nowrap;
	white-space: nowrap;
	gap: 22px;
}
.product-offer .product-amount {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	background: #f2f4f8cc;
	border-radius: 23px;
	box-shadow: inset 0 0 0 1px #d2d3e066;
}
.product-offer .amount-counter {
	width: 30px;
	height: 46px;
	border: none;
	background: none;
	line-height: 45px;
	font-size: 25px;
	font-weight: 600;
	color: #585858;
}
.product-offer .product-amount input[name="qty"] {
	line-height: 46px;
	background: transparent;
	color: #2e2f38b3;
	width: 40px;
	font-size: 16px;
	text-align: center;
}
.product-offer .add2basket {
    line-height: 46px;
    color: #ffffff;
    background: #ffa500;
    border: solid 1px #ffa500;
    padding: 0 15px 0 15px;
    border-radius: 23px;
    width: 100%;
    cursor: pointer;
    transition: all 0.18s linear;
    position: relative;
    font-weight: 600;
	font-size: 16px;
}
.product-offer .add2basket:hover {
	background: #ffa500e0;
	color: #ffffff;
}
.product-offer .add2basket:active {
	 background: #ec9c0b;
}
.product-offer .add2basket:before {
    content: "\f291";
    font-family: "FontAwesome";
    display: inline;
    line-height: 46px;
    text-align: center;
	font-size: 16px;
    margin-right: 8px;
}
.product-offer .add2basket:hover:after {
	color: #ffffff;
}
.product-offer .but-buy-in-one-click {
    line-height: 46px;
    margin-top: 20px;
    text-align: center;
    border: solid 1px #274796;
    cursor: pointer;
    border-radius: 23px;
    font-size: 16px;
    color: #274796;
    transition: all 0.18s linear;
}
.product-offer .but-buy-in-one-click:hover {
	background: #274796;
	color: #ffffff;
}
.product-offer .but-buy-in-one-click:active {
	opacity: 0.6;
}
.product-offer .favorite-and-compare {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 22px;
    margin-top: 16px;
}
.product-offer .favorite-and-compare > span {
    display: block;
    line-height: 25px;
    padding-left: 25px;
    position: relative;
    font-family: "Ubuntu Light";
    font-size: 13px;
    font-weight: 100;
    color: #67697ecc;
    cursor: pointer;
}
.product-offer .favorite-and-compare > span:before {
    content: "\e473";
    font-family: "FontAwesome";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    font-size: 16px;
    opacity: 0.6;
    transition: all 0.18s linear;
}
.product-offer .favorite-and-compare > span.to-favorite:before {
	content: "\f004";
}
.product-offer .favorite-and-compare > span:hover:before{
	opacity: 1;
}
.product-offer .favorite-and-compare > span.to-compare:hover:before {
	color: #274796;
}
.product-offer .favorite-and-compare > span.to-favorite:hover:before {
	color: #ff0000;
}
.payment-methods {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    padding: 15px 20px;
    background: #f2f4f8;
	font-size: 14px;
}
.payment-methods > div {
    display: block;
    position: relative;
}
.payment-methods > div > span {
	display: inline-block;
	width: 100%;
	position: relative;
	line-height: 30px;
	cursor: pointer;
	color: #2e2f38;
	border-bottom: dotted 2px transparent;
    transition: all 0.18s linear;
}
.payment-methods > div > span:hover {
	color: #ffa500;
	border-bottom: dotted 2px #fffa00;
}
.payment-methods > div > span:before {
	content: "\f63c";
	font-family: "FontAwesome";
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	font-size: 16px;
	margin-right: 8px;
}
.payment-methods > div.pickup > span:before { content: "\f63c"; }
.payment-methods > div.delivery > span:before { content: "\f4df"; }
.payment-methods .hint {
	display: none;
	position: absolute;
	bottom: 100%;
	width: 100%;
	height: auto;
    background: #ffffff;
    padding: 20px 20px;
    box-shadow: 1px 1px 3px 1px #00000020, 0 10px 15px #00000020;
}
.payment-methods > div:hover .hint {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.payment-methods .hint span {
	margin-bottom: 10px;
}
.payment-methods .hint p {
	margin-bottom: 5px;
	font-size: 14px;
	color: #67697e;
	font-weight: 100;
}
.payment-methods .hint p a {
	color: #274796;
	border-bottom: solid 1px #274796;
}
.payment-methods .hint p a:hover {
	border-color: transparent;
}
section.benefits {
    margin-top: 25px;
    background: #ffffff;
    border-bottom: solid 1px #d2d3e04d;
    padding: 20px 0;
}
section.benefits div.benefits {
    display: flex;
    flex-direction: row;
	gap: 20px;
}
section.benefits div.benefits .benefit {
	flex: 1;
	padding-left: 64px;
	position: relative;
}
section.benefits div.benefits .benefit:before {
	content: "";
	font-family: "FontAwesome";
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	text-align: center;
	line-height: 40px;
	font-size: 40px;
	color: #2e2f38;
}
section.benefits div.benefits .benefit.certificate:before { content: "\f0a3"; }
section.benefits div.benefits .benefit.parthner:before { content: "\f4c4"; }
section.benefits div.benefits .benefit.discount:before { content: "\25"; }

section.benefits div.benefits .benefit span {
    font-size: 15px;
    font-weight: 600;
    color: #2e2f38;
    font-family: "Ubuntu Regular";
}
section.benefits div.benefits .benefit p {
	font-size: 15px;
	color: #67697eb3;
	margin-top: 5px;
	line-height: 22px;
}
section.product-content {
    margin-top: 30px;
	padding: 26px;
	background: #ffffff;
	box-shadow: 0 10px 15px #00000005;
}

section.product-content ul.tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}
section.product-content ul.tabs li {
	line-height: 46px;
	padding: 0 20px;
	background: #ffffff;
	border: solid 1px #b0cb1f;
	color: #b0cb1f;
	transition: all 0.18s linear;
	border-radius: 23px;
	cursor: pointer;
	font-size: 15px;
}
section.product-content ul.tabs li:hover {
	background: #b0cb1fe0;
	color: #ffffff;
}
section.product-content ul.tabs li:active {
	background: #a3bc1c;
	color: #ffffff;
}
section.product-content ul.tabs li.active {
	background: #b0cb1f;
	color: #ffffff;
}
section.product-content div.tabs {
    padding: 40px 0 20px;
	font-size: 15px;
}
p.seo-text {
	color: #67697ecc;
	margin-bottom: 10px;
}
div.wrap-2x2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: ;
	grid-column-gap: 20px;
	grid-row-gap: 20px;
}
.product-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}
.product-content div.property {
}
.product-content div.property span {
	flex: 1;
	text-align: center;
	padding: 10px;
}
.product-content div.property span:first-child {
	text-align: left;
}
.product-content div.property span.param,
.product-content div.property span.feature,
.product-content div.property span.code {
	color: #67697e99;
}
.product-content div.property span.del {
	border-bottom: dotted 2px #67697e99;
}
.product-content div.property {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    align-content: center;
}
.product-content .flex {
	font-size: 14px;
}
.product-content div.property {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.product-content .flex.etim div.property.even,
.product-content .flex.dimensions div.property.even {
	background: #f2f4f8;
}

.product-content .flex.etim div.property span.param 	{ flex: 0 0 auto; width: 30%; }
.product-content .flex.etim div.property span.feature 	{ flex: 0 0 auto; width: 15%; }
.product-content .flex.etim div.property span.value 	{ flex: 0 0 auto; width: 25%; }
.product-content .flex.etim div.property span.meas_unit { flex: 0 0 auto; width: 15%; }
.product-content .flex.etim div.property span.code 		{ flex: 0 0 auto; width: 15%; }

.product-content .flex.fab span.param { flex: 0 0 auto;  } 
.product-content .flex.fab span.del { flex: 0 0 auto; flex-grow: 1; } 
.product-content .flex.fab span.value { flex: 0 0 auto; } 


@media all and (min-width:1000px) {
	section.product-head {
		background: #ffffff;
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		box-shadow: 0 10px 15px #00000005;
		padding: 26px;
	}
	
	/* Середина - Галлерея */
	section.product-gallery {
		width: 490px;
		display: flex;
		flex-direction: row;
		flex: 0 0 auto;
		gap: 10px;
	}
	section.product-gallery .product-images {
		display: flex;
		width: 100px;
		padding: 60px 0;
		flex-direction: column;
		justify-content: flex-start;
	}
	section.product-gallery .product-images li {
		display: flex;
		width: 100px;
		height: 100px;
		border: solid 1px #2e2f3880;
	}
	section.product-gallery .product-images li img {
		max-width: 100%;
		max-height: 100%;
		cursor: pointer;
	}
	section.product-gallery .product-image {
		display: flex;
		flex-direction: row;
		width: 390px;
		height: 390px;
		z-index: 1;
	}
	section.product-gallery .product-image li {
		max-width: 100%;
		max-height: 100%;
	}
	
	/* Середина - Параметры */
	section.product-params {
		flex-grow: 1;
		padding: 0 20px;
	}
	section.product-params .sku {
		font-size: 14px;
		color: #67697e99;
	}
	section.product-params .property {
		display: flex;
		flex-direction: row;
		margin: 10px 0 0 0;
		font-size: 14px;
		line-height: 1.1;
	}
	section.product-params .property.one-value {
		flex-direction: row;
	}
	section.product-params .property.one-value .value {
		color: #67697e;
	}
	section.product-params .property.one-value .value a {
		color: #67697e;
		border-bottom: solid 1px #2e2f3880;
	}
	section.product-params .property.one-value .value a:hover {
		border-bottom: none;
	}
	section.product-params .property .param {
		padding-right: 20px;
		color: #67697e99;
		min-width: 28%;
	}
	section.product-params .property:not(.one-value) .param {
		padding-top: 6px;
	}
	section.product-params .property .values {
		display: flex;
		flex-direction: row;
		flex-flow: wrap;
		gap: 4px;
		row-gap: 4px;
		align-items: flex-end;
	}
	section.product-params .property .values .value {
		border-radius: 4px;
		padding: 7px 7px;
		border: 1px solid var(--cat-accent, #67697e);
		cursor: pointer;
		color: var(--cat-accent, #67697e);
	}
	/* Цветовая схема кнопок значений - из cookie catScheme
	   (класс scheme-* ставит js/product.js; переменные как в katalog.css) */
	section.product-head {
		--cat-accent: #274796;
		--cat-accent-hover: #274796e0;
		--cat-accent-active: #1e3772;
		--cat-accent-soft: #274796aa;
	}
	section.product-head.scheme-green {
		--cat-accent: #b0cb1f;
		--cat-accent-hover: #b0cb1fe0;
		--cat-accent-active: #a3bc1c;
		--cat-accent-soft: #b0cb1faa;
	}
	section.product-head.scheme-orange {
		--cat-accent: #ffa500;
		--cat-accent-hover: #ffa500e0;
		--cat-accent-active: #e08c00;
		--cat-accent-soft: #ffa500aa;
	}
	section.product-params .property .values .value:hover {
		border-color: var(--cat-accent-hover, #274796);
		background: var(--cat-accent-hover, #274796);
		color: #ffffff;
	}
	section.product-params .property .values .value.active {
		background: var(--cat-accent, #274796);
		border-color: var(--cat-accent, #274796);
		color: #ffffff;
		cursor: initial;
	}
	section.product-params .property .values .value.param-busy {
		opacity: 0.5;
		pointer-events: none;
	}
	/* Плавный уход перед переходом на другой товар (клик по значению) */
	section.product-head.param-switching {
		opacity: 0.25;
		transition: opacity 0.18s linear;
	}
	/* Товар-представитель серии в модалке выбора */
	.cat-modal .fav-title .serie-sample {
		display: inline-block;
		margin-left: 6px;
		font-size: 12px;
		color: #8a94a0;
	}
	/* Справа - Предложение */
	
	/* Страницы каталога */
	.catalog-pages {
		margin-top: 20px;
		font-size: 14px;
		display: flex;
		justify-content: space-between;
		gap: 10px;
		flex-wrap: wrap;
	}
	.catalog-pages > span {
		color: #67697e99;
		color: #2e2f38;
	}
	.catalog-pages a {
		padding: 0px;
		color: #67697e;
		margin: 0 4px 0;
	}
	.catalog-pages a:hover {
		border-bottom: solid 1px #2e2f3880;
	}
	.catalog-pages a:before {
		content: "\f1c1";
		font-family: "FontAwesome";
		display: inline;
		font-size: 14px;
		margin-right: 4px;
		color: #f71b1b;
	}
}

/* ================== footer.css ================== */
/* Футер */
footer {
    line-height: 25px;
    font-size: 14px;
    color: #67697eb3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: "Ubuntu Light";
    flex-wrap: wrap;
}
footer section {
	background: #ffffff;
}
footer .copyrights {
	background: #222222;
	padding: 20px 0;
	font-weight: 100;
	text-align: center;
	color: #aaaaaa;
}
footer a {
	color: #67697eb3;
	font-family: "Ubuntu Light";
	font-weight: 100;
	color: #a3bc1c;
}
footer a:hover {
	color: #a3bc1c;
	text-decoration: underline;
}
footer p {
	font-family: "Ubuntu Light";
	font-weight: 100;
}
footer .item1 span {
	display: inline-block;
}


@media all and (min-width:700px) {
	footer {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		grid-gap: 0px;
	}
	
	footer section {
		flex: 1;
		min-width: 320px; /* Минимальная ширина блока */
		padding: 20px;
	}
	footer section.full-width {
		flex: 0 0 100%; /* Занимает всю ширину */
	}
	footer p {
		display: inline-block;
		float: left;
		width: 100%;
		margin: 20px 0 5px;
		
		color: #2e2f38;
		font-weight: 600;
	}
	footer .copyrights p {
		color: #aaaaaa;
		margin: 0;
		font-weight: 100;
	}
	footer a {
		display: inline-block;
		float: left;
		width: 100%;
	}
	footer .logo {
		padding-top: 30px;
	}
}

/* ================== popup.css ================== */
/* Оверлей */
.overlay {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
}
.ajax-overlay {
	z-index: 5000;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: #5e5e5ef0;
	display: none;
}
.ajax-wrap {
	min-width: 100vw;
	min-height: 100vh;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 5010;
}
.popup-form {
	display: inline-block;
	float: left;
	min-width: 300px;
	min-height: 200px;
	background: #ffffff;
	position: relative;
	box-shadow: 0 0 10px 1px #00000020;
}
.popup-form .but-close-form {
	display: block;
	position: absolute;
	top: 0px;
	right: 0px;
	width: 40px;
	height: 40px;
}
.popup-form .but-close-form:after {
	content: "\f00d";
	font-family: "FontAwesome";
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 40px;
	height: 40px;
	text-align: center;
	line-height: 40px;
	font-size: 20px;
	cursor: pointer;
}
.popup-form .but-close-form:hover:after {
	background: #00669e20;
}
.popup-form h1 {
	font-size: 21px;
}
.popup-form p {
	font-size: 15px;
	color: #67697eb3;
	line-height: 22px;
	margin-bottom: 5px;
}
.popup-form p.title {
	display: inline-block;
	float: left;
	padding: 0 50px 0 20px;
	line-height: 40px;
	font-weight: 600;
}

@media all and (min-width:700px) {
	
	/* Модульное окно */
	.popup-form {
		padding: 24px;
		max-width: 90%;
	}
}
/* Стилизация popup-форм (main.js) под единый стандарт модальных окон:
   скруглённая карточка + глубокая тень; затемнение фона (.ajax-overlay) уже есть;
   содержимое форм не меняется */
.popup-form {
	border-radius: 8px;
	box-shadow: 0 12px 48px #00000060;
}

/* ================== search.css ================== */
@charset "UTF-8";

/* Страница поиска /search: категории плиткой + товары списком категории */

.search-title {
	font-family: 'Ubuntu Light';
	font-weight: 600;
	font-size: 26px;
	color: #2e2f38;
	margin: 22px 0 12px;
}

.search-hint {
	font-family: 'Ubuntu Light';
	font-size: 14px;
	color: #707070;
	padding: 8px 0 30px;
}

.search-section { margin: 6px 0 26px; }

.search-section-title {
	font-family: 'Ubuntu Light';
	font-weight: 600;
	font-size: 19px;
	color: #2e2f38;
	margin: 0 0 14px;
}

.search-counter {
	display: inline-block;
	vertical-align: 2px;
	background: #f2f4f8;
	border-radius: 12px;
	padding: 2px 10px;
	font-family: 'Ubuntu Regular';
	font-size: 12px;
	color: #707070;
}

/* Секция результатов (контейнер AJAX) */
.search-container { min-height: 120px; }

/* ================== slideshow.css ================== */

@media all and (min-width:200px) {
	.slideshow {
		display: none;
	}
}
@media all and (min-width:1000px) {
	section.slideshow-wrap {
		width: 100%;
	}
	.slideshow {
		display: block;
		position: relative;
		width: 100%;
		height: 581px;
		overflow: hidden;
		background: #ffb600;
		margin: 0 auto 0 auto;
	}
	.slides-container {
		width: calc(100% - 280px);
		height: 100%;
		position: relative;
	}
	.slide {
		position: absolute;
		width: 100%;
		height: 100%;
		transition: opacity .8s;
		opacity: 0;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		color: #fff;
		background-size: cover;
		background-position: center;
	}

	.slide.active {
		opacity: 1;
		z-index: 2;
		pointer-events: all;
	}
	
	.slide .slide-card {
		display: block;
		position: absolute;
		width: 350px;
		height: 230px;
		left: 75px;
		top: 75px;
		background: #ffffff;
		padding: 30px 30px;
		box-shadow: 0 10px 15px #00000020;
	}
	.slide .slide-card .slide-card-flag {
		display: inline-block;
		width: auto;
		float: left;
		background: #ffa500;
		color: #ffffff;
		border-radius: 16px;
		line-height: 32px;
		padding: 0 10px;
		margin-bottom: 14px;
	}

	.slide .slide-card .slide-title {
		display: inline-block;
		float: left;
		width: 100%;
		line-height: 20px;
		color: #2e2f38;
		font-family: "Ubuntu Regular";
	}

	.slide .slide-card .slide-desc {
		display: inline-block;
		float: left;
		width: 100%;
		margin: 13px 0;
		font-family: "Ubuntu Light";
		color: #67697eb3;
		font-weight: 100;
	}
	
	.slide .slide-card .slide-link {
		display: inline-block;
		width: auto;
		float: left;
		margin-top: 10px;
		background: #ffffff;
		border: solid 1px #274796;
		color: #274796;
		border-radius: 16px;
		line-height: 32px;
		padding: 0 10px;
		transition: all 0.18s linear;
	}
	.slide .slide-card .slide-link:hover {
		background: #274796;
		color: #ffffff;
	}
		

	.slide-arrow {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		background: #ffffff;
		color: #fff;
		border: none;
		border-radius: 50%;
		width: 46px;
		height: 46px;
		font-size: 1.5em;
		cursor: pointer;
		z-index: 3;
		outline: none;
		box-shadow: 0 10px 15px #00000005;
		transition: all 0.18s linear;
	}
	.slide-arrow:after {
		content: "\f053";
		display: block;
		position: absolute;
		width: 46px;
		height: 46px;
		left: 0px;
		top: 0px;
		text-align: center;
		line-height: 46px;
		font-family: "FontAwesome";
		font-size: 14px;
		color: #2e2f38;
	}

	.slide-arrow.left {
		left: 12px;
	}
	.slide-arrow.right {
		right: 22px;
	}
	.slide-arrow.right:after {
		content: "\f054";
	}
	.slide-arrow:hover {
		background: #a3bc1c;
	}
	.slide-arrow:hover:after {
		color: #ffffff;
	}

	.slide-radios {
		position: absolute;
		bottom: 18px;
		left: 0;
		width: 100%;
		text-align: center;
		z-index: 4;
	}

	.slide-radio {
		display: inline-block;
		margin: 0 4px;
	}
	.slide-radio:after {
		
	}
	.slide-radio input[type="radio"] {
		accent-color: #3577ed;
		width: 17px;
		height: 17px;
		cursor: pointer;
	}

	.links {
		display: block;
		position: absolute;
		left: auto;
		top: 130px;
		right: 0;
		z-index: 10;
	}
	.links a {
		display: inline-block;
		float: left;
		width: 280px;
		padding: 0 20px;
		background: #1b1b1b;
		color: #ffffff;
		font-size: 17px;
		line-height: 40px;
		text-decoration: underline;
		clear: both;
		margin-bottom: 20px;
	}
	.links a:hover {
		background: #e58a37;
		text-decoration: none;
	}
}
@media all and (min-width:1200px) {
	section.slideshow-wrap {
	}
	.slideshow {
		display: block;
		position: relative;
		width: 100%;
		height: 380px;
		overflow: hidden;
		background: #f8f9fb;
		margin: 0px auto 20px auto;
	}
	.slides-container {
		width: 100%;
		height: 100%;
		position: relative;
	}
	.slide {
		position: absolute;
		width: 100%;
		height: 100%;
		transition: opacity .8s;
		opacity: 0;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		color: #fff;
		background-size: cover;
		background-position: center;
	}

	.slide.active {
		opacity: 1;
		z-index: 2;
		pointer-events: all;
	}

	.slide-arrow {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		background: #ffffff;
		color: #fff;
		border: none;
		border-radius: 50%;
		width: 46px;
		height: 46px;
		font-size: 1.5em;
		cursor: pointer;
		z-index: 3;
		outline: none;
		box-shadow: 0 10px 15px #00000020;
	}

	.slide-arrow.left {
		left: 12px;
	}
	.slide-arrow.right {
		right: 22px;
	}

	.slide-radios {
		position: absolute;
		bottom: 18px;
		left: 0;
		width: 100%;
		text-align: center;
		z-index: 4;
	}

	.slide-radio {
		display: inline-block;
		margin: 0 4px;
	}
	.slide-radio input[type="radio"] {
		accent-color: #3577ed;
		width: 17px;
		height: 17px;
		cursor: pointer;
	}

	.links {
		display: block;
		position: absolute;
		left: auto;
		top: 130px;
		right: 0;
		z-index: 10;
	}
	.links a {
		display: inline-block;
		float: left;
		width: 280px;
		padding: 0 20px;
		background: #ffb600;
		color: #ffffff;
		font-size: 17px;
		line-height: 40px;
		text-decoration: underline;
		clear: both;
		margin-bottom: 20px;
	}
	.links a:hover {
		background: #294897;
		text-decoration: none;
	}
}

/* ================== login.css ================== */
/* ===== Font Awesome 6 (локальные файлы как fallback CDN all.min.css):
       пишутся ДО подключаемого all.min.css: совпадающее правило CDN «позднее» и побеждает, когда CDN доступен;
       на страницах без CDN иконки .fas/.far/.fab всё равно работают ===== */
@font-face {
	font-family: 'Font Awesome 6 Free';
	font-style: normal;
	font-weight: 900;
	font-display: block;
	src: url(fonts/FontAwesome-solid-900.woff2) format("woff2");
}
@font-face {
	font-family: 'Font Awesome 6 Free';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url(fonts/FontAwesome-reqular-400.woff2) format("woff2");
}
@font-face {
	font-family: 'Font Awesome 6 Brands';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url(fonts/FontAwesome-brands-400.woff2) format("woff2");
}
@charset "UTF-8";
/* @font-face{ */
	/* font-family:'FontAwesome'; */
	/* src:url(fonts/FontAwesome.otf) format("opentype"); */
	/* font-weight:700; */
	/* font-style:normal */
/* } */
@font-face{
	font-family: "FreeSans";
	font-style: normal;
	font-weight: 400;
	src: url(fonts/FreeSans.woff) format("woff2");
}
@font-face{
	font-family:'FontAwesome Regular';
	src:url(fonts/FontAwesome-reqular-400.woff2) format("woff2");
	font-weight:700;
	font-style:normal
}
@font-face{
	font-family:'FontAwesome';
	src:url(fonts/FontAwesome-solid-900.woff2) format("woff2");
	font-weight:700;
	font-style:normal
}
@font-face{
	font-family:'GOST';
	src: url(fonts/GOST_regular.ttf) format("truetype");
	font-weight:400;
	font-style:italic;
}
@font-face{
	font-family:'GOST Italic';
	src: url(fonts/GOST_italic.ttf) format("truetype");
	font-weight:400;
	font-style:italic;
}
.glyph {
	font-family:'FontAwesome';
}


input {
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background: #ffffff;
    background: transparent;
}
*, *:before, *:after {
    margin: 0;
    padding: 0;
    outline: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html {
	width: 100%;
	height: 100%;
	float: left;
	margin: 0;
	padding: 0;
	overflow: hidden;
	position: relative;
}
header, main, aside, footer, nav {
    display: inline-block;
    width: 100%;
    float: left;
    color: #333333;
}	
	
	
/*************************/
/*        LOGIN          */
/*************************/
section.login {
	display: inline-block;
	width: 100%;
	text-align: center;
}
section.login .splash {
	display: inline-block;
	width: auto;
	padding: 20px 30px;
}
section.login img {
}
section.login h1 {
	font-size: 40px;
	margin: 5px 0 0 0;
	color: #00669e;
	font-weight: 500;
}
section.login h2 {
	font-size: 30px;
	margin: 0 0 20px;
	font-weight: 500;
}
section.login form {
	display: inline-block;
	float: none;
	width: 300px;
	padding: 20px 0 20px;
	border-left: solid 1px #e5e5e5;
}
section.login form > div {
	display: inline-block;
	width: 100%;
	float: left;
	padding: 5px 0;
	font-size: 16px;
}
section.login form > div label {
	font-size: 16px;
	margin-right: 10px;
}
section.login form > div input[type="text"], section.login form > div input[type="password"] {
	border-bottom: solid 1px #e5e5e5;
	font-size: 16px;
}
section.login form > div input[type="text"]:focus, section.login form > div input[type="password"]:focus {
	border-bottom: solid 1px #00669e;
}
section.login form > div input[type="radio"] {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: solid 2px #00669e;
	border-radius: 50%;
	cursor: pointer;
	font-size: 10px;
	vertical-align: bottom;
	position: relative;
}
section.login form > div input[type="radio"]:after {
	content: "1";
	color: #ffffff;
	display: inline-block;
	position: absolute;
	top: -2px;
	left: -2px;
	width: 20px;
	height: 20px;
	text-align: center;
	line-height: 20px;
	font-size: 14px;
	font-weight: 600;
}
section.login form > div input[type="radio"]:nth-child(2):after { content: "1"; }
section.login form > div input[type="radio"]:nth-child(3):after { content: "2"; }
section.login form > div input[type="radio"]:nth-child(4):after { content: "3"; }
section.login form > div input[type="radio"]:hover {
	background: #00669e20;
}
section.login form > div input[type="radio"]:checked {
	background: #00669e;
}
section.login #login {
	display: inline-block;
	float: none;
	padding: 4px 72px;
	font-size: 16px;
	background: #00669e;
	color: #ffffff;
	border: solid 2px #00669e;
	border-radius: 4px;
	margin: 5px 0 10px;
	cursor: pointer;
}
section.login #login:hover {
	background: #ffffff;
	color: #00669e;
}
section.login #login:active {
	padding: 5px 71px 3px 73px;
}
section.login p.error {
	color: #ff0000;
}
section.login p.done {
	color: #00669e;
}

/* ================== personal.css ================== */
/* Личный кабинет: общие стили */
.lk {
	font-family: 'Ubuntu Light', sans-serif;
	color: #333;
}

.lk-layout {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

.lk-menu {
	width: 240px;
	flex-shrink: 0;
	background: #f8f9fa;
	border-radius: 8px;
	padding: 20px;
	border: 1px solid #eef0f3;
}

.lk-greeting {
	font-family: 'Ubuntu Regular';
	font-size: 16px;
	margin-bottom: 20px;
	color: #2e2f38;
	border-bottom: 1px solid #eef0f3;
	padding-bottom: 15px;
}

.lk-menu-item {
	display: block;
	padding: 10px 0;
	font-size: 14px;
	color: #6b7280;
	text-decoration: none;
	transition: color 0.2s;
	cursor: pointer;
}

.lk-menu-item:hover, .lk-menu-item.current {
	color: #b0cb1f;
	font-weight: 600;
}

.lk-logout {
	margin-top: 20px;
	color: #ef4444 !important;
}

/* Корзина ЛК */
.basket-address {
	clear: left;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px 0 12px;
	border-bottom: 1px solid var(--adm-border, #eee);
	margin-bottom: 15px;
}
.basket-address-row {
	display: flex;
	align-items: center;
	gap: 15px;
}
.basket-address-label { display: flex; align-items: center; gap: 12px; flex-grow: 1; font-family: 'Ubuntu Light'; font-size: 13px; color: #2e2f38; }
.basket-address-label > span { flex-grow: 0; white-space: nowrap; color: #8a94a0; font-size: 12px; min-width: 100px; text-align: right; }
.basket-address-label input {
	flex-grow: 1;
	box-sizing: border-box;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 14px;
	color: #333333;
	padding: 8px 12px;
	border: solid 1px var(--adm-border, #ccd4dd);
	border-radius: 4px;
	outline: none;
}
.basket-address-paste {
	align-self: flex-end;
	font-family: 'Ubuntu Light';
	font-weight: 400;
	font-size: 12px;
	color: #b0cb1f;
	text-decoration: underline dotted #b0cb1f66;
	text-underline-offset: 3px;
	cursor: pointer;
	white-space: nowrap;
	transition: color 0.15s linear;
}
.basket-address-paste:hover { color: #a3bc1c; }

/* Раздел «Заказы» ЛК */
.lk-orders-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: -6px 0 14px; }
.lk-orders-limit { display: flex; align-items: center; gap: 8px; font-family: 'Ubuntu Light'; font-size: 13px; color: #707070; }
.lk-orders-limit select { font-family: 'Ubuntu Light'; font-size: 13px; color: #2e2f38; padding: 5px 6px; border: 1px solid #d4d9e0; border-radius: 4px; background: #ffffff; cursor: pointer; outline: none; }
.lk-orders-completed { display: inline-flex; align-items: center; gap: 8px; font-family: 'Ubuntu Light'; font-size: 13px; color: #2e2f38; text-decoration: none; border: 1px solid #d4d9e0; border-radius: 18px; padding: 6px 14px; transition: border 0.15s linear, background 0.15s linear; cursor: pointer; }
.lk-orders-completed:hover { border-color: #b0cb1f; background: #fcfcfc; }
.lk-orders-switch { display: inline-block; width: 26px; height: 14px; border-radius: 8px; background: #d4d9e0; position: relative; transition: background 0.15s linear; pointer-events: none; }
.lk-orders-switch:before { content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; border-radius: 50%; background: #ffffff; transition: left 0.15s linear; }
.lk-orders-completed.active { background: #f5faea; border-color: #b0cb1f; color: #3d7a3a; font-family: 'Ubuntu Regular'; }
.lk-orders-completed.active .lk-orders-switch { background: #b0cb1f; }
.lk-orders-completed.active .lk-orders-switch:before { left: 14px; }
.lk-orders-paginator { clear: both; width: 100%; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 18px 0 6px; }
.lk-orders-page { min-width: 30px; height: 30px; line-height: 28px; text-align: center; border: 1px solid #d4d9e0; border-radius: 15px; text-decoration: none; padding: 0 10px; transition: border 0.15s linear, background 0.15s linear; cursor: pointer; font-family: 'Ubuntu Light'; font-size: 13px; color: #2e2f38; }
.lk-orders-page:hover { border-color: #b0cb1f; background: #fcfcfc; }
.lk-orders-page.current { background: #b0cb1f; border-color: #b0cb1f; color: #ffffff; font-family: 'Ubuntu Regular'; }
.lk-orders-gap { padding: 0 4px; color: #b0b8c0; font-family: 'Ubuntu Light'; font-size: 13px; }
.lk-orders-info { font-family: 'Ubuntu Light'; font-size: 12px; color: #8a94a0; margin-left: 12px; }

/* Модальное окно состава заказа */
.lk-order-items-btn { display: inline-flex; align-items: center; gap: 6px; font-family: 'Ubuntu Regular'; font-size: 12px; color: #3d9b62; background: #eef7ea; border: 1px solid #b0cb1f; border-radius: 14px; padding: 5px 14px; cursor: pointer; white-space: nowrap; transition: background 0.15s linear; }
.lk-order-items-btn:hover { background: #ddefc6; }
.lk-order-items-btn .fa { font-family: 'FontAwesome'; font-size: 13px; }
.cat-modal.cat-modal-orders { width: 1200px; top: 120px; padding: 20px 24px 20px; }
.lk-order-items-table { width: 100%; border-collapse: collapse; font-family: 'Ubuntu Light'; font-size: 12px; line-height: 18px; color: #333333; }
.lk-order-items-table th { background: #f2f4f8; border: 1px solid #e3e8ee; padding: 7px 8px; font-family: 'Ubuntu Regular'; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.3px; color: #555555; }
.lk-order-items-table td { border: 1px solid #e3e8ee; padding: 6px 8px; vertical-align: top; }
.lk-order-items-table tbody tr.odd { background: #f7f9f2; }
.lk-order-items-table tbody tr:hover { background: #f4f7fd; }
.lk-order-items-table .num { width: 34px; text-align: center; }
.lk-order-items-table .code { width: 90px; }
.lk-order-items-table .price { width: 90px; text-align: right; white-space: nowrap; }
.lk-order-items-table .qty { width: 80px; text-align: right; white-space: nowrap; }
.lk-order-items-table .sum { width: 100px; text-align: right; white-space: nowrap; }
.lk-order-items-table .ship { width: 110px; text-align: center; }
.lk-order-items-table .comment { width: 220px; }
.lk-order-items-table td a { color: #1a3d7c; text-decoration: none; }
.lk-order-items-table td a:hover { text-decoration: underline; }
.lk-order-items-table td.grey, .lk-order-items-table .grey { color: #8a94a0; }
.lk-order-items-table .ta-c { text-align: center; }
.lk-order-items-table .ta-r { text-align: right; }
.lk-order-items-table .fw600 { font-family: 'Ubuntu Regular'; font-weight: 600; }
.lk-order-items-note { font-family: 'Ubuntu Light'; font-size: 11px; color: #8a94a0; margin-top: 8px; }
/* Модалка состава заказа: колонка скидки */
.lk-order-items-table .discount { width: 70px; }

/* ================== main-bgk.css ================== */
/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #096692; /* #096692 01a3d4*/
    --primary-dark: #0b5070;
    --secondary: #d97e2b; /* #f9a825 */
    --secondary-dark: #d18a00;
    --tertiary: #e31e25; /*096692*/
    --tertiary-dark: #b2171b;
	--quaternary: #00a65a;
	--quaternary-dark: #008548;
    --light: #f5f7fa;
    --dark: #4e403f;	/* #333; */
    --gray: #83706e;	/* #777; */
    --light-gray: #eaeaea;
    --white: #fff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  
	/* Состояния (Status) */
	--success: #2e7d32;      /* Зеленый */
	--info: #0288d1;         /* Голубой */
	--warning: #ed6c02;      /* Оранжевый */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu Light';
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    /* Компенсация фиксированной шапки (высота ~100px) - без неё
       контент первых блоков налазит под шапку */
    padding-top: 100px;
}

h1, h2, h3, h4 {
    font-family: 'Ubuntu Light';
    font-weight: 700;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container a {
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.container a:hover {
    color: var(--primary);
}

.container a.border::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.container a.border:hover::after {
    width: 100%;
}


/* ===== Хлебные крошки — единые для всех страниц БГК =====
   Как на страницах каталога/: шеврон-разделитель (FontAwesome,
   U+F054), ссылки — primary, последний элемент — серый.
   Разметка: nav#breadcrumbs > .wrap > ul.breadcrumbs > li. */
#breadcrumbs {
    background: transparent;
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
	margin: 10px 0;
}
#breadcrumbs ul.breadcrumbs {
    list-style: none;
    margin: 0;
    padding: 0;
}
#breadcrumbs ul.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}
#breadcrumbs ul.breadcrumbs li:after {
    content: "\f054";
    font-family: 'Font Awesome 6 Free', 'FontAwesome';
    font-weight: 900;
    color: #bbb;
    margin: 0 8px;
    font-size: 0.85em;
}
#breadcrumbs ul.breadcrumbs li:last-child:after {
    content: none;
}
#breadcrumbs ul.breadcrumbs li:last-child {
    color: var(--gray);
    font-weight: 600;
}
#breadcrumbs a { color: var(--primary) !important; font-weight: 500; }
#breadcrumbs a:hover { text-decoration: underline; }


.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary);
    position: relative;
}
.section-title.left {
	text-align: left;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--secondary);
}
.section-title.genom {
	padding-top: 30px;
}
.section-title.genom:before {
	content: '';
	position: absolute;
	left: auto;
	right: 0;
	top: auto;
	bottom: 0;
	width: 300px;
	height: 92px;
	background: url('/media/main/genom_brand.png');
	background-size: cover;
	background-position: center center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Ubuntu Light';
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(10, 77, 162, 0.1);
    transform: translateY(-3px);
}

/* Хедер */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    width: 100%;
}
/* BGK: меню в шапке не должно тянуться на всю ширину
   (движковое правило nav{width:100%} не давало .header-search занять остаток) */
.header-content .nav {
	width: auto;
	float: none;
	flex: 0 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-right: 10px;
}

.logo-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    max-width: 150px;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-list a:hover {
    color: var(--primary);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

/* ===== Тема витрины на уровне body: cookie catScheme (ставит тулбар
     категории); шапка (поиск, избранное, сравнение, корзина) красится
     из этих же переменных [01.11.2026] ===== */
/* Палитра тем — брендовые переменные сайта, как в каталоге [01.11.2026]:
   синий = --primary (#096692), зелёный = --quaternary (#00a65a), оранжевый = --secondary (#d97e2b) */
body { --cat-accent: var(--primary, #096692); --cat-accent-hover: rgba(9, 102, 146, 0.88); --cat-accent-active: var(--primary-dark, #07536f); --cat-accent-soft: rgba(9, 102, 146, 0.65); }
body.scheme-blue { --cat-accent: var(--primary, #096692); --cat-accent-hover: rgba(9, 102, 146, 0.88); --cat-accent-active: var(--primary-dark, #07536f); --cat-accent-soft: rgba(9, 102, 146, 0.65); }
body.scheme-green { --cat-accent: var(--quaternary, #00a65a); --cat-accent-hover: rgba(0, 166, 90, 0.88); --cat-accent-active: #008a4b; --cat-accent-soft: rgba(0, 166, 90, 0.65); }
body.scheme-orange { --cat-accent: var(--secondary, #d97e2b); --cat-accent-hover: rgba(217, 126, 43, 0.88); --cat-accent-active: var(--secondary-dark, #d18a00); --cat-accent-soft: rgba(217, 126, 43, 0.65); }

/* ===== Поиск в шапке (после логотипа) ===== */
.header-search {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1 1 auto; /* автоширина: во всю оставшуюся ширину .header-content */
    min-width: 180px;
    margin: 0 24px;
}

.header-search input {
    width: 100%;
    padding: 9px 44px 9px 16px;
    border: 1px solid var(--light-gray, #eaeaea);
    border-radius: 20px;
    background: var(--light, #f5f7fa);
    font-family: 'Ubuntu Light';
    font-size: 0.9rem;
    color: var(--dark, #29404e);
    outline: none;
    transition: var(--transition);
}

.header-search input:focus {
    border-color: var(--primary);
    background: var(--white);
}

.header-search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: var(--cat-accent, var(--primary, #096692)) !important; /* тема категории [01.11.2026] */
    color: var(--white);
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
}

.header-search button:hover {
    background: var(--cat-accent-active, var(--primary-dark, #07536f)) !important;
}

/* ===== Корзина в меню (иконка, единый стиль с избранным/сравнением) ===== */
/* Круг, бейдж-кружок в углу и скрытие нуля наследуются от a.nav-action и .pk-badge */
.nav-list a.nav-basket i {
    color: var(--cat-accent, var(--primary, #096692)) !important; /* тема категории [01.11.2026] */
}

.nav-list a.nav-basket.active {
    color: var(--cat-accent, var(--primary, #096692)) !important;
}

.nav-list a.nav-basket.active i {
    color: var(--cat-accent-active, var(--primary-dark, #07536f)) !important;
}

/* ===== Избранное и сравнение в меню (иконки слева от корзины) ===== */
/* Разметка - bgk-header.php; функционал - personal-kit.js:
   счётчики .but-favorite/.but-compare, модалки по клику .favorite/.compare */
.nav-list a.nav-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    vertical-align: middle;
    border-radius: 50%;
    transition: background 0.2s ease;
}
.nav-list a.nav-action:hover {
    background: rgba(9, 102, 146, 0.08);
}
.nav-list a.nav-action i {
    font-size: 1.05rem;
    color: var(--cat-accent, var(--primary, #096692)) !important; /* тема категории [01.11.2026] */
}
.nav-list a.nav-action:hover i { color: var(--cat-accent-active, var(--primary-dark, #07536f)) !important; }
/* Иконка личного кабинета остаётся в базовом цвете темы [01.11.2026] */
.nav-list a.nav-personal i { color: var(--primary); }
/* Количество - кружок в правом верхнем углу иконки */
.nav-action .pk-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 10px;
    background: var(--cat-accent, var(--primary, #096692)) !important; /* тема категории [01.11.2026] */
    border: 2px solid var(--white, #ffffff);
    color: var(--white);
    font-size: 0.64rem;
    font-weight: 600;
    line-height: 1;
}
/* Счётчик 0 - бейдж скрывается (класс ставит personal-kit.js) */
.nav-action .pk-badge.pk-badge-empty { display: none; }

/* ===== Модалки избранного/сравнения (personal-kit.js) =====
   Порт стилей из katalog.css для страниц, где katalog.css не загружен
   (статьи, контакты и пр.); на каталоге дублируются безвредно. */
.cat-modal-overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #00000080;
    z-index: 200;
}
.cat-modal {
    position: absolute;
    left: 50%;
    top: 160px;
    transform: translateX(-50%);
    width: 520px;
    max-width: calc(100vw - 32px);
    background: var(--white, #ffffff);
    border-radius: 12px;
    box-shadow: 0 12px 48px #00000060;
    padding: 20px 24px 24px;
}
.cat-modal-title {
    margin: 0 0 12px;
    font-family: 'Ubuntu Light';
    font-size: 18px;
    color: var(--dark, #2e2f38);
}
.cat-modal-close {
    position: absolute;
    right: 12px;
    top: 8px;
    cursor: pointer;
    color: var(--gray, #8a94a0);
    font-size: 16px;
    transition: color 0.15s linear;
}
.cat-modal-close:hover { color: var(--primary); }
.cat-modal-close .fa { font-family: 'FontAwesome'; font-weight: 400; }
.cat-modal-close .fa-times:before { content: "\f00d"; }
.cat-modal-list { max-height: 60vh; overflow-y: auto; padding: 4px 0; }
.cat-modal-compare { width: auto; min-width: 640px; max-width: calc(100vw - 40px); }
.cat-modal-favorites { width: 640px; max-width: calc(100vw - 32px); }
.cat-modal-analogs { width: 640px; max-width: calc(100vw - 32px); }

/* Строки избранного в модалке */
.fav-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: solid 1px rgba(229, 232, 235, 0.7);
    font-family: 'Ubuntu Light';
    font-size: 13px;
}
.fav-row:last-child { border-bottom: none; }
.fav-row img { width: 56px; height: 56px; object-fit: contain; }
.fav-row a { text-decoration: none; color: var(--dark, #2e2f38); }
.fav-row a:hover .fav-title { color: var(--primary); }
.fav-title { flex-grow: 1; line-height: 18px; }
.fav-price { font-weight: 700; white-space: nowrap; color: var(--dark, #2e2f38); }
.fav-remove {
    flex-grow: 0;
    cursor: pointer;
    color: #c9403c;
    font-size: 15px;
    padding: 4px 6px;
    transition: color 0.15s linear;
}
.fav-remove:hover { color: #8d2320; }
.fav-remove .fa { font-family: 'FontAwesome'; font-weight: 400; }

/* Панель «Показать только отличия» */
.cmp-diff-bar { padding: 2px 0 12px; }
.cmp-diff-toggle {
    display: inline-block;
    font-family: 'Ubuntu Light';
    font-size: 13px;
    color: var(--primary);
    background: var(--white, #ffffff);
    border: solid 1px var(--primary);
    border-radius: 23px;
    padding: 6px 16px;
    cursor: pointer;
    transition: all 0.18s linear;
}
.cmp-diff-toggle:hover { background: rgba(9, 102, 146, 0.12); color: var(--primary); }
.cmp-diff-toggle.active { background: var(--primary); color: var(--white, #ffffff); }

/* Таблица сравнения: строки - характеристики, колонки - товары */
.cmp-table { width: 100%; }
.cmp-flex-row {
    display: flex;
    align-items: stretch;
    border-bottom: solid 1px rgba(229, 232, 235, 0.7);
}
.cmp-flex-row:last-child { border-bottom: none; }
.cmp-rowhead {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 150px;
    display: flex;
    align-items: center;
    padding: 8px 6px;
    font-family: 'Ubuntu Light';
    font-size: 12px;
    color: var(--gray, #8a94a0);
}
.cmp-cell {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Ubuntu Light';
    font-size: 13px;
    color: var(--dark, #2e2f38);
    padding: 8px 10px;
    line-height: 17px;
    white-space: pre-line;
}
/* Строка изображений: кнопка удаления в углу ячейки */
.cmp-img-row { border-bottom: solid 1px rgba(229, 232, 235, 0.7); }
.cmp-img-cell {
    position: relative;
    flex-grow: 0;
    max-width: 262px;
}
.cmp-img-cell img { width: 250px; height: 250px; object-fit: contain; display: block; }
.cmp-img-cell .cmp-remove {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    background: var(--white, #ffffff);
    box-shadow: 0 1px 4px #00000030;
    font-size: 14px;
}
.cmp-img-cell .cmp-remove:hover { background: #c9403c; color: var(--white, #ffffff); }
/* Наименование товара в сравнении */
.cmp-title {
    font-family: 'Ubuntu Light';
    font-size: 13px;
    color: var(--dark, #2e2f38);
    text-decoration: none;
    text-align: center;
    transition: color 0.15s linear;
}
.cmp-title:hover { color: var(--primary); }
.cmp-remove {
    cursor: pointer;
    color: var(--gray, #8a94a0);
    font-size: 14px;
    flex-grow: 0;
    transition: color 0.15s linear;
}
.cmp-remove:hover { color: #c9403c; }
.cmp-remove .fa { font-family: 'FontAwesome'; font-weight: 400; }
.cmp-remove .fa-times:before { content: "\f00d"; }
.cmp-placeholder {
    font-family: 'Ubuntu Light';
    font-size: 12px;
    color: var(--gray, #8a94a0);
    padding: 16px 0;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Герой секция */
.hero {
    background: url('/media/main/hero.jpg');
    padding: 150px 0 100px;
    margin-top: 0px;
    background-size: cover;
    background-position: center center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;    
	gap: 50px;
}

.hero-text {
    flex: 1;
    max-width: 700px;
	background: #ffffffcf;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary);
}

.hero-title span {
    color: var(--tertiary);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.generator-icon {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.1);
}

/* О компании */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-item:hover {
    transform: translateY(-10px);
}

.about-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-item h3 {
    font-size: 1.1rem;
    color: var(--dark);
}

/* Виды деятельности */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.activity-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary);
    transition: var(--transition);
}

.activity-item:hover {
    transform: translateY(-5px);
    border-left-color: var(--secondary);
}

.activity-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.activity-item p {
    color: var(--gray);
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.advantage-item p {
    color: var(--gray);
}

/* Продукция */
.products-description {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
}

.highlighted {
    background-color: rgba(10, 77, 162, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    border-left: 5px solid var(--secondary);
}

.brands-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
    font-size: 1.5rem;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.brand-category {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.brand-category h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.brand-category p {
    color: var(--gray);
    line-height: 1.6;
}

/* Типы АГУ */
.power-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.power-type {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.power-type h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.power-type p {
    color: var(--gray);
    margin-bottom: 10px;
}

.power-type .details {
    font-style: italic;
    color: var(--secondary-dark);
}

.application-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.application-type {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.application-type:hover {
    transform: translateY(-10px);
}

.app-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.application-type h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.application-type p {
    color: var(--gray);
}

.construction-types h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
    font-size: 1.8rem;
}

.construction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.construction-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.construction-item:hover {
    transform: translateY(-10px);
}

.construction-icon {
    width: 100px;
    height: 100px;
    background: url('/media/main/dgu_types.jpg') no-repeat;
    margin: 0 auto 15px auto;
    background-size: 400px 100px; /* Масштабируем спрайт до 600x150px (4x150px) */
}
.construction-icon.chassis {
    background-position: 0 0; /* Первая иконка */
}
.construction-icon.covered {
    background-position: -100px 0; /* Вторая иконка */
}
.construction-icon.frame {
    background-position: -200px 0; /* Третья иконка */
}
.construction-icon.container {
    background-position: -300px 0; /* Четвертая иконка */
}

.construction-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.construction-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Генераторы ГенОМ */
.genom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.genom-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.genom-item:hover {
    transform: translateY(-10px);
}

.genom-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.genom-item p {
    color: var(--gray);
    margin-bottom: 20px;
}

.genom-item ul {
    list-style: none;
    text-align: left;
    padding-left: 20px;
}

.genom-item li {
    margin-bottom: 8px;
    color: var(--dark);
    position: relative;
}

.genom-item li::before {
    content: '•';
    color: var(--secondary);
    font-size: 1.5rem;
    position: absolute;
    left: -15px;
    top: -5px;
}
.genom-item svg {
    position: absolute;
    left: auto;
    top: auto;
    right: 20px;
    bottom: 10px;
}

.genom-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 150px;
}

.feature i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature p {
    color: var(--dark);
    font-weight: 500;
}

.feature span {
    color: var(--gray);
    margin-top: 5px;
}

/* Популярные модели */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.model-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
	height: 325px;
}
.model-card:after {
	content: '';
	background: none;
	position: absolute;
	left: auto;
	right: 30px;
	top: auto;
	bottom: 30px;
	width: 200px;
	height: 200px;
}
.model-card.covered:after {
	background: url('/media/main/dgu_genom.png');
	background-position: center;
    background-size: cover;
}
.model-card.portable:after {
	background: url('/media/main/dgu_genom_portable.png');
	background-position: center;
    background-size: cover;
}

.model-card:hover {
    transform: translateY(-10px);
}

.model-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.model-details {
	position: absolute;
    z-index: 1;
	background: #ffffffcf;
}
.model-details p {
    margin-bottom: 10px;
    color: var(--dark);
	padding-right: 10px;
}

.model-details strong {
    color: var(--primary);
    /* min-width: 150px; */
    display: inline-block;
}

/* Контакты */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

.contact-item h3 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--gray);
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: 'Ubuntu Light';
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.map h3 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.map-placeholder {
    height: 300px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
    background: linear-gradient(to right, #f0f4f8, #e1e8f0);
}

.map-point {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-point i {
    font-size: 2.5rem;
    color: var(--primary);
}

.map-point span {
    background-color: var(--primary);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 5px;
    font-weight: 500;
    white-space: nowrap;
}

.ufa {
    top: 30%;
    left: 60%;
}

.nizhny {
    top: 50%;
    left: 30%;
}


/* Футер */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.footer-logo p {
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-social p {
    margin-bottom: 15px;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}



/* Кнопка "Наверх" */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-dark);
}



/* Подсказка */
.tooltip {
    position: relative;
    cursor: help;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.tooltip:hover {
    background-color: rgba(9, 102, 146, 0.1);
    border-radius: 4px;
    padding: 0 2px;
}

.tooltip[data-tooltip] {
    position: relative;
}

.tooltip[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    padding: 10px 14px;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: tooltipAppear 0.15s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Стрелочка с градиентом */
.tooltip[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    margin-bottom: 4px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--primary);
    z-index: 1001;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

/* Анимация с пружинным эффектом */
@keyframes tooltipAppear {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
    70% {
        transform: translateX(-50%) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

/* Для очень длинных подсказок */
.tooltip.long-tooltip[data-tooltip]:hover::after {
    white-space: normal;
    max-width: 300px;
    min-width: 200px;
    text-align: center;
    word-wrap: break-word;
}



/* Адаптивность */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        margin-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .generator-icon {
        font-size: 10rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .header-search {
        display: none;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list li {
        margin: 10px 0;
        margin-left: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
	h2.section-title.genom {
		height: 200px;
	}
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .genom-features {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}

/* ================== katalog-bgk.css ================== */
/* ============================================================
   Каталог БГК — localhost.
   Части файла:
   1) Корневая страница /katalog (плитки подкатегорий, CTA)
      по шаблону !templete/new/katalog.html;
   2) Тема страницы категории /katalog/<alias> поверх движковой
      механики (AJAX, фильтры, тулбар, карточки) — БГК-дизайн
      по этому же шаблону. Классы движка не переименовываются —
      только оформление (JS-контракты сохранены).
   Шапка/футер/переменные/контейнер — css/main-bgk.css.
   ============================================================ */

/* ============================================================
   1. КОРНЕВАЯ СТРАНИЦА (/katalog)
   ============================================================ */

/* ===== Страница ===== */
.catalog-page { padding: 30px 0 80px; }

/* ===== Группы категорий ===== */
.catalog-group { margin-bottom: 45px; }
.catalog-group__title {
  font-size: 1.45rem;
  margin-bottom: 18px;
}
.catalog-group__title a {
  color: var(--primary);
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
  transition: var(--transition);
}
.catalog-group__title a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}
.catalog-group__title a:hover { color: var(--secondary-dark); }
.catalog-group__title a:hover::after { width: 90px; }

/* ===== Плитки подкатегорий ===== */
.subcategory-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
}
.subcategory-tile {
  display: block;
  text-align: center;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
  color: var(--dark);
  overflow: hidden;
  position: relative;
  height: 170px;
}
.subcategory-tile:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 10px 25px rgba(9, 102, 146, 0.15);
}
.subcategory-tile__img {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #eef2f5;
  display: block;
  overflow: hidden;
}
.subcategory-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transition: var(--transition);
}
.subcategory-tile:hover .subcategory-tile__img img { transform: scale(1.05); }
.subcategory-tile__title {
    position: absolute !important;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    font-family: 'Ubuntu Light';
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.35;
    color: var(--dark);
    padding: 0 12px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9), 0 0 6px rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    background: #ffffffaa;
    width: 100%;
    display: block;
    padding: 4px 10px;
    height: auto;
}
.subcategory-tile:hover .subcategory-tile__title { color: var(--primary); }
.subcategory-tile__series {
  position: absolute;
  right: 0; bottom: 6px; left: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
}
.subcategory-tile__series a {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray);
  background: var(--light);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 2px 10px;
  transition: var(--transition);
}
.subcategory-tile__series a:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ===== CTA ===== */
.catalog-cta {
  margin-top: 55px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
}
.catalog-cta > i {
  font-size: 2rem;
  color: var(--secondary);
  flex-shrink: 0;
}
.catalog-cta__text { flex: 1; min-width: 260px; }
.catalog-cta__text h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.catalog-cta__text p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.55;
}
.catalog-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Ubuntu Light';
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.catalog-cta__link:hover { background: var(--secondary-dark); }

/* ============================================================
   2. ТЕМА СТРАНИЦЫ КАТЕГОРИИ (/katalog/<alias>) — БГК-дизайн
      поверх движковой разметки. Классы движка сохранены!!!
   ============================================================ */

/* ===== Базовая типографика страницы (движок ставит Ubuntu/600) ===== */
main .category-container,
main .category-container * {
  font-family: 'Ubuntu Light';
  font-weight: 400;
}
main .category-container h1,
main .category-container h2,
main .category-container h3,
main .category-container .item-title-link {
  font-family: 'Ubuntu Light';
}

/* ===== Хлебные крошки: общие, см. css/main-bgk.css ===== */

/* ===== Контейнер страницы: центрирование + фикс схлопывания (.wrap, .

/* ===== Контейнер страницы: центрирование + фикс схлопывания (.wrap, .
   движковые section-флоаты) ===== */
main .wrap,
nav#breadcrumbs .wrap {
  max-width: 1520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ===== Раскладка: фильтры слева, выдача справа ===== */
.category-container {
  display: flex !important;
  float: none !important;
  align-items: flex-start;
  gap: 26px;
  padding: 0px 0 60px;
}
.category-container > * { min-width: 0; }

/* ===== Колонка фильтров — карта БГК ===== */
.category-filters.cat-filters-aside {
  width: 280px !important;
  flex: 0 0 280px;
  background: var(--white) !important;
  border-radius: 14px !important;
  box-shadow: var(--shadow) !important;
  padding: 20px 18px 16px !important;
  position: sticky !important;
  top: 116px !important;
  max-height: calc(100vh - 140px) !important;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  /* Перенос запрещён: flex-wrap: wrap из оверлея статей (.category-filters ниже
     по файлу) при column-направлении переносит .filters-actions в новую колонку
     справа - «Сбросить» оказывается сбоку, появляется гор. прокрутка */
  flex-wrap: nowrap;
  gap: 12px;
}
.category-filters .filters-scroll { flex: 1; min-height: 0; }
.category-filters > .filters-scroll > ul { list-style: none; }
/* Группа характеристики */
.category-filters li.param {
  padding: 10px 0 !important;
  border-bottom: 1px dashed var(--border, #e5e8eb) !important;
  /* BFC: без этого при сворачивании (param-values -> none) li схлопывается
     по высоте и заголовок-фолт уезжает за пределы блока */
  overflow: hidden;
}
/* Заголовок группы: движковый float:left выключаем - блоковый заголовок
     в flex-строке со стрелкой справа */
.category-filters li.param > span.param-title {
  display: block;
  float: none !important;
  width: auto !important;
  position: relative;
  font-family: 'Ubuntu Light';
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  color: var(--dark);
  cursor: pointer;
  margin: 0;
  padding: 0 30px 0 10px;
  transition: color 0.2s ease;
}
.category-filters li.param > span.param-title:before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--secondary);
  margin-right: 8px;
  vertical-align: 1px;
}
.category-filters li.param > span.param-title:hover { color: var(--primary); }
/* Шеврон сворачивания: из абсолюта движка - в конец flex не вставить через static,
   поэтому пятый ориентир: абсолют по правому краю, вертикально по центру строки */
.category-filters li.param > span.param-title:after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  position: absolute;
  top: 50%;
  right: 8px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  line-height: 14px;
  text-align: center;
  color: var(--gray);
  transition: transform 0.25s ease;
}
.category-filters li.param.collapsed > span.param-title:after { transform: rotate(180deg); }
.category-filters li.param .param-unit { color: var(--gray) !important; font-weight: 400; font-size: 0.78rem; }
/* Значения: сохраняем геометрию чекбокса движка (абсолютный квадратик слева,
   padding-left 30px) — иначе квадратик наезжает на первую букву значения.
   Перекрашиваем только оформление. */
.category-filters ul.param-values {
  list-style: none !important;
  max-height: 200px;
  overflow-y: auto;
  padding: 2px 0 !important;
}
.category-filters ul.param-values li {
  position: relative;
  padding: 5px 10px 5px 32px !important;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--dark);
  transition: all 0.25s ease;
  border: 0 !important;
  background: transparent !important;
}
.category-filters ul.param-values li:hover { background: var(--light) !important; color: var(--primary) !important; }
/* квадратик чекбокса: размеры/позиция движка, цвета БГК */
.category-filters ul.param-values li:before {
  left: 8px;
  top: 6px;
  width: 18px;
  height: 18px;
  line-height: 16px;
  text-align: center;
  border: solid 1px #c9d4dc !important;
  border-radius: 5px;
  background: var(--white) !important;
}
.category-filters ul.param-values li.checked {
  background: rgba(9, 102, 146, 0.09) !important;
  color: var(--primary) !important;
  font-weight: 600;
}
.category-filters ul.param-values li.checked:before {
  border-color: var(--primary) !important;
}
/* галочка отмеченного значения: один штрих, фирменный оранжевый
   (движковый lime чек-маркер перерисовываем в палитру БГК).
   Геометрия задана явно и совпадает с квадратом :before (18x18 @ 4,6),
   иначе знак центрируется в движковой коробке 20x20 @ 0,5 и съезжает. */
.category-filters ul.param-values li.checked:after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free', 'FontAwesome';
  font-weight: 900;
  font-size: 0.66rem;
  position: absolute;
  left: 8px;
  top: 6px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  color: var(--secondary);
}
/* «Показать все фильтры» / «Сбросить» */
/* Цветовая схема (cookie catScheme -> data-scheme контейнера): палитра та же,
   что у переключателя тем (BGK-перекраска в katalog-bgk.css):
   green=#00a65a (quaternary), blue=primary, orange=secondary */
.category-container[data-scheme="blue"] { --cat-accent: var(--primary, #096692); }
.category-container[data-scheme="green"] { --cat-accent: var(--quaternary, #00a65a); }
.category-container[data-scheme="orange"] { --cat-accent: var(--secondary, #d97e2b); }
/* «Показать все фильтры» - текстовая ссылка в цвете текущей схемы */
.category-filters .cat-filters-more-toggle {
  display: inline-block;
  background: none !important;
  border: none !important;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cat-accent, var(--secondary)) !important;
  cursor: pointer;
  padding: 2px 0 !important;
  margin: 6px 8px 10px 0 !important;
  transition: color 0.2s ease;
}
.category-filters .cat-filters-more-toggle:hover { color: var(--cat-accent-active, var(--secondary-dark)) !important; border-bottom-color: var(--cat-accent-active, var(--secondary-dark)) !important; }
/* «Сбросить» - контурная пилюля в цвете схемы: фон прозрачный, при наведении
   заливается accent, иконка возврата делает пол-оборота.
   Кнопка живёт только внизу колонки фильтров (.filters-actions) */
.category-filters .but-cat-filter.reset {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  float: none !important;
  background: none !important;
  color: var(--cat-accent, var(--secondary)) !important;
  border: 1.5px solid var(--cat-accent, var(--secondary)) !important;
  border-radius: 9px !important;
  padding: 7px 15px !important;
  font-family: 'Ubuntu Light' !important;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  margin: 0 !important;
  transition: all 0.2s ease;
}
.category-filters .but-cat-filter.reset:before {
  content: '\f0e2'; /* rotate-left */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.78rem;
  line-height: 1;
  transition: transform 0.3s ease;
}
.category-filters .but-cat-filter.reset:hover {
  background: var(--cat-accent, var(--secondary)) !important;
  color: var(--white) !important;
}
.category-filters .but-cat-filter.reset:hover:before { transform: rotate(-180deg); }
.category-filters .but-cat-filter.reset:active {
  background: color-mix(in srgb, var(--cat-accent, var(--secondary)) 82%, black) !important;
  border-color: color-mix(in srgb, var(--cat-accent, var(--secondary)) 82%, black) !important;
}
.category-filters .filters-actions { padding-top: 12px; border-top: 1px dashed var(--border, #e5e8eb); }

/* ===== Плавающая группа «Применить (N)» ===== */
.cat-apply-float-right {
  background: var(--white) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18) !important;
  padding: 14px 16px !important;
}
.cat-apply-float-right .cat-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--secondary) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  font-family: 'Ubuntu Light';
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cat-apply-float-right .cat-apply-btn:hover { background: var(--secondary-dark) !important; }
.cat-apply-float-right .cat-apply-count {
  background: rgba(255,255,255,0.25) !important;
  border-radius: 10px;
  padding: 0 8px;
}

/* ===== Контентная колонка ===== */
.category-container .category-view { flex: 1 1 auto; width: auto !important; }
.category-container .category-view .view-and-sort { width: 100% !important; background: none !important; padding: 0 !important; }

/* Заголовок категории + счётчик (h1 печатает и движковый AJAX при наличии
   подкатегорий, и обёртка — для листовых категорий) */
.cat-title {
  font-size: 2.1rem !important;
  color: var(--primary) !important;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 22px !important;
  width: auto !important;
}
.category-container .cat-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}
.category-container .total-items-count {
  color: var(--gray) !important;
  font-size: 0.9rem !important;
  margin: 0 0 16px !important;
  width: auto !important;
}

/* ===== Плитки подкатегорий внутри категории — как в корне;
     те же стили для плиток категорий на странице поиска [01.11.2026] ===== */
.category-container .folders.cat-folders,
.search-section .folders.cat-folders {
  background: none !important;
  padding: 0 !important;
  margin-bottom: 22px;
  width: 100% !important;
}
.category-container .folders .folder-items,
.search-section .folders .folder-items {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
  width: 100% !important;
}
.category-container .folders .folder,
.search-section .folders .folder {
  width: auto !important;
  float: none !important;
  background: var(--white) !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow) !important;
  border: 1px solid transparent;
  overflow: hidden;
  text-align: center;
  position: relative;
  height: 160px;
  transition: all 0.3s ease !important;
  margin: 0 !important;
}
.category-container .folders .folder:hover,
.search-section .folders .folder:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 10px 25px rgba(9,102,146,0.15) !important;
}
.category-container .folders .folder a,
.search-section .folders .folder a { display: block; height: 100%; color: var(--dark) !important; }
.category-container .folders .folder .folder-image,
.search-section .folders .folder .folder-image {
  position: absolute !important;
  top: 0; right: 0; bottom: 0; left: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background: #eef2f5;
  overflow: hidden;
  margin: 0 !important;
  text-align: left;
}
.category-container .folders .folder .folder-image img,
.search-section .folders .folder .folder-image img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; padding: 0 !important;
  transition: transform 0.3s ease;
}
.category-container .folders .folder:hover .folder-image img,
.search-section .folders .folder:hover .folder-image img { transform: scale(1.05); }
.category-container .folders .folder .folder-title,
.search-section .folders .folder .folder-title {
  position: absolute;
  right: 0; bottom: 24px; left: 0;
  z-index: 2;
  display: block;
  font-family: 'Ubuntu Light';
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  padding: 0 10px;
  background: #ffffffcc;
  padding: 2px 10px;
}
.category-container .folders .folder:hover .folder-title,
.search-section .folders .folder:hover .folder-title { color: var(--primary) !important; }
.category-container .folders .folder .folder-items-qty,
.search-section .folders .folder .folder-items-qty {
  position: absolute;
  right: 0; bottom: 0; left: 0;
  z-index: 2;
  display: block;
  font-size: 0.75rem;
  color: var(--gray) !important;
  background: #ffffffcc;
  padding: 4px 0
}

/* ===== Быстрые ссылки категории ===== */
.cat-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px !important;
}
/* Быстрые ссылки: пилюли в цвете текущей схемы категории (--cat-accent
   задаётся .category-container[data-scheme=...] выше, переключатель темы
   обновляет data-scheme на лету (js/category-toolbar.js)) */
.cat-quick-links .cat-quick-link {
  background: var(--white) !important;
  border: 1px solid var(--cat-accent, var(--border, #e5e8eb)) !important;
  color: var(--cat-accent, var(--primary)) !important;
  border-radius: 20px !important;
  padding: 6px 15px !important;
  font-size: 0.83rem;
  font-weight: 500;
  transition: all 0.25s ease;
}
.cat-quick-links .cat-quick-link:hover {
  background: var(--cat-accent, var(--primary)) !important;
  color: var(--white) !important;
  border-color: var(--cat-accent, var(--primary)) !important;
}
.cat-quick-links .cat-quick-link:active {
  background: color-mix(in srgb, var(--cat-accent, var(--primary)) 82%, black) !important;
  border-color: color-mix(in srgb, var(--cat-accent, var(--primary)) 82%, black) !important;
}

/* ===== Чипы применённых фильтров ===== */
.filter-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white) !important;
  border: 1px solid rgba(9,102,146,0.35) !important;
  color: var(--primary) !important;
  border-radius: 18px !important;
  padding: 5px 12px !important;
  font-size: 0.82rem;
  font-weight: 500;
  margin: 0 8px 8px 0 !important;
  width: auto !important;
}
.filter-link .delete-link-btn { cursor: pointer; position: relative; }
/* Крестик удаления - в цвете текущей схемы (--cat-accent от data-scheme) */
.filter-link .delete-link-btn:before {
  content: '\f00d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--cat-accent, var(--gray));
  font-size: 0.8rem;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}
.filter-link .delete-link-btn:hover:before {
  background: var(--cat-accent, var(--primary));
  color: var(--white) !important;
}
.filter-link .delete-link-btn:active:before {
  background: color-mix(in srgb, var(--cat-accent, var(--primary)) 82%, black);
  color: var(--white) !important;
}

/* ===== Тулбар — карта БГК (раскладку групп оставляем движковой:
   подпись НАД контролом, выравнивание по нижнему краю) ===== */
.category-container .cat-toolbar {
  background: var(--white) !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow) !important;
  padding: 14px 20px !important;
  margin: 0 0 24px !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 14px 26px;
  width: auto !important;
}
.category-container .cat-toolbar-box > label {
  color: var(--gray) !important;
  text-align: left !important;
}
.category-container .cat-toolbar .cat-sort-select,
.category-container .cat-toolbar .cat-limit-select {
  border: 1px solid var(--border, #e5e8eb) !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  font-family: 'Ubuntu Light' !important;
  font-size: 0.9rem !important;
  color: var(--dark) !important;
  background: var(--white) !important;
  outline: none;
  width: auto !important;
  height: auto !important;
}
.category-container .cat-toolbar .cat-sort-select:focus,
.category-container .cat-toolbar .cat-limit-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(9,102,146,0.1) !important;
}
.category-container .cat-toolbar .cat-dir-btn,
.category-container .cat-toolbar .cat-view-btn {
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  color: var(--gray) !important;
  cursor: pointer;
  width: auto !important;
  height: auto !important;
}
.category-container .cat-toolbar .cat-view-btn.active,
.category-container .cat-toolbar .cat-dir-btn:active {
  background: var(--light) !important;
  color: var(--primary) !important;
}
.category-container .cat-view-switch { background: var(--light); border-radius: 8px; padding: 4px; display: inline-flex; gap: 4px; }
.category-container .cat-view-switch .cat-view-btn { border-radius: 6px !important; }
/* Схема цветов карточек/бейджей (badge остатка, значок цены) → палитра БГК */
.items-wrap.scheme-blue   { --cat-accent: var(--primary); }
.items-wrap.scheme-green  { --cat-accent: var(--quaternary, #00a65a); }
.items-wrap.scheme-orange { --cat-accent: var(--secondary); }
.items-wrap.view-image .cell-stock .stock-num,
.items-wrap.view-table .cell-stock .stock-num { color: #ffffff !important; font-weight: 600 !important; }
.category-container .cat-toolbar .cat-scheme-btn {
  width: 22px !important; height: 22px !important;
  border-radius: 50% !important;
  border: 2px solid transparent !important;
  cursor: pointer;
  transition: all 0.25s ease;
}
.items-wrap.scheme-green .cat-add-to-basket { background: var(--quaternary, #00a65a) !important; }
.items-wrap.scheme-blue  .cat-add-to-basket { background: var(--primary) !important; }
.items-wrap.scheme-orange .cat-add-to-basket { background: var(--secondary) !important; }
.cat-scheme-btn[data-scheme="green"] { background: var(--quaternary, #00a65a) !important; }
.cat-scheme-btn[data-scheme="blue"] { background: var(--primary) !important; }
.cat-scheme-btn[data-scheme="orange"] { background: var(--secondary) !important; }
.cat-scheme-btn.active { border-color: var(--dark) !important; }

/* ===== Сетка карточек (вид «Изображения») ===== */
.items-wrap.view-image {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px !important;
  width: 100% !important;
}
.items-wrap.view-image .item.view-image {
  background: var(--white) !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow) !important;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  float: none !important;
  transition: all 0.3s ease !important;
}
.items-wrap.view-image .item.view-image:hover {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: 0 12px 30px rgba(9,102,146,0.15) !important;
}
.items-wrap.view-image .item .item-image-box {
  display: block;
  width: 100% !important;
  height: 175px;
  background: #eef2f5;
  overflow: hidden;
  text-align: center;
}
.items-wrap.view-image .item .item-image-box img {
  width: 100% !important;
  max-width: none !important;
  height: 175px !important;
  max-height: none !important;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  padding: 8px;
  transition: transform 0.35s ease !important;
}
.items-wrap.view-image .item:hover .item-image-box img { transform: scale(1.05); }
.items-wrap.view-image .item .item-caption {
  padding: 14px 16px 16px !important;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: auto !important;
  float: none !important;
}
.items-wrap.view-image .item .item-title-link {
  display: block;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  line-height: 1.38 !important;
  color: var(--dark) !important;
  margin-bottom: 6px !important;
  transition: color 0.25s ease;
}
.items-wrap.view-image .item:hover .item-title-link { color: var(--primary) !important; }
.items-wrap.view-image .item .item-props {
  font-size: 0.8rem !important;
  color: var(--gray) !important;
  line-height: 1.45;
  margin-bottom: 10px !important;
}
/* Свойства и название - максимум 3 строки БЕЗ раскрытия по наведению:
   движковый hover снимает line-clamp, карточка в grid-ряду растёт и
   расталкивает соседей (прыжок по высоте). Фиксируем clamp и на hover. */
.items-wrap.view-image .item .item-props,
.items-wrap.view-image .item .item-title-link {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-height: calc(3 * 1.45em);
}
.items-wrap.view-image .item.view-image:hover .item-props,
.items-wrap.view-image .item.view-image:hover .item-title-link {
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
}
/* Наличие: две колонки */
.items-wrap.view-image .item .cell-stock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem !important;
  color: var(--gray) !important;
  padding: 8px 0 !important;
  border-top: 1px dashed var(--border, #e5e8eb) !important;
  border-bottom: 1px dashed var(--border, #e5e8eb) !important;
  margin-bottom: 10px !important;
  width: auto !important;
  float: none !important;
}
.items-wrap.view-image .item .cell-stock .stock-head { color: var(--gray) !important; }
.items-wrap.view-image .item .cell-stock .stock-num { color: var(--white) !important; font-weight: 600 !important; }
.items-wrap.view-image .item .cell-stock .stock-note {
  color: var(--quaternary, #00a65a) !important;
  font-size: 0.74rem !important;
}
.items-wrap.view-image .item .cell-stock .stock-note.none { color: var(--gray) !important; }
.items-wrap.view-image .item .cell-stock.stock-empty .stock-num { color: var(--white) !important; }
/* Цена + рейтинг */
.items-wrap.view-image .item .item-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px !important;
  width: auto !important;
}
.items-wrap.view-image .item .item-price .item-price-value {
  font-family: 'Ubuntu Light';
  font-weight: 700 !important;
  font-size: 1.22rem !important;
  color: var(--cat-accent, var(--primary)) !important;
}
/* Значок рубля добавляет движок (Engine glyph), дублировать нельзя */
/* Количество + кнопка корзины */
.items-wrap.view-image .item .cell-cart {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: stretch;
  width: auto !important;
  float: none !important;
}
.items-wrap.view-image .item .qty-picker {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border, #e5e8eb) !important;
  border-radius: 8px !important;
  overflow: hidden;
  background: var(--white) !important;
  flex-shrink: 0;
}
.items-wrap.view-image .item .qty-picker .qty-btn {
  background: var(--light) !important;
  border: none !important;
  color: var(--primary) !important;
  width: 30px !important;
  height: 30px !important;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 !important;
  padding: 0 !important;
}
.items-wrap.view-image .item .qty-picker .qty-btn:hover { background: rgba(9,102,146,0.1) !important; }
.items-wrap.view-image .item .qty-picker .qty-value {
  width: 36px !important;
  height: 30px !important;
  border: none !important;
  text-align: center;
  font-size: 0.9rem;
  color: var(--dark) !important;
  background: var(--white) !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.items-wrap.view-image .item .cat-add-to-basket {
  flex: 1 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: none !important;
  border-radius: 8px !important;
  color: var(--white) !important;
  font-family: 'Ubuntu Light';
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  height: 40px !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
  width: auto !important;
}
.items-wrap.view-image .item .cat-add-to-basket:hover { filter: brightness(0.92); }
/* «В корзине: N шт.» */
.ipa-item.ipa-basket {
  font-size: 0.78rem !important;
  color: var(--quaternary, #00a65a) !important;
  font-weight: 500;
}
/* Действия: избранное / сравнение */
.items-wrap.view-image .item .item-props-actions,
.items-wrap.view-table .item .item-props-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px !important;
  padding-top: 10px !important;
  border-top: 1px dashed var(--border, #e5e8eb) !important;
  width: auto !important;
  float: none !important;
}
.ipa-item {
  font-size: 0.78rem !important;
  color: var(--gray) !important;
  cursor: pointer;
  transition: color 0.25s ease;
  float: none !important;
  width: auto !important;
}
.ipa-item:hover, .ipa-item.active { color: var(--primary) !important; }
.ipa-item.active.compare-added { color: var(--secondary-dark) !important; font-weight: 500; }
/* Верхняя полоса отметки (товар в корзине) */
.item.marked:before { background: var(--secondary) !important; }

/* ===== Табличный вид ===== */
.cat-table-head {
  display: flex;
  background: var(--white) !important;
  border-radius: 12px 12px 0 0 !important;
  box-shadow: var(--shadow);
  padding: 12px 16px !important;
  font-family: 'Ubuntu Light';
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--primary) !important;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 0;
}
.cat-table-head .head-photo, .cat-table-head .head-name,
.cat-table-head .head-fab, .cat-table-head .head-store,
.cat-table-head .head-price, .cat-table-head .head-cart { width: auto !important; }
.cat-table-head .head-photo { width: 80px !important; }
.cat-table-head .head-name { flex: 1 !important; }
.items-wrap.view-table .item.view-table {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white) !important;
  border-radius: 0 0 12px 12px !important;
  box-shadow: var(--shadow);
  padding: 12px 16px !important;
  border-top: 1px dashed var(--border, #e5e8eb) !important;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}
.items-wrap.view-table .item .item-image-box {
  width: 80px; height: 64px;
  background: #eef2f5;
  border-radius: 8px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.items-wrap.view-table .item .item-image-box img {
  max-width: 92% !important; max-height: 92% !important;
  object-fit: contain; padding: 4px;
}
.items-wrap.view-table .item .item-body { flex: 1; min-width: 0; }
.items-wrap.view-table .item .item-title-link { color: var(--dark) !important; font-weight: 600 !important; font-size: 0.92rem !important; }
.items-wrap.view-table .item .item-title-link:hover { color: var(--primary) !important; }
.items-wrap.view-table .item .item-props { font-size: 0.8rem; color: var(--gray) !important; }
.items-wrap.view-table .item .cell-stock,
.items-wrap.view-table .item .item-price-cell { width: 110px !important; text-align: center; flex-shrink: 0; float: none !important; }
.items-wrap.view-table .item .item-price { color: var(--cat-accent, var(--primary)) !important; font-weight: 700 !important; font-family: 'Ubuntu Light'; }
.items-wrap.view-table .item .cell-stock .stock-note { font-size: 0.74rem; color: var(--gray) !important; }
.items-wrap.view-table .item .cell-stock .stock-num { color: var(--dark) !important; }
.items-wrap.view-table .item .cell-cart { width: 190px !important; flex-shrink: 0; float: none !important; }

/* Нет товаров */
.category-hint {
  background: var(--white) !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow);
  padding: 26px !important;
  color: var(--gray) !important;
}

/* ===== «Показать ещё» и пагинация ===== */
.items-wrap .but-cat-filter.show-more {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--white) !important;
  border: 1px dashed var(--primary) !important;
  color: var(--primary) !important;
  border-radius: 10px !important;
  padding: 12px 0 !important;
  font-family: 'Ubuntu Light';
  font-weight: 600;
  cursor: pointer;
  margin-top: 18px !important;
  transition: all 0.25s ease;
}
.items-wrap .but-cat-filter.show-more:hover { background: var(--light) !important; }
.cat-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px !important;
  width: auto !important;
  background: none !important;
}
.cat-pagination ul { display: flex; gap: 8px; list-style: none !important; margin: 0; padding: 0 !important; }
.cat-pagination li { margin: 0 !important; float: none !important; }
.cat-pagination a.cat-page-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 38px !important;
  height: 38px !important;
  padding: 0 12px !important;
  border-radius: 6px !important;
  background: var(--white) !important;
  box-shadow: var(--shadow);
  color: var(--primary) !important;
  font-family: 'Ubuntu Light';
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: all 0.25s ease;
  float: none !important;
}
.cat-pagination a.cat-page-link:hover { background: var(--light) !important; }
.cat-pagination a.cat-page-link.current { background: var(--primary) !important; color: var(--white) !important; }
.cat-pagination .cat-page-dots { color: var(--gray); padding: 0 2px; }
.cat-pagination .cat-pagination-caption {
  font-size: 0.8rem !important;
  color: var(--gray) !important;
  margin-left: 10px !important;
}

/* ===== Адаптивность ===== */
@media (max-width: 1024px) {
  .category-container { flex-direction: column !important; padding-top: 20px; }
  .category-filters.cat-filters-aside {
    position: static !important;
    width: 100% !important;
    flex: none !important;
    max-height: none;
  }
}
@media (max-width: 768px) {
  .category-container { padding: 20px 0 50px; }
  .category-container .cat-title { font-size: 1.7rem !important; }
  .items-wrap.view-image { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .items-wrap.view-table .item.view-table { flex-wrap: wrap; }
  .items-wrap.view-table .item .item-price-cell { width: 90px !important; }
  .items-wrap.view-table .item .cell-cart { width: 100% !important; }
}
@media (max-width: 480px) {
  .items-wrap.view-image { grid-template-columns: 1fr 1fr; }
}

/* ================== product-bgk.css ================== */
/* ============================================================
   Страница товара (/product/<alias> и /katalog/<cat>/<product>)
   — полноценная БГК-тема (localhost) по шаблону
   !templete/new/product.html.
   Спроектирована ПОВЕРХ движковой разметки (css/main.css +
   css/product.css): классы движка не переименовываются — только
   оформление. JS-контракты (product.js, main.js) сохранены.
   Шапка/футер/переменные — css/main-bgk.css.
   ============================================================ */

/* ===== Базовая типографика (движок ставит Ubuntu/600) ===== */
#product,
#product * {
  font-family: 'Ubuntu Light';
  font-weight: 400;
}
#product h1,
#product h2,
#product h3 {
  font-family: 'Ubuntu Light';
}
#product h2 {
	margin-top: 20px;
}
#product h3 {
	font-weight: 600;
}

/* ===== Хлебные крошки: общие, см. css/main-bgk.css ===== */

/* ===== Контейнер страницы: центрирование (движковые .wrap-правила
   живут в узких media-блоках и на localhost не применяются) ===== */
main .wrap,
nav#breadcrumbs .wrap {
  max-width: 1520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ===== Заголовок товара — как в шаблоне (акцентная линия) ===== */
section.product-header h1 {
  color: var(--primary) !important;
  font-size: 1.9rem;
  line-height: 1.3;
  width: auto;
  position: relative;
  padding-bottom: 14px;
  margin: 0 0 24px !important;
}
section.product-header h1:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

/* ===== Схемы цветов движка → палитра БГК ===== */
section.product-head,
section.product-head.scheme-blue {
  --cat-accent: var(--primary);
  --cat-accent-hover: rgba(9, 102, 146, 0.88);
  --cat-accent-active: var(--primary-dark, #07536f);
  --cat-accent-soft: rgba(9, 102, 146, 0.65);
}
section.product-head.scheme-green {
  --cat-accent: var(--quaternary, #00a65a);
  --cat-accent-hover: rgba(0, 166, 90, 0.88);
  --cat-accent-active: #008a4b;
  --cat-accent-soft: rgba(0, 166, 90, 0.65);
}
section.product-head.scheme-orange {
  --cat-accent: var(--secondary);
  --cat-accent-hover: var(--secondary-hover, rgba(230, 126, 34, 0.88));
  --cat-accent-active: var(--secondary-dark);
  --cat-accent-soft: rgba(230, 126, 34, 0.65);
}

/* ===== Верхний блок: единая БГК-карта ===== */
section.product-head {
  background: var(--white) !important;
  border-radius: 14px !important;
  box-shadow: var(--shadow) !important;
  padding: 28px !important;
  margin-bottom: 30px !important;
  width: 100% !important;
}

/* ===== Галерея ===== */
section.product-gallery { width: 490px; }
section.product-gallery .product-images {
  width: 100px !important;
  padding: 0 !important;
  gap: 10px;
}
section.product-gallery .product-images li {
  width: 100px !important;
  height: 100px !important;
  min-height: 100px;
  background: #eef2f5;
  border: 2px solid transparent !important;
  border-radius: 10px !important;
  overflow: hidden;
  transition: all 0.25s ease;
}
section.product-gallery .product-images li:hover { border-color: var(--secondary) !important; }
section.product-gallery .product-images li.active {
  border-color: var(--primary) !important;
  background: var(--white);
}
section.product-gallery .product-images li img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  padding: 0;
}
section.product-gallery .product-image {
  width: 390px !important;
  height: 390px !important;
  background: #eef2f5 !important;
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden;
}
section.product-gallery .product-image img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  transition: transform 0.35s ease;
}
section.product-gallery .product-image:hover img { transform: scale(1.04); }

/* ===== Параметры (середина) ===== */
section.product-params { min-width: 0; }
section.product-params .sku { color: var(--gray) !important; font-size: 0.85rem; }
section.product-params .sku p { margin: 0; }
section.product-params .fast-params .property {
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border, #e5e8eb);
}
section.product-params .fast-params .property:last-child { border-bottom: none; }
/* Чипы переключателей: inline-block + width:auto + float:left - чипы занимают
   ширину по содержимому и выстраиваются в строку с переносом, без гор. прокрутки */
section.product-params .fast-params .property .values {
  display: block;
  overflow: hidden; /* clearfix: контейнер обнимает float-чипы, рамка строки не наезжает */
}
section.product-params .fast-params .property .values .value {
  display: inline-block;
  width: auto;
  float: left;
  margin: 0 8px 4px 0;
}
section.product-params .property .param,
section.product-params .fast-params .property .param {
  color: var(--gray) !important;
  font-size: 0.86rem;
}
section.product-params .property .value { color: var(--dark) !important; }
/* Чипы значений (переключатели параметров товара) */
section.product-params .property .values .value {
  border-radius: 18px !important;
  padding: 7px 16px !important;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s ease;
}
section.product-params .property .values .value:hover { opacity: 0.9; }

/* ===== Offer: колонка покупки ===== */
section.product-offer {
  background: var(--white) !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid var(--border, #e5e8eb);
  padding: 20px 22px !important;
  width: 390px;
}
section.product-offer .stock.instock {
  background: transparent !important;
  color: var(--quaternary, #00a65a) !important;
  border: 1px solid var(--quaternary, #00a65a) !important;
  border-radius: 12px !important;
}
section.product-offer .stock.preorder {
  background: var(--secondary) !important;
  color: var(--white) !important;
  border-color: var(--secondary) !important;
}
section.product-offer .star, section.product-content .star { cursor: pointer; }
section.product-offer .reviews .review-count { color: var(--gray); font-size: 0.85rem; }
section.product-offer .price-block .price,
section.product-offer .price {
  color: var(--primary) !important;
  font-family: 'Ubuntu Light';
  font-weight: 700 !important;
  font-size: 1.8rem !important;
}
section.product-offer .price-block .price span { color: var(--primary) !important; }
section.product-offer .product-amount input[name="qty"] { color: var(--dark); }
.product-offer .amount-counter .minus,
.product-offer .amount-counter .plus { color: var(--primary) !important; }
section.product-offer .add2basket {
  background: var(--secondary) !important;
  color: var(--white) !important;
  border-radius: 10px !important;
  font-family: 'Ubuntu Light';
  font-weight: 600;
  transition: all 0.3s ease;
}
section.product-offer .add2basket:hover { background: var(--secondary-dark) !important; }
section.product-offer .add2basket:active { opacity: 0.85; }
section.product-offer .but-buy-in-one-click {
  border: 1.5px solid var(--primary) !important;
  color: var(--primary) !important;
  border-radius: 10px !important;
  background: transparent !important;
  font-family: 'Ubuntu Light';
  font-weight: 600;
  transition: all 0.3s ease;
}
section.product-offer .but-buy-in-one-click:hover {
  background: var(--primary) !important;
  color: var(--white) !important;
}
section.product-offer .favorite-and-compare > span { color: var(--gray); }
section.product-offer .favorite-and-compare > span:hover { color: var(--primary); }

/* Способы получения: самостоятельная светл. карточка */
section.product-offer .payment-methods {
  background: var(--light) !important;
  border-radius: 10px !important;
  margin-top: 18px !important;
}
section.product-offer .payment-methods > div > span { color: var(--dark) !important; }
section.product-offer .payment-methods > div > span:hover { color: var(--primary) !important; }
section.product-offer .payment-methods .hint { border-radius: 8px; }
section.product-offer .payment-methods .hint p a { color: var(--primary) !important; border-color: var(--primary) !important; }

/* Скачивание страницы каталога — чипы */
.catalog-pages { margin-top: 16px; font-size: 0.87rem; color: var(--gray); }
.catalog-pages .product-catalog-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  margin: 4px 6px 0 0;
  border-radius: 8px;
  background: var(--light);
  color: var(--primary) !important;
  font-weight: 600;
  transition: all 0.25s ease;
}
.catalog-pages .product-catalog-page:hover { background: var(--primary); color: var(--white) !important; }

/* ===== Контент: вкладки-карточки ===== */
section.product-content ul.tabs {
  display: flex;
  gap: 6px;
  background: var(--white) !important;
  border-radius: 12px 12px 0 0 !important;
  box-shadow: var(--shadow) !important;
  padding: 8px 10px 0 !important;
  width: 100% !important;
}
section.product-content ul.tabs li {
  background: none !important;
  border-radius: 8px;
  color: var(--gray) !important;
  font-family: 'Ubuntu Light';
  font-weight: 600 !important;
  font-size: 0.92rem;
  padding: 6px 18px !important;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: none !important;
}
section.product-content ul.tabs li:hover { color: var(--primary) !important; }
section.product-content ul.tabs li.active {
  color: var(--primary) !important;
  box-shadow: inset 0 -3px 0 var(--secondary) !important;
}
section.product-content div.tabs {
  background: var(--white) !important;
  border-radius: 0 0 12px 12px !important;
  box-shadow: var(--shadow) !important;
  padding: 22px 24px !important;
  width: 100% !important;
}
section.product-content h2 {
  color: var(--primary) !important;
  font-size: 1.25rem;
  position: relative;
  display: block;
  padding-bottom: 10px;
  margin-bottom: 14px;
}
section.product-content h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}
section.product-content h3 { color: var(--dark) !important; }
section.product-content .product-desc.lh25 { line-height: 1.65; color: var(--dark); }

/* Таблицы характеристик (ЭТИМ/габариты/производитель) — зебра */
section.product-content .wrap-2x2 { background: none !important; }
section.product-content .flex { background: var(--light) !important; border-radius: 10px; padding: 10px 14px !important; margin-bottom: 10px !important; }
section.product-content .flex .property {
  border-bottom: none !important;
  padding: 6px 8px !important;
  border-radius: 6px;
  width: auto !important;
}
section.product-content .flex .property.even { background: var(--white) !important; }
section.product-content div.property span.param { color: var(--gray) !important; }
section.product-content div.property span.value,
section.product-content div.property span:not(.param):not(.del):not(.meas_unit) { color: var(--dark) !important; font-weight: 500; }
section.product-content div.property span.meas_unit { color: var(--gray) !important; font-size: 0.82rem; }

/* ===== Отзывы ===== */
#product .reviews .review {
  background: var(--white) !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow);
  padding: 18px 20px !important;
  margin-bottom: 16px !important;
}
#product .reviews .review .author-avatar {
  border-radius: 50% !important;
  border: 2px solid var(--border, #e5e8eb);
  background: var(--white);
}
#product .review-created { color: var(--gray) !important; font-size: 0.8rem; }
#product .review-author { color: var(--dark) !important; }
#product .review-disadvantages p { color: var(--tertiary) !important; }
#product .review-advantages p { color: var(--quaternary, #00a65a) !important; }
#product .usefull span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light) !important;
  border-radius: 14px !important;
  padding: 4px 14px !important;
  color: var(--gray) !important;
  cursor: pointer;
  transition: all 0.25s ease;
}
#product .usefull span:hover { color: var(--primary) !important; background: rgba(9, 102, 146, 0.08) !important; }
/* Статистика отзывов — карточка */
#product .reviews-statistics {
  background: var(--white) !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow);
  padding: 20px !important;
}
#product .review-total-rate {
  font-family: 'Ubuntu Light';
  font-weight: 700 !important;
  font-size: 2.2rem !important;
  color: var(--primary) !important;
}
#product .reviews-progress .progress-bar {
  background: var(--light) !important;
  border-radius: 6px;
  overflow: hidden;
}
#product .reviews-progress .progress-bar .value { background: var(--secondary) !important; }
#product .but-place-review {
  background: var(--secondary) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px 26px !important;
  font-family: 'Ubuntu Light';
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
#product .but-place-review:hover { background: var(--secondary-dark) !important; }

/* ===== Полоса выгод ===== */
section.benefits {
  background: var(--white) !important;
  border-bottom: none !important;
  margin-top: 30px !important;
  border-radius: 14px !important;
  box-shadow: var(--shadow);
  padding: 22px 0 !important;
  width: 100%;
}
section.benefits div.benefits .benefit:before { color: var(--secondary) !important; }
section.benefits div.benefits .benefit span { color: var(--primary) !important; font-family: 'Ubuntu Light'; }
section.benefits div.benefits .benefit p { color: var(--gray) !important; }

/* ===== Адаптивность ===== */
@media (max-width: 1200px) {
  section.product-gallery { width: 420px; }
  section.product-gallery .product-image { width: 320px !important; height: 320px !important; }
  section.product-offer { width: 340px; }
}
@media (max-width: 1000px) {
  section.product-head { flex-direction: column !important; }
  section.product-gallery { width: 100% !important; margin-top: 0 !important; }
  section.product-offer { width: 100% !important; }
}
@media (max-width: 560px) {
  section.product-gallery { flex-direction: column-reverse !important; }
  section.product-gallery .product-image { width: 100% !important; height: auto !important; aspect-ratio: 1; }
  section.product-gallery .product-images { flex-direction: row !important; width: 100% !important; height: auto; overflow-x: auto; }
  section.product-header h1 { font-size: 1.4rem !important; }
}

/* ===== Формы обратного звонка (модальные формы движка) ===== */
.popup-form h2,
.popup-form h3 { color: var(--primary); }
.popup-form form.popup button[type="submit"],
.popup-form form.popup input[type="submit"] {
  background: var(--secondary);
  color: var(--white);
  transition: all 0.3s ease;
  border-radius: 8px;
}
.popup-form form.popup button[type="submit"]:hover,
.popup-form form.popup input[type="submit"]:hover { background: var(--secondary-dark); }

/* ================== personal-bgk.css ================== */
/* ============================================================
   Личный кабинет (/personal) — БГК-тема localhost.
   Классы совпадают с движковыми (katalog.css/personal.css) — этот файл
   подключается вместо них на BGK-странице personal.php (без движковой
   оболочки), поэтому собственного переопределения не требуется.
   Палитра main-bgk.css: --primary синий, --secondary оранжевый.
   ============================================================ */

.lk {
    background: transparent;
    padding: 10px 0 80px;
    min-height: 62vh;
    font-family: 'Ubuntu Light';
    color: var(--dark);
}

/* ===== Лейаут «меню слева + содержимое» ===== */
.lk-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.lk-menu {
    flex-grow: 0;
    flex-shrink: 0;
    width: 300px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 18px 20px;
    box-sizing: border-box;
}

.lk-greeting {
    font-family: 'Ubuntu Light';
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    padding: 4px 0 14px;
    margin: 0;
    border-bottom: solid 2px var(--light-gray);
}

.lk-menu-item {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
    padding: 10px 10px;
    margin: 2px -10px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s linear, background 0.15s linear;
}

.lk-menu-item:hover { color: var(--primary); background: var(--light); }

.lk-menu-item.current {
    color: var(--white);
    background: var(--primary);
    font-family: 'Ubuntu Light';
    font-weight: 500;
}

.lk-menu-item.lk-logout {
    color: var(--tertiary);
    font-size: 0.9rem;
    margin-top: 12px;
    border-top: solid 2px var(--light-gray);
    padding-top: 14px;
    border-radius: 0;
}

.lk-menu-item.lk-logout:hover { color: var(--tertiary-dark); background: transparent; }

.lk-content {
    flex-grow: 1;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 26px 30px 30px;
    box-sizing: border-box;
    min-width: 0;
}

.lk-title {
    font-family: 'Ubuntu Light';
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 0 18px;
}

/* ===== Форма профиля ===== */
.lk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; max-width: 760px; }

.lk-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.82rem;
    color: var(--gray);
}

.lk-field em { font-style: normal; color: var(--gray); opacity: 0.75; }

.lk-field input, .lk-field select {
    font-family: 'Ubuntu Light';
    font-size: 0.95rem;
    color: var(--dark);
    padding: 9px 12px;
    border: solid 1px var(--light-gray);
    border-radius: 8px;
    background: var(--white);
    outline: none;
    transition: border-color 0.15s linear;
}

.lk-field input:focus, .lk-field select:focus { border-color: var(--primary); }

.lk-form-note { display: none; font-size: 0.85rem; color: var(--success); margin: 10px 0 0; }

/* ===== Подтверждение учётной записи: баннер ===== */
.lk-confirm-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    background: #fff7e6;
    border: 1px solid var(--secondary);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 0 0 18px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #6b5300;
}

.lk-confirm-banner i { color: var(--secondary); margin-right: 6px; }
.lk-confirm-banner b { font-family: 'Ubuntu Light'; font-weight: 600; }
.lk-confirm-note { color: var(--secondary-dark); font-family: 'Ubuntu Light'; font-weight: 500; }

.lk-confirm-resend {
    color: var(--white);
    background: var(--primary);
    border: none;
    border-radius: 15px;
    padding: 5px 16px;
    font-family: 'Ubuntu Light';
    font-weight: 500;
    font-size: 0.78rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s linear;
}

.lk-confirm-resend:hover { background: var(--primary-dark); }
.lk-confirm-resend i { color: var(--white); margin-right: 5px; }

/* ===== Авторизация на /personal (гость): карточка с табами ===== */
.lk-auth {
    max-width: 540px;
    margin: 20px auto 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 28px 32px 32px;
    box-sizing: border-box;
}

.lk-auth-tabs {
    display: flex;
    gap: 10px;
    margin: 0 0 22px;
}

.lk-auth-tab {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--dark);
    padding: 10px 14px;
    background: var(--light);
    border-radius: 22px;
    cursor: pointer;
    transition: color 0.18s linear, background 0.18s linear;
}

.lk-auth-tab:hover { color: var(--primary); }

.lk-auth-tab.current {
    background: var(--primary);
    color: var(--white);
    font-family: 'Ubuntu Light';
    font-weight: 500;
}

.lk-auth-tab.current:hover { color: var(--white); }

.lk-auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
}

.lk-auth-form .lk-field input { width: 100%; box-sizing: border-box; }
.lk-auth-form .lk-field input[type="password"] { letter-spacing: 1px; }

.lk-btn-apply {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 22px;
    padding: 11px 30px;
    font-family: 'Ubuntu Light';
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.18s linear;
    align-self: flex-start;
}

.lk-btn-apply:hover { background: var(--primary-dark); }
.lk-btn-apply:disabled { opacity: 0.6; cursor: default; }
.lk-profile-form .lk-btn-apply { margin-top: 16px; }

/* «Забыли пароль?»: ссылка без рамки и заливки справа от кнопки «Войти» [01.11.2026] */
.lk-forgot-link {
	display: inline-block;
	vertical-align: middle;
	margin-left: 12px;
	background: none;
	border: none;
	font-family: 'Ubuntu Light';
	font-weight: 500;
	font-size: 0.8rem;
	color: var(--gray);
	text-decoration: underline;
	cursor: pointer;
}
.lk-forgot-link:hover { color: var(--primary); }
.lk-auth-form .lk-form-note { margin: 0; }

/* ===== Адаптив ===== */
@media all and (max-width: 760px) {
    .lk-layout { flex-direction: column; }
    .lk-menu { width: 100%; }
    .lk-content { padding: 20px 18px 24px; }
    .lk-fields { grid-template-columns: 1fr; }
    .lk-auth { padding: 22px 18px 26px; }
}

/* ============================================================
   Корзина (/personal/basket) и Заказы (/personal/orders):
   эти страницы работают на движковой css-базе (таблица каталога,
   модалки cat-modal). Ниже - перекраска лаймовых акцентов
   elteco в палитру БГК.
   ============================================================ */

/* --- Корзина --- */
.basket-empty { font-size: 0.9rem; color: var(--gray); }
.basket-empty a { color: var(--primary); }
.basket-empty a:hover { text-decoration: underline; }

.basket-total { font-size: 1rem; color: var(--dark); }
.basket-total b { color: var(--primary); }

.basket-order-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 22px;
    padding: 10px 28px;
    cursor: pointer;
    font-family: 'Ubuntu Light';
    font-weight: 500;
    font-size: 0.85rem;
    transition: background 0.18s linear;
}
.basket-order-btn:hover { background: var(--primary-dark); }
.basket-order-btn.locked { opacity: 0.5; cursor: default; }
.basket-order-btn:disabled { opacity: 0.6; cursor: default; }

.basket-order-done {
    font-family: 'Ubuntu Light';
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--success);
    padding: 24px 0 8px;
    text-align: center;
}

.basket-address-paste { color: var(--primary); }
.basket-address-paste:hover { color: var(--primary-dark); }

/* --- Панель «Заказы» --- */
.lk-orders-limit select { border-color: var(--light-gray); }
.lk-orders-limit select:focus { border-color: var(--primary); outline: none; }

.lk-orders-completed:hover,
.lk-orders-page:hover { border-color: var(--primary); background: var(--light); }

.lk-orders-completed.active {
    background: #f5f9fa;
    border-color: var(--primary);
    color: var(--primary);
    font-family: 'Ubuntu Light';
    font-weight: 500;
}
.lk-orders-completed.active .lk-orders-switch { background: var(--primary); }

.lk-orders-page.current {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    font-family: 'Ubuntu Light';
    font-weight: 500;
}

/* --- Панель «Заказы» --- */
.lk .lk-content .lk-order-items-btn {
    color: var(--primary);
    background: var(--light);
    border: 1px solid var(--light-gray);
}
.lk .lk-content .lk-order-items-btn:hover {
    background: #eaf2f4;
    border-color: var(--primary);
}
.lk .lk-content .lk-order-items-btn i { color: var(--primary); }

.cat-modal-close:hover { color: var(--primary); }

.lk .lk-order-items-table tbody tr.odd { background: var(--light); }
.lk .lk-order-items-table tbody tr:hover { background: #eaf2f4; }
.lk .lk-order-items-table td a { color: var(--primary); }
.lk .lk-order-items-table td a:hover { text-decoration: underline; }
.lk .lk-order-items-table .fw600 { font-weight: 600; }

/* ================== articles-bgk.css ================== */
/* ============================================================
   Статьи БГК (список + одна статья) — localhost
   Шапка/футер/переменные/контейнер описаны в css/main-bgk.css.
   Здесь — только вёрстка страницы статей.
   ============================================================ */

/* ===== Страница ===== */
.articles-page { padding: 30px 0 80px; }

/* Хлебные крошки: общие, см. css/main-bgk.css (единый вид с каталогом) */

/* ===== «О компании» (/articles/o-nas) ===== */
.about-intro {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--dark, #29404e);
  max-width: 900px;
  margin: 0 0 40px;
}
.about-title {
  font-family: 'Ubuntu Light';
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--primary);
  position: relative;
  padding-bottom: 10px;
  margin: 0 0 26px;
}
.about-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}
.about-note {
  font-size: 0.95rem;
  color: var(--gray);
  margin: -18px 0 20px;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
  margin-bottom: 45px;
}
.about-card {
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 22px;
  transition: var(--transition);
  color: var(--dark, #29404e);
}
.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: 0 10px 25px rgba(9, 102, 146, 0.15);
}
.about-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.about-card__title {
  font-family: 'Ubuntu Light';
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--dark, #29404e);
}
.about-card__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray);
}
.about-card__text a { color: var(--primary); font-weight: 500; }
.about-card__text a:hover { text-decoration: underline; }

.page-title {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 15px;
}
.page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--secondary);
}
.page-subtitle {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 30px;
  max-width: 700px;
}

/* ===== Фильтр категорий ===== */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.category-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 24px;
  background: var(--light);
  color: var(--dark);
  font-family: 'Ubuntu Light';
  font-weight: 500;
  font-size: 0.88rem;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}
.category-filter i { color: var(--primary); font-size: 0.85rem; transition: var(--transition); }
.category-filter:hover {
  border-color: var(--secondary);
  color: var(--primary);
}
.category-filter.active {
  background: var(--primary);
  color: var(--white);
}
.category-filter.active i { color: var(--white); }
.category-filter__count {
  background: rgba(0,0,0,0.08);
  padding: 1px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}
.category-filter.active .category-filter__count {
  background: rgba(255,255,255,0.2);
}

/* ===== Избранная статья ===== */
.featured-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 0;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 40px;
  transition: var(--transition);
}
.featured-article:hover {
  box-shadow: 0 12px 30px rgba(9,102,146,0.15);
}
.featured-article__img {
  background: #eef2f5;
  min-height: 340px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.featured-article__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-article__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--tertiary);
  color: var(--white);
  font-family: 'Ubuntu Light';
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 7px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.featured-article__body {
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-article__category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light);
  color: var(--primary);
  font-family: 'Ubuntu Light';
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.featured-article__category i { color: var(--secondary); }
.featured-article__title {
  font-size: 1.7rem;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.25;
}
.featured-article__excerpt {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}
.featured-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.82rem;
  color: var(--gray);
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  margin-bottom: 18px;
}
.featured-article__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.featured-article__meta i { color: var(--primary); }
.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: var(--white);
  padding: 11px 24px;
  border-radius: 8px;
  font-family: 'Ubuntu Light';
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  align-self: flex-start;
}
.btn-read:hover { background: var(--secondary-dark); gap: 12px; }

/* ===== Двухколоночная раскладка ===== */
.articles-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}

/* ===== Сетка статей ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.article-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(9,102,146,0.15);
}
.article-card__img {
  width: 100%;
  height: 190px;
  background: #eef2f5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.article-card:hover .article-card__img img { transform: scale(1.04); }
.article-card__category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  font-family: 'Ubuntu Light';
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 11px;
  border-radius: 5px;
}
.article-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card__date {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-card__title {
  font-family: 'Ubuntu Light';
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 10px;
  transition: var(--transition);
}
.article-card:hover .article-card__title { color: var(--primary); }
.article-card__excerpt {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.55;
  margin-bottom: 14px;
}
.article-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.article-card__link {
  font-family: 'Ubuntu Light';
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.article-card:hover .article-card__link { color: var(--secondary); gap: 10px; }
.article-card__views {
  font-size: 0.78rem;
  color: var(--gray);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.article-card__views i { color: var(--primary); }

/* ===== Пагинация ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  font-family: 'Ubuntu Light';
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--primary);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.pagination a:hover,
.pagination .active {
  background: var(--primary);
  color: var(--white);
}
.pagination .dots {
  background: transparent;
  box-shadow: none;
  color: var(--gray);
  min-width: 20px;
  padding: 0 4px;
}

/* ===== Сайдбар ===== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 90px;
}
.sidebar-widget {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.sidebar-widget__title {
  font-size: 1.02rem;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
}
/* Популярные */
.mini-articles { list-style: none; }
.mini-articles li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.mini-articles li:last-child { border-bottom: none; padding-bottom: 0; }
.mini-articles li:first-child { padding-top: 0; }
.mini-articles__img {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f5;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-articles__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.mini-articles__body a {
  font-family: 'Ubuntu Light';
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark);
  line-height: 1.35;
  display: block;
  margin-bottom: 4px;
  transition: var(--transition);
}
.mini-articles__body a:hover { color: var(--primary); }
.mini-articles__date {
  font-size: 0.75rem;
  color: var(--gray);
}
/* Облако тегов */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-cloud a {
  display: inline-block;
  padding: 6px 13px;
  background: var(--light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition);
}
.tag-cloud a:hover {
  background: var(--primary);
  color: var(--white);
}
/* CTA */
.sidebar-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 26px 22px;
  text-align: center;
}
.sidebar-cta i {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 12px;
  display: block;
}
.sidebar-cta h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--white);
}
.sidebar-cta p {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 16px;
  line-height: 1.5;
}
.sidebar-cta .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Ubuntu Light';
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.sidebar-cta .btn-cta:hover { background: var(--secondary-dark); }

/* ===== Текст статьи (страница одной статьи) ===== */
.article-single {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 40px 46px;
}
.article-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.85rem;
  color: var(--gray);
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 24px;
}
.article-single__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-single__meta i { color: var(--primary); }
.article-single__content h2 {
  font-size: 1.35rem;
  color: var(--primary);
  margin: 28px 0 12px;
}
.article-single__content p {
  margin-bottom: 14px;
  line-height: 1.7;
}
.article-single__content ul,
.article-single__content ol {
  margin: 0 0 16px 22px;
}
.article-single__content li { margin-bottom: 6px; line-height: 1.6; }
.article-single__content strong { color: var(--dark); }
.article-single__back {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}

/* ===== Адаптивность ===== */
@media (max-width: 1024px) {
  .articles-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-article__img { min-height: 240px; }
  .featured-article__body { padding: 26px 24px; }
}
@media (max-width: 768px) {
  .page-title { font-size: 1.8rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .featured-article__title { font-size: 1.35rem; }
  .category-filters { padding: 12px 14px; gap: 8px; }
  .category-filter { padding: 8px 14px; font-size: 0.82rem; }
  .article-single { padding: 26px 20px; }
}
@media (max-width: 480px) {
  .featured-article__body { padding: 22px 18px; }
  .article-card__img { height: 170px; }
}

/* ================== article-bgk.css ================== */
/* ============================================================
   Одна статья БГК — localhost (шаблон !templete/new/article.html)
   Шапка/футер/переменные/контейнер — css/main-bgk.css.
   Общие виджеты статей (sidebar, mini-articles, article-card,
   breadcrumbs) — css/articles-bgk.css (подключается рядом).
   ============================================================ */

/* ===== Страница статьи ===== */
.article-page { padding: 10px 0 80px; }

/* Содержание, вынесенное между обложкой и текстом (только мобильная версия) */
.article-toc-inline { display: none; clear: both; margin-bottom: 30px; }

/* Заголовочный блок статьи */
.article-hero {
  clear: both;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 30px;
}
.article-hero__cover {
  width: 100%;
  /* height: 360px; */
  height: auto;
  background: #eef2f5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin: 0 0 24px;
}
.article-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero__body {
  padding: 32px 34px 28px;
}
.article-hero__category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light);
  color: var(--primary);
  font-family: 'Ubuntu Light';
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.article-hero__category i { color: var(--secondary); }
.article-hero__title {
  font-size: 2.1rem;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.25;
}
.article-hero__lead {
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 22px;
  line-height: 1.6;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
  font-size: 0.85rem;
  color: var(--gray);
}
.article-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.article-meta__item i { color: var(--primary); }
.article-meta__item strong {
  color: var(--dark);
  font-weight: 500;
}

/* Двухколоночная раскладка */
.article-layout {
  clear: both;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}

/* Основной контент */
.article-content {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 34px 38px;
  font-size: 1rem;
  line-height: 1.75;
}
.article-content h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 30px 0 14px;
  position: relative;
  padding-left: 18px;
}
.article-content h2:first-child { margin-top: 0; }
.article-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--secondary);
  border-radius: 2px;
}
.article-content h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin: 22px 0 10px;
}
.article-content p { margin-bottom: 16px; }
.article-content ul,
.article-content ol {
  margin: 0 0 18px 22px;
}
.article-content li { margin-bottom: 8px; }
.article-content li::marker { color: var(--secondary); font-weight: 700; }
.article-content strong { color: var(--primary); font-weight: 600; }

.article-content blockquote {
  margin: 22px 0;
  padding: 18px 24px 18px 56px;
  background: var(--light);
  border-left: 4px solid var(--secondary);
  border-radius: 0 10px 10px 0;
  position: relative;
  font-style: italic;
  color: var(--dark);
  font-size: 1rem;
}
.article-content blockquote::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 18px;
  top: 18px;
  color: var(--secondary);
  font-size: 1.2rem;
  font-style: normal;
}

.article-content figure {
  margin: 26px 0;
  background: #eef2f5;
  border-radius: 10px;
  overflow: hidden;
}
.article-content figure img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  padding: 14px;
}
.article-content figcaption {
  padding: 12px 18px;
  font-size: 0.85rem;
  color: var(--gray);
  background: var(--light);
  border-top: 1px dashed var(--border);
  text-align: center;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 0.92rem;
}
.article-content th,
.article-content td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.article-content th {
  background: var(--primary);
  color: var(--white);
  font-family: 'Ubuntu Light';
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.article-content tr:last-child td { border-bottom: none; }
.article-content tbody tr:hover { background: var(--light); }

.callout {
  background: rgba(217,126,43,0.08);
  border: 1px solid rgba(217,126,43,0.3);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
}
.callout i {
  color: var(--secondary);
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.callout strong { color: var(--primary); }

/* Теги */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px dashed var(--border);
}
.article-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--transition);
}
.article-tag:hover {
  background: var(--primary);
  color: var(--white);
}

/* Поделиться */
.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
}
.article-share__label {
  font-family: 'Ubuntu Light';
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray);
}
.article-share a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.article-share a:hover {
  background: var(--primary);
  color: var(--white);
}

/* Содержание */
.toc { list-style: none; }
.toc li { margin-bottom: 10px; }
.toc a {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--dark);
  line-height: 1.4;
  transition: var(--transition);
}
.toc a::before {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--secondary);
  font-size: 0.7rem;
  margin-top: 5px;
  flex-shrink: 0;
}
.toc a:hover { color: var(--primary); }

/* ===== Похожие статьи ===== */
.related-articles {
  margin-top: 50px;
}
.related-articles__title {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}
.related-articles__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 4px;
  background: var(--secondary);
}
.related-articles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

/* ===== Адаптивность ===== */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  /* Содержание переносим из сайдбара — под обложку статьи */
  .article-toc-inline { display: block; }
  .sidebar .sidebar-toc { display: none; }
}
@media (max-width: 768px) {
  .article-hero__cover { height: 230px; }
  .article-hero__body { padding: 24px 22px 20px; }
  .article-hero__title { font-size: 1.5rem; }
  .article-hero__lead { font-size: 0.95rem; }
  .article-content { padding: 24px 22px; font-size: 0.95rem; }
  .article-content h2 { font-size: 1.25rem; }
  .article-content blockquote { padding: 16px 18px 16px 48px; }
  .article-content blockquote::before { left: 14px; top: 14px; }
}
@media (max-width: 480px) {
  .related-articles__grid { grid-template-columns: 1fr; }
  .article-content table { font-size: 0.82rem; }
  .article-content th,
  .article-content td { padding: 8px 10px; }
}

/* ================== kontakty-bgk.css ================== */
/* ============================================================
   Контакты БГК — localhost (шаблон !templete/new/kontakty.html)
   Шапка/футер/переменные/контейнер — css/main-bgk.css.
   ============================================================ */

/* ===== Страница ===== */
.contacts-page { padding: 30px 0 80px; }

/* ===== Блок быстрых контактов ===== */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.contact-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition);
  border-top: 4px solid transparent;
}
.contact-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--secondary);
  box-shadow: 0 10px 25px rgba(9, 102, 146, 0.15);
}
.contact-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
  transition: var(--transition);
}
.contact-card:hover .contact-card__icon {
  background: var(--secondary);
  color: var(--white);
}
.contact-card__label {
  font-family: 'Ubuntu Light';
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray);
  margin-bottom: 6px;
}
.contact-card__value {
  font-family: 'Ubuntu Light';
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1.3;
}
.contact-card__value a:hover { color: var(--secondary); }
.contact-card__note {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: auto;
}

/* ===== Основной блок: форма + карта ===== */
.contacts-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* Форма */
.feedback-form {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 30px;
}
.feedback-form h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.feedback-form > p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 22px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: 6px;
}
.form-group label .req { color: var(--tertiary); }
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Ubuntu Light';
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(9,102,146,0.1);
}
textarea.form-control {
  resize: vertical;
  min-height: 110px;
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 18px;
}
.checkbox-group input { margin-top: 3px; accent-color: var(--primary); }
.checkbox-group a { color: var(--primary); text-decoration: underline; }
.btn-submit {
  width: 100%;
  height: 48px;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: 'Ubuntu Light';
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}
.btn-submit:hover { background: var(--secondary-dark); }
.form-success {
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.35);
  color: var(--success, #2e7d32);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Карта */
.map-block {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.map-block__header {
  padding: 22px 26px 16px;
}
.map-block__header h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.map-block__header p {
  font-size: 0.9rem;
  color: var(--gray);
}
.map-block__address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--dark);
  padding: 0 26px 16px;
}
.map-block__address i { color: var(--secondary); }
.map-frame {
  flex: 1;
  min-height: 340px;
  background: #eef2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.map-frame img,
.map-frame iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}
.map-frame__placeholder {
  text-align: center;
  color: var(--gray);
  padding: 20px;
}
.map-frame__placeholder i {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}

/* ===== Филиалы ===== */
.branches { margin-bottom: 50px; }
.branches__title {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}
.branches__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 4px;
  background: var(--secondary);
}
.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.branch {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 22px 24px;
  transition: var(--transition);
}
.branch:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(9, 102, 146, 0.15);
}
.branch__city {
  font-family: 'Ubuntu Light';
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.branch__city i { color: var(--secondary); font-size: 0.95rem; }
.branch__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.branch__row i {
  color: var(--primary);
  width: 16px;
  text-align: center;
  margin-top: 3px;
  flex-shrink: 0;
}
.branch__row a:hover { color: var(--secondary); }

/* ===== Реквизиты ===== */
.requisites {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 30px;
}
.requisites h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.requisites h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary);
}
.requisites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px 30px;
}
.requisites-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.9rem;
}
.requisites-row:last-child { border-bottom: none; }
.requisites-row__label { color: var(--gray); }
.requisites-row__value {
  font-weight: 500;
  text-align: right;
  word-break: break-word;
}

/* ===== Адаптивность ===== */
@media (max-width: 960px) {
  .contacts-main { grid-template-columns: 1fr; }
  .map-block { order: -1; }
}
@media (max-width: 768px) {
  .page-title { font-size: 1.8rem; }
  .form-row { grid-template-columns: 1fr; }
  .requisites-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact-card { padding: 20px 18px; }
  .feedback-form { padding: 22px 18px; }
  .requisites { padding: 22px 18px; }
}

/* ===== BGK: прокрутка страницы=====
   движковая база задаёт html{height:100%;overflow:hidden} и body{height:100%} -
   контент ниже первого экрана обрезается; возвращаем обычный вертикальный скролл */
html {
	height: auto;
	overflow: visible;
	float: none;
}
body {
	height: auto;
	overflow: visible;
}

/* ===== BGK-футер: движковые media-правила footer p/a
   (float:left; width:100%; color:#2e2f38; margin:20px 0 5px) ломают BGK-разметку:
   тёмный текст на тёмном фоне, иконки соцсетей уезжают за правый край ===== */
.footer p {
	float: none !important;
	width: auto !important;
	color: var(--white) !important;
}
.footer-links a, .social-icons a {
	float: none !important;
	width: auto !important;
}
.social-icons a {
	width: 40px !important;
	height: 40px !important;
}
.footer-bottom p {
	color: rgba(255, 255, 255, 0.7) !important;
}

/* BGK: длинные значения в таблицах параметров товара (SEO-описание, наименование
   производителя) сжимались LTR движка (flex:0 0 auto) и вылазили за экран;
   теперь колонка value занимает остаток строки и переносится */
.product-content .property { min-width: 0; }
.product-content .property .value {
	flex: 1 1 auto !important;
	width: auto !important;
	min-width: 0 !important;
	white-space: normal !important;
	overflow-wrap: break-word;
}

/* ===== BGK: шапка 100px, hero, чипы значений, кнопка админа, якоря ===== */

/* Шапка: фиксированная, высота 100px (перекрывает базовое правило выше) */
.header {
	height: 100px !important;
}

/* Hero-баннер главной: прижат к верху страницы (шапка лежит поверх) */
.hero {
	margin-top: 0 !important;
}

/* Чипы переключаемых значений товара: фон задаёт тема каталога
   (--cat-accent от cookie catScheme, scheme-* вешает js/product.js) */
section.product-params .property .values .value {
	color: var(--cat-accent, #67697e) !important;
}
section.product-params .property .values .value.active,
section.product-params .property .values .value:hover {
	color: #ffffff !important;
}

/* Плавающая кнопка Редактировать товар (только для админа): справа по центру */
a.product-admin-edit {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3000;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--primary);
	color: #ffffff !important;
	padding: 12px 14px;
	border-radius: 10px 0 0 10px;
	box-shadow: var(--shadow);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: var(--transition);
}
a.product-admin-edit:hover {
	background: var(--primary-dark);
}

/* Фикс-шапка 100px: якорные цели не должны прятаться под ней после скролла */
#about, #advantages, #products, #dgu-types, #contact, #request-form {
	scroll-margin-top: 100px;
}

/* BGK: счётчик отобранных позиций (total-items-count) в строке панели
   сортировки выравнивается по центру по высоте (движковый flex-end прижимал его вниз).
   margin-bottom у счётчика гашен: flex центрирует margin-бокс, и нижние 16px уводили
   текст вверх от центра; отступ при переносе строк (узкие экраны) даёт row-gap.
   padding-bottom 30px (ручная правка): приподнимает текст на 15px выше центра
   строки; на узких экранах зазор под счётчиком соответственно увеличивается */
.cat-toolbar-first-line .total-items-count {
	margin-bottom: 0 !important;
	padding-bottom: 0px;
}
.cat-toolbar-first-line {
	row-gap: 10px;
}

/* ===== Кнопка копирования артикула (карточка товара) ===== */
.copy-articul-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 22px;
  height: 22px;
  margin-left: 8px;
  padding: 0;
  border: 1px solid #d5dde4;
  border-radius: 6px;
  background: var(--white);
  color: var(--gray);
  cursor: pointer;
  vertical-align: middle;
  transition: var(--transition);
  margin-top: -6px;
}
.copy-articul-btn:hover { color: var(--primary); border-color: var(--secondary); }
.copy-articul-btn.copied { color: var(--secondary); border-color: var(--secondary); }
.copy-articul-btn svg { display: block; }
.copy-articul-btn::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  padding: 5px 10px;
  border-radius: 6px;
  background: #33424e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.copy-articul-btn::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #33424e;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.copy-articul-btn:hover::after,
.copy-articul-btn.copied::after { opacity: 1; visibility: visible; }
.copy-articul-btn:hover::before,
.copy-articul-btn.copied::before { opacity: 1; visibility: visible; }

/* Страница товара: активные состояния «В избранное» / «К сравнению»
   (те же статусы, что у полосы действий в списках каталога) */
.favorite-and-compare > span { cursor: pointer; }
.favorite-and-compare > span.to-favorite.active,
.favorite-and-compare > span.to-favorite.active:before,
.favorite-and-compare > span.to-favorite.active:hover:before { color: #e25458; }
.favorite-and-compare > span.to-favorite.active:hover { color: #e25458; }
.favorite-and-compare > span.to-compare.active,
.favorite-and-compare > span.to-compare.compare-added,
.favorite-and-compare > span.to-compare.compare-added:before,
.favorite-and-compare > span.to-compare.compare-added:hover:before { color: #b0cb1f; }
.favorite-and-compare > span.to-compare.compare-added:hover { color: #b0cb1f; }
/* Попап «Оставить отзыв»: оценка звёздочками (клик по звезде - оценка 1..N) */
.review-rate-input { display: inline-flex; gap: 4px; align-items: center; }
.review-rate-input .star { display: inline-block; cursor: pointer; line-height: 1; }
.review-rate-input .star:before {
	font-family: "FontAwesome"; font-style: normal; font-weight: normal;
	content: "\f006"; font-size: 20px; color: #c9c9c9;
}
.review-rate-input .star.gold:before { content: "\f005"; color: #ffd700; }

/* Вкладка «Отзывы» без опубликованных отзывов: подписка-приглашение */
.reviews-empty-note { color: #888; margin-bottom: 10px; }

/* ===== Модальные окна «Купить в 1 клик» (one-click-order) и «Оставить отзыв» (place-review) ===== */
.popup-form.one-click-order,
.popup-form.place-review {
	width: 570px;
	max-width: 90vw;
	padding: 24px;
	box-sizing: border-box;
	font-size: 14px;
}
.popup-form.one-click-order .form.edit-field,
.popup-form.place-review .form.edit-field {
	margin: 0 0 12px;
}
.popup-form.one-click-order .form.edit-field label,
.popup-form.place-review .form.edit-field label {
	display: inline-block;
	vertical-align: top;
	width: 35%;
	box-sizing: border-box;
	padding: 6px 10px 0 0;
	color: #2e2f38;
	line-height: 20px;
}
.popup-form.one-click-order .form.edit-field input[type="text"],
.popup-form.place-review .form.edit-field input[type="text"] {
	display: inline-block;
	width: 63%;
	box-sizing: border-box;
	border: none;
	border-bottom: solid 1px #c9cdd6;
	background: #f7f8fa;
	padding: 6px 8px;
	font-size: 14px;
	line-height: 20px;
	outline: none;
}
.popup-form.place-review .form.edit-field textarea {
	display: inline-block;
	vertical-align: top;
	width: 63%;
	box-sizing: border-box;
	border: solid 1px #c9cdd6;
	border-radius: 4px;
	background: #f7f8fa;
	padding: 6px 8px;
	font-size: 14px;
	line-height: 20px;
	resize: vertical;
	outline: none;
	font-family: inherit;
}
.popup-form.one-click-order .form.edit-field input[type="text"]:focus,
.popup-form.place-review .form.edit-field input[type="text"]:focus,
.popup-form.place-review .form.edit-field textarea:focus {
	border-color: var(--primary);
	background: #ffffff;
}
.popup-form.one-click-order .form.edit-field input[type="text"].invalid,
.popup-form.place-review .form.edit-field input[type="text"].invalid,
.popup-form.place-review .form.edit-field textarea.invalid {
	border-bottom: solid 1px #ff0000;
	background: #ff000020;
}
/* Наименование товара в шапке формы */
.popup-form.one-click-order .form.edit-field > p,
.popup-form.place-review .form.edit-field > p {
	font-weight: 600;
	color: var(--primary);
	background: #f0f2f5;
	padding: 8px 10px;
	margin-bottom: 0;
	line-height: 20px;
}
/* Оценка звёздочками в «Оставить отзыв» */
.popup-form.place-review .review-rate-input {
	display: inline-flex;
	vertical-align: top;
	padding: 4px 0 0;
}
/* Примечание под формой */
.popup-form.one-click-order .one-click-note,
.popup-form.place-review .one-click-note {
	clear: both;
	font-size: 12px;
	color: #888888;
	margin: 4px 0 10px;
}
/* Кнопка отправки на всю ширину формы (показывается скриптом после валидации) */
.popup-form.one-click-order button[type="submit"],
.popup-form.place-review button[type="submit"] {
	display: none;
	width: 100%;
	padding: 10px 0;
	border: none;
	cursor: pointer;
	font-size: 15px;
}
@media all and (max-width: 700px) {
	.popup-form.one-click-order,
	.popup-form.place-review { width: 100%; padding: 18px; }
	.popup-form.one-click-order .form.edit-field label,
	.popup-form.place-review .form.edit-field label { width: 100%; padding: 0 0 4px; }
	.popup-form.one-click-order .form.edit-field input[type="text"],
	.popup-form.place-review .form.edit-field input[type="text"],
	.popup-form.place-review .form.edit-field textarea { width: 100%; }
	.popup-form.place-review .review-rate-input { padding: 2px 0 0; }
}
/* Табы карточки товара: видима только активная панель
   (product.js переключает класс .active у ul.tabs li и div.tabs > div) */
section.product-content div.tabs > div { display: none; }
section.product-content div.tabs > div.active { display: block; }
/* ===== Вкладка «Отзывы» на странице товара — полное оформление ===== */
/* Звёзды: карточки отзывов, общий рейтинг, разбивка по оценкам
   (базовые правила есть только у .product-offer .star, внутри панели табов их не было) */
#product .review-rate,
#product .reviews-total-rate,
#product .reviews-progress-counter { display: inline-flex; align-items: center; gap: 3px; }
#product section.product-content .star { display: inline-block; line-height: 1; cursor: default; }
#product section.product-content .star:before {
	content: "\f005";
	font-family: "FontAwesome"; font-style: normal; font-weight: normal;
	font-size: 14px; color: #d7dbe0;
}
#product section.product-content .star.gold:before { color: #ffd700; }
#product .reviews-total-rate .star:before { font-size: 18px; }
#product .reviews-progress-counter .star:before { font-size: 12px; }

/* Карточка отзыва: аватар + контент */
#product .reviews .review { display: flex; align-items: flex-start; gap: 14px; }
#product .reviews .review .author-avatar { width: 48px; height: 48px; flex: 0 0 48px; object-fit: cover; }
#product .reviews .review .review-wrap { flex: 1 1 auto; min-width: 0; }
#product .review-wrap .review-created { margin-right: 12px; }
#product .review-wrap .review-rate { margin-top: 4px; }
#product .review-wrap > p { color: var(--dark); line-height: 1.6; }
#product .review-disadvantages span,
#product .review-advantages span { color: var(--dark); }
/* «Полезно / Бесполезно» */
#product .usefull { display: flex; gap: 8px; margin-top: 12px; }
#product .usefull-counter:before,
#product .useless-counter:before {
	font-family: "FontAwesome"; font-style: normal; font-weight: normal; margin-right: 5px;
}
#product .usefull-counter:before { content: "\f164"; color: var(--secondary); }
#product .useless-counter:before { content: "\f165"; color: var(--tertiary, #d9534f); }

/* Раскладка панели: список отзывов слева, статистика справа */
#product .reviews.w50p { width: calc(100% - 450px); float: left; }
#product .reviews-statistics.w50p { width: 420px; text-align: center; margin-left: 20px; }
section.product-content div.tabs > div:after { content: ""; display: table; clear: both; }
#product .reviews-rate-count { color: var(--gray); margin: 6px 0 14px; }
#product .reviews-by-rate { text-align: left; margin-top: 10px; }
#product .reviews-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
#product .reviews-progress span.progress-bar { width: auto; flex: 1 1 auto; height: 8px; display: block; }
#product .reviews-progress .progress-bar .value { display: block; height: 100%; border-radius: 4px; }
#product .reviews-progress-counter { min-width: 90px; }
#product .reviews-progress-counter .count { margin-left: 6px; color: var(--gray); font-size: 0.85rem; }
/* Пустое состояние: по центру */
#product .reviews-statistics .reviews-empty-note { text-align: center; max-width: 420px; margin: 6px auto; line-height: 1.5; }
#product .reviews-statistics .reviews-empty-note a { color: var(--secondary); text-decoration: underline; }

/* Мобильная адаптация вкладки отзывов */
@media all and (max-width: 760px) {
	#product .reviews.w50p { width: 100%; float: none; }
	#product .reviews-statistics.w50p { width: 100%; float: none; }
	#product .reviews .review { gap: 10px; }
	#product .reviews .review .author-avatar { width: 40px; height: 40px; flex-basis: 40px; }
	#product .review-total-rate { font-size: 1.8rem !important; }
}
/* Голосование «Полезно/Бесполезно»: состояние своего голоса */
#product .usefull span.voted { color: var(--secondary) !important; background: rgba(9, 102, 146, 0.12) !important; }
#product .usefull span.useless-counter.voted { color: var(--tertiary) !important; background: rgba(217, 83, 79, 0.10) !important; }
#product .usefull span.busy { opacity: 0.6; pointer-events: none; }
/* Рейтинг у цены на странице товара: пустая звезда - серый контур,
   заполненная - золотая заливка; числовая оценка «4.5/5»; без переносов */
#product .product-offer .star:before { color: #d7dbe0; }
#product .product-offer .star.gold:before { font-family: "FontAwesome"; color: #ffd700; }
#product .product-offer .reviews { flex-wrap: wrap; gap: 2px 10px; align-items: center; }
#product .product-offer .reviews .stars { display: inline-flex; gap: 2px; flex-wrap: nowrap; flex-shrink: 0; }
#product .product-offer .reviews .review-rate-value { font-family: 'Ubuntu Light'; font-weight: 700; font-size: 14px; color: var(--dark); white-space: nowrap; flex-shrink: 0; margin-left: 2px; }
#product .product-offer .reviews .review-rate-value span { color: var(--gray); font-weight: 400; }
#product .product-offer .reviews .review-count { flex-basis: 100%; white-space: nowrap; }
@media all and (max-width: 760px) {
	#product .product-offer .reviews { flex-wrap: wrap; gap: 6px 8px; }
}
/* Рейтинг в шаблоне /katalog (блок в section.product-params, а не .product-offer) */
#product .product-params .star { display: inline-block; position: relative; width: 10px; height: 10px; }
#product .product-params .star:before {
	content: "\f005";
	font-family: "FontAwesome Regular";
	display: block;
	width: 10px;
	height: 10px;
	line-height: 10px;
	text-align: center;
	font-size: 10px;
	color: #d7dbe0;
}
#product .product-params .star.gold:before { font-family: "FontAwesome"; color: #ffd700; }
#product .product-params .reviews { display: flex; flex-direction: row; flex-wrap: wrap; gap: 2px 8px; align-items: center; font-size: 14px; }
#product .product-params .reviews .stars { display: inline-flex; gap: 2px; flex-wrap: nowrap; flex-shrink: 0; }
#product .product-params .reviews .review-rate-value { font-family: 'Ubuntu Light'; font-weight: 700; color: var(--dark); white-space: nowrap; flex-shrink: 0; }
#product .product-params .reviews .review-rate-value span { color: var(--gray); font-weight: 400; }
#product .product-params .reviews .review-count { flex-basis: 100%; white-space: nowrap; flex-shrink: 0; }

/* ===== Статьи БГК: общие элементы из БД (голосование, теги) ===== */
/* Голосование «Полезно/Бесполезно» на странице статьи */
.article-vote {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	margin-top: 30px;
	padding: 18px 22px;
	background: var(--light);
	border-radius: 12px;
}
.article-vote__label {
	font-family: 'Ubuntu Light';
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--dark);
}
.article-vote__buttons {
	display: flex;
	gap: 10px;
}
.article-vote__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	border: 1px solid var(--border);
	border-radius: 24px;
	background: var(--white);
	color: var(--dark);
	font-family: 'Ubuntu Light';
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: var(--transition);
}
.article-vote__btn i { color: var(--gray); transition: var(--transition); }
.article-vote__btn:hover { border-color: var(--primary); color: var(--primary); }
.article-vote__btn:hover i { color: var(--primary); }
.article-vote__btn.voted.like { background: var(--primary); border-color: var(--primary); color: var(--white); }
.article-vote__btn.voted.like i { color: var(--white); }
.article-vote__btn.voted.dislike { background: var(--gray); border-color: var(--gray); color: var(--white); }
.article-vote__btn.voted.dislike i { color: var(--white); }
.article-vote__btn.busy { opacity: 0.6; pointer-events: none; }

/* Примечание фильтра по тегу в списке статей */
.articles-tag-note {
	margin: -6px 0 18px;
	font-size: 0.9rem;
	color: var(--gray);
}
.articles-tag-note a { color: var(--primary); font-weight: 600; }

/* Активный тег в облаке */
.tag-cloud a.active { background: var(--primary); color: var(--white); }
/* ===== Баннер согласия на использование файлов cookie ===== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  background: #1c2531;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.35);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.cookie-banner--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}

.cookie-banner__text {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-banner__text a {
  color: #ffb43a;
  text-decoration: underline;
}

.cookie-banner__accept {
  flex-shrink: 0;
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 600;
  color: #1c2531;
  background: #ffb43a;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-banner__accept:hover {
  background: #ffc766;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
    padding: 16px;
  }

  .cookie-banner__accept {
    width: 100%;
  }
}

/* ===== BGK: адаптация под планшет и мобильные [01.11.2026] =====
   Существующие правила не меняем — только добавляем медиа-правила.
   Брейкпоинты: планшет ≤1024px, телефон ≤560px. */

/* --- Планшет (≤1024px) --- */
@media (max-width: 1024px) {
	/* Шапка: плотнее меню и поиск, чтобы всё влезало в 769–1024px */
	.header-content .nav-list li { margin-left: 16px; }
	.header-search { margin: 0 14px; min-width: 140px; }
	.logo img { max-height: 48px; width: auto; }
	.hero { padding: 120px 0 80px; }
	/* Модалка заказов ЛК: фиксированные 1200px не влезают в планшет */
	.cat-modal.cat-modal-orders { width: auto; max-width: calc(100vw - 32px); overflow-x: auto; top: 60px; }
}

/* --- Модалка сравнения: фиксированная min-width 640px переливает экраны уже 700px
   (min-width сильнее max-width, поэтому отдельный брейкпоинт) [01.11.2026] --- */
@media (max-width: 700px) {
	.cat-modal-compare { min-width: 0; width: calc(100vw - 32px); max-width: none; }
	/* Таблица сравнения (колонки min-width 250px) прокручивается внутри модалки */
	.cat-modal-compare .cat-modal-list { overflow-x: auto; }
	/* Формы «Заказать звонок» (500px) и «Оформление заказа» (570px) - на ширину экрана,
	   кнопки отправки 480/550px тоже растягиваются [01.11.2026] */
	.popup-form.order-call,
	.popup-form.place-order { width: calc(100vw - 24px); max-width: none; }
	.popup-form.order-call button[type="submit"],
	.popup-form.place-order button[type="submit"] { width: 100%; }
}

/* --- Телефон (≤560px) --- */
@media (max-width: 560px) {
	/* Модалки — по ширине экрана */
	.cat-modal { width: calc(100vw - 32px); max-width: none; }
	.cat-modal-favorites, .cat-modal-analogs { width: calc(100vw - 32px); max-width: none; }
	/* Popup-формы - см. брейкпоинт ≤700px выше */

	/* Карточка товара: полоса преимуществ в столбик (перелив до 587px на 375) */
	section.benefits div.benefits { flex-wrap: wrap; gap: 14px; }
	section.benefits div.benefits .benefit { flex: 1 1 100%; min-width: 0; }

	/* Отзывы: блок статистики 420px с float — на всю ширину */
	.reviews-statistics { width: 100%; float: none; }
	.reviews-statistics .reviews-progress span.progress-bar { width: 60%; }

	/* Hero и подвал компактнее */
	.hero { padding: 110px 0 70px; }
	.footer { padding: 40px 0 24px; }
}

/* Знак рубля в цене на странице товара: в шаблоне product.php после суммы выводится пустой <span>,
   как в видах «Таблица» и «Изображения» (правила на .item-price > span:after), но для карточки
   товара правило отсутствовало - цена выводилась без ₽ [01.11.2026] */
section.product-offer .price-block .price > span:after {
	content: "\f158";
	font-family: 'FontAwesome';
	font-style: normal;
	font-weight: normal;
	font-size: 26px;
	margin-left: 8px;
}

/* Чекбокс согласия на странице контактов (.checkbox-group): глобальное правило
   input[type="checkbox"] { appearance: none; } (кастомные чекбоксы движка) делает
   нативный чекбокс невидимым. Возвращаем нативный вид только здесь [01.11.2026] */
.checkbox-group input[type="checkbox"] {
	-webkit-appearance: checkbox;
	appearance: auto;
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	vertical-align: middle;
}


/* [01.11.2026] Карточка каталога (вид «Изображение»): на планшете и телефоне строка
   наличия и строка корзины разбиты на две строки: сверху «На складе: N шт.» и счётчик,
   снизу - «забрать сегодня» и кнопка «В корзину» (без наезда и обрезки) */
@media (max-width: 1024px) {
	.items-wrap.view-image .item .cell-stock {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 3px;
	}
	.items-wrap.view-image .item .cell-stock .stock-left {
		display: inline-flex;
		flex-direction: row;
		align-items: baseline;
		gap: 2px;
		flex: 0 0 auto;
		white-space: nowrap;
	}
	.items-wrap.view-image .item .cell-stock .stock-num { margin: 0 3px !important; }
	.items-wrap.view-image .item .cell-stock .stock-note {
		display: block;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 100%;
	}
	.items-wrap.view-image .item .cell-cart {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}
	.items-wrap.view-image .item .cell-cart .qty-picker {
		flex: 0 0 auto;
		align-self: flex-start;
		width: auto !important;
		justify-content: flex-start;
	}
	.items-wrap.view-image .item .cell-cart .qty-picker .qty-value { flex: 0 0 auto; }
	.items-wrap.view-image .item .cell-cart .cat-add-to-basket {
		width: 100% !important;
		height: 34px !important;
	}
}

/* [01.11.2026] Карточка каталога (вид «Изображение»), только телефон: строка цены
   и рейтинга разбита на две строки - цена сверху, звёзды под ней */
@media (max-width: 480px) {
	.items-wrap.view-image .item .item-price {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
}
/* [01.11.2026] Окно заказа (place-order) на десктопе: шире (1200px).
   Планшет и телефон не трогаем */
@media (min-width: 1025px) {
	.popup-form.place-order {
		width: 1200px;
	}
}