/* Увеличина ширина контейнера */
@media (min-width: 1400px) {
	.container {
			width: 1320px;
	}
}

@media (min-width: 1700px) {
	.container {
			width: 1480px;
	}
}

@media (min-width: 1920px) {
	.container {
			width: 1620px;
	}
}

#sb-site
{
	min-height: auto !important;
}

#sb-site .boxed > .container
{
	min-height: 580px;
}

.no-auth select, 
.login-input select
{
	border-radius: 0 !important;
}

.no-auth .fa-phone, 
.login-input .fa-phone
{
	padding-left: 3px;
}

/* cyrillic-ext */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/ptsans/jizaRExUiTo99u79D0-ExdGM.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/ptsans/jizaRExUiTo99u79D0aExdGM.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/ptsans/jizaRExUiTo99u79D0yExdGM.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/ptsans/jizaRExUiTo99u79D0KExQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  src: url(../fonts/ptsans/jizfRExUiTo99u79B_mh0OOtLQ0Z.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  src: url(../fonts/ptsans/jizfRExUiTo99u79B_mh0OqtLQ0Z.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  src: url(../fonts/ptsans/jizfRExUiTo99u79B_mh0OCtLQ0Z.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  src: url(../fonts/ptsans/jizfRExUiTo99u79B_mh0O6tLQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



/* Roboto */
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Thin'), local('Roboto-Thin'), url('../fonts/roboto/Robotothin.woff2') format('woff2'), url('../fonts/roboto/Robotothin.woff') format('woff'), url('../fonts/roboto/Robotothin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Thin Italic'), local('Roboto-ThinItalic'), url('../fonts/roboto/Robotothinitalic.woff2') format('woff2'), url('../fonts/roboto/Robotothinitalic.woff') format('woff'), url('../fonts/roboto/Robotothinitalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Light'), local('Roboto-Light'), url('../fonts/roboto/Robotolight.woff2') format('woff2'), url('../fonts/roboto/Robotolight.woff') format('woff'), url('../fonts/roboto/Robotolight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Light Italic'), local('Roboto-LightItalic'), url('../fonts/roboto/Robotolightitalic.woff2') format('woff2'), url('../fonts/roboto/Robotolightitalic.woff') format('woff'), url('../fonts/roboto/Robotolightitalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto'), local('Roboto-Regular'), url('../fonts/roboto/Roboto.woff2') format('woff2'), url('../fonts/roboto/Roboto.woff') format('woff'), url('../fonts/roboto/Roboto.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Italic'), local('Roboto-Italic'), url('../fonts/roboto/Robotoitalic.woff2') format('woff2'), url('../fonts/roboto/Robotoitalic.woff') format('woff'), url('../fonts/roboto/Robotoitalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Medium'), local('Roboto-Medium'), url('../fonts/roboto/Robotomedium.woff2') format('woff2'), url('../fonts/roboto/Robotomedium.woff') format('woff'), url('../fonts/roboto/Robotomedium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Medium Italic'), local('Roboto-MediumItalic'), url('../fonts/roboto/Robotomediumitalic.woff2') format('woff2'), url('../fonts/roboto/Robotomediumitalic.woff') format('woff'), url('../fonts/roboto/Robotomediumitalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Bold'), local('Roboto-Bold'), url('../fonts/roboto/Robotobold.woff2') format('woff2'), url('../fonts/roboto/Robotobold.woff') format('woff'), url('../fonts/roboto/Robotobold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'), url('../fonts/roboto/Robotobolditalic.woff2') format('woff2'), url('../fonts/roboto/Robotobolditalic.woff') format('woff'), url('../fonts/roboto/Robotobolditalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Black'), local('Roboto-Black'), url('../fonts/roboto/Robotoblack.woff2') format('woff2'), url('../fonts/roboto/Robotoblack.woff') format('woff'), url('../fonts/roboto/Robotoblack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'Roboto';
    src: local('Roboto Black Italic'), local('Roboto-BlackItalic'), url('../fonts/roboto/Robotoblackitalic.woff2') format('woff2'), url('../fonts/roboto/Robotoblackitalic.woff') format('woff'), url('../fonts/roboto/Robotoblackitalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}



body {
	min-width: 240px;
    margin: 0px;
    background: #fff;
    color: #222;
    font-family: "Roboto","Helvetica","Arial",sans-serif;
    font-size: 14px;
    line-height: 1.7em;
}

#sb-site, .boxed {
    background: #fff;
}

a {
    font-family: "Roboto","Helvetica","Arial",sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
   font-family: "Roboto","Helvetica","Arial",sans-serif;
}

#header-full-top > .container > .row > div{
    float:none;
}


.breadcrumb
{
	position:relative!important;
	text-align:right;
	float:right;
}

@media (max-width: 500px){
	.main-header .breadcrumb {
		display: block!important;
	}
}

#back-top a {
    bottom: 55px;
}

/*Стили для блоков Ucats на главной странице*/
/*---------------------------------------------------------------------*/
/*Скроем левое меню каталога товаров на страницах ucats каталога*/
#left_col #group_fields + script + #cssmenu{
	display:none;
}
/*все блоки*/
.new-cat-block
{
	padding:11px;
}
/*все блоки*/
.ucats-h-1, .ucats-h-2
{
	display:block;
	border:1px solid #AAA;
	border-radius:1px;
	position:relative;
}
/*одинарная высота*/
.ucats-h-1
{
	height:170px;
}
/*двойная высота*/
.ucats-h-2
{
	height:417px;
}
/*картинка*/
.new-cat-block > a{
	position: relative;
	overflow: hidden;
}
.new-cat-block > a:before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 38px;
	right:0;
	z-index: 1;
	background-size: contain;
	background-position:center bottom;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
	transition: 0.5s;
}
.new-cat-block > a:hover:before{
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
	transition: 0.2s;
}
/*текстовая строка в блоках*/
.new-cat-block-text
{
	position:absolute;
	z-index:2;
	font-size:18px;
	
	bottom:0px;
	left:0px;
	right:0;
	padding:7px;
	opacity: 1;
	
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
    /* For IE 8*/
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
}
/*---------------------------------------------------------------------*/
/*Далее конкретные блоки*/
.new-cat-block-to:before 			{background: #fff url('/templates/nero/img/ucats/to.jpg') no-repeat;}
.new-cat-block-oil:before 			{background: #fff url('/templates/nero/img/ucats/oil.jpg') no-repeat;}
.new-cat-block-akb:before 			{background: #fff url('/templates/nero/img/ucats/akb.jpg') no-repeat;}
.new-cat-block-tires:before 		{background: #fff url('/templates/nero/img/ucats/tires.jpg') no-repeat;}
.new-cat-block-disks:before 		{background: #fff url('/templates/nero/img/ucats/disks.jpg') no-repeat;}
.new-cat-block-accessories:before 	{background: #fff url('/templates/nero/img/ucats/accessories.jpg') no-repeat;}
.new-cat-block-bolts:before 		{background: #fff url('/templates/nero/img/ucats/bolts.jpg') no-repeat;}
.new-cat-block-caps:before 			{background: #fff url('/templates/nero/img/ucats/caps.jpg') no-repeat;}
/*---------------------------------------------------------------------*/



.bs-glyphicons-list > li > a
{
	display:block;
	width:100%;
	height:100%;
	color:#777;
}
.bs-glyphicons-list > li > a:hover
{
	text-decoration:none;
	color:#FFF;
}

/*Обозначение цены*/
/*Для знака рубля*/
.RUB
{
    /*font-family: 'PT Sans', serif;*/
	font-family: 'Roboto', sans-serif;
}

.main-header
{
	margin-bottom:20px !important;
}

.fa-cart-with-products
{
	background-color:#0F0;
}

/*БЛОК ДЛЯ ФИЛЬТРОВ КАТАЛОГА - СТИЛИ ДЛЯ ФОНА*/
.side_properties_widgets_div
{
    border: 1px solid #DDD;
    background-color:#f9f9f9;
	width:100%;
	margin-bottom:10px;
}

.ya-share2__container_size_m .ya-share2__item_service_vkontakte .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_facebook .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_odnoklassniki .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_gplus .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_twitter .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_blogger .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_delicious .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_digg .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_reddit .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_evernote .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_linkedin .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_lj .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_pocket .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_qzone .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_renren .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_sinaWeibo .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_surfingbird .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_tencentWeibo .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_tumblr .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_viber .ya-share2__icon,
.ya-share2__container_size_m .ya-share2__item_service_whatsapp .ya-share2__icon
{
	background-size: 100%;
	width:48px;
	height:48px;
}
.ya-share2__badge
{
	margin-top:5px;
}

/*КАТАЛОГИ UCATS*/
/*----------------------------------------------------------------------------------------------*/
@media screen and (max-width: 500px) {
	/*Блоки каталогов*/
	.ucats_product_block
	{
		position:relative;
		display:inline-block;
		width:300px;
		height:210px;
		margin-left:5px;
	}
	.ucats_product_block:hover
	{
		box-shadow: 0 0 10px rgba(0,0,0,0.4);
	}
	.ucats_product_block > .product_img
	{
		position:absolute;
		left:7px;
		top:7px;
		max-height:190px;
		max-width:100px;
	}
	.ucats_product_block > .manufacturer
	{
		position:absolute;
		left:110px;
		top:7px;
		font-size:20px;
		color:#337ab7;
	}
	.ucats_product_block > .article
	{
		position:absolute;
		left:110px;
		top:30px;
		font-size:14px;
		color:#337ab7;
		border:1px solid #337ab7;
		border-radius:5px;
		padding:5px 35px 5px 5px;
		background-image:url('/content/files/images/icons/search_337ab7.png');
		background-size:contain;
		background-position: right;
		background-repeat: no-repeat;
		
		cursor:pointer;
	}
	.ucats_product_block > .article:hover
	{
		border:1px solid #075293;
		box-shadow: 0 0 7px rgba(0,0,0,0.1);
	}
	.ucats_product_block > .characteristics
	{
		position:absolute;
		left:110px;
		top:57px;
		font-size:14px;
		color:#555;
		font-weight:bold;
		padding:7px;
	}
	.ucats_product_block > .composition
	{
		position:absolute;
		left:110px;
		top:80px;
		font-size:14px;
		color:#000;
		padding:4px;
	}
	.ucats_product_block > .name_product
	{
		position:absolute;
		left:110px;
		top:110px;
		font-size:14px;
		line-height:16px;
		color:#000;
		padding:4px;
		text-align:left;
	}
	.ucats_product_block > .name_product_top
	{
		position:absolute;
		left:110px;
		top:60px;
		font-size:14px;
		color:#000;
		padding:4px;
		text-align:left;
	}
	.ucats_product_block > .product_page_button
	{
		position:absolute;
		right:7px;
		bottom:7px;
		font-size:14px;
		color:#000;
		padding:4px;
		text-align:left;
	}
}
@media screen and (min-width: 500px) and (max-width: 1200px) {
	/*Блоки каталогов*/
	.ucats_product_block
	{
		position:relative;
		display:inline-block;
		width:350px;
		height:210px;
		margin-left:5px;
	}
	.ucats_product_block:hover
	{
		box-shadow: 0 0 10px rgba(0,0,0,0.4);
	}
	.ucats_product_block > .product_img
	{
		position:absolute;
		left:7px;
		top:7px;
		max-height:190px;
		max-width:150px;
	}
	.ucats_product_block > .manufacturer
	{
		position:absolute;
		left:160px;
		top:7px;
		font-size:20px;
		color:#337ab7;
	}
	.ucats_product_block > .article
	{
		position:absolute;
		left:160px;
		top:30px;
		font-size:14px;
		color:#337ab7;
		border:1px solid #337ab7;
		border-radius:5px;
		padding:5px 35px 5px 5px;
		background-image:url('/content/files/images/icons/search_337ab7.png');
		background-size:contain;
		background-position: right;
		background-repeat: no-repeat;
		
		cursor:pointer;
	}
	.ucats_product_block > .article:hover
	{
		border:1px solid #075293;
		box-shadow: 0 0 7px rgba(0,0,0,0.1);
	}
	.ucats_product_block > .characteristics
	{
		position:absolute;
		left:160px;
		top:57px;
		font-size:14px;
		color:#555;
		font-weight:bold;
		padding:7px;
	}
	.ucats_product_block > .composition
	{
		position:absolute;
		left:160px;
		top:80px;
		font-size:14px;
		color:#000;
		padding:4px;
	}
	.ucats_product_block > .name_product
	{
		position:absolute;
		left:160px;
		top:110px;
		font-size:14px;
		line-height:16px;
		color:#000;
		padding:4px;
		text-align:left;
	}
	.ucats_product_block > .name_product_top
	{
		position:absolute;
		left:160px;
		top:60px;
		font-size:14px;
		color:#000;
		padding:4px;
		text-align:left;
	}
	.ucats_product_block > .product_page_button
	{
		position:absolute;
		right:7px;
		bottom:7px;
		font-size:14px;
		color:#000;
		padding:4px;
		text-align:left;
	}
}
@media screen and (min-width: 1200px) {
	/*Блоки каталогов*/
	.ucats_product_block
	{
		position:relative;
		display:inline-block;
		width:400px;
		height:210px;
		margin-left:5px;
	}
	.ucats_product_block:hover
	{
		box-shadow: 0 0 10px rgba(0,0,0,0.4);
	}
	.ucats_product_block > .product_img
	{
		position:absolute;
		left:7px;
		top:7px;
		max-height:190px;
		max-width:150px;
	}
	.ucats_product_block > .manufacturer
	{
		position:absolute;
		left:160px;
		top:7px;
		font-size:20px;
		color:#337ab7;
	}
	.ucats_product_block > .article
	{
		position:absolute;
		left:160px;
		top:30px;
		font-size:14px;
		color:#337ab7;
		border:1px solid #337ab7;
		border-radius:5px;
		padding:5px 35px 5px 5px;
		background-image:url('/content/files/images/icons/search_337ab7.png');
		background-size:contain;
		background-position: right;
		background-repeat: no-repeat;
		
		cursor:pointer;
	}
	.ucats_product_block > .article:hover
	{
		border:1px solid #075293;
		box-shadow: 0 0 7px rgba(0,0,0,0.1);
	}
	.ucats_product_block > .characteristics
	{
		position:absolute;
		left:160px;
		top:57px;
		font-size:14px;
		color:#555;
		font-weight:bold;
		padding:7px;
	}
	.ucats_product_block > .composition
	{
		position:absolute;
		left:160px;
		top:80px;
		font-size:14px;
		color:#000;
		padding:4px;
	}
	.ucats_product_block > .name_product
	{
		position:absolute;
		left:160px;
		top:110px;
		font-size:14px;
		line-height:16px;
		color:#000;
		padding:4px;
		text-align:left;
	}
	.ucats_product_block > .name_product_top
	{
		position:absolute;
		left:160px;
		top:60px;
		font-size:14px;
		color:#000;
		padding:4px;
		text-align:left;
	}
	.ucats_product_block > .product_page_button
	{
		position:absolute;
		right:7px;
		bottom:7px;
		font-size:14px;
		color:#000;
		padding:4px;
		text-align:left;
	}
}




/*Переключатели страниц*/
.pages_selector
{
	display:inline-block;
	height:25px;
	line-height:25px;
	padding-left:15px;
	padding-right:15px;
	
	cursor:pointer;
	/*
	background: #f2f5f6;
	background: -moz-linear-gradient(top,  #f2f5f6 0%, #e3eaed 37%, #c8d7dc 100%);
	background: -webkit-linear-gradient(top,  #f2f5f6 0%,#e3eaed 37%,#c8d7dc 100%);
	background: linear-gradient(to bottom,  #f2f5f6 0%,#e3eaed 37%,#c8d7dc 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f5f6', endColorstr='#c8d7dc',GradientType=0 );
	*/
}
.current_page
{
	color:#FFF;
	background-color:#337ab7 !important;
}



/*Страница одного товара*/
.ucats_product
{
	position:relative;
}
.ucats_product > .product_image,
.ucats_product > .product_info
{
	position:absolute;
}
.ucats_product > .product_image
{
	top:20px;
	right:40px;
}
.ucats_product > .product_info
{
	top:20px;
	left:0;
}
.ucats_product > .product_info > p
{
	font-size:14px;
	color:#555;
}
.ucats_product > .product_info > h3
{
}
.ucats_product > .product_info > .article
{
	font-size:14px;
	color:#337ab7;
	border:1px solid #337ab7;
	border-radius:5px;
	padding:5px 27px 5px 5px;
	background-image:url('/content/files/images/icons/search_337ab7.png');
	background-size:contain;
	background-position: right;
	background-repeat: no-repeat;
	
	cursor:pointer;
}
.ucats_product > .product_info > .article:hover
{
	border:1px solid #075293;
	box-shadow: 0 0 7px rgba(0,0,0,0.1);
}










/*СТИЛИ ДЛЯ РАСШИРЕНИЯ BOOTSTRAP - 5 КОЛОНОК*/
.col-xs-1-5,
.col-sm-1-5,
.col-md-1-5,
.col-lg-1-5 {
  position: relative;
  min-height: 1px;
  padding-right: 10px;
  padding-left: 10px;
}
 
.col-xs-1-5 {
  width: 20%;
  float: left;
}
 
@media (min-width: 768px) {
  .col-sm-1-5 {
    width: 20%;
    float: left;
  }
}
 
@media (min-width: 992px) {
  .col-md-1-5 {
    width: 20%;
    float: left;
  }
}
 
@media (min-width: 1200px) {
  .col-lg-1-5 {
    width: 20%;
    float: left;
  }
}



/*Таблица сравнений товаров*/
.table-nonfluid {
   width: auto !important;
}
.table-nonfluid td
{
	width:220px;
}
.table-nonfluid th
{
	padding:0 !important;
}
.table-nonfluid tbody
{
}



/*ПАНЕЛЬ С КОРЗИНОЙ, ЗАКЛАДКАМИ И СРАВНЕНИЕМ*/
.bottom-border
{
	height:35px;
}
.bottom-ul > li
{
	height:35px;
	
	position:relative;
}
.bottom-ul > li > a:hover
{
	background-color:#222;
	color:#AAA;
}
.bottom-ul > li > a
{
	padding-left:20px;
	padding-right:20px;
	padding-top:8px;
	padding-bottom:8px;
}
.navbar-fixed-bottom
{
	background-color:#333;
	border-top:1px solid #444;
	min-height:35px;
	max-height:35px;
}
.container-fluid
{
	margin:0 30px;
}
.bottom-ul:last-child
{
	border-right:1px solid #444;
}
.bottom-ul > li
{
	border-left:1px solid #444;
}
.bottom-button
{
	margin-top:6px;
	margin-right:8px;
	padding-top:0;
	height:25px;
	line-height:25px;
}
.bottom-icon,
.bottom-label
{
	color:#AAA;
}
#cart_items_sum
{
	color:#AAA;
}
/*Указатель добавления в корзину, добавлени в закладки и сравнения*/
#mark_popup_added,
#mark_bookmarks_popup_added
{
	position:absolute;
	bottom:40px;
	left:60px;
	color:#FFF;
	width:100px;
	height:30px;
	line-height:30px;
	z-index:9999999999999;
	text-align:center;
}
#mark_compare_popup_added
{
	position:absolute;
	bottom:40px;
	left:75px;/*Отличается от Корзины и Закладок*/
	color:#FFF;
	width:100px;
	height:30px;
	line-height:30px;
	z-index:9999999999999;
	text-align:center;
}
#mark_popup_added:before,
#mark_bookmarks_popup_added:before,
#mark_compare_popup_added:before
{
	content:'';
	position:absolute;
	left:35px;
	bottom:-10px;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;

	border-top-style: solid;
	border-top-width: 15px;
	border-top-color: inherit;
	
	z-index:99999999999999;
}
@media (max-width: 768px) {
	.container-fluid
	{
		margin:0 15px;
	}
	.bottom-ul
	{
		margin-top: 0;
		margin-right: -15px;
		margin-bottom: 0;
		margin-left: -15px;
	}
	.bottom-ul > li
	{
		width:30%;
		display:inline-block;
	}
	.bottom-ul > li > a
	{
		padding-left:10px;
		padding-right:10px;
		padding-top:8px;
		padding-bottom:8px;
		white-space: nowrap;
	}
	
	
	/*Указатель добавления в корзину, добавлени в закладки и сравнения*/
	#mark_popup_added,
	#mark_bookmarks_popup_added,
	#mark_compare_popup_added
	{
		bottom:40px;
		left:10px;
	}
	#mark_popup_added:before,
	#mark_bookmarks_popup_added:before,
	#mark_compare_popup_added:before
	{
		content:'';
		position:absolute;
		left:12px;
		bottom:-10px;
		border-left: 15px solid transparent;
		border-right: 15px solid transparent;

		border-top-style: solid;
		border-top-width: 15px;
		border-top-color: inherit;
		
		z-index:99999999999999;
	}
}






/*Форма с публикацией отзыва*/
.evaluations_mark i
{
	font-size:25px;
}
.evaluations_mark i:hover
{
	color:#AAA;
	cursor:pointer;
}



/*Для страницы одного товара - варианты исполнения*/
.product-option-message
{
	margin-bottom:0 !important;
}
.product-option-variant
{
	display:block;
	margin-bottom:5px;
}



/*Стили для блока поисковых табов на главной странице*/
/*Пояснение - вверху каждого таба*/
.search_tab_clar
{
	
}
/*ul столбика с автомобилями*/
.search_tab_car_ul
{
	display:inline-block!important;
	list-style-type: none!important;
	vertical-align: top;
}
/*div для буквы автомобиля*/
.search_tab_car_letter
{
	display:inline-block!important;
	width:25px!important;
	font-weight:bold!important;
	font-size:16px!important;
}
/*div для названия автомобиля*/
.search_tab_car_caption
{
	display:inline-block!important;
}
.search_tab_car_caption > A
{
	color:unset!important;
	text-decoration:none!important;
}
.search_tab_car_caption > A:hover
{
	text-decoration:underline!important;
}
/*Стиль для одного каталога выбранной марки*/
.search_tab_car_catalogue
{
	margin:20px;
}
.search_tab_car_catalogue > A
{
	color:unset!important;
	text-decoration:none;
}
.search_tab_car_catalogue > A:hover
{
	text-decoration:underline;
}
/*Ссылка для возвращения к отображению марок автомобилей*/
.search_tab_car_catalogue_back
{
}
.search_tab_car_catalogue_back:hover
{
	text-decoration:underline;
}










/*START МОДАЛЬНОЕ ОКНО*/
.geo-modal-content__title {
	position: relative;
	padding-right: 60px;
	text-align: left;
}
.geo-modal-content__close {
	display: block;
	position: absolute;
	top: 10px;
	right: 10px;
	width: auto;
	height: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
					box-shadow: none;
	cursor: pointer;
	background: #fff;
	text-align: center;
	font-size: 18px;
	line-height: 1;
	color: #444;
	text-decoration: none;
	font-weight: 400;
	z-index: 999999;
	opacity: 0.8;
	text-decoration: none;
}
.geo-modal-content__close:hover 
{
    background: inherit;
		opacity: 1;
}
.geo-modal-content__search {
	width: 100%;
	margin-top: 15px;
	position: relative;
	box-sizing: border-box;
}
.geo-modal-content__search .input-block__field {
	display: block;
	width: 100%;
	height: 40px;
	padding: 7px 30px 8px;
	border-radius: 8px !important;
	border: 2px solid #E3E4E5;
	font-size: 14px;
	line-height: 18px;
	color: #232428;
	resize: none;
	transition: border-color .3s ease;
	letter-spacing: -.1px;
	font-weight: 400;
}
.geo-modal-content__search .input-block__clear {
	display: inline-block;
	border: none;
	background-color: transparent;
	background-size: 100%;
	background-repeat: no-repeat;
	position: absolute;
	padding: 0;
	outline: 0;
	right: 12px;
	top: 14px;
	width: 20px;
	height: 20px;
	background-image: url('/content/files/images/icons/clear.svg');
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s ease;
	cursor: pointer;
	top: 50%;
	transform: translateY(-50%);
}
.geo-modal-content__search:before {
	content: '';
	position: absolute;
	height: 20px;
	z-index: 2;
	background-repeat: no-repeat;
	top: 50%;
	left: 8px;
	transform: translateY(-50%);
	width: 20px;
	background-image: url('/content/files/images/icons/dark-search.svg');
	background-size: 100% 100%;
}
.geo-modal-content__search .input-block__field:focus {
	border-color: #FBDE4B;
}
.input-block__field:not(:invalid):not(:placeholder-shown)~.input-block__clear {
	opacity: 1;
	pointer-events: auto;
}

/*END МОДАЛЬНОЕ ОКНО*/

/* Модуль гео позиции */
.geo_point_wrap
{
    cursor:pointer;
	white-space: nowrap;
	margin: 0;
    padding: 0;
    display: inline-block;
    padding: 7px 10px;
    color: #000;
    text-decoration: none;
    background-color: #f1f1f1;
    -webkit-box-shadow: inset 0 0 1px #ffffff;
    -moz-box-shadow: inset 0 0 1px #ffffff;
    box-shadow: inset 0 0 1px #ffffff;
    border: solid 1px #e3e6e8;
    border-top: 0;
}
.customer_city
{
    text-align: left;
    cursor: pointer;
}
.customer_city > i{
	font-size: 13px !important;
}
.customer_city_name {
	color: #0449d8;
	border-bottom: 1px dashed #0449d8;
}
.customer_city_notify {
	margin-top: 5px;
	display: block;
	max-width: 200px;
	width: 100%;
	font-size: 12px;
	opacity: 0.6;
	line-height: 1.3;
}
.geo_list
{
    text-align:left;
		max-height: 400px;
    overflow: auto;
}
.geo_top_level
{
    color:#313131;
    border-bottom:1px dotted #313131;
    font-weight:bold;
    font-size:22px;
    padding:4px;
}
.geo_second_level
{
    color:#313131;
    border-bottom: 1px dotted #313131;
    font-size: 20px;
    padding: 4px;
}
.geo_default_level
{
    display: inline-block;
    font-size: 14px;
    margin-bottom: 4px;
		line-height: 1.2;
		cursor: pointer;
}
.geo-modal-content .geo_list {
	margin-top: 15px;
}
.geo-modal-content .geo_top_level_list {
	-webkit-column-count: 1;
	-moz-column-count: 1;
					column-count: 1;
	list-style: none;
	padding-left: 4px;
	margin-bottom: 20px;
}
.geo-modal-content .geo_top_level {
	border: 0;
	font-size: 18px;
	padding: 0;
  margin-bottom: 6px;
}
.geo-modal-content .geo_second_level {
	border: 0;
	font-size: 16px;
	padding: 0;
	margin-top: 10px;
	margin-bottom: 2px;
}
.geo-modal-content .geo_second_level.geo-hidden {
	visibility: hidden;
	height: 0;
	margin: 0;
	padding: 0;
	pointer-events: none;
}
.geo-modal-content .geo_second_level_list {
	padding-left: 5px;
	list-style: none;
}
.geo-modal-content.small-list {
	max-width: 400px;
}
.geo-modal-content.medium-list .geo_top_level_list {
	-webkit-column-count: 2;
	-moz-column-count: 2;
					column-count: 2;
}
.geo-modal-content.large-list .geo_top_level_list {
	-webkit-column-count: 3;
	-moz-column-count: 3;
					column-count: 3;
}
/*END Модуль гео позиции */



/*Стили для блока поделиться с друзьями*/
.ya-share2__container_size_m .ya-share2__popup_direction_bottom {
	top: auto!important;
	left: auto!important;
	right: -146px!important;
	bottom: 50px!important;
}
.ya-share2__container_size_m .ya-share2__popup_direction_bottom:before {
	content: 'Поделиться с друзьями:';
	white-space: nowrap;
	display: block;
	font-weight: bold;
}
.ya-share2__container_size_m .ya-share2__icon_more:before {
	font-size: 18px;
	line-height: 24px;
	content: "\f0c1";
	font-family: FontAwesome;
	color: #ff482b;
	left: 0;
	right: 0;
	top: 5px;
	bottom: 0;
	position: absolute;
	text-align: center;
}
.ya-share2__icon_more, .ya-share2__icon_total-counter {
	border: 1px solid #ccc;
}
.ya-share2__icon{
	width:35px !important;
	height:35px !important;
}



.col-lg-12{
    min-height: 0px;
}


/* Категории товаров в виде плитки */

.new-cat-block-catalog
{
	position: relative;
	overflow: hidden;
}
.new-cat-block-catalog .new-cat-block-catalog-img{
	content: "";
	position: absolute;
	top: 15px;
	left: 15px;
	bottom: 45px;
	right: 15px;
	z-index: 1;
	background-position:center;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
	transition: 0.5s;
	
	/* Черно-белое изображение */
	/*-webkit-filter: grayscale(1);
	filter: gray;
	filter: grayscale(1);*/
}
.new-cat-block-catalog:hover .new-cat-block-catalog-img {
	content: "";
	position: absolute;
	top: 15px;
	left: 15px;
	bottom: 45px;
	right: 15px;
	z-index: 1;
	background-position:center;
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
	transition: 0.2s;
	
	/* Черно-белое изображение */
	/*-webkit-filter: grayscale(0);
	filter: none;
	filter: grayscale(0);*/
}

/* END */





/* ======================================================================================== */




body {
  color: #555;
  padding: 0;
}

a:hover {
  text-decoration: none;
}

header {
  display: block;
  background: #fff;
  position: relative;
  z-index: 10;
}

header a {
  text-decoration: none;
}

header table td {
  padding: initial;
  vertical-align: middle;
  font-size: inherit;
  border: none;
}

header .top-menu-line table {
  width: 100%;
}

header .top-menu-line .navbar-header-full {
  background: none;
}

header .top-menu-line table td {
  vertical-align: top;
}

header .top-menu-line table td:last-child {
  text-align: right;

  white-space: nowrap;
}

header .navbar {
  position: relative;
  min-height: auto;
  margin-bottom: auto;
  border: none;
  z-index: 7;
}

header .navbar:before {
  display: none;
}

header .navbar .nav:before {
  display: none;
}

header .navbar-default .navbar-nav > li > a:hover,
header .navbar-default .navbar-nav > li > a:active,
header .navbar-default .navbar-nav > li > a:focus,
header .navbar-default .navbar-nav > .active > a:hover {
  color: #000;
}

header .navbar-default .navbar-nav > li > a {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 27px;
  padding: 5px 0px;
  position: relative;
  z-index: 1;
  text-transform: none;
  letter-spacing: normal;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 20px;
  display: inline-block;
  text-align: left;
  color: rgba(41, 42, 49, 0.75);
}

header .navbar-default .navbar-nav > .active > a {
  color: rgba(41, 42, 49, 0.75);
}

header .navbar-default .navbar-nav > li > a:after {
  display: none;
  content: "";
}

header .navbar-nav > .dropdown > a:before {
  content: "\f078";
  position: absolute;
  font-weight: 100;
  display: inline-block;
  font-family: FontAwesome;
  right: 0px;
  font-size: 9px;
  color: rgba(50, 50, 50, 0.75);
}

header .dropdown-menu {
  border-top: none;
  border-color: #e4e4e4;
}

header .dropdown-menu > li > a {
  display: block;
  padding: 5px 30px 5px 13px;
  border-color: #e4e4e4;
}

header .navbar-default .navbar-nav > li.dropdown > a {
  padding-right: 13px;
}

header .new-header-user-box .balance_indicator {
  font-style: normal;
  font-weight: bold;
  position: relative;
  top: 1px;
  font-size: 16px;
  line-height: 0px;
}

header .new-header-user-box .balance_text {
  font-style: normal;
  font-size: 13px;
}

header .new-header-user-box {
  display: inline-block;
  margin-left: 20px;
}

header .new-header-user-box a {
  color: rgba(41, 42, 49, 0.75);
  text-decoration: none;
  cursor: pointer;
  padding: 5px 0px;
  line-height: 20px;
  display: inline-block;
}

header .new-header-user-box a:hover,
header .new-header-user-box a:active,
header .new-header-user-box a:focus {
  color: #000;
  text-decoration: none;
}

@media (max-width: 1200px) {
  header .navbar-default .navbar-nav > li > a {
    margin-right: 10px;
  }

  header .new-header-user-box {
    margin-left: 10px;
  }
}

/* Кнопка личного кабинета */

header .new-header-user-box .dropdown-menu-right {
  right: -1px;
  border: 1px solid #e4e4e4;
  margin: 0;
  min-width: 250px;
}

header .new-header-user-box .panel-heading {
  text-align: center;
}

header .new-header-user-box .form-group {
  margin-bottom: 0;
}

header .new-header-user-box .form-group .btn {
  margin: 0;

  padding: 10px 20px;
}

header .new-header-user-box .form-group .clearfix {
  display: none;
}

header .new-header-user-box .panel-heading {
  font-weight: bold;
  color: #333;
  border-bottom: 1px solid #e4e4e4;
}

header .new-header-user-box .panel-body {
  padding: 0;
}

header .new-header-user-box .no-auth .form-group > div {
  margin-left: 15px;
  margin-right: 15px;
}

header .new-header-user-box .no-auth {
  margin-top: 15px;
}

header .new-header-user-box .form-group a {
  display: block;
  background: none;
  color: #000 !important;
  border: none;
  text-align: left;
  border-radius: 0;
  border-bottom: 1px solid #e4e4e4;
}

header .new-header-user-box .form-group .btn_exit {
  border-bottom: none !important;
}

header .new-header-user-box .form-group hr {
  display: none;
}

header .new-header-user-box .form-group .btn:before {
  font-size: 14px;
  font-weight: normal;
  display: inline-block;
  font-family: FontAwesome;
  width: 30px;
  color: #333;
}

header .new-header-user-box .form-group .btn_auth:before {
  content: "\f090";
}

header .new-header-user-box .form-group .btn_reg:before {
  content: "\f234";
}

header .new-header-user-box .form-group .btn_forget:before {
  content: "\f128";
}

header .new-header-user-box .form-group .btn_profile:before {
  content: "\f007";
}

header .new-header-user-box .form-group .btn_settings:before {
  content: "\f044";
}

header .new-header-user-box .form-group .btn_orders:before {
  content: "\f03a";
}

header .new-header-user-box .form-group .btn_return:before {
  content: "\f060";
}

header .new-header-user-box .form-group .btn_cart:before {
  content: "\f07a";
}

header .new-header-user-box .form-group .btn_garazh:before {
  content: "\f1b9";
}

header .new-header-user-box .form-group .btn_requests:before {
  content: "\f135";
}

header .new-header-user-box .form-group .btn_bloknot:before {
  content: "\f02d";
}

header .new-header-user-box .form-group .btn_balans:before {
  content: "\f158";
}

header .new-header-user-box .form-group .btn_exit:before {
  content: "\f08b";
}

header .new-header-user-box .form-group .btn_auth {
  padding-top: 0;
}

header .new-header-user-box .form-group .btn_forget,
header .new-header-user-box .form-group .btn_exit {
  border-bottom: none;
}

/*	END	 */

header .top-menu-line {
  border-bottom: 1px solid #f5f5f5;
}

header .logo-line {
  padding: 20px 0px;

  color: #555;
}

header .logo-line .table-group {
  min-height: 70px;
}

header .logo-line .geo-point-box i,
header .logo-line .timetable-box i {
  margin-right: 15px;
  font-size: 25px;
}

header .logo-line .geo-point-box {
  display: inline-block;
  line-height: 1.3em;
}

header .logo-line .geo-point-box .customer_city i {
  display: none;
}

header .logo-line .timetable-box {
  max-width: 230px;
  display: inline-block;
  line-height: 1.3em;
}

@media (max-width: 991px) {
  header .logo-line .timetable-box {
    display: none;
  }

  header .schearch-line .header-search-box .input-group input {
    font-size: 12px;
  }
}

header .logo-line .header-phone-box {
  line-height: 1em;
}

header .logo-line .header-phone-box a {
  font-size: 25px;
  text-decoration: none;
}

header .logo-line .header-call-box a {
  text-decoration: none;
  padding-right: 2px;
}

header .schearch-line {
  padding: 10px 0px;
}

header .schearch-line table {
  width: 100%;
}

header .schearch-line .search-table-td {
  width: 100%;
}

header .schearch-line .header-search-box {
  width: 100%;
}

header .schearch-line .header-search-box .input-group {
  width: 100%;
}

header .schearch-line .header-search-box .input-group-btn {
  width: auto;
  font-size: 0;
  white-space: nowrap;
  position: absolute;
  z-index: 3;
  top: 5px;
  right: 5px;
}

header .schearch-line .header-search-box .input-group-btn button {
  border-radius: 16px;
  margin-left: 0;
}

header .schearch-line .header-search-box .input-group input {
  height: 50px;
  border: none;
  padding-left: 40px;
  background: none;
  background: #fff;
  border-radius: 16px !important;
  box-shadow: 0px 1px 0px #e6eaef;
}

header .schearch-line .header-search-box .dropdown span:after {
  top: 15px;
}

header .schearch-line .header-search-box .dropdown span {
  height: 50px;
  line-height: 50px;
}

header .schearch-line .menu-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

header .schearch-line .menu-box-item {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.menu-box-icon {
  height: 25px;
  max-width: 25px;
	width: 100%;
}

header .schearch-line .menu-box > div {
  padding: 0px;
  text-align: center;
}

header .schearch-line .menu-box a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  font-size: 19px;
  text-decoration: none;
  color: #555;
  background: #fff;
  border-bottom: 1px solid #e6eaef;
  border-right: 1px solid #e6eaef;
  white-space: nowrap;
  height: 50px;
}

header .schearch-line .menu-box > div:first-child a {
  border-radius: 16px 0px 0px 16px;
}

header .schearch-line .menu-box > div:last-child a {
  border-radius: 0px 16px 16px 0px;
}

header .schearch-line .menu-box .badge {
  border-radius: 2px;
  display: inline-block;
  min-width: 10px;
  padding: 2px 5px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  position: relative;
  left: 2px;
}

/* THEME TOGGLE nero, механика референса tyre-theme */
:root { --bg: #090d14; --panel: #111722; --panel-2: #151d2a; --line: #253041; --text: #f3f5f7; --muted: #8d9aab; --orange: #FF4000; }
html.theme-light { --bg: #ffffff; --panel: #f7f4f3; --panel-2: #f1eeeb; --line: #e4e4e4; --text: #555555; --muted: #8d8780; --orange: #FF4000; }

/* Кнопка в menu-box desktop: вид как соседние иконки */
header .schearch-line .menu-box .theme-toggle-btn {
  display: flex; justify-content: center; align-items: center;
  width: 100%; height: 50px; font-size: 19px; cursor: pointer;
  color: var(--orange); background: #fff;
  border: 0; border-bottom: 1px solid #e6eaef; border-right: 1px solid #e6eaef;
  border-radius: 0; padding: 0;
}
header .schearch-line .menu-box > div:last-child .theme-toggle-btn { border-radius: 0px 16px 16px 0px; border-right: 0; }
header .schearch-line .menu-box .theme-toggle-btn:hover { color: #E63A00; }
header .schearch-line .menu-box .theme-toggle-btn svg { width: 22px; height: 22px; }
/* иконка-кнопка строго по центру: убираем baseline-сдвиг svg внутри спена */
.theme-toggle-btn > span[data-icon-sun],
.theme-toggle-btn > span[data-icon-moon] { display: inline-flex; line-height: 0; }
.theme-toggle-btn > span[data-icon-sun] > svg,
.theme-toggle-btn > span[data-icon-moon] > svg { display: block; }
.theme-toggle-btn-mobile { display: inline-flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; }
.theme-toggle-btn-mobile span { line-height: 1; }

/* Тёмная тема: только цвета, layout nero untouched */
html:not(.theme-light) body { background: var(--bg); color: var(--text); }
html:not(.theme-light) #sb-site, html:not(.theme-light) .boxed { background: var(--bg); }
html:not(.theme-light) header { background: var(--bg); }
html:not(.theme-light) header .top-menu-line { background: var(--panel) !important; border-bottom: 1px solid var(--line); }
html:not(.theme-light) header .logo-line { background: var(--panel) !important; color: var(--text); }
/* Тёмная тема: мягкое тёплое halo за логотипом, саму картинку не трогаем */
html:not(.theme-light) header .logo-line .header-logo img {
  filter: drop-shadow(0 0 10px rgba(255,64,0,.28)) drop-shadow(0 0 28px rgba(255,64,0,.12));
}
html:not(.theme-light) header .navbar-default .navbar-nav > li > a,
html:not(.theme-light) header .new-header-user-box a { color: var(--muted); }
html:not(.theme-light) header .navbar-default .navbar-nav > li > a:hover,
html:not(.theme-light) header .new-header-user-box a:hover { color: #fff; }
html:not(.theme-light) header .schearch-line { background: var(--bg); }
html:not(.theme-light) header .schearch-line .header-search-box .input-group input {
  background: var(--panel-2); color: var(--text); box-shadow: none; border: 1px solid var(--line);
}
html:not(.theme-light) header .schearch-line .header-search-box .dropdown span,
html:not(.theme-light) header .schearch-line .header-cat-btn { color: var(--text); }
html:not(.theme-light) header .schearch-line .header-cat-btn { background: var(--panel-2); border: 1px solid var(--line); }
html:not(.theme-light) header .schearch-line .menu-box a {
  color: var(--text); background: var(--panel-2);
  border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
}
html:not(.theme-light) header .schearch-line .menu-box .theme-toggle-btn {
  color: var(--orange); background: var(--panel-2);
  border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
}
html:not(.theme-light) header .schearch-line .menu-box a:hover { color: var(--orange); border-color: var(--orange); }
html:not(.theme-light) header .schearch-line .menu-box .theme-toggle-btn:hover { color: #E63A00; border-color: var(--orange); }
html:not(.theme-light) header .logo-line .header-phone-box a,
html:not(.theme-light) header .logo-line .header-call-box a,
html:not(.theme-light) header .logo-line .timetable-box { color: var(--text); }
/* тёмная: гео-блок в шапке — оранжевый */
html:not(.theme-light) header .logo-line .geo-point-box,
html:not(.theme-light) header .logo-line .geo-point-box a,
html:not(.theme-light) header .logo-line .geo-point-box i { color: var(--orange); }
html:not(.theme-light) #dp_menu { background: var(--panel); border-top: 1px solid var(--line); }
html:not(.theme-light) #dp_menu .vertical-tabs-left .tab-content,
html:not(.theme-light) #dp_menu .vertical-tabs-right .tab-content { background: var(--panel); }
html:not(.theme-light) #dp_menu .vertical-tabs-right { background: var(--panel-2); }
html:not(.theme-light) #dp_menu .vertical-tabs-right .vertical-tab-list ul.nav > li > a { color: var(--text); }
html:not(.theme-light) #dp_menu .vertical-tabs-right .vertical-tab-list ul.nav > li.active > a,
html:not(.theme-light) #dp_menu .vertical-tabs-right .vertical-tab-list ul.nav > li.active > a:hover,
html:not(.theme-light) #dp_menu .vertical-tabs-right .vertical-tab-list ul.nav > li.active > a:focus,
html:not(.theme-light) #dp_menu .vertical-tabs-right .vertical-tab-list ul.nav > li > a:hover,
html:not(.theme-light) #dp_menu .vertical-tabs-right .vertical-tab-list ul.nav > li > a:focus { background-color: var(--panel-2); color: var(--text); }
html:not(.theme-light) #dp_menu .nav > li { border-bottom-color: var(--line); }
html:not(.theme-light) #dp_menu .one_line,
html:not(.theme-light) #dp_menu .two_line { color: var(--text); }
html:not(.theme-light) #dp_menu .box_line a { color: var(--text); }
html:not(.theme-light) #dp_menu .box_line a:hover { color: var(--orange); }
html:not(.theme-light) #dp_menu .count_ch { color: var(--muted); }
html:not(.theme-light) #dp_menu .count_ch:hover { color: var(--orange); }
html:not(.theme-light) .header-box-mobile,
html:not(.theme-light) .header-box-mobile nav,
html:not(.theme-light) .mobile-search-div { background: var(--panel); }
html:not(.theme-light) .header-box-mobile .header-search-box .input-group input {
  background: var(--panel-2); color: var(--text); border: 1px solid var(--line);
}
html:not(.theme-light) .theme-toggle-btn-mobile { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); }

/* Тёмная тема: тело главной — только цвета, layout untouched, картинки не инвертировать */
html:not(.theme-light) { color-scheme: dark; }
html:not(.theme-light) body,
html:not(.theme-light) .boxed,
html:not(.theme-light) #sb-site { background: var(--bg); color: var(--text); }
html:not(.theme-light) .slider-line.tile-line-box { background: var(--bg) !important; }
html:not(.theme-light) .tile-line { background: transparent; }
html:not(.theme-light) .tile_box { background: transparent; }
html:not(.theme-light) .tile_box > div { background: transparent; }
html:not(.theme-light) .slider-line .tile-line .tile {
  background-color: var(--panel); border: 1px solid var(--line); color: var(--text);
}
html:not(.theme-light) .slider-line .tile-line .tile:hover { border-color: var(--line); box-shadow: 0 6px 12px rgba(0,0,0,0.45); }
html:not(.theme-light) .slider-line .tile-line .tile .tile-text { color: var(--text); }
html:not(.theme-light) .slider-line .tile-line .tile:hover .tile-text { color: #fff !important; text-shadow: none; }
html:not(.theme-light) .slider-line .tile-line [class*="tile-img-"] { background-color: var(--panel); }
html:not(.theme-light) .section-title { color: var(--text); border-bottom: 1px solid var(--line); }
html:not(.theme-light) .section-title:first-letter { color: var(--text); }
html:not(.theme-light) .new-cat-block-catalog { background-color: var(--panel); border: 1px solid var(--line); color: var(--text); }
html:not(.theme-light) .new-cat-block-catalog .new-cat-block-text { background: var(--panel); color: var(--text); }
html:not(.theme-light) .sectionBanner,
html:not(.theme-light) .bannerMain,
html:not(.theme-light) .bannerRight { background: transparent; border: 0; }

/* Тёмная тема: точки пагинации слайдера (дефолт Swiper тёмный на тёмном) */
html:not(.theme-light) .mainSlider-pagination .swiper-pagination-bullet,
html:not(.theme-light) .swiper-pagination .swiper-pagination-bullet {
  background: var(--muted); opacity: 1;
}
html:not(.theme-light) .mainSlider-pagination .swiper-pagination-bullet-active,
html:not(.theme-light) .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--orange); opacity: 1; width: 24px; border-radius: 4px;
}

/* Тёмная тема: новости (desktop.php:1884-1912, светлое :3284-3298) */
html:not(.theme-light) .news_box .news_item_box { background-color: var(--panel); border-color: var(--line); }
html:not(.theme-light) .news_box .news_item_box a { color: inherit; }
html:not(.theme-light) .news_box .news_item_name { color: var(--text); }
html:not(.theme-light) .news_box .news_item_text,
html:not(.theme-light) .news_box .news_item_clock { color: var(--muted); }
/* Хосты shadow-компонентов: фон прозрачный (краска только на внутрянке, без двойных углов) */
html:not(.theme-light) vin-search,
html:not(.theme-light) article-search,
html:not(.theme-light) cars-menu,
html:not(.theme-light) auto-catalog-slider,
html:not(.theme-light) kuzov-menu {
  display: block; background: transparent; border: 0;
  border-radius: 16px; color: var(--text); color-scheme: dark;
}
/* Оранжевые кнопки оставить как есть; картинки не инвертировать */
html:not(.theme-light) vin-search img,
html:not(.theme-light) article-search img,
html:not(.theme-light) cars-menu img,
html:not(.theme-light) auto-catalog-slider img,
html:not(.theme-light) .slider-line img { filter: none; }

/* Тёмная тема: подвал — только цвета, layout untouched, картинки не инвертировать */
html:not(.theme-light) #footer-widgets {
  background: var(--panel) !important; color: var(--text);
  border-top: 1px solid var(--line);
}
html:not(.theme-light) #footer-widgets p { color: var(--muted); }
html:not(.theme-light) #footer-widgets .footer-widget-title { color: var(--text); }
html:not(.theme-light) #footer-widgets .module_caption { color: var(--text); border-bottom-color: var(--orange); }
html:not(.theme-light) #footer-widgets li { border-color: var(--line); }
html:not(.theme-light) #footer-widgets a:not(.btn) { color: var(--muted); }
html:not(.theme-light) #footer-widgets a:not(.btn):hover { color: var(--orange); }
html:not(.theme-light) #footer-widgets .footer_pay_box { background: var(--panel-2); border: 1px solid var(--line); }
html:not(.theme-light) footer#footer {
  background: var(--panel) !important; color: var(--muted);
  border-top: 1px solid var(--line);
}
html:not(.theme-light) footer#footer p { color: var(--muted); }
html:not(.theme-light) footer#footer a { color: var(--muted); }
html:not(.theme-light) footer#footer a:hover { color: var(--orange); }
html:not(.theme-light) .footer-image img,
html:not(.theme-light) #footer-widgets .footer_pay_logo { filter: none; }

/* Тёмная тема: контент индекса движка (catalog.css) — вар-мэппинг + точечно */
html:not(.theme-light) body {
  --card-bg: var(--panel);
  --text-primary: var(--text);
  --text-secondary: var(--muted);
  --text-muted: var(--muted);
  --border: var(--line);
  --border-light: var(--line);
  --primary-light: var(--panel-2);
}
html:not(.theme-light) #footer-widgets[style] { background: var(--panel) !important; }
html:not(.theme-light) #globalEngineSearch { background: var(--panel-2); color: var(--text); }
html:not(.theme-light) #globalEngineSearch::placeholder { color: var(--muted); }
html:not(.theme-light) .search-dropdown { background: var(--panel); }
html:not(.theme-light) .search-title,
html:not(.theme-light) .brands-section-title { color: var(--text); }
html:not(.theme-light) .search-subtitle,
html:not(.theme-light) .request-subtitle { color: var(--muted); text-shadow: none; }
html:not(.theme-light) .request-title { color: var(--text); }
html:not(.theme-light) .brand-link { background: var(--panel-2); }
html:not(.theme-light) .alpha-btn,
html:not(.theme-light) .alphabet-inline .alpha-btn { background: var(--panel-2); border-color: var(--line); color: var(--text); }
html:not(.theme-light) .request-section { background-image: none !important; background-color: var(--panel); border-color: var(--line); }
html:not(.theme-light) .modal { border-color: var(--line) !important; }
html:not(.theme-light) .modal-title { color: var(--text) !important; }
html:not(.theme-light) #vinInput { background: var(--panel-2); color: var(--text); border-color: var(--line); }
html:not(.theme-light) #vinCarInfo { color: var(--text); }
html:not(.theme-light) .sr-error { background: var(--panel-2); }
html:not(.theme-light) .no-results { color: var(--muted); }
html:not(.theme-light) .header-grid .brand-selector,
html:not(.theme-light) .header-grid .code-search-block { background-image: none !important; background-color: var(--panel); border-color: var(--line); }
html:not(.theme-light) .header-grid .brand-selector-title,
html:not(.theme-light) .header-grid .search-title { color: var(--text); }
html:not(.theme-light) .header-grid .brand-selector-subtitle,
html:not(.theme-light) .header-grid .search-subtitle { color: var(--muted); }

/* Тёмная тема: иконки .menu-box — приём референса .topbar-icons: спрайт на currentColor, цвет от ссылки */
html:not(.theme-light) header .schearch-line .menu-box a { color: var(--text); }
html:not(.theme-light) header .schearch-line .menu-box a:hover { color: var(--orange); }
html:not(.theme-light) header .schearch-line .menu-box a .menu-box-icon { fill: currentColor; color: #fff; }
html:not(.theme-light) header .schearch-line .menu-box a:hover .menu-box-icon { color: #E63A00; }
html.theme-light header .schearch-line .menu-box a .menu-box-icon { color: #222; }
html.theme-light header .schearch-line .menu-box a:hover .menu-box-icon { color: #E63A00; }
/* Светлая: луна двухцветная как соседи (основа #222 + оранж кратер) */
#theme-toggle .moon-crater { fill: currentColor; stroke: none; }
html.theme-light #theme-toggle [data-icon-moon] svg { color: #222; }
html.theme-light #theme-toggle [data-icon-moon] .moon-crater { fill: var(--orange); }
html.theme-light #theme-toggle:hover [data-icon-moon] svg { color: #E63A00; }
html:not(.theme-light) header .schearch-line .menu-box .badge { background: var(--orange); color: #fff; }

/* Тёмная тема: гасим светлую волну osago_desktop1 — только цвета, layout untouched */
html:not(.theme-light) #wb_franshiza,
html:not(.theme-light) #wb_franshiza_index {
  background-image: none !important; background-color: var(--panel);
  border-color: var(--line);
}
html:not(.theme-light) #franshiza_Heading { color: var(--text); text-shadow: none; }
html:not(.theme-light) #wb_franshiza_Text1,
html:not(.theme-light) #wb_franshiza_Text2,
html:not(.theme-light) #wb_franshiza_Text3,
html:not(.theme-light) #wb_franshiza_Text4,
html:not(.theme-light) #wb_franshiza_Text1 span,
html:not(.theme-light) #wb_franshiza_Text2 span,
html:not(.theme-light) #wb_franshiza_Text3 span,
html:not(.theme-light) #wb_franshiza_Text4 span,
html:not(.theme-light) #wb_franshiza_Text1 strong,
html:not(.theme-light) #wb_franshiza_Text2 strong,
html:not(.theme-light) #wb_franshiza_Text3 strong,
html:not(.theme-light) #wb_franshiza_Text4 strong { color: var(--muted) !important; }

/* Тёмная тема: проценка/каталог — только цвета, layout untouched, фото не инвертировать */
html:not(.theme-light) #all_table_products { color: var(--text); }
html:not(.theme-light) #all_table_products > thead > tr { background: var(--panel-2); border-bottom-color: var(--line); }
html:not(.theme-light) #all_table_products .head { color: var(--text); background-color: var(--panel-2); border-bottom-color: var(--orange); }
html:not(.theme-light) #all_table_products > tbody > tr > td { border-top-color: var(--line); }
html:not(.theme-light) #all_table_products > tbody > tr:nth-child(even) > td { background: var(--panel-2); }
html:not(.theme-light) #all_table_products .td_price { color: var(--text); }
html:not(.theme-light) #all_table_products .td_manufacturer,
html:not(.theme-light) #all_table_products .td_article,
html:not(.theme-light) #all_table_products .td_name { color: var(--text); }
html:not(.theme-light) #all_table_products a.bread_crumbs_a,
html:not(.theme-light) #all_table_products a.bread_crumbs_a:link,
html:not(.theme-light) #all_table_products a.bread_crumbs_a:visited { color: var(--text) !important; }
html:not(.theme-light) #all_table_products a.bread_crumbs_a:hover { color: var(--orange) !important; }
html:not(.theme-light) #all_table_products .td_exist > span,
html:not(.theme-light) #all_table_products .td_time_to_exe > span { border-bottom-color: var(--line); }
html:not(.theme-light) #all_table_products a:not(.btn) { color: var(--text); }
html:not(.theme-light) #all_table_products .info_box { background: var(--panel-2); border-color: var(--line); }
html:not(.theme-light) #all_table_products .info_box a { color: var(--muted); }
html:not(.theme-light) .products_table_block_caption { color: var(--text); border-bottom-color: var(--orange); }
html:not(.theme-light) #card_positions .panel-body { background-color: var(--panel-2) !important; color: var(--text); }
html:not(.theme-light) .product_div_tile,
html:not(.theme-light) .product_div_list_photo,
html:not(.theme-light) .product_div_list,
html:not(.theme-light) .product_div_list_confirm,
html:not(.theme-light) .showAnother_tile,
html:not(.theme-light) .showAnother_list { background-color: var(--panel); border-color: var(--line); color: var(--text); }
html:not(.theme-light) .product_div_tile > .product_div_name,
html:not(.theme-light) .product_div_list_photo > .product_div_name,
html:not(.theme-light) .product_div_tile > .product_div_name .product_div_caption,
html:not(.theme-light) .product_div_list_photo > .product_div_name .product_div_caption,
html:not(.theme-light) .product_div_list > .product_div_name .product_div_caption { color: var(--muted); }
html:not(.theme-light) .product_div_tile > .product_div_name a,
html:not(.theme-light) .product_div_list_photo > .product_div_name a,
html:not(.theme-light) .product_div_list > .product_div_name a,
html:not(.theme-light) .product_div_tile > .product_div_name .product_div_manufacturer,
html:not(.theme-light) .product_div_list_photo > .product_div_name .product_div_manufacturer,
html:not(.theme-light) .product_div_list > .product_div_name .product_div_manufacturer { color: var(--text); }
html:not(.theme-light) .product_div_tile > .product_div_price > .price,
html:not(.theme-light) .product_div_tile > .product_div_price > .currency,
html:not(.theme-light) .product_div_list_photo > .product_div_price > .price,
html:not(.theme-light) .product_div_list_photo > .product_div_price > .currency,
html:not(.theme-light) .product_div_list > .product_div_price { color: var(--text); }
html:not(.theme-light) .product_div_tile > .product_div_exist_info,
html:not(.theme-light) .product_div_list_photo > .product_div_exist_info,
html:not(.theme-light) .product_div_list > .product_div_exist_info { background: var(--panel-2); border-color: var(--line); }
html:not(.theme-light) .product_div_tile > .product_div_image_wrap,
html:not(.theme-light) .product_div_list_photo > .product_div_image_wrap { border-bottom-color: var(--line); border-right-color: var(--line); }
html:not(.theme-light) .product_div_tile img,
html:not(.theme-light) .product_div_list_photo img,
html:not(.theme-light) .cat_blocks img { filter: none; }
html:not(.theme-light) .cat_blocks > li { border-color: var(--line); background: var(--panel); color: var(--text); }
html:not(.theme-light) #filter_position,
html:not(.theme-light) #filter_position label { color: var(--text); }
html:not(.theme-light) #filter_position input,
html:not(.theme-light) #filter_position select,
html:not(.theme-light) #products_table_mode_select,
html:not(.theme-light) .slider_ranges input { background: var(--panel-2); color: var(--text); border-color: var(--line); }
html:not(.theme-light) .sidebar-nav li a { background-color: var(--panel); border-left-color: var(--line); color: var(--text); }
html:not(.theme-light) .sidebar-nav li a span { border-bottom-color: var(--line); }
html:not(.theme-light) .breadcrumb,
html:not(.theme-light) .main-header .breadcrumb { background: transparent; color: var(--text); }
html:not(.theme-light) .breadcrumb li,
html:not(.theme-light) .main-header .breadcrumb li { color: var(--text); }
html:not(.theme-light) .breadcrumb a,
html:not(.theme-light) .main-header .breadcrumb a { color: var(--text); }
html:not(.theme-light) .breadcrumb a:hover,
html:not(.theme-light) .main-header .breadcrumb a:hover { color: var(--orange); border-bottom-color: var(--orange); }
html:not(.theme-light) .breadcrumb > .active,
html:not(.theme-light) .main-header .breadcrumb > li.active { color: var(--text); }
html:not(.theme-light) .breadcrumb > li + li:before,
html:not(.theme-light) .main-header .breadcrumb > li + li:before { color: var(--muted); }
html:not(.theme-light) ul.pagination > li > a,
html:not(.theme-light) ul.pagination > li > span { background: var(--panel-2); border-color: var(--line); color: var(--text); }

/* Тёмная тема: везде — таблицы/панели/модалки/формы/алерты/табы/корзина/ЛК, только цвета */
html:not(.theme-light) .table,
html:not(.theme-light) table.table,
html:not(.theme-light) .table-nonfluid { color: var(--text); background: transparent; }
html:not(.theme-light) .table > thead > tr > th,
html:not(.theme-light) .table > tbody > tr > td,
html:not(.theme-light) .table > tfoot > tr > td { border-top-color: var(--line); }
html:not(.theme-light) .table > thead > tr > th { color: var(--text); border-bottom-color: var(--line); }
html:not(.theme-light) .table-striped > tbody > tr:nth-child(even) > td,
html:not(.theme-light) .table-striped > tbody > tr:nth-child(even) > th { background: var(--panel-2); }
html:not(.theme-light) .table-hover > tbody > tr:hover > td { background: var(--panel-2); }
html:not(.theme-light) .panel,
html:not(.theme-light) .panel-default,
html:not(.theme-light) .panel-primary { background: var(--panel); border-color: var(--line); color: var(--text); }
html:not(.theme-light) .panel-heading { background: var(--panel-2); border-bottom-color: var(--line); color: var(--text); }
html:not(.theme-light) .panel-body { background: transparent; color: var(--text); }
html:not(.theme-light) .panel-footer { background: var(--panel-2); border-top-color: var(--line); color: var(--muted); }
html:not(.theme-light) .well { background: var(--panel-2); border-color: var(--line); color: var(--text); }
html:not(.theme-light) .list-group-item { background: var(--panel); border-color: var(--line); color: var(--text); }
html:not(.theme-light) .modal-content,
html:not(.theme-light) .hystmodal__window,
html:not(.theme-light) .first-visit-modal-container { background: var(--panel); border-color: var(--line); color: var(--text); }
html:not(.theme-light) .modal-header,
html:not(.theme-light) .hystmodal__close { border-bottom-color: var(--line); color: var(--text); }
html:not(.theme-light) .modal-footer { border-top-color: var(--line); }
html:not(.theme-light) .dropdown-menu,
html:not(.theme-light) header .dropdown-menu,
html:not(.theme-light) header .new-header-user-box .dropdown-menu-right,
html:not(.theme-light) .dropdown-login-box { background: var(--panel); border-color: var(--line); }
html:not(.theme-light) .dropdown-menu > li > a,
html:not(.theme-light) header .dropdown-menu > li > a { color: var(--text); }
html:not(.theme-light) .dropdown-menu > li > a:hover { background: var(--panel-2); color: var(--orange); }
html:not(.theme-light) .dropdown-menu .active > a { background: var(--panel-2); color: var(--text); }
html:not(.theme-light) .login_form .panel-body,
html:not(.theme-light) .login_form .tab-content > .active,
html:not(.theme-light) .login_form .panel-heading { background: var(--panel); color: var(--text); }
html:not(.theme-light) .login_form .nav-tabs { background: transparent; }
html:not(.theme-light) .auth-contact-methods-header { color: var(--muted); border-color: var(--line); background: transparent; }
html:not(.theme-light) .auth-contact-methods-header.active { background: var(--panel-2); border-color: var(--line); color: var(--text); }
html:not(.theme-light) header .new-header-user-box .form-group a { color: var(--text) !important; }
html:not(.theme-light) input.form-control,
html:not(.theme-light) select.form-control,
html:not(.theme-light) textarea.form-control,
html:not(.theme-light) .form-control,
html:not(.theme-light) input[type="text"],
html:not(.theme-light) input[type="password"],
html:not(.theme-light) input[type="email"],
html:not(.theme-light) input[type="number"],
html:not(.theme-light) select,
html:not(.theme-light) textarea { background: var(--panel-2); color: var(--text); border-color: var(--line); }
html:not(.theme-light) input::placeholder,
html:not(.theme-light) textarea::placeholder { color: var(--muted); opacity: 1; }
html:not(.theme-light) .input-group-addon { background: var(--panel-2); border-color: var(--line); color: var(--muted); }
html:not(.theme-light) .alert,
html:not(.theme-light) .alert-info { background: var(--panel-2); border-color: var(--line); color: var(--text); }
html:not(.theme-light) div.alert[style*="background-color: #f5f5f5"] { background: var(--panel-2) !important; border-color: var(--line) !important; color: var(--text); }
html:not(.theme-light) .nav-tabs > li.active,
html:not(.theme-light) .nav-tabs > li.active:focus,
html:not(.theme-light) .nav-tabs > li.active:hover { background: var(--panel); border-color: var(--line); border-bottom-color: var(--panel); }
html:not(.theme-light) .nav-tabs li:hover { background: var(--panel-2); border-color: var(--line); }
html:not(.theme-light) .nav-tabs + .tab-content { border-top-color: var(--line); }
html:not(.theme-light) .main_page .nav-tabs + .tab-content .search_tab_car_letter { color: var(--text); }
html:not(.theme-light) .panel-group .panel-heading,
html:not(.theme-light) .accordion-toggle,
html:not(.theme-light) [data-toggle="collapse"] { color: var(--text); }
html:not(.theme-light) .cart_table,
html:not(.theme-light) .cart_record { background: var(--panel); border-color: var(--line); color: var(--text); }
html:not(.theme-light) .cart_record__name { color: var(--text); }
html:not(.theme-light) .cart_record__description,
html:not(.theme-light) .cart_record__artmf,
html:not(.theme-light) .cart_record__time,
html:not(.theme-light) .cart_record__priceNotice { color: var(--muted); }
html:not(.theme-light) .cart_record__price,
html:not(.theme-light) .cart_record__priceTotal,
html:not(.theme-light) .cart-total { color: var(--text); }
html:not(.theme-light) .cart_record__action { color: var(--muted); }
html:not(.theme-light) .cart_record__action:hover { color: var(--orange); }
html:not(.theme-light) .cart_record__image img,
html:not(.theme-light) .cart_record_img { filter: none; }
html:not(.theme-light) .cart-notice { color: var(--muted); }
html:not(.theme-light) .in_total > .in_total_value,
html:not(.theme-light) .product_div_list_photo > .product_div_price_block { color: var(--text); }
html:not(.theme-light) hr.dotted { border-color: var(--line); }
html:not(.theme-light) .search-simple-bar .table * { color: var(--text); border-color: var(--line); }
html:not(.theme-light) .search-simple-bar { background: var(--panel); border-color: var(--line); }
html:not(.theme-light) .search-simple-bar .table div[style] { color: var(--muted) !important; }
html:not(.theme-light) .search-simple-bar .table tr:hover { background: var(--panel-2); }
html:not(.theme-light) .search-simple-bar .table tr:hover td { color: var(--orange); }
html:not(.theme-light) .search-simple-bar-footer[style] { border-top-color: var(--line) !important; }
html:not(.theme-light) .search-simple-bar-footer a.close[style] { color: var(--text) !important; border-color: var(--line) !important; }

/* Тёмная тема: проценка остатки — фильтр jQueryUI, шапка брендов, степпер с инлайном */
html:not(.theme-light) #filter_div { color: var(--text); }
html:not(.theme-light) #filter_position .one_property strong { color: var(--text); }
html:not(.theme-light) #filter_position .list_div,
html:not(.theme-light) #filter_position .list_div label { color: var(--text); }
html:not(.theme-light) #filter_position .show_hidden_a { color: var(--muted); }
html:not(.theme-light) #filter_position .show_hidden_a:hover { color: var(--orange); }
html:not(.theme-light) #filter_position hr { border-color: var(--line); }
html:not(.theme-light) .ui-slider.ui-widget-content { background: var(--panel-2); border-color: var(--line); }
html:not(.theme-light) .ui-slider .ui-slider-handle,
html:not(.theme-light) .ui-state-default { background: var(--panel-2); border-color: var(--line); }
html:not(.theme-light) .productsCountPopup { background: var(--panel); border-color: var(--line); color: var(--text); }
html:not(.theme-light) #table-manufacturers table { color: var(--text); }
html:not(.theme-light) #table-manufacturers thead > tr,
html:not(.theme-light) #table-manufacturers thead > tr > th { background: var(--panel-2) !important; color: var(--text); border-color: var(--line); }
html:not(.theme-light) #table-manufacturers .table-striped > tbody > tr:nth-of-type(odd) > td { background: transparent; }
html:not(.theme-light) #table-manufacturers tbody > tr > td { border-color: var(--line); }
html:not(.theme-light) #all_table_products > thead > tr,
html:not(.theme-light) #all_table_products > thead > tr > th { background: var(--panel-2) !important; }
html:not(.theme-light) #products_area .btn:not(.btn-primary) { background: var(--panel-2) !important; color: var(--text) !important; border-color: var(--line) !important; }

/* Тёмная тема: мобильная шапка + остатки мобильной проценки */
html:not(.theme-light) .header-box-mobile .navbar-header { background: var(--panel); }
html:not(.theme-light) .header-box-mobile .navbar-header-full { box-shadow: 0 1px 2px -1px rgba(0,0,0,.6) !important; }
html:not(.theme-light) .header-box-mobile .container > center > a,
html:not(.theme-light) .header-box-mobile .mobile-box-phone { color: var(--text); }
html:not(.theme-light) .header-box-mobile .logo_min img { filter: drop-shadow(0 0 10px rgba(255,64,0,.28)) drop-shadow(0 0 28px rgba(255,64,0,.12)); }
html:not(.theme-light) .header-box-mobile .navbar-header .navbar-toggle { background: var(--panel-2); border-color: var(--line); color: var(--orange); }
html:not(.theme-light) .header-box-mobile .navbar-collapse { background: var(--panel); border-color: var(--line); }
html:not(.theme-light) .header-box-mobile .navbar-nav > li > a { color: var(--text); }
html:not(.theme-light) .header-box-mobile .navbar-nav > li > a:hover,
html:not(.theme-light) .header-box-mobile .navbar-nav .open .dropdown-menu > li > a:hover { color: var(--orange); }
html:not(.theme-light) .header-box-mobile .navbar-nav .open .dropdown-menu > li > a,
html:not(.theme-light) .header-box-mobile #top-menu-catalogue-accordion a { color: var(--muted); }
html:not(.theme-light) .header-box-mobile .header-user-box { background: var(--panel); color: var(--text); }
html:not(.theme-light) .header-box-mobile .geo-point-user-box { border-bottom-color: var(--line); color: var(--text); }
html:not(.theme-light) .header-box-mobile .mobile-search-div { background: var(--panel); }
html:not(.theme-light) .header-box-mobile .header-search-box .input-group input { background: var(--panel-2); color: var(--text); border-color: var(--line); }
html:not(.theme-light) .header-box-mobile .header-search-box .dropdown span { color: var(--text); }
html:not(.theme-light) .header-box-mobile .header-search-box .dropdown span:after { background: var(--line); }
html:not(.theme-light) .header-box-mobile .mobile-search-div .header-cart-box { background: var(--panel-2); border-color: var(--line); color: var(--text); }
html:not(.theme-light) .header-box-mobile .header-cart-box .badge,
html:not(.theme-light) #header_cart_items_count_mobile { background: var(--orange); color: #fff; }
html:not(.theme-light) #all_table_products .th_manufacturer:before { color: var(--text); }
html:not(.theme-light) #all_table_products .td_name > span { border-bottom-color: var(--line); }
html:not(.theme-light) #all_table_products .td_manufacturer,
html:not(.theme-light) #all_table_products .td_article { color: var(--text); }
html:not(.theme-light) .product_div_list > .main_action_div { background: var(--panel-2); color: var(--text); }

/* Тёмная тема: нижний мобильный таб-бар (modules/templates/bottom_panel) */
html:not(.theme-light) .dp-bottom-panel__inner { background: var(--panel); border-top: 1px solid var(--line); box-shadow: 0 -1px 12px -6px rgba(0,0,0,.6); }
html:not(.theme-light) .dp-bottom-panel__text { color: var(--muted); }
html:not(.theme-light) .dp-bottom-panel__link:hover .dp-bottom-panel__text { color: var(--text); }
html:not(.theme-light) .dp-bottom-panel__button.active .dp-bottom-panel__text { color: var(--orange); }
html:not(.theme-light) .dp-bottom-panel__icon img { filter: brightness(0) invert(0.62); }

/* Тёмная тема: инфо-плашки заказов/корзины */
html:not(.theme-light) .cart-notice,
html:not(.theme-light) .order-notice { background: var(--panel-2); color: var(--text); }
html:not(.theme-light) .cart-notice a,
html:not(.theme-light) .order-notice a { color: var(--orange); }
html:not(.theme-light) #users_agreement_div { background: var(--panel-2) !important; border-color: var(--line) !important; color: var(--muted); }
html:not(.theme-light) #users_agreement_div td { color: var(--muted); }
html:not(.theme-light) #users_agreement_div a.text_a { color: var(--orange); }

/* Тёмная тема: запрос продавцу (vin_zapros.css) — только цвета */
html:not(.theme-light) .section-form { background: var(--panel); border-color: var(--line); }
html:not(.theme-light) .section-form .request-seller h2 { color: var(--text); }
html:not(.theme-light) .input-shell label { color: var(--text); }
html:not(.theme-light) .section-form .request-seller .input-shell input,
html:not(.theme-light) .section-form .request-seller .input-shell textarea { background: var(--panel-2); border-color: var(--line); color: var(--text); }
html:not(.theme-light) .section-form .request-seller input::placeholder,
html:not(.theme-light) .section-form .request-seller textarea::placeholder { color: var(--muted); }
html:not(.theme-light) .input-file-text { background: var(--panel-2); border-color: var(--line); color: var(--text); }
html:not(.theme-light) .input-text-img li { color: var(--muted); }
html:not(.theme-light) .input-file-list-name { color: var(--text); }
html:not(.theme-light) .captha-img img,
html:not(.theme-light) #capcha-image { filter: none; }
html:not(.theme-light) .section-form__helper_text { color: var(--muted); }
html:not(.theme-light) .body_modal h4 { color: var(--text); }
html:not(.theme-light) .body_modal p { color: var(--muted); }

/* Тёмная тема: карточка товара / пустое состояние — только цвета */
html:not(.theme-light) .product_page .product_suggestions_box { background: var(--panel); border-color: var(--line); }
html:not(.theme-light) .product_page .product_suggestions_header { background: var(--panel-2); color: var(--text); }
html:not(.theme-light) .product_page .product_office { background: var(--panel); border-bottom-color: var(--line); color: var(--text); }
html:not(.theme-light) .product_page .product_suggestions { border-bottom-color: var(--line); color: var(--text); }
html:not(.theme-light) .product_page .product_suggestions:hover { background: var(--panel-2); }
html:not(.theme-light) .product_page .div_product_img_big a { background: var(--panel-2); border-color: var(--line); }
html:not(.theme-light) .product_page .div_product_img_big img,
html:not(.theme-light) .product_page .div_product_img_small img { filter: none; }
html:not(.theme-light) .product_page .div_product_price { color: var(--text); }
html:not(.theme-light) .product_page .office_info_div_text { color: var(--muted); }
html:not(.theme-light) .product_page .product_div_manufacturer,
html:not(.theme-light) .product_page .product_div_article { color: var(--text); }
html:not(.theme-light) .product_page .product_div_article_button a { color: var(--muted); }

/* Тёмная тема: пустая карточка engine (engine.php, vars) — только цвета */
html:not(.theme-light) .search-page { --card-bg: var(--panel); background: var(--bg); color: var(--text); }
html:not(.theme-light) .search-offers,
html:not(.theme-light) .search-notfound { border-color: var(--line); }
html:not(.theme-light) .search-notfound p { color: var(--text); }
html:not(.theme-light) .search-notfound img { filter: none; border-radius: 12px; }
@media(max-width:767px) {
  .autopolka-topbar .ap-mainline { flex-wrap: wrap !important; }
  .autopolka-topbar .header-cat-btn { order: 1; flex: none; }
  .autopolka-topbar .header-logo { order: 2; flex: 1 1 auto !important; flex-shrink: 1; min-width: 120px !important; margin: 0 auto; text-align: center; overflow: hidden; display: flex !important; visibility: visible !important; opacity: 1 !important; align-items: center; justify-content: center; }
  .autopolka-topbar .header-logo img { max-width: 140px; width: auto; display: block !important; visibility: visible !important; height: 38px !important; }
  .autopolka-topbar .theme-toggle-btn { order: 3; flex: none; }
  .autopolka-topbar .header-search-form { order: 4; flex: 1 0 100%; width: 100%; min-width: 0; }
}
.autopolka-topbar .header-search-form { min-width: 0; display: flex; align-items: stretch; }
html.theme-light .autopolka-topbar .header-search-form { border: 0; background: transparent; padding: 0; gap: 0; outline: none; box-shadow: none; }
html.theme-light .autopolka-topbar .header-search-input { border: 1px solid #e4e4e4; border-right: 0; outline: none; box-shadow: none; background: #fff; }
html.theme-light .autopolka-topbar .header-search-input:focus { outline: none; border-color: var(--orange); box-shadow: none; background: #fff; }
html.theme-light .autopolka-topbar .header-search-btn { border: 0; outline: none; box-shadow: none; }
.autopolka-topbar .header-search-input { height: 46px; box-sizing: border-box; border-radius: 6px 0 0 6px; flex: 1 1 0; min-width: 0; padding-left: 18px !important; }
.autopolka-topbar .header-search-btn { height: 46px; box-sizing: border-box; background: var(--orange); color: #fff; border: 0; border-radius: 0 6px 6px 0; font-weight: 700; cursor: pointer; white-space: nowrap; flex: 0 0 auto; padding: 0 20px; font-size: 15px; }

/* Тёмная тема: поиск engine-шапки (engine.php) */
html:not(.theme-light) .header-search-form { background: var(--panel); border-color: var(--line); }
html:not(.theme-light) .header-search-input { background: var(--panel-2); color: var(--text); }
html:not(.theme-light) .header-search-input::placeholder { color: var(--muted); }
html:not(.theme-light) .header-search-input:focus { background: var(--panel-2); }

/* Тёмная тема: иконки engine-шапки как на главной (engine.php, PNG) */
/* Паритет с референсом .topbar-icons (style.v5.css:58-66,92-95), скоуп только engine */
.autopolka-topbar { border-bottom: 1px solid var(--line); display: flex; align-items: center; background: var(--panel); position: sticky; top: 0; z-index: 200; height: auto; flex-direction: column; align-items: stretch; padding: 0; gap: 0; font-family: Manrope, system-ui, sans-serif; font-size: 15px; line-height: 1.5; letter-spacing: -.01em; }
.autopolka-topbar .ap-wrap { max-width: 1620px; width: 100%; box-sizing: border-box; margin: 0 auto; padding-left: calc(20px + env(safe-area-inset-left)); padding-right: calc(20px + env(safe-area-inset-right)); }
.autopolka-topbar .ap-mainline { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; flex-wrap: nowrap; min-width: 0; }
.autopolka-topbar .header-cat-btn { flex: none; white-space: nowrap; background: var(--orange); color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 10px; text-decoration: none; transition: opacity .18s; }
.autopolka-topbar .header-cat-btn:hover { opacity: .9; color: #fff; }
.autopolka-topbar .header-logo { display: block; flex: 0 1 auto; min-width: 0; line-height: 0; margin-right: auto; transition: opacity .2s; text-decoration: none; }
.autopolka-topbar .header-logo:hover { opacity: .85; }
.autopolka-topbar .header-logo img { height: 50px; width: auto; display: block; max-width: min(300px,100%); }
.autopolka-topbar .logo-text { display: none; font-weight: 800; font-size: 26px; letter-spacing: .04em; color: var(--orange); line-height: 1; }
html:not(.theme-light) .autopolka-topbar .header-logo img { filter: drop-shadow(0 0 10px rgba(255,64,0,.28)) drop-shadow(0 0 28px rgba(255,64,0,.12)); }
.autopolka-topbar .topbar-icons { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; margin-left: auto; }
.autopolka-topbar .topbar-icons a { display: grid; place-items: center; width: 57px; height: 57px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); transition: all .18s; color: var(--text); position: relative; }
.autopolka-topbar .topbar-icons a:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,64,0,.2); color: var(--orange); }
.autopolka-topbar .topbar-icons .icon-svg { width: 24px; height: 24px; display: block; }
.autopolka-topbar .topbar-icons .icon-png { width: 55px; height: 55px; object-fit: contain; display: none; }
html.theme-light .autopolka-topbar .topbar-icons a { background: #fff; border-color: #e4e4e4; color: #555; }
html.theme-light .autopolka-topbar .topbar-icons a:hover { color: var(--orange); }
html.theme-light .autopolka-topbar .icon-png { display: block; }
html.theme-light .autopolka-topbar .icon-svg { display: none; }
.autopolka-topbar .topbar-icons a > span[id] { position: absolute; top: 2px; right: 2px; background: var(--orange); color: #fff; font-size: 10px; font-weight: 700; line-height: 1; padding: 2px 5px; border-radius: 8px; }
.autopolka-topbar .topbar-icons a > span[id]:empty { display: none; }
.autopolka-topbar .theme-toggle-btn { display: grid; place-items: center; width: 57px; height: 57px; background: #141c28; border: 1px solid var(--line); color: #d8d2cc; border-radius: 10px; cursor: pointer; transition: all .18s; flex: 0 0 auto; margin: 0; }
.autopolka-topbar .theme-toggle-btn:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,64,0,.2); }
.autopolka-topbar .theme-toggle-btn svg { width: 24px; height: 24px; }
html.theme-light .autopolka-topbar .theme-toggle-btn { background: #fff; border-color: #e4e4e4; color: #5f5a54; }

/* «Главная»: десктоп — SVG скрыт, оранжевый текст как раньше */
.autopolka-topbar .header-cat-btn svg { display: none; }

/* Мобила: ряд1 = [квадратная светлая кнопка-домик][лого центр][тема], ряд2 = поиск */
@media(max-width:767px) {
  .autopolka-topbar .header-cat-btn {
    order: 1; flex: none;
    width: 44px; height: 44px; padding: 0; margin-bottom: 0 !important;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--panel-2); border: 1px solid var(--line);
    border-radius: 12px; color: var(--text); white-space: nowrap;
  }
  html.theme-light .autopolka-topbar .header-cat-btn { background: #fff; border-color: #e4e4e4; color: #080808; }
  .autopolka-topbar .header-cat-btn:hover { opacity: 1; background: var(--panel); border-color: var(--orange); color: var(--orange); }
  html.theme-light .autopolka-topbar .header-cat-btn:hover { background: #fff; color: var(--orange); }
  .autopolka-topbar .header-cat-btn span { display: none; }
  .autopolka-topbar .header-cat-btn svg { display: block; width: 22px; height: 22px; }
  /* Доп. кнопки шапки (Запрос на подбор / Двигатели) на мобиле скрыты: ряд1 = домик + лого + тема */
  .autopolka-topbar .ap-mobile-hide { display: none; }
}

/* Десктоп: ОДНА строка [лого][Главная][поиск][иконки][тема] — двухрядный откат */
@media(min-width:768px) {
  .autopolka-topbar .header-search-form { flex: 1 1 0%; }
}
@media(min-width:768px) and (max-width:1079px) {
  .autopolka-topbar .theme-toggle-btn { margin-left: auto; }
}
@media(max-width:1079px) {
  .autopolka-topbar .topbar-icons { display: none; }
  .autopolka-topbar .theme-toggle-btn { width: 44px; height: 44px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); border-radius: 8px; }
  .autopolka-topbar .theme-toggle-btn:hover { border-color: var(--orange); color: var(--orange); transform: none; box-shadow: none; }
  .autopolka-topbar .theme-toggle-btn svg { width: 22px; height: 22px; }
  html.theme-light .autopolka-topbar .theme-toggle-btn { background: #fff; border-color: #e4e4e4; color: #555; }
  .autopolka-topbar .header-logo { margin: 0 auto; }
  .autopolka-topbar .header-logo img { height: 38px; }
  .autopolka-topbar .logo-text { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
}

/* Тоггл engine покрыт топбаром выше */

/* Тёмная тема: Б/У сетка EAcatalog (светлый DOM, style.css) — только цвета */
html:not(.theme-light) #EA_header_btn_type_box,
html:not(.theme-light) #EAcatalog_header { background: var(--panel-2); }
html:not(.theme-light) .EA_header_btn_type,
html:not(.theme-light) .EAcatalog_header_btn { color: var(--text); }
html:not(.theme-light) .EA_header_btn_type:hover,
html:not(.theme-light) .EAcatalog_header_btn:hover { background: var(--panel); }
html:not(.theme-light) .EA_header_btn_type.active,
html:not(.theme-light) .EAcatalog_header_btn.active { background: var(--panel); color: var(--orange); }
html:not(.theme-light) .EAcatalog_header_btn .fa { color: var(--muted); }
html:not(.theme-light) .EA_search_container input { background: var(--panel-2); border-color: var(--line); color: var(--text); }
/* инлайн-плашка get_marks.php: background #f2f2f2 */
html:not(.theme-light) div[style*="background: #f2f2f2"] { background: var(--panel-2) !important; color: var(--text); }
html:not(.theme-light) #EA_list { border-color: var(--line); }
html:not(.theme-light) #EA_list li { border-color: transparent; color: var(--text); }
html:not(.theme-light) #EA_list li:hover { border-color: var(--line); background: var(--panel-2); }
html:not(.theme-light) .EA_content_box { background: var(--panel); color: var(--text); }
html:not(.theme-light) .EAcatalog_breadcrumbs { border-bottom-color: var(--line); color: var(--text); }
html:not(.theme-light) .EAcatalog_breadcrumbs > div:hover:after { background: var(--line); }
html:not(.theme-light) .EAcatalog_nav_tabs { border-bottom-color: var(--line); color: var(--text); }
html:not(.theme-light) .EAcatalog_nav_tabs li { border-color: transparent; border-bottom-color: var(--line); color: var(--text); }
html:not(.theme-light) .EAcatalog_nav_tabs li:hover { background: var(--panel-2); border-color: var(--line); }
html:not(.theme-light) .EAcatalog_nav_tabs .active,
html:not(.theme-light) .EAcatalog_nav_tabs .active:hover { background: var(--panel); border-color: var(--line); border-bottom-color: var(--panel); color: var(--orange); }
html:not(.theme-light) .EAcatalog_nav_letters li,
html:not(.theme-light) .EAcatalog_nav_filters li { border-color: var(--line); color: var(--text); }
html:not(.theme-light) .EAcatalog_nav_letters li:hover,
html:not(.theme-light) .EAcatalog_nav_filters li:hover,
html:not(.theme-light) .EAcatalog_nav_letters .active,
html:not(.theme-light) .EAcatalog_nav_filters .active { background: var(--panel-2); color: var(--text); }
html:not(.theme-light) .EAcatalog_tab_element > div,
html:not(.theme-light) .EAcatalog_tab_element_BIG > div { border-color: var(--line); color: var(--text); }
html:not(.theme-light) .EAcatalog_tab_element > div:hover,
html:not(.theme-light) .EAcatalog_tab_element_BIG > div:hover { background: var(--panel-2); }
html:not(.theme-light) .EAcatalog_tab_element > div > div small,
html:not(.theme-light) .EAcatalog_tab_element_BIG > div > div small { color: var(--muted); }
html:not(.theme-light) .EAcatalog_tab_element img,
html:not(.theme-light) .EAcatalog_tab_element_BIG img { filter: none; }
html:not(.theme-light) .EAcatalog_modifications { border-color: var(--line); color: var(--text); }
html:not(.theme-light) .EAcatalog_modifications:hover { background: var(--panel-2); }
html:not(.theme-light) .EAcatalog_modifications .btn_primary,
html:not(.theme-light) #EAcatalog_parts .btn_primary,
html:not(.theme-light) .EAcatalog_breadcrumbs .btn_primary { background: var(--panel-2); border-color: var(--line); color: var(--text); }
html:not(.theme-light) .EAcatalog_modifications_property { border-color: var(--line); background: var(--panel-2); color: var(--text); }
html:not(.theme-light) .EAcatalog_tree li:not(:last-child) { border-left-color: var(--line); }
html:not(.theme-light) .EAcatalog_tree li li:before,
html:not(.theme-light) .EAcatalog_tree > li:not(:only-child):before,
html:not(.theme-light) .EAcatalog_tree li:last-child:before { border-bottom-color: var(--line); border-left-color: var(--line); }
html:not(.theme-light) .EAcatalog_tree .EAcatalog_tree_drop { background: var(--panel-2); color: var(--text); }
html:not(.theme-light) #EAcatalog_parts .table tr:hover { background: var(--panel-2); }
html:not(.theme-light) .EAcatalog_product_text { color: var(--text); }
html:not(.theme-light) .EAcatalog_product_img img { filter: none; }
html:not(.theme-light) .EAcatalog_garage_btn + div { background: var(--panel); border-color: var(--line); }
html:not(.theme-light) .EAcatalog_garage_btn + div > div { border-bottom-color: var(--line); color: var(--text); }
html:not(.theme-light) .EAcatalog_garage_btn + div > div:hover { background: var(--panel-2); }

/* Тёмная тема: ucats-каталоги (avtoximiya и др.) — только цвета */
/* плитки категорий: белая подложка картинок #fff → тёмная (сами фото не трогаем) */
html:not(.theme-light) .ucats-h-1,
html:not(.theme-light) .ucats-h-2 { border-color: var(--line); }
html:not(.theme-light) .new-cat-block > a:before { background-color: var(--panel-2); }
/* инлайн #products_block background-color:#FFF */
html:not(.theme-light) #products_block[style] { background-color: var(--panel) !important; }
html:not(.theme-light) .ucats_product_block { color: var(--text); }
html:not(.theme-light) .ucats_product_block .product_img { filter: none; }
/* синий #337ab7 производителя/артикула → оранжевый */
html:not(.theme-light) .ucats_product_block > .manufacturer { color: var(--orange); }
html:not(.theme-light) .ucats_product_block > .article { color: var(--orange); border-color: var(--orange); }
/* явные тёмные color:#555/#000 характеристик/состава/наименования → светлые */
html:not(.theme-light) .ucats_product_block > .characteristics { color: var(--muted); }
html:not(.theme-light) .ucats_product_block > .composition,
html:not(.theme-light) .ucats_product_block > .name_product,
html:not(.theme-light) .ucats_product_block > .name_product_top { color: var(--text); }
/* multipleSelect (lib/multiple_select): кнопка, дроп, пункты */
html:not(.theme-light) .ms-choice { background-color: var(--panel-2); border-color: var(--line); color: var(--text); }
html:not(.theme-light) .ms-choice > span.placeholder { color: var(--muted); }
html:not(.theme-light) .ms-choice > div.icon-caret { border-top-color: var(--muted); }
html:not(.theme-light) .ms-choice > div.icon-close:before { color: var(--muted); }
html:not(.theme-light) .ms-drop { background: var(--panel); border-color: var(--line); color: var(--text); }
html:not(.theme-light) .ms-drop ul > li label { color: var(--text); }
html:not(.theme-light) .ms-drop ul > li.hide-radio:focus,
html:not(.theme-light) .ms-drop ul > li.hide-radio:hover { background-color: var(--panel-2); }
html:not(.theme-light) .ms-drop ul > li.option-divider { border-top-color: var(--line); }
html:not(.theme-light) .ms-search input { background-color: var(--panel-2); border-color: var(--line); color: var(--text); }

/* Тёмная тема: тултипы/попапы каталога (jQuery UI + Bootstrap) — только цвета */
html:not(.theme-light) .ui-widget-content { background-image: none; background-color: var(--panel); border-color: var(--line); color: var(--text); }
html:not(.theme-light) .ui-widget-content a { color: var(--text); }
html:not(.theme-light) .ui-autocomplete { background: var(--panel); border-color: var(--line); }
html:not(.theme-light) .ui-menu-item,
html:not(.theme-light) .ui-menu-item-wrapper { color: var(--text); }
html:not(.theme-light) .ui-menu .ui-state-focus,
html:not(.theme-light) .ui-menu .ui-state-active { background-image: none; background-color: var(--panel-2); border-color: var(--line); color: var(--orange); }
html:not(.theme-light) .ui-menu .ui-state-focus a,
html:not(.theme-light) .ui-menu .ui-state-active a { color: var(--orange); }
html:not(.theme-light) .ui-tooltip { background: var(--panel); border-color: var(--line); color: var(--text); }
html:not(.theme-light) .popover { background: var(--panel); border-color: var(--line); color: var(--text); }
html:not(.theme-light) .popover-title { background: var(--panel-2); border-bottom-color: var(--line); color: var(--text); }
html:not(.theme-light) .popover.top > .arrow { border-top-color: var(--line); }
html:not(.theme-light) .popover.top > .arrow:after { border-top-color: var(--panel); }
html:not(.theme-light) .popover.right > .arrow { border-right-color: var(--line); }
html:not(.theme-light) .popover.right > .arrow:after { border-right-color: var(--panel); }
html:not(.theme-light) .popover.bottom > .arrow { border-bottom-color: var(--line); }
html:not(.theme-light) .popover.bottom > .arrow:after { border-bottom-color: var(--panel); }
html:not(.theme-light) .popover.left > .arrow { border-left-color: var(--line); }
html:not(.theme-light) .popover.left > .arrow:after { border-left-color: var(--panel); }

/* Тёмная тема: Б/У каталог — хосты + варпирсинг в engine-catalog-slider */
html:not(.theme-light) article-search-used,
html:not(.theme-light) engine-catalog-slider,
html:not(.theme-light) auto-catalog {
  display: block; background: transparent; border: 0;
  color: var(--text); color-scheme: dark;
}
html:not(.theme-light) engine-catalog-slider {
  --bg-card: var(--panel);
  --bg-card-img: var(--panel-2);
  --text-primary: var(--text);
  --text-secondary: var(--muted);
  --border-color: var(--line);
  --border-color-hover: var(--orange);
}
html:not(.theme-light) engine-catalog-slider img { filter: none; }

/* Тёмная тема: мобильная проценка — бежевая подложка и строка-блок */
html:not(.theme-light) #products_area { background: transparent; }
html:not(.theme-light) #all_table_products td.products_table_block_caption { background: var(--panel); border-top-color: var(--line); color: var(--text); }
html:not(.theme-light) .product_div_tile,
html:not(.theme-light) .showAnother_tile,
html:not(.theme-light) .showAnother_list,
html:not(.theme-light) .product_div_list_photo { box-shadow: -1px -1px 0 0 transparent; }
html:not(.theme-light) #all_table_products .td_add_to_cart div[style*="background"] { background: var(--panel-2) !important; border-color: var(--line) !important; }
html:not(.theme-light) #all_table_products .td_add_to_cart input { background: var(--panel-2) !important; color: var(--text) !important; border-color: var(--line) !important; }
html:not(.theme-light) #all_table_products .count_need_minus,
html:not(.theme-light) #all_table_products .count_need_plus,
html:not(.theme-light) #all_table_products .td_add_to_cart .fa-plus,
html:not(.theme-light) #all_table_products .td_add_to_cart .fa-minus { color: var(--muted); }
html:not(.theme-light) #all_table_products .count_need_minus:hover,
html:not(.theme-light) #all_table_products .count_need_plus:hover,
html:not(.theme-light) #all_table_products .td_add_to_cart .fa-plus:hover,
html:not(.theme-light) #all_table_products .td_add_to_cart .fa-minus:hover { color: var(--text); }

/*Меню каталога */

header .schearch-line .header-cat-btn {
  display: inline-block;
  white-space: nowrap;
  background: #555;
  color: #fff;
  padding: 0px 20px;
  height: 50px;
  line-height: 50px;
  border-radius: 16px;
  margin-right: 30px;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 1200px) {
	header .schearch-line .menu-box .badge {
		padding: 2px 2px;
		font-size: 11px;
		left: 1px;
	}
}

header .schearch-line .header-cat-btn i {
  margin-right: 5px;
}

.fon-catalog {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000000a8;
  z-index: 8;
}

#dp_menu {
  display: none;
  position: absolute;
  z-index: 9;
  white-space: normal;
  margin-top: 10px;
  border-top: 1px solid #e4e4e4;
  left: 0;
  right: 0;
  background: linear-gradient(to right, #efefef 50%, #fff 50%);
}

#dp_menu .vertical-tabs-left .tab-content,
#dp_menu .vertical-tabs-right .tab-content {
  display: table-cell;
  padding: 20px;
  width: 100%;
  background: #fff;
}

#dp_menu .vertical-tabs-right {
  border: none;
  background: #efefef;
}

#dp_menu .vertical-tabs-right .vertical-tab-list {
  border: 0;
}

#dp_menu .vertical-tabs-right .vertical-tab-list ul.nav > li.active > a,
#dp_menu .vertical-tabs-right .vertical-tab-list ul.nav > li.active > a:hover,
#dp_menu .vertical-tabs-right .vertical-tab-list ul.nav > li.active > a:focus {
  border-right: none;
  background-color: #fff;
}

#dp_menu .vertical-tab-list {
  display: table-cell;
  min-width: 200px;
  line-height: 1em;
  vertical-align: top;
}

#dp_menu .vertical-tabs-right .vertical-tab-list ul.nav > li > a {
  border-right: none;
  margin-right: 0px;
  color: #444;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 14px;
  padding-left: 2px;
}

#dp_menu .nav > li {
  position: relative;
  display: block;
  border-bottom: 1px solid #d7d7d7;
}

#dp_menu .column_box_line {
  display: block;
  margin-right: 100px;
  float: left;
  position: relative;
  z-index: 2;
  max-width: 30%;
  margin-right: 3%;
}

#dp_menu .box_line {
  display: block;
  margin-bottom: 20px;
}

#dp_menu .box_line a {
  display: block;
  line-height: 1.2em;
  margin-bottom: 10px;
}

#dp_menu .one_line {
  color: #555;
  font-size: 16px;
  font-weight: bold;
}

#dp_menu .two_line {
  color: #555;
  font-size: 14px;
  margin-left: 15px;
}

#dp_menu .count_ch:before {
  content: "\f054";
  position: absolute;
  top: 0;
  bottom: 0;
  height: 12px;
  margin: auto;
  display: inline-block;
  font-family: FontAwesome;
  right: 10px;
  font-size: 12px;
}

@media (max-width: 991px) {
  #dp_menu .one_line {
    font-size: 14px;
  }

  #dp_menu .two_line {
    font-size: 12px;
  }

  #dp_menu .column_box_line {
    display: block;
    margin-right: 100px;
    float: left;
    position: relative;
    z-index: 2;
    max-width: 45%;
    margin-right: 3%;
  }
}

/*END Меню каталога */

@media (max-width: 350px) {
  .mobile-box-phone {
    display: none;
  }
}

@media (max-width: 767px) {
  .new-header-user-box .panel-heading {
    display: none;
  }

  .new-header-user-box .no-auth {
    margin-top: 15px;
  }

  .navbar-default .navbar-nav > li > a {
    padding-left: 15px;
  }

  .navbar-default .navbar-nav > li > a {
    padding-left: 20px;
  }

  .navbar-nav .open .dropdown-menu .dropdown-header,
  .navbar-nav .open .dropdown-menu > li > a,
  #top-menu-catalogue-accordion a {
    padding: 5px 20px 5px 20px;
  }

  .dropdown-submenu > a:after {
    right: 20px;
  }

  .dropdown > a:after {
    right: 20px;
  }

  .header-search-box .input-group input {
    border: 1px solid #dce3ee;
    box-shadow: none;
    padding-left: 40px;
    height: 40px;
    position: relative;
    z-index: 3;
    border-radius: 4px !important;
  }

  .mobile-box-phone {
    color: #000;
    position: absolute;
    top: 15px;
    right: 115px;
    font-weight: 600;
  }

  .dropdown-search-box .form-group,
  .dropdown-login-box {
    margin-top: 1px;
    font-size: 12px;
  }

  .tab-content .input-group-btn,
  .header-search-box .input-group-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 3;
    font-size: 0;
    white-space: nowrap;
    width: auto;
    display: inline-block;
  }

  .navbar-header-full {
    box-shadow: 0 1px 2px -1px rgb(0 0 0 / 60%) !important;
    z-index: 6;
  }

  .nav-tabs .input-group > input[type="text"] {
    height: 40px;
    position: relative;
    z-index: 3;
    border-radius: 4px !important;
    width: 100%;
    display: block;
    float: none;
  }

  .tab-content .input-group-btn,
  .header-search-box .input-group-btn {
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 3;
    font-size: 0;
    white-space: nowrap;
    width: auto;
    display: inline-block;
  }

  .tab-content .input-group-btn:last-child > .btn,
  .input-group-btn:last-child > .btn-group {
    z-index: 2;
    margin-left: initial;
  }

  .tab-content .input-group,
  .header-search-box .input-group {
    position: relative;
    display: block;
    border-collapse: separate;
  }

  .tab-content .input-group,
  .header-search-box .input-group button {
    background: none;
    border: none;
    border-left: 1px solid #ffbd3e;
    border-radius: 0 !important;
    padding-left: 15px;
    padding-right: 0px;
  }

  .navbar-header .navbar-toggle {
    left: auto;
    right: 15px;
  }

  .navbar-header .header_fa_user_btn {
    right: 65px;
    left: auto;
  }

  .navbar-header {
    text-align: left;
    background: #fff;
  }

  /* Мобильная шапка: гамбургер слева, лого центр, кабинет+тема справа (обе темы, только геометрия) */
  .header-box-mobile .navbar-header { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
  .header-box-mobile .navbar-header:before,
  .header-box-mobile .navbar-header:after { display: none; }
  .header-box-mobile .navbar-header .navbar-toggle { flex: none; float: none; margin: 5px 0; left: auto; right: auto; position: relative; z-index: 1; }
  .header-box-mobile .navbar-header .navbar-toggle[data-target="#bs-example-navbar-collapse-1"] { order: 1; }
  .header-box-mobile .logo_min { order: 2; flex: 1 1 auto; flex-shrink: 1; min-width: 0; overflow: hidden; text-align: center; margin: 0 auto; }
  .header-box-mobile .logo_min img { max-width: 140px; width: auto; height: auto; margin: 5px auto; }
  .header-box-mobile .navbar-header .header_fa_user_btn { order: 3; }
  .header-box-mobile .navbar-header .theme-toggle-btn-mobile { order: 4; flex: none; position: relative; z-index: 1; }
  .header-box-mobile .mobile-box-phone { order: 5; flex: 1 0 100%; position: static; margin: 0; min-width: 0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .header-box-mobile .navbar-header .theme-toggle-btn-mobile { min-width: 44px; height: 44px; color: var(--orange); }

  .logo_min img {
    margin: 5px 15px;
  }

  .navbar-header .navbar-toggle {
    background: #f7f4f3;
    color: #000;
    border-radius: 7px;
    margin: 5px 0px;
    width: 40px;
    height: 40px;
    min-width: auto;
    border: 1px solid #dce3ee;
  }

  .navbar-header .navbar-toggle i {
    position: relative;
    top: 1px;
  }

  .navbar-header .navbar-toggle i {
    margin: 0;
    padding: 0;
    line-height: 100%;
    font-size: 18px;
  }

  .header-cart-box {
    position: relative;
  }

  .header-search-box .dropdown span {
    color: #000;
  }

  .header-search-box .dropdown span:after {
    background: #dce3ee;
  }

  .header-cart-box .badge {
    display: inline-block;
    min-width: 1px;
    padding: 2px 3px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
  }

  .dropdown-cat-btn:before {
    right: 20px;
  }

  .yamm .dropdown-submenu > .dropdown-menu {
    margin-left: 20px;
  }
}

header .schearch-line .header-home-btn {
  display: none;
}

/*	Fixed Header	 */

header .fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 1px 24px 0 rgb(0 0 0 / 14%);
  white-space: nowrap;
  padding: 7px 0px;
}

header .fixed .header-home-btn {
  height: 34px;
  display: inline-block;
  line-height: 34px;
  white-space: nowrap;
  background: #ff4000;
  color: #fff;
  padding: 0px 10px;
  border-radius: 16px;
  margin-right: 2px;
  text-decoration: none;
  cursor: pointer;
}

header .schearch-line .header-home-margin {
  margin-right: 5px;
}

header .fixed .header-cat-btn {
  height: 34px;
  line-height: 34px;
}

header .fixed .header-cat-btn span {
  display: none;
}

header .fixed .header-search-box .dropdown {
  height: 34px;
}

header .fixed .header-search-box .dropdown-menu {
  margin: 1px 0 0;
}

header .fixed .header-search-box .dropdown-menu > li > a {
  display: block;
  padding: 2px 5px 2px 5px;
}

header .fixed .header-search-box .input-group input {
  height: 36px;
}

header .fixed .header-search-box .input-group-btn {
  top: 5px;
}

header .fixed .input-group button {
  height: 26px;
  padding: 0px 20px;
}

header .fixed .header-search-box .dropdown span {
  height: 36px;
  line-height: 36px;
}

header .fixed .header-search-box .dropdown span:after {
  top: 11px;
  height: 14px;
}

header .fixed .menu-box a {
  padding: 3px 0px;
}

header .fixed #dp_menu {
  margin-top: 7px;
}

