.message_error{
    background-color:#C33;
    color:#FFF;
}
.RUB{
    font-family: 'PT Sans', serif;/*Для знака рубля*/
}



/*......................................................................................................................*/



/* ФИЛЬТР АВТОЗАПЧАСТЕЙ */

.slider_ranges input{
	text-align:center;
}
#filter_position, #filter_position label{
	font-size:13px;
}
#filter_position .slider_container {
    padding: 0px 10px;
}


@media screen and (min-width: 991px) and (max-width: 1200px) {
	#filter_position, #filter_position label{
		font-size:11px;
	}
	#filter_position .slider_container {
		padding: 0px;
	}
	#products_table_mode_select{
		font-size: 11px;
		padding: 2px;
	}
}



/*......................................................................................................................*/



/* ТАБЛИЦА НАЙДЕННЫХ АВТОЗАПЧАСТЕЙ */

#all_table_products{
	width:100%;
	font-size:13px;
	color:#555;
	line-height: 1.2em;
	word-break: break-all;
}
#all_table_products .head{
	font-size:12px;
	color:#333;
	background-color:#f8f5f0;
	font-weight:bold;
	border-bottom:2px solid #e7b035;
	line-height:30px;
}
#all_table_products > thead > tr{
	background:#eee;
	border-bottom:1px solid #ddd;
	vertical-align: bottom;
	margin-bottom:5px;
}
#all_table_products > thead > tr > th{
	white-space: nowrap;
	padding:10px 7px;
	background:none;
	cursor:default;
}
#all_table_products > tbody > tr > td{
	padding:0px 5px;
}
#all_table_products .td_add_to_cart .fa-plus, #all_table_products .td_add_to_cart .fa-minus{
	color:#6f6f6f;
}
#all_table_products .td_add_to_cart .fa-plus:hover, #all_table_products .td_add_to_cart .fa-minus:hover{
	color:#000;
}
#all_table_products .th_manufacturer,
#all_table_products .th_article,
#all_table_products .th_name,
#all_table_products .th_exist,
#all_table_products .th_time_to_exe,
#all_table_products .th_price
{
	cursor:pointer;
}
#all_table_products .td_exist > span, #all_table_products .td_time_to_exe > span {
    display: inline-block;
    border-bottom: 1px dotted;
    cursor: pointer;
}
#all_table_products .td_time_to_exe{
	line-height: 2.1em;
}


.td_manufacturer,
.td_article,
.td_exist,
.td_time_to_exe,
.td_price{
	white-space: nowrap;
}


.info_box{
	background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 4px 2px;
    display: block;
    border-radius: 3px;
    white-space: nowrap;
	text-align: left;
}
.info_box a{
	margin:0px 3px;
}





/* МОБИЛЬНОЕ ОТОБРАЖЕНИЕ ДАННЫХ */
@media screen and (max-width: 767px) {
	.show_hide_button{
		position: absolute;
		right: 15px;
		top: 30px;
	}
	
	#all_table_products .th_article,
	#all_table_products .th_name,
	#all_table_products .th_info,
	#all_table_products .th_add_to_cart,
	#all_table_products .th_color
	{
		display:none;
	}
	
	#all_table_products .products_table_block_caption{
		display:block;
		text-align:center;
		line-height: 1.4em;
	}

	#all_table_products .th_manufacturer:before{
		content:'Сортировать:';
		font-weight:bold;
		color:#000;
		display:block;
		margin-bottom:2px;
	}
	
	#all_table_products,
	#all_table_products > thead,
	#all_table_products > tbody,
	#all_table_products > thead > tr,
	#all_table_products > tbody > tr
	{
		display:block;
		overflow:hidden;
		width:100%;
	}
	
	#all_table_products > tbody > tr{
		text-align:right;
		position: relative;
		overflow: hidden;
	}
	
	#all_table_products > thead > tr > th,
	#all_table_products > tbody > tr > td
	{
		display:inline-block;
		padding:5px;
	}
	
	#all_table_products > tbody > tr > td
	{
		padding:0px;
	}
	
	#all_table_products .td_manufacturer,
	#all_table_products .td_article
	{
		float: left;
		padding-right:15px;
	}
	
	#all_table_products .td_manufacturer,
	#all_table_products .td_article,
	#all_table_products .td_name
	{
		border:none;
	}
	
	#all_table_products .td_name
	{
		clear: both;
		text-align: left;
	}
	
	#all_table_products .td_name > span
	{
		display:block;
		border-bottom:1px solid #ddd;
		margin-bottom:5px;
	}
	
	#all_table_products .td_name
	{
		display:block;
		color: #7d7d7d;
	}
	
	#all_table_products .td_price:after{
		content:"";
		display:block;
	}
	
	#all_table_products .td_price
	{
		font-weight:bold;
	}
	
	#all_table_products .td_color{
		width: 5px;
		padding: 0;
		height: 50px;
	}
	
	#all_table_products .td_exist
	{
		width:50px;
	}
	
	#all_table_products .td_time_to_exe
	{
		width:80px;
		text-align:center;
	}
	
	#all_table_products .td_price
	{
		width: 75px;
		padding-left: 0;
		text-align:center;
		color: #000;
	}
	
	#all_table_products .td_add_to_cart
	{
		width:60px;
	}
	
	.td_manufacturer,
	.td_article{
		color: #000;
		font-weight:bold;
	}
	
	.td_manufacturer > span,
	.td_article > a{
		margin-top: 30px;
		display: inline-block;
	}
	
	#all_table_products .next_page_box{
		display:block;
	}
}