header .fixed .menu-box a {
  height: 36px;
}

header .fixed .menu-box-icon {
  height: 26px;
  max-width: 26px;
}

/* Липкая шапка: тоггл вровень с соседями + оранжевый акцент иконок (обе темы, нелипкая untouched) */
header .fixed .menu-box .theme-toggle-btn {
  height: 36px; display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
header .fixed .menu-box .theme-toggle-btn svg { width: 26px; height: 26px; }
header .fixed .menu-box a .menu-box-icon { color: var(--orange); }
header .fixed .menu-box a:hover .menu-box-icon,
header .fixed .menu-box .theme-toggle-btn:hover { color: #E63A00; }

@media (max-width: 991px) {
  header .fixed .header-cat-btn {
    padding: 0px 9px;
  }
}

/*	END Fixed Header */

/* ***************************************************************************************************** */

/* Блок слайдера и плитки каталога подбора */

.tile_box{
	padding: 19px;
}
.tile_box > div{
	padding: 11px;
}

.new-cat-block {
    
}

.slider-line {
	background: #fff;
	padding-top: 0px;
    padding-bottom: 0px;
}

.tile-line-box {
	margin-top: 30px;
	padding-top: 0px;
    padding-bottom: 0px;
}


.slider-line .tile-line .tile {
  display: block;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  color: #555;
  margin-top: 0px;
  height: 150px;
  position: relative;
  line-height: 150px;
  text-align: center;
  background-position: center 0px;
  background-size: auto 110px;
}

.slider-line .tile-line .tile:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 6px 12px rgba(0,0,0,0.1); 
  border-color: #d8d4d3; 
}

.slider-line .tile-line .tile .tile-text {
  display: inline-block;
  font-size: 18px;
  line-height: 1.2em;
  font-weight: 500;
  vertical-align: bottom;
  padding-bottom: 13px;
}

.slider-line .tile-line .tile-img-3 {
  background: #fff url("../img/ucats/tires.svg") no-repeat;
}

.slider-line .tile-line .tile-img-4 {
  background: #fff url("../img/ucats/disks.svg") no-repeat;
}

.slider-line .tile-line .tile-img-5 {
  background: #fff url("../img/ucats/accessories.svg") no-repeat;
}

.slider-line .tile-line .tile-img-6 {
  background: #fff url("../img/ucats/oil.svg") no-repeat;
}

.slider-line .tile-line .tile-img-7 {
  background: #fff url("../img/ucats/akb.svg") no-repeat;
}

.slider-line .tile-line .tile-img-8 {
  background: #fff url("../img/ucats/caps.svg") no-repeat;
}

.slider-line .tile-line .tile-img-9 {
  background: #fff url("../img/ucats/bolts.svg") no-repeat;
}

.slider-line .tile-line .tile-img-10 {
  background: #fff url("../img/ucats/to.svg") no-repeat;
}

.slider-line .tile-line .tile-img-11 {
  background: #fff url("../img/11.jpg") no-repeat;
}
.slider-line .tile-line .tile-img-10 {
  background: #f7f4f3 url("/autopolka/images/toparts.png") no-repeat;
}

.slider-line .tile-line .tile-img-11 {
  background: #f7f4f3 url("../img/11.png") no-repeat;
}

.slider-line .tile-line .tile-img-12 {
  background: #f7f4f3 url("/autopolka/images/oemparts.png") no-repeat;
}

.slider-line .tile-line .tile-img-13 {
  background: #f7f4f3 url("/autopolka/images/autoparts.png") no-repeat;
}

.slider-line .tile-line .tile-img-14 {
  background: #f7f4f3 url("/autopolka/images/chinaparts.png") no-repeat;
}

.slider-line .tile-line .tile-img-15 {
  background: #f7f4f3 url("/autopolka/images/usedparts.png") no-repeat;
}

.slider-line .tile-line .tile-img-16 {
  background: #f7f4f3 url("/autopolka/images/sections/54.png") no-repeat;
}

.slider-line .tile-line .tile-img-17 {
  background: #f7f4f3 url("/autopolka/images/sections/4.png") no-repeat;
}

.slider-line .tile-line .tile-img-18 {
  background: #f7f4f3 url("/autopolka/images/sections/88.png") no-repeat;
}

.slider-line .tile-line .tile-img-19 {
  background: #f7f4f3 url("/autopolka/images/sections/7.png") no-repeat;
}

.slider-line .tile-line .tile-img-20 {
  background: #f7f4f3 url("/autopolka/images/sections/15.png") no-repeat;
}

.slider-line .tile-line .tile-img-21 {
  background: #f7f4f3 url("/autopolka/images/sections/8.png") no-repeat;
}

.slider-line .tile-line .tile-img-22 {
  background: #f7f4f3 url("/autopolka/images/sections/9.png") no-repeat;
}

.slider-line .tile-line .tile-img-23 {
  background: #f7f4f3 url("/autopolka/images/sections/10.png") no-repeat;
}

.slider-line .tile-line .tile-img-24 {
  background: #f7f4f3 url("/autopolka/images/sections/3.png") no-repeat;
}

.slider-line .tile-line .tile-img-25 {
  background: #f7f4f3 url("/autopolka/images/sections/16.png") no-repeat;
}

.slider-line .tile-line .tile-img-26 {
  background: #f7f4f3 url("/autopolka/images/sections/11.png") no-repeat;
}

.slider-line .tile-line .tile-img-27 {
  background: #f7f4f3 url("/autopolka/images/sections/6.png") no-repeat;
}

.slider-line .tile-line .tile-img-28 {
  background: #f7f4f3 url("/autopolka/images/sections/18.png") no-repeat;
}

.slider-line .tile-line .tile-img-29 {
  background: #f7f4f3 url("/autopolka/images/sections/17.png") no-repeat;
}

.slider-line .tile-line .tile-img-30 {
  background: #f7f4f3 url("/autopolka/images/sections/19.png") no-repeat;
}

.slider-line .tile-line .tile-img-31 {
  background: #f7f4f3 url("/autopolka/images/sections/20.png") no-repeat;
}

.slider-line .tile-line .tile-img-32 {
  background: #f7f4f3 url("/autopolka/images/sections/24.png") no-repeat;
}

.slider-line .tile-line .tile-img-33 {
  background: #f7f4f3 url("/autopolka/images/sections/13.png") no-repeat;
}

.slider-line .tile-line .tile-img-34 {
  background: #f7f4f3 url("/autopolka/images/sections/14.png") no-repeat;
}

.slider-line .tile-line .tile-img-35 {
  background: #f7f4f3 url("/autopolka/images/sections/26.png") no-repeat;
}

.slider-line .tile-line .tile-img-36 {
  background: #f7f4f3 url("/autopolka/images/sections/22.png") no-repeat;
}

.slider-line .tile-line .tile-img-37 {
  background: #f7f4f3 url("/autopolka/images/sections/23.png") no-repeat;
}

.slider-line .tile-line .tile-img-38 {
  background: #f7f4f3 url("/autopolka/images/sections/21.png") no-repeat;
}

.slider-line .tile-line .tile-img-39 {
  background: #f7f4f3 url("/autopolka/images/sections/25.png") no-repeat;
}

.slider-line .tile-line .tile-img-40 {
  background: #f7f4f3 url("/autopolka/images/sections/27.png") no-repeat;
}

.slider-line .tile-line .tile-img-41 {
  background: #f7f4f3 url("/autopolka/images/sections/30.png") no-repeat;
}

.slider-line .tile-line .tile-img-42 {
  background: #f7f4f3 url("/autopolka/images/sections/31.png") no-repeat;
}

.slider-line .tile-line .tile-img-43 {
  background: #f7f4f3 url("/autopolka/images/sections/32.png") no-repeat;
}







.slider-line .tile-line .tile-img-44 {
  background: #f7f4f3 url("/autopolka/images/sections/m-maslo.png") no-repeat;
}

.slider-line .tile-line .tile-img-45 {
  background: #f7f4f3 url("/autopolka/images/sections/kolodki.png") no-repeat;
}

.slider-line .tile-line .tile-img-46 {
  background: #f7f4f3 url("/autopolka/images/sections/tormdisk.png") no-repeat;
}

.slider-line .tile-line .tile-img-47 {
  background: #f7f4f3 url("/autopolka/images/sections/akkum.png") no-repeat;
}

.slider-line .tile-line .tile-img-48 {
  background: #f7f4f3 url("/autopolka/images/sections/svechi.png") no-repeat;
}

.slider-line .tile-line .tile-img-49 {
  background: #f7f4f3 url("/autopolka/images/sections/remen.png") no-repeat;
}

.slider-line .tile-line .tile-img-50 {
  background: #f7f4f3 url("/autopolka/images/sections/sblok.png") no-repeat;
}

.slider-line .tile-line .tile-img-51 {
  background: #f7f4f3 url("/autopolka/images/sections/stab.png") no-repeat;
}

.slider-line .tile-line .tile-img-52 {
  background: #f7f4f3 url("/autopolka/images/sections/rychagi.png") no-repeat;
}

.slider-line .tile-line .tile-img-53 {
  background: #f7f4f3 url("/autopolka/images/sections/shar.png") no-repeat;
}

.slider-line .tile-line .tile-img-54 {
  background: #f7f4f3 url("/autopolka/images/sections/pruzhiny.png") no-repeat;
}

.slider-line .tile-line .tile-img-55 {
  background: #f7f4f3 url("/autopolka/images/sections/inter.png") no-repeat;
}



.slider-line .tile-line .tile-img-100 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/avtosvet_atl-12-03.png") no-repeat;
}