/* ОБЫЧНОЕ ОТОБРАЖЕНИЕ ДАННЫХ */
@media screen and (min-width: 768px) {
	#all_table_products > tbody > tr > td,
	#all_table_products > thead > tr > th{
		padding:5px;
	}
	
	#all_table_products .td_color, #all_table_products .th_color{
		padding:2px;
	}
	
	#all_table_products > tbody > tr > td{
		border-top:1px solid #ddd;
	}
	
	.th_name{
		width:100%;
	}

	.th_info{
		text-align:center;
	}
	
	.td_name span{
		cursor:help;
	}
	
	.th_exist, .td_exist{
		text-align:right;
	}
	
	.th_time_to_exe, .td_time_to_exe{
		text-align:center;
	}
	
	.th_price, .td_price{
		text-align:center;
	}
	
	.td_price{
		color:#000;
		font-weight:bold;
	}
	
	.td_manufacturer span{
		cursor:help;
	}
	
	.td_manufacturer,
	.td_article
	{
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		max-width: 150px;
	}
	
	#all_table_products .td_add_to_cart{
		padding:2px 5px;
	}
	
	#all_table_products .td_info{
		padding-top:0px;
		padding-bottom:0px;
	}
	
	#all_table_products .hide_row .td_manufacturer,
	#all_table_products .hide_row .td_article,
	#all_table_products .hide_row .td_name{
		border: none;
	}
	
	.show_hide_button{
		position: absolute;
	}
}









/*Стиль для кнопки корзины*/
.body > .basket > span,
.body > .basket > A > span
{
	cursor: pointer;
    display: inline-block;
    background-size:contain;
	margin:2px;
	font-size:22px;
}



/*Пиктограммы колонки Инфо*/
.body > .info > span,
.body > .info > A > span
{
    cursor: pointer;
    display: inline-block;
    background-size:contain;
	margin:2px;
	font-size:15px;
}
.body > .info > A > span > span/*Строка "В закладках"*/
{
	display:none;
}



/*Название блока*/
.products_table_block_caption
{
    padding:4px;
    text-align:right;
    font-weight:bold;
    font-size:16px;
    border-bottom:1px solid #e7b035;
}



/*Название блока*/
.products_table_block_caption
{
    padding:4px;
    text-align:right;
    font-weight:bold;
    font-size:16px;
    border-bottom:1px solid #e7b035;
}



/* ПИКЕР ПРОИЗВОДИТЕЛЕЙ (Карточки брендов) */

.dp-brand-picker {
	margin: 20px 0;
}

.dp-brand-picker__hero {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.dp-brand-picker__hero > div:first-child {
	flex: 1;
	min-width: 250px;
}

.dp-brand-picker__eyebrow {
	font-size: 14px;
	font-weight: 600;
	color: #e7b035;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 8px 0;
}

.dp-brand-picker__hero h2 {
	font-size: 24px;
	font-weight: 700;
	color: #333;
	margin: 0 0 12px 0;
	line-height: 1.3;
}

.dp-brand-picker__hero p {
	font-size: 15px;
	color: #6f6f6f;
	margin: 0;
	line-height: 1.5;
}

.dp-brand-picker__search {
	flex-shrink: 0;
}

.dp-brand-filter {
	width: 280px;
	padding: 10px 16px;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	font-size: 14px;
	color: #333;
	background: #fff;
	transition: all 0.2s ease;
}

.dp-brand-filter:focus {
	outline: none;
	border-color: #e7b035;
	box-shadow: 0 0 0 3px rgba(231, 176, 53, 0.1);
}

.dp-brand-filter::placeholder {
	color: #aaa;
}

.dp-brand-picker__toolbar {
	margin: 16px 0;
	padding-top: 16px;
	border-top: 1px solid #eee;
}

.dp-brand-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.dp-brand-sort {
	display: flex;
	align-items: center;
	gap: 10px;
}

.dp-brand-sort label {
	font-size: 13px;
	color: #6f6f6f;
	font-weight: 500;
}

.dp-brand-sort-select {
	padding: 6px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 13px;
	color: #333;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s;
}

.dp-brand-sort-select:hover {
	border-color: #ccc;
}

.dp-brand-sort-select:focus {
	outline: none;
	border-color: #e7b035;
}

.dp-brand-letters {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
}

.dp-letter-btn {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #ddd;
	background: #fff;
	color: #6f6f6f;
	font-size: 13px;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.15s ease;
}

.dp-letter-btn:hover,
.dp-letter-btn.is-active {
	border-color: #e7b035;
	color: #e7b035;
	background: #fff9e6;
}

.dp-letter-btn:focus {
	outline: none;
	border-color: #e7b035;
	box-shadow: 0 0 0 3px rgba(231, 176, 53, 0.15);
}

.dp-letter-btn:focus-visible {
	outline: 2px solid #e7b035;
	outline-offset: 2px;
}

/* Сетка карточек брендов */

.dp-brand-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
}