.slider-line .tile-line .tile-img-101 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/akkumulyatory-vneshnie-universal_aeab004.png") no-repeat;
}

.slider-line .tile-line .tile-img-102 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/alkotestery_alk-l-01.png") no-repeat;
}

.slider-line .tile-line .tile-img-103 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/aromatizatory-vozdukha_af-a01-sm.png") no-repeat;
}

.slider-line .tile-line .tile-img-104 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/batareyki_9v-01.png") no-repeat;
}
.slider-line .tile-line .tile-img-105 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/bryzgoviki_amf-02.png") no-repeat;
}
.slider-line .tile-line .tile-img-106 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/ventilyatory-v-salon_acf-12-02.png") no-repeat;
}
.slider-line .tile-line .tile-img-107 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/derzhateli-telefonov_ams-f-03.png") no-repeat;
}


.slider-line .tile-line .tile-img-108 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/zu-dlya-mobilnykh-ustroystv_ach-1u-11.png") no-repeat;
}
.slider-line .tile-line .tile-img-109 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/zerkala-i-linzy_amr-06.png") no-repeat;
}
.slider-line .tile-line .tile-img-110 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/znaki_azn07.png") no-repeat;
}
.slider-line .tile-line .tile-img-111 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/invertory_api-1000-07.png") no-repeat;
}