.dp-brand-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 18px;
	padding: 20px;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	min-height: 160px;
}

.dp-brand-card:hover {
	transform: translateY(-4px);
	border-color: rgba(231, 176, 53, 0.4);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.dp-brand-card:focus {
	outline: none;
	border-color: #e7b035;
	box-shadow: 0 0 0 3px rgba(231, 176, 53, 0.15);
}

.dp-brand-card:focus-visible {
	outline: 2px solid #e7b035;
	outline-offset: 2px;
}

.dp-brand-card__logo {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: linear-gradient(135deg, #f8f5f0 0%, #e8e2d8 100%);
	border: 2px solid #e7b035;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
	color: #333;
	margin-bottom: 14px;
	flex-shrink: 0;
	overflow: hidden;
}

.dp-brand-card__logo.has-image {
	background: #fff;
	border-color: rgba(0, 0, 0, 0.08);
}

.dp-brand-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dp-brand-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.dp-brand-card__brand {
	font-size: 18px;
	font-weight: 700;
	color: #333;
	margin-bottom: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dp-brand-card__article {
	font-size: 13px;
	color: #e7b035;
	font-weight: 600;
	margin-bottom: 8px;
	font-family: 'Courier New', monospace;
	background: rgba(231, 176, 53, 0.08);
	display: inline-block;
	padding: 2px 8px;
	border-radius: 4px;
	align-self: flex-start;
}

.dp-brand-card__name {
	font-size: 13px;
	color: #6f6f6f;
	line-height: 1.4;
	flex: 1;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin-bottom: 10px;
}

.dp-brand-card__cta {
	position: absolute;
	top: 16px;
	right: 16px;
	background: #ff8040;
	color: #fff;
	border: 1px solid #f57636;
	border-radius: 8px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	cursor: inherit;
	transition: all 0.15s ease;
	box-shadow: 0 2px 8px rgba(255, 128, 64, 0.3);
}

.dp-brand-card__cta:hover {
	background: #f57636;
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(255, 128, 64, 0.4);
}

.dp-brand-card__cta:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 128, 64, 0.35);
}

.dp-brand-card__cta:active {
	transform: scale(0.98);
}

/* Мобильная адаптация */

@media (max-width: 767px) {
	.dp-brand-picker__hero {
		flex-direction: column;
	}
	
	.dp-brand-picker__hero h2 {
		font-size: 20px;
	}
	
	.dp-brand-filter {
		width: 100%;
	}
	
	.dp-brand-toolbar {
		flex-direction: column;
		align-items: stretch;
	}
	
	.dp-brand-sort {
		justify-content: space-between;
	}
	
	.dp-brand-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	
	.dp-brand-card {
		padding: 16px;
		min-height: 140px;
	}
	
	.dp-brand-card__cta {
		position: relative;
		top: auto;
		right: auto;
		margin-top: 12px;
		width: 100%;
	}
	
	.dp-brand-card__brand {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.dp-brand-picker__hero h2 {
		font-size: 18px;
	}
	
	.dp-brand-picker__hero p {
		font-size: 14px;
	}
	
	.dp-brand-grid {
		gap: 10px;
	}
	
	.dp-brand-card {
		padding: 14px;
	}
	
	.dp-brand-card__logo {
		width: 40px;
		height: 40px;
		font-size: 14px;
		margin-bottom: 10px;
	}
}

/* Анимации */

@keyframes dpCardEnter {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.dp-brand-card {
	animation: dpCardEnter 0.3s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
	.dp-brand-card {
		animation: none;
		transition: none;
	}
	
	.dp-brand-card:hover {
		transform: none;
	}
}
}