.slider-line .tile-line .tile-img-112 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/instrumenty_atao079.png") no-repeat;
}
.slider-line .tile-line .tile-img-113 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/kamery_acac003.png") no-repeat;
}
.slider-line .tile-line .tile-img-114 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/kolpaki_awcc-13-15.png") no-repeat;
}
.slider-line .tile-line .tile-img-115 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/kompressory-nasosy-manometry_ca-035-20v.png") no-repeat;
}



.slider-line .tile-line .tile-img-116 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/kryshki-avtomobilnye_akac028.png") no-repeat;
}
.slider-line .tile-line .tile-img-117 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/lebedki-ruchnye_amwl001.png") no-repeat;
}
.slider-line .tile-line .tile-img-118 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/nabory-avtomobilista-komplek_am-03.png") no-repeat;
}
.slider-line .tile-line .tile-img-119 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/okhrannye-sistemy_ac-as-01.png") no-repeat;
}

.slider-line .tile-line .tile-img-120 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/parkovochnye-aks-ry_akon007.png") no-repeat;
}
.slider-line .tile-line .tile-img-121 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/parktroniki_aps-ss-05.png") no-repeat;
}
.slider-line .tile-line .tile-img-122 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/poryadok-i-khranenie_aac-01.png") no-repeat;
}
.slider-line .tile-line .tile-img-123 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/predokhraniteli_aefh003.png") no-repeat;
}

.slider-line .tile-line .tile-img-124 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/predpuskovye-podogrevateli-dvs_aeaz001.png") no-repeat;
}
.slider-line .tile-line .tile-img-125 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/prikurivateli_acl-12-02.png") no-repeat;
}
.slider-line .tile-line .tile-img-126 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/provoda-prikurivaniya_sa400p10.png") no-repeat;
}
.slider-line .tile-line .tile-img-127 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/proektsionnyy-displey_alaa003.png") no-repeat;
}

.slider-line .tile-line .tile-img-128 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/pulty_alab004.png") no-repeat;
}
.slider-line .tile-line .tile-img-129 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/pylesosy_vca-04.png") no-repeat;
}
.slider-line .tile-line .tile-img-130 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/razvetviteli-prikurivatelya_asp005.png") no-repeat;
}
.slider-line .tile-line .tile-img-131 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/razemy-soedinitelnye_aecc109.png") no-repeat;
}



.slider-line .tile-line .tile-img-132 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/ramki-pod-nomernoy-znak_adfc004.png") no-repeat;
}
.slider-line .tile-line .tile-img-133 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/remni-styazhnye_astb06.png") no-repeat;
}
.slider-line .tile-line .tile-img-134 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/rozetki-voltmetry-termometr_avm-d-02.png") no-repeat;
}
.slider-line .tile-line .tile-img-135 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/setki-dlya-zashchity-radiatora_apm-a-02.png") no-repeat;
}

.slider-line .tile-line .tile-img-136 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/signaly_ahr-12d-01.png") no-repeat;
}
.slider-line .tile-line .tile-img-137 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/sredstva-po-ukhodu-za-avto_abpn001.png") no-repeat;
}
.slider-line .tile-line .tile-img-138 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/trosy_atwp005.png") no-repeat;
}
.slider-line .tile-line .tile-img-139 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/utepliteli_adat001.png") no-repeat;
}

.slider-line .tile-line .tile-img-140 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/khomuty-kley-izolenta-styazhki_ag-af-04.png") no-repeat;
}
.slider-line .tile-line .tile-img-141 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/tsepi-i-lenty-protivobuksovochny_aast-01.png") no-repeat;
}
.slider-line .tile-line .tile-img-142 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/chekhly-kovry-opletki-nakidki_acm-rtm-06.png") no-repeat;
}
.slider-line .tile-line .tile-img-143 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/shinomontazh_atrv01s.png") no-repeat;
}

.slider-line .tile-line .tile-img-144 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/shumoizolyatsiya_addg001.png") no-repeat;
}
.slider-line .tile-line .tile-img-145 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/shchetki-stekloochistitelya_awba06.png") no-repeat;
}
.slider-line .tile-line .tile-img-146 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/elektrika-farkopa_ate-36.png") no-repeat;
}
.slider-line .tile-line .tile-img-147 {
  background: #f7f4f3 url("https://autopolka.ru/autopolka/airline/images/categories/kombinezony-kaspery_ado-nwf-10.png") no-repeat;
}


.slider-line .tile-line .tile {
  background-position: center 0px;
  background-size: auto 110px;
  -webkit-transition: 0.25s;
  -o-transition: 0.25s;
  transition: 0.25s;
}

.slider-line .tile-line .tile:hover {
  background-size: auto 118px;
}



@media (max-width: 767px) {
  .slider-line .tile-line .tile .tile-text {
    font-size: 14px;
  }
}

/* END - Блок слайдера и плитки каталога подбора */

/* ***************************************************************************************************** */

/* ***************************************************************************************************** */

/* Блок плиток каталога товаров */

.section-title {
  border-bottom: solid 1px #e4e4e4;
  padding-bottom: 5px;
  margin-top: 34px;
  color: #555;
  font-weight: 500;
  font-size: 1.8em;
}

.section-title:before {
  display: none;
}

.section-title:first-letter {
  color: #555;
}

.new-cat-block-catalog {
  display: block;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  color: #555;
  margin-top: 0px;
  height: 150px;
  position: relative;
  line-height: 150px;
  text-align: center;
  background-position: center 15px;
  background-color: #f7f4f3;
}

.new-cat-block-catalog .new-cat-block-catalog-img {
  top: 15px;
  bottom: 45px;
}

.new-cat-block-catalog .new-cat-block-text {
    display: inline-block;
    font-size: 18px;
    line-height: 1em;
    font-weight: 500;
    vertical-align: bottom;
    padding-bottom: 13px;
    position: relative;
    color: #555;
    background: #f7f4f3;
    bottom: 2px;
    padding-top: 2px;
}

.sidebar-nav li a {
  display: block;
  padding: 0;
  color: #555;
  text-decoration: none;
  border-left: solid 3px #555;
  background-color: #f9f9f9;
  position: relative;
}

.sidebar-nav li a span {
  border-bottom: 1px solid #efe9e9;
  display: block;
  padding: 5px 15px;
  font-weight: 500;
}

.sidebar-nav .has-sub > a:after {
  margin-top: 3px;
  font-weight: 600;
  padding: 2px 10px;
  position: absolute;
  right: 0;
  top: 0;
}

.sidebar-nav .has-sub > a:after {
  font-family: "FontAwesome";
  content: "\f107";
  font-size: 1.2em;
  float: right;
}

@media (max-width: 767px) {
  .new-cat-block-text {
    font-size: 14px;
  }
}

/* END - Блок плиток каталога товаров */

/* ***************************************************************************************************** */

/* ***************************************************************************************************** */

/* ***************************************************************************************************** */










/* Tabs */

.nav-tabs {
	padding: 0;
	margin: 0;
	border: 0;
	white-space: nowrap;
	line-height: 0;
    overflow-y: hidden;
    overflow-x: auto;
	position: relative;
    z-index: 2;
    top: 1px;
}
.nav-tabs > li {
	font-weight: 500;
	padding: 0;
	margin: 0;
	border: 0;
	list-style: none;
	list-style-type: none;
	display: inline-block;
	overflow:hidden;
	white-space: nowrap;
	border-radius: 4px 4px 0px 0px;
	border: 1px solid transparent;
}
.nav-tabs > li a{
	font-weight:400;
	border-radius: 0px;
	border:none !important;
	color:inherit !important;
	cursor: pointer;
}


.nav-tabs li:hover{
	background: #f2f2f2;
	border-color:#e4e4e4;
}
.nav-tabs > li.active,
.nav-tabs > li.active:focus,
.nav-tabs > li.active:hover {
	background: #fff;
	border: 1px solid #e4e4e4;
	border-bottom: 1px solid #fff;
	z-index: 2;
}
.nav-tabs > li.active:hover{
	background: #fff;
	border-bottom: 1px solid #fff;
}

.nav-tabs + .tab-content {
	padding: 0;
	padding-top: 13px;
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
	border-top: solid 1px #e4e4e4;
	position: relative;
	z-index:1;
}



@media (max-width: 767px){
	.nav-tabs:before {
		position: fixed;
		right: 15px;
		z-index: 3;
	}
}



.main_page .nav-tabs{
	margin-top:30px;
}
.main_page .nav-tabs + .tab-content .search_tab_car_letter {
    color: #555;
}



.news_box{
	padding: 19px;
	margin-top: -9px;
    padding-top: 0px;
}
.news_box .col-sm-6{
	padding:11px;
}
.news_box .news_item_box .news_item_img {
    height: 150px;
	margin-bottom: 13px;
	text-align:center;
}
.news_box .news_item_box {
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  background-color: #f7f4f3 ;
}

@media (max-width: 991px) {
  .news_box .news_item_box {
    border: 1px solid #e4e4e4;
    border-radius: 16px;
    color: #555;
    margin-bottom: 0px;
  }

  .news_box .col-sm-6:last-child .news_item_box {
    margin-bottom: 0px;
  }
}

.main-header .page-title {
  color: #555;
  font-weight: 400;
}

.main-header .breadcrumb {
  margin: 0;
  display: block;
  text-align: left;
  float: none;
  background: none;
  position: relative;
  top: 0px;
  right: 0px;
  padding: 0;
  padding-top: 1px;
  line-height: 12px;
  font-size: 12px;
}

.main-header .breadcrumb > li + li:before {
  position: relative;
  top: -1px;
}

label {
  font-weight: 500;
}






@media (min-width: 1200px) {
	.tab-content .search_tab_car_caption {
		padding: 4px 0px;
	}
	.tab-content .search_tab_car_ul:first-child {
		padding-left:0;
	}
	.tab-content .search_tab_car_ul {
		padding-left: 60px;
		margin-bottom: 0px;
	}
}


/*

.navbar-fixed-bottom{display:none;}

@media (max-width: 768px){

	.navbar-fixed-bottom{

		display:block;

	}

}

*/

#footer-widgets,
#footer {
  border-color: #e4e4e4;
}

#footer-widgets {
    padding: 10px 0 30px 0;
}

#footer-widgets .footer_pay_box {
    background: #fff;
}

/* ***************************************************************************************************** */

/* header box for mobile */

.header-box-mobile .geo-point-user-box {
  border-bottom: 1px solid #e6e6e6;
  padding: 10px 0px;
}

.header-box-mobile .geo-point-user-box table {
  width: 100%;
}

.header-box-mobile .geo-point-user-box table .geo-td-icon {
  width: 50px;
  padding-left: 20px;
}

.header-box-mobile .geo-point-user-box table .geo-td-text {
  line-height: 1.1em;
}

.header-box-mobile .mobile-search-div {
  padding-top: 6px;
  margin-bottom: 0px;
  padding-bottom: 5px;
  box-shadow: 0 1px 2px -1px rgb(0 0 0 / 60%) !important;
  background: #fff;
  z-index: 5;
}

.header-box-mobile .mobile-search-div table {
  width: 100%;
}

.header-box-mobile .mobile-search-div table td {
  width: 100%;
}

.header-box-mobile .mobile-search-div input {
  background: #f7f4f3;
  box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.header-box-mobile .mobile-search-div button {
  background: none;
  border: none;
  border-left: 1px solid #dce3ee;
  border-radius: 0 !important;
  text-align: center;
  width: 40px;
  padding: 0px;
}

.header-box-mobile .mobile-search-div button i {
  font-size: 18px;
  margin: 0;
  padding: 0;
}

.header-box-mobile .mobile-search-div .header-cart-box {
  background: #f7f4f3;
  white-space: nowrap;
  border: 1px solid #dce3ee;
  border-radius: 4px;
  margin-left: 10px;
  color: #000;
  min-width: 40px;
  height: 40px;
  display: inline-block;
  text-align: center;
}

.header-box-mobile .mobile-search-div .header-cart-box i {
  font-size: 19px;
  line-height: 37px;
  position: relative;
  z-index: 9;
}

@media (max-width: 767px) {
  .slider-line {
    padding-top: 0px;
  }
}

/* END - header box for mobile */

/* ***************************************************************************************************** */

.search-simple-bar {
  position: absolute;
  z-index: 5;
  background: #fff;
  top: 100%;
  width: 100%;
  border-radius: 6px;
  border: 1px solid #e4e4e4;
}

.search-simple-bar .search-simple-bar-content {
  overflow: hidden;
}

.search-simple-bar .table-div {
  overflow: auto;
  max-height: 350px;
  margin-right: -20px;
  margin-bottom: -20px;
  white-space: normal;
}

.search-simple-bar .table td:last-child {
  min-width: 200px;
  padding-right: 25px;
  word-break: break-all;
}

.search-simple-bar .table * {
  border-color: #e4e4e4;
  line-height: 1.1em;
  vertical-align: middle;
}

.search-simple-bar .table tr:hover {
  background: #e4e4e4;
}

@media (max-width: 767px) {
  .search-simple-bar {
    font-size: 12px;
    top: 41px;
  }

  .search-simple-bar .table-div {
    max-height: 200px;
  }
  
	.header-user-box .new-header-user-box .form-group .btn_return:before {
	  content: "\f060";
	}
	
	.header-user-box .new-header-user-box .form-group .btn_requests:before {
	  content: "\f135";
	}
}


@media (max-width: 991px) {
  .mainContainer img{
	  max-width:100%;
	  height:auto;
  }
}

/* ***************************************************************************************************** */

#cookie-message {
	z-index: 9999;
	display: none;
	position: fixed;
	bottom: 10%;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 85%;
	max-width: 900px;
	padding: 20px;
	background-color: #fff;
	border-radius: 5px;
	-webkit-box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
	        box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
}
#cookie-message p {
	margin: 0 0 10px 0;
	font-size: 12px;
	line-height: 18px;
	text-align: left;
	color: #222;
}
.cookie-inner {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.cookie-btn,
.cookie-btn:focus {
	background-color: #39434e;
	border: none;
	color: #ededed;
	text-decoration: none;
	padding: 15px 40px;
	white-space: nowrap;
	cursor: pointer;
	border-radius: 4px;
	max-width: 100%;
	-webkit-transition: all .1s linear;
	-o-transition: all .1s linear;
	transition: all .1s linear;
	text-align: center;
	margin-left: 10px;
}
.cookie-btn:hover {
	text-decoration: none;
	color: #fff;
	background-color: #4d5762;
}

/* Несколько телефонов в шапке */
header .logo-line .header-phone-box a {
	display: inline-block;
	width: 100%;
	font-size: 20px;
	line-height: 1;
}

header .logo-line .header-phone-box a:not(:last-child) {
	margin-bottom: 6px;
}
/*Стили для блока статистики опроса складов*/
.apiStorages__logs {
	display: none;
	height: 100%;
	width: 400px;
	position: fixed;
	bottom: 0;
	top: 0;
	left: -400px;
	z-index: 2000;
	background: #ffffff;
	transition: all .25s ease;
}
.apiStorages__logs.active {
	left: 0;
}
.apiStorages__buttonContainer {
	position: absolute;
	right: -50px;
	width: 50px;
	height: 200px;
	top: 50%;
	background: #fff2c4;
	border-radius: 0px 6px 6px 0px;
	cursor: pointer;
	user-select: none;
	box-sizing: border-box;
	transform: translateY(-50%);
}
.apiStorages__buttonContent {
	writing-mode: vertical-rl;
  text-align: center;
	display: block;
	width: 100%;
	height: 100%;
	padding: 10px;
}
.apiStorages__title{
	width: 100%;
	text-align: center;
	color: #000000;
	font-size: 16px;
	padding: 16px 10px;
}
.apiStorages__mainContent {
	height: 100%;
	border: 0;
	border-right: 2px solid #c8c8c8;
}
.apiStorages__listContainer {
	max-height: 100%;
	overflow: hidden;
	overflow-y: auto;
}
.apiStorages__list {
  padding: 10px 5px 10px 10px;
	font-size: 14px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.apiStorages__logs .listree-submenu-heading {
  font-weight: 600;
}
.apiStorages__list .main-item-logsList {
	padding-bottom: 40px;
}
.apiStorages__list .main-item-logsList > li {
  border-bottom: 1px dashed #000;
  padding: 4px 0;
}
.apiStorages__list .main-item-logsList .item-logsList-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.apiStorages__list .left-item-logsList {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 40%;
          flex: 0 0 40%;
}
.apiStorages__list .right-item-logsList {
  text-align: right;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.apiStorages__list .item-logsList {
  white-space: normal;
  word-break: break-all;
}
.apiStorages__list .item-logsList-row {
	line-height: 1.1;
	margin-bottom: 6px;
	padding: 2px;
	cursor: pointer;
}
.apiStorages__list .item-logsList-row:hover {
	background-color: #f5f5f5;
}
.apiStorages__list .json-item-logsList {
  white-space: nowrap;
  overflow: hidden;
  position: relative;
	margin-right: 6px;
}
.apiStorages__list .json-item-logsList.active {
  overflow: initial;
  position: static;
  top: 0;
}
.apiStorages__list .json-item-logsList.active .json-item-logsList__content {
  background-color: #fbffe5;
  padding: 10px;
  display: inline-block;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  white-space: pre-wrap;
  text-align: left;
  left: 1px;
  bottom: 1px;
  border-radius: 0px 6px 6px 0px;
  z-index: 3;
  color: #000!important;
}
.apiStorages__list .json-item-logsList__content {
  display: none;
  position: absolute;
  left: 0;
}
.apiStorages__list .json-item-logsList__content pre {
  margin: 0;
  white-space: break-spaces;
}
.apiStorages__list .fa-copy {
  position: relative;
}
.apiStorages__list .fa-copy:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -40px 0 0 -40px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  opacity: 0;
  box-shadow: inset 0 0 0 35px rgba(0,0,0,0.1);
  display: none;
}
.apiStorages__list .fa-copy.copy-show:after {
  animation: animate-click 0.6s ease-out forwards;
  display: block;
}
.apiStorages__list .row-log-error {
  background-color: #fbc1c1;
}
.apiStorages__list .row-log-empty {
  background-color: #f2f993;
}
.apiStorages__list .row-list-success {
  background-color: #96ff9d;
}
@keyframes animate-click {
  0% {
      opacity: 1;
      transform: scale3d(0.4, 0.4, 1);
  }

  80% {
      box-shadow: inset 0 0 0 2px rgba(0,0,0,0.1);
      opacity: 0.1;
  }

  100% {
      opacity: 0;
      box-shadow: inset 0 0 0 2px rgba(0,0,0,0.1);
      transform: scale3d(1.2, 1.2, 1);
  }
}

@media (max-width: 460px) {
	.apiStorages__logs {
		width: 300px;
		left: -300px;
	}
}

/* ***************************************************************************************************** */
.demo-module-settings__inner {
	padding: 4px;
	display: flex;
	align-items: center;
	background-color: rgb(253 251 247 / 50%);
	
}
.demo-module-setting__handle {
	margin-left: auto;
	color: #767470;
  text-decoration: none;
	opacity: 0.8;
	cursor: pointer;
	transition: opacity 0.15s ease-in-out;
}
.demo-module-setting__handle:hover,
.demo-module-setting__handle:active,
.demo-module-setting__handle:focus {
	opacity: 1;
	text-decoration: none;
	color: #51504e;
}
.demo-module-setting__text {
	text-transform: lowercase;
	font-size: 13px;
}
.demo-module-setting__notify {
	text-transform: lowercase;
	font-size: 12px;
	display: inline-block;
	margin-right: 4px;
	color: #afaca5;
}
.demo-module-setting__handle img {
	width: auto;
	height: 18px;
}
/* ***************************************************************************************************** */


@media screen and (max-width: 600px) {
  #footer-widgets, #footer {
    visibility: hidden;
    display: none;
  }
}


@media screen and (max-width: 600px) {
  .footer-image {
    visibility: hidden;

  }
}

/* каталог для зимы */
.zima-catalog {
  width: 100%;
  max-width: 1620px;
  margin: 0 auto;
}

.catalog-link {
  display: block;
  position: relative;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
}

.image-wrapper {
  position: relative;
  width: 100%;
}

.static-image,
.hover-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  transition: opacity 0.3s ease;
}

.hover-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}

.catalog-link:hover .static-image {
  opacity: 0;
}

.catalog-link:hover .hover-image {
  opacity: 1;
  pointer-events: auto;
}
/* каталог для зимы конец*/


#wb_franshiza {
   background-color: transparent;
   background-image: url('https://autopolka.ru/autopolka/desktop/images/osago_desktop1.png');
   background-position: center center;
   background-repeat: no-repeat;
   background-size: cover;
   border: 1px solid #e4e4e4;
   border-radius: 16px;
   box-sizing: border-box;
   clear: both;
   display: table;
   margin: 0;
   position: relative;
   table-layout: fixed;
   text-align: center;
   width: 100%;

   margin: 0 auto;



}
#franshiza {
   box-sizing: border-box;
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
   margin-left: auto;
   margin-right: auto;

   padding: 0;
}
#franshiza > .col-1,
#franshiza > .col-2 {
   box-sizing: border-box;
   font-size: 0;
   min-height: 1px;
   padding-left: 15px;
   padding-right: 15px;
   position: relative;
}
#franshiza > .col-1,
#franshiza > .col-2 {
   flex: 0 0 auto;
}
#franshiza > .col-1 {
   align-content: center;
   align-items: center;
   align-self: stretch;
   background-color: transparent;
   background-image: none;
   border: 0px solid #FFFFFF;
   border-radius: 0px;
   display: flex;
   flex-basis: 50%;
   flex-wrap: wrap;
   justify-content: center;
   max-width: 50%;
   text-align: center;
}
#franshiza > .col-2 {
   align-content: flex-start;
   align-items: flex-start;
   align-self: stretch;
   background-color: transparent;
   background-image: none;
   border: 0px solid #FFFFFF;
   border-radius: 0px;
   display: flex;
   flex-basis: 50%;
   flex-wrap: wrap;
   justify-content: flex-start;
   max-width: 50%;
   text-align: left;
}
@media (max-width: 980px) {
#franshiza > .col-1,
#franshiza > .col-2 {
   flex-basis: 100%  !important;
   max-width: 100%  !important;
}
}
#wb_franshiza_img {
   margin: 0;
   vertical-align: top;
}
#franshiza_img {
   border: 0px solid #000000;
   border-radius: 0px;
   box-sizing: border-box;
   display: block;
   height: auto;
   margin-left: auto;
   margin-right: auto;
   max-width: 600px;
   padding: 20px;
   vertical-align: middle;
   width: 100%;
}
#wb_franshiza_Heading {
   background-color: transparent;
   background-image: none;
   border: 0px solid #000000;
   border-radius: 0px;
   box-sizing: border-box;
   margin: 0;
   padding: 20px 0 20px 0;
   text-align: center;
   vertical-align: top;
}
#franshiza_Heading {
   color: #000000;
   font-family: Arial;
   font-size: 32px;
   font-style: normal;
   font-weight: bold;
   margin: 0;
   text-align: center;
   text-shadow: 1px 1px 0px rgba(0,0,0,0.50);
   text-transform: none;
}
#wb_franshiza_Text1 {
   background-color: transparent;
   background-image: none;
   border: 0px solid #000000;
   border-radius: 0px;
   margin: 0;
   padding: 5px 20px 5px 20px;
   text-align: left;
}
#wb_franshiza_Text1 div {
   text-align: left;
}
#wb_franshiza_Text1 {
   box-sizing: border-box;
   display: block;
   margin: 0;
   width: 100%;
}
#wb_franshiza_Text2 {
   background-color: transparent;
   background-image: none;
   border: 0px solid #000000;
   border-radius: 0px;
   margin: 0;
   padding: 5px 20px 5px 20px;
   text-align: left;
}
#wb_franshiza_Text2 div {
   text-align: left;
}
#wb_franshiza_Text2 {
   box-sizing: border-box;
   display: block;
   margin: 0;
   width: 100%;
}
#wb_franshiza_Text3 {
   background-color: transparent;
   background-image: none;
   border: 0px solid #000000;
   border-radius: 0px;
   margin: 0;
   padding: 5px 20px 5px 20px;
   text-align: left;
}
#wb_franshiza_Text3 div {
   text-align: left;
}
#wb_franshiza_Text3 {
   box-sizing: border-box;
   display: block;
   margin: 0;
   width: 100%;
}
#wb_franshiza_Text4 {
   background-color: transparent;
   background-image: none;
   border: 0px solid #000000;
   border-radius: 0px;
   margin: 0;
   padding: 5px 20px 5px 20px;
   text-align: left;
}
#wb_franshiza_Text4 div {
   text-align: left;
}
#wb_franshiza_Text4 {
   box-sizing: border-box;
   display: block;
   margin: 0;
   width: 100%;
}

#franshiza_Button {
   -webkit-appearance: none;
   background-color: #FF4000;
   background-image: none;
   border: 0px solid #FF4000;
   box-shadow: 1px 1px 2px #808080;
   box-sizing: border-box;
   color: #FFFFFF;
   cursor: pointer;
   font-family: Arial;
   font-size: 18px;
   font-style: normal;
   font-weight: bold;
   line-height: 48px;
   margin: 10px 0 20px 0;
   padding: 1px 6px 1px 6px;
   text-align: center;
   text-decoration: none;
   vertical-align: top;
   border-radius: 16px;
}
#franshiza_Button:focus {
   outline: 0;
}
#wb_franshiza_index {
   background-color: #FFFFFF;
   background-image: none;
   border: 0px solid #DEE2E6;
   border-radius: 0px;
   box-sizing: border-box;
   clear: both;
   display: table;
   margin: 0;
   position: relative;
   table-layout: fixed;
   text-align: center;
   width: 100%;
}
#franshiza_index {
   box-sizing: border-box;
   margin-left: auto;
   margin-right: auto;
   padding: 0 15px 0 15px;
}
#franshiza_index > .row {
   margin-left: -15px;
   margin-right: -15px;
}
#franshiza_index > .row > .col-1 {
   box-sizing: border-box;
   font-size: 0;
   min-height: 1px;
   padding-left: 15px;
   padding-right: 15px;
   position: relative;
}
#franshiza_index > .row > .col-1 {
   float: left;
}
#franshiza_index > .row > .col-1 {
   background-color: transparent;
   background-image: none;
   border: 0px solid #FFFFFF;
   border-radius: 0px;
   text-align: center;
   width: 100%;
}
#franshiza_index:before,
#franshiza_index:after,
#franshiza_index .row:before,
#franshiza_index .row:after {
   content: " ";
   display: table;
}
#franshiza_index:after,
#franshiza_index .row:after {
   clear: both;
}
@media (max-width: 980px) {
#franshiza_index > .row > .col-1 {
   float: none;
   width: 100%  !important;
}
}


/* ================================================================
   ДЕСКТОП: градиент с 80% (оранжевый #ff4000), зум 0.3с
   Текст при наведении ЧЁРНЫЙ (#000) с УСИЛЕННОЙ БЕЛОЙ подсветкой
   Рамка при наведении оранжевая 1px solid #ff4000 + размытое свечение
   МОБИЛЬНЫЕ: градиент отключён, текст чёрный с белой подсветкой, рамка с размытием
   ================================================================ */

.slider-line .tile-line .tile {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #e4e4e4;
    background-color: #f7f4f3;
    background-repeat: no-repeat;
    background-position: right 20px center !important;
    background-size: auto 110px !important;
    transition: background-size 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: background-size, transform, box-shadow;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.slider-line .tile-line .tile::after {
    content: none !important;
    display: none !important;
}

/* ----- ДЕСКТОП (>992px) ----- */
@media (min-width: 993px) {
    .slider-line .tile-line .tile::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 80%;
        height: 100%;
        background: linear-gradient(
            to right,
            #ff4000 0%,
            #ff4000 25%,
            rgba(255, 64, 0, 0.6) 35%,
            rgba(255, 64, 0, 0.25) 50%,
            rgba(255, 64, 0, 0.08) 65%,
            transparent 80%
        );
        z-index: 0;
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
        border-radius: 12px 0 0 12px;
    }

    .slider-line .tile-line .tile .tile-text {
        position: absolute;
        z-index: 1;
        color: #555;
        font-weight: 700;
        text-shadow: none;
        transition: color 0.3s ease, text-shadow 0.3s ease;
        line-height: 1.3;
        padding: 0 10px;
        box-sizing: border-box;
        white-space: normal;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        text-align: left;
        width: 50%;
        padding-left: 20px;
        padding-right: 10px;
    }

    .slider-line .tile-line .tile:hover {
        background-size: auto 135px !important;
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12),
                    0 0 20px rgba(255, 64, 0, 0.3),
                    0 0 40px rgba(255, 64, 0, 0.15);
        border-color: #ff4000;
        z-index: 2;
    }

    .slider-line .tile-line .tile:hover::before {
        opacity: 1;
    }

    /* УСИЛЕННАЯ БЕЛАЯ ПОДСВЕТКА ТЕКСТА */
    .slider-line .tile-line .tile:hover .tile-text {
        color: #000 !important;
        text-shadow: 
            0 0 10px #fff,
            0 0 20px #fff,
            0 0 30px #fff,
            0 0 50px #fff,
            0 0 80px #fff,
            0 0 120px #fff,
            0 0 160px rgba(255, 255, 255, 0.9);
    }
}

/* ----- МОБИЛЬНЫЕ (≤992px) ----- */
@media (max-width: 992px) {
    .slider-line .tile-line .tile::before {
        content: none !important;
        display: none !important;
    }

    .slider-line .tile-line .tile {
        background-position: center 0px !important;
        background-size: auto 110px !important;
        transition: background-size 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    transform 0.3s ease,
                    box-shadow 0.3s ease,
                    border-color 0.3s ease;
    }

    .slider-line .tile-line .tile .tile-text {
        position: absolute;
        z-index: 1;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        width: 90%;
        padding: 0 10px;
        top: auto;
        color: #555;
        font-weight: 700;
        text-shadow: none;
        transition: color 0.3s ease, text-shadow 0.3s ease;
        line-height: 1.3;
        box-sizing: border-box;
        white-space: normal;
    }

    .slider-line .tile-line .tile:hover {
        background-size: auto 115px !important;
        background-position: center 0px !important;
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12),
                    0 0 20px rgba(255, 64, 0, 0.3),
                    0 0 40px rgba(255, 64, 0, 0.15);
        border-color: #ff4000;
        z-index: 2;
    }

    .slider-line .tile-line .tile:hover .tile-text {
        color: #000 !important;
        text-shadow: 
            0 0 10px #fff,
            0 0 20px #fff,
            0 0 30px #fff,
            0 0 50px #fff,
            0 0 80px #fff,
            0 0 120px #fff,
            0 0 160px rgba(255, 255, 255, 0.9);
    }
}

/* ===== Тёмная тема: контент брендовых страниц engine (catalog.css, эталон l-toyota.php) ===== */

/* 1. Плитки двигателей: светлый фон убран -> коды читаются (главная поломка) */
html:not(.theme-light) .engine-item { background: var(--panel-2); color: var(--text); }
html:not(.theme-light) .engine-item:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 2. Шапка секции вместо светлого #fafafa */
html:not(.theme-light) .engine-section-header { background: var(--panel-2); border-bottom-color: var(--line); }

/* 3. Модалка: футер и подложка картинки вместо #fafafa, диз. бейдж без светло-зелёного */
html:not(.theme-light) .modal-footer { background: var(--panel) !important; }
html:not(.theme-light) .modal-image { background: var(--panel-2) !important; }
html:not(.theme-light) .fuel-badge-modal.diesel { background: var(--panel-2); color: var(--success); }

/* 4. Серые заголовки #555 -> светлые */
html:not(.theme-light) .page-title,
html:not(.theme-light) .section-label,
html:not(.theme-light) .search-label { color: var(--text); }

/* 5. Рамки карточек #e4e4e4 -> var(--line) */
html:not(.theme-light) .engine-section,
html:not(.theme-light) .page-header,
html:not(.theme-light) .search-section { border-color: var(--line); }

/* 6. Табы/чипы: серая #797979 рамка -> var(--line), активные остаются оранжевые */
html:not(.theme-light) .tab,
html:not(.theme-light) .filter-tag { border-color: var(--line); }
html:not(.theme-light) .tab.active,
html:not(.theme-light) .filter-tag.active { border-color: var(--primary); }

/* 7. Баннер-запрос: панель вместо прозрачного (shorthand background !important из catalog) */
html:not(.theme-light) .request-section { background-color: var(--panel) !important; }

/* ===== Тёмная тема: страница результатов поиска engine.php ===== */
/* Инлайн <style> в head engine.php (~:161-724) идёт ПОСЛЕ astself и вешает
   светлые var/цвета прямо на .search-page. Компенсируем с большей специфичностью.
   Фон-картинки (osago_desktop), фото, оранж #ff4000, красные — не трогаем. */

/* светлые --card-bg/--primary-light, bg #fff, color #333 из инлайна */
html:not(.theme-light) .search-page {
    --card-bg: var(--panel);
    --primary-light: var(--panel-2);
    background: var(--bg);
    color: var(--text);
}

/* инлайн: .search-card bg #f7f4f3, border #e0e0e0 */
html:not(.theme-light) .search-card {
    background: var(--panel-2);
    border-color: var(--line);
    color: var(--text);
}

/* инлайн: .search-photo-gallery bg #f9f9f9 */
html:not(.theme-light) .search-photo-gallery { background: var(--panel); }

/* инлайн: .search-product-info border #e4e4e4 (прозрачный фон с картинкой — не трогаем) */
html:not(.theme-light) .search-product-info { border-color: var(--line); }
/* фон баннера — всегда светлое фото: текст держим тёмным, иначе бледный на светлом */
html:not(.theme-light) .search-product-info h2 { color: #333; }

/* инлайн: .search-offers/.search-notfound bg var(--card-bg)=#fff, border #e4e4e4 */
html:not(.theme-light) .search-offers,
html:not(.theme-light) .search-notfound { background: var(--panel); border-color: var(--line); }
/* инлайн-атрибут <p style="color:#888"> */
html:not(.theme-light) .search-notfound p[style] { color: var(--text) !important; }

/* инлайн: .search-description color #555 */
html:not(.theme-light) .search-description { color: var(--muted); }

/* инлайн: .search-view-btn bg #fff border #ddd (active-оранжевый не трогаем) */
html:not(.theme-light) .search-view-btn:not(.active) {
    background: var(--panel-2);
    border-color: var(--line);
    color: var(--text);
}

/* инлайн: .search-pagination a/span border #ddd color #333 */
html:not(.theme-light) .search-pagination a,
html:not(.theme-light) .search-pagination span { border-color: var(--line); color: var(--text); }

/* .contract-label: фон-константа #fff3cd (жёлтый), color не задан → наследует светлый var(--text) → белый на жёлтом */
html:not(.theme-light) .contract-label { color: #7a5c00; }

/* лого по теме: тёмная — autopolka.png, светлая — logo_autopolka.gif (!important — поверх display:block !important топбара) */
.header-logo .logo-light,
.logo_min .logo-light { display: none !important; }
html.theme-light .header-logo .logo-light,
html.theme-light .logo_min .logo-light { display: inline !important; }
html.theme-light .header-logo .logo-dark,
html.theme-light .logo_min .logo-dark { display: none !important; }
/* топбар: перебить .autopolka-topbar .header-logo img (0,2,1) */
html:not(.theme-light) .autopolka-topbar .header-logo img.logo-light { display: none !important; }
html.theme-light .autopolka-topbar .header-logo img.logo-dark { display: none !important; }

/* видимая высота лого: тёмный png — контент 60% файла, светлый gif — 87% → тёмному +44% к высоте */
header .logo-line .header-logo img.logo-light { height: 60px; width: auto; }
header .logo-line .header-logo img.logo-dark { height: 87px; width: auto; }
/* только главная — большой как раньше: светлый натуральные 158px, тёмный столько же */
body.apm-home header .logo-line .header-logo img.logo-light { height: auto; max-width: 400px; max-height: 200px; }
body.apm-home header .logo-line .header-logo img.logo-dark { height: 158px; width: auto; max-width: 400px; }
.autopolka-topbar .header-logo img.logo-dark { height: 72px !important; max-width: 220px !important; }
@media(max-width:1079px) {
    .autopolka-topbar .header-logo img.logo-dark { height: 55px !important; }
}


/* тёмная: строки таблиц со светлым фоном статуса (inline hex из PHP) — текст тёмный.
   Именно [style*="#"]: пустой style="background: ;" не должен матчиться */
html:not(.theme-light) table.table > tbody > tr[style*="#"] > td,
html:not(.theme-light) table.table > tbody > tr[style*="#"] > td a,
html:not(.theme-light) table.table > tbody > tr[style*="#"] > td small,
html:not(.theme-light) table.table > tbody > tr[style*="#"] > td small a { color: #23272f; }
/* исключение: тёмно-зелёный статус возвратов — текст светлый */
html:not(.theme-light) table.table > tbody > tr[style*="#26ad5f" i] > td,
html:not(.theme-light) table.table > tbody > tr[style*="#26ad5f" i] > td a,
html:not(.theme-light) table.table > tbody > tr[style*="#26ad5f" i] > td small,
html:not(.theme-light) table.table > tbody > tr[style*="#26ad5f" i] > td small a { color: #f3f5f7; }

/* хинт «Сменить тему» под кнопкой-переключателем */
.tc-theme-hint{position:fixed;z-index:9500;top:0;left:0;width:max-content;max-width:min(200px,62vw);
  padding:8px 14px;border-radius:10px;background:#141c28;border:1px solid var(--orange,#ff4000);
  color:#fff;font-size:13px;font-weight:600;line-height:1.3;white-space:nowrap;
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .3s ease,transform .3s ease,visibility .3s;pointer-events:none;
  box-shadow:0 8px 24px rgba(0,0,0,.45);}
.tc-theme-hint.show{opacity:1;visibility:visible;transform:none;}
.tc-theme-hint::before{content:"";position:absolute;top:-5px;left:50%;width:8px;height:8px;
  transform:translateX(-50%) rotate(45deg);background:#141c28;
  border-left:1px solid var(--orange,#ff4000);border-top:1px solid var(--orange,#ff4000);}
html.theme-light .tc-theme-hint{background:#fff;color:#222;}
html.theme-light .tc-theme-hint::before{background:#fff;}
@media(max-width:767px){.tc-theme-hint{font-size:12px;padding:7px 12px;}}

/* тёмная: свой лоадер вместо белого ajax-loader-transparent.gif */
html:not(.theme-light) #processing_indicator img[src*="ajax-loader"],
html:not(.theme-light) #tree_list_loading_gif img[src*="ajax-loader"] { display: none !important; }
html:not(.theme-light) #processing_indicator:has(> img[src*="ajax-loader"])::after,
html:not(.theme-light) #tree_list_loading_gif:has(> img[src*="ajax-loader"])::after {
    content: ""; display: block; width: 130px; height: 18px; margin: 18px auto 8px;
    background-image: radial-gradient(circle, #ff4000 7px, rgba(255,64,0,0) 8px);
    background-size: 26px 18px; background-repeat: repeat-x; background-position: center;
    animation: ap-dot-pulse 1s ease-in-out infinite;
}
@keyframes ap-dot-pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
