* {
	margin: 0 0;
	padding: 0 0;
	vertical-align: top;
	font-family: "Open Sans", sans-serif;
	/*text-decoration: none !important;*/
	border: none !important;
}

body {
	overflow-x: hidden;
}

/* Объявления витрины (widget announcements, site_announcements) — ширина как у nav #nav-bg */
.site-announcements {
	clear: both;
	width: 1160px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}
@media screen and (max-width: 1175px) {
	.site-announcements {
		width: 100%;
	}
}
.site-announcements--under-nav {
	margin-bottom: 10px;
}

.site-announcement {
	box-sizing: border-box;
	padding: 0.75rem 1rem;
	border: 1px solid rgba(230, 200, 100, 0.65);
	border-radius: 4px;
	background-color: #fdfbf3;
	transition: box-shadow 0.2s ease;
	text-align: center;
}
.site-announcement:hover {
	box-shadow: 0 2px 14px rgba(200, 180, 120, 0.18);
}
.site-announcement h1,
.site-announcement h2,
.site-announcement h3 {
	margin: 0 0 0.35em 0;
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.3;
}
.site-announcement + .site-announcement {
	margin-top: 0.5rem;
}

a {
	text-decoration: none !important;
	border: none !important;
}


#top-contacts-container {
	width: 1174px;
	height: 45px;
	margin: 0 auto;
}


#top-contacts-container #top-contacts {

	background-color: #fff;
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
	/* box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.1); */
	display: table;
	background-color: white;
	padding-top: 8px;
	padding-bottom: 4px;
	padding-left: 9px;
	position: relative;
	border-radius: 5px;

	box-shadow: -1.414px -1.414px 2px 0px rgba(255, 255, 255, 0.5), 1.414px 1.414px 4px 0px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;

}

#top-contacts-container #top-contacts #mobile-button-menu {
	width: 54px;
	height: 54px;
	display: none;

	background-image: url('../img/mobile-menu-button.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
}




#top-contacts-container #top-contacts #small-logo {
	width: 180px;
	height: 32px;
	display: none;
	position: relative;

	background-image: url('../img/small-logo.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
}

#top-contacts-container #top-contacts #contacts-tab-phone {
	display: table-cell;
}

#top-contacts-container #top-contacts #contacts-tab-write {
	display: table-cell;
}


#top-contacts-container #top-contacts #contacts-tab-phone #contacts-btn-phone-bg {
	padding: 11px 10px 10px 10px;
	width: 25px;
	background-image: url('../img/contact-btn-bg.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
	display: table-cell;
}

#top-contacts-container #top-contacts #contacts-tab-write #contacts-btn-write-bg {
	padding: 11px 10px 10px 10px;
	width: 25px;
	background-image: url('../img/contact-btn-bg.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
	display: table-cell;
}


#top-contacts-container #top-contacts #contacts-tab-phone #contacts-btn-phone-bg #contact-btn-phone {
	width: 14px;
	height: 13px;
	background-image: url('../img/contact-btn-phone-normal.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
}

#top-contacts-container #top-contacts #contacts-tab-write #contacts-btn-write-bg #contact-btn-write {
	width: 14px;
	height: 13px;
	background-image: url('../img/contact-btn-write-normal.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
}


#top-contacts-container #top-contacts #contacts-tab-phone #contacts-text-phone {
	width: 135px;
	padding-top: 7px;
	padding-left: 0px;
	padding-right: 0;
	display: table-cell;
}

#top-contacts-container #top-contacts #contacts-tab-phone #contacts-text-phone a {
	color: #a0a0a0;
	text-decoration: none !important;

}

#top-contacts-container #top-contacts #contacts-tab-write #contacts-text-write {
	width: 95px;
	padding-top: 7px;
	padding-left: 0px;
	padding-right: 10px;
	display: table-cell;
}

#top-contacts-container #top-contacts #contacts-tab-write #contacts-text-write a {
	color: #a0a0a0;
	text-decoration: none !important;

}

#top-contacts-container #top-contacts #contacts-tab-phone:hover #contacts-btn-phone-bg #contact-btn-phone {
	background-image: url('../img/contact-btn-phone-hover.png');

}

#top-contacts-container #top-contacts #contacts-tab-write:hover #contacts-btn-write-bg #contact-btn-write {
	background-image: url('../img/contact-btn-write-hover.png');

}

#top-contacts-container #top-contacts #contacts-tab-phone:hover #contacts-text-phone a {
	color: #02A7F0;
	text-decoration: underline;
}

#top-contacts-container #top-contacts #contacts-tab-write:hover #contacts-text-write a {
	color: #02A7F0;
	text-decoration: underline;
}

/******************** HEADER ******************************/
header {
	width: 1160px;
	height: 148px;
	margin: 0 auto;
	margin-top: 4px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	background-image: url('../img/header-bg.png');
	background-position: 0 0;
	background-repeat: no-repeat repeat-y;

}

header #header-logo {
	width: 290px;
	height: 148px;
	margin: 0 0;
	display: table-cell;
	/* background-color: rgba(255, 255, 255, 0.7); */
	background-image: url('../img/header-logo.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;

}

header #header-car {
	width: 464px;
	height: 148px;
	margin: 0 0;
	margin-top: -5px !important;
	display: table-cell;
	background-image: url('../img/header-car-1.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;

}

header #header-basket-container {
	height: 148px;
	width: 134px;
	display: block;
	/* background: rgba(255, 255, 255, 0.7);
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.7) 53%, rgba(255, 255, 255, 1.0) 59%, rgba(255, 255, 255, 1.0) 100%); */
	z-index: 100;
	background-color: rgba(255,255,255, 1.0);
}

header #header-basket-container #basket-bg {
	/*	height: 148px;
	width: 145px;
	display: table-cell;
	background-color: rgba(255,255,255, 1.0);*/
}

header #header-basket-container #basket-bg #basket-box {
	width: 134px;
	height: 90px;
	margin-top: 26px;
	/* margin-left: 192px; */

	background: #fcfff4;
	background: -webkit-linear-gradient(top, #ffffff 0%, #fafafa 40%, #f5f5f5 100%);
	background: linear-gradient(to bottom, #ffffff 0%, #fafafa 40%, #f5f5f5 100%);

	border-radius: 5px;

	box-shadow: -0.707px -0.707px 4px 0px rgba(255, 255, 255, 0.5), 1.414px 1.414px 5px 0px rgba(0, 0, 0, 0.2);

}

header #header-basket-container #basket-bg #basket-box #basket-icon {
	width: 44px;
	height: 35px;
	margin: 0px auto;
	top: 10px;
	position: relative;
	background-image: url('../img/basket.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;

}

header #header-basket-container #basket-bg #basket-box:hover #basket-icon {
	background-image: url('../img/basket-hover.png');
}

header #header-basket-container #basket-bg #basket-box #basket-sum {
	margin: 0 auto;
	color: #686868;
	font-size: 18px;
	text-align: center;
	top: 17px;
	position: relative;
}

#header-basket-login-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

/* Кнопка LOGIN (шапка): в разлоге подпись «Личный кабинет», при входе — имя; структура как у корзины */
header #header-login-container {
	height: 148px;
	width: 134px;
	display: block;
	z-index: 100;
	background-color: rgba(255,255,255, 1.0);
}

header #header-login-container #login-bg {
}

header #header-login-container #login-bg #login-box {
	width: 134px;
	height: 90px;
	margin-top: 26px;
	background: #fcfff4;
	background: -webkit-linear-gradient(top, #ffffff 0%, #fafafa 40%, #f5f5f5 100%);
	background: linear-gradient(to bottom, #ffffff 0%, #fafafa 40%, #f5f5f5 100%);
	border-radius: 5px;
	box-shadow: -0.707px -0.707px 4px 0px rgba(255, 255, 255, 0.5), 1.414px 1.414px 5px 0px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
}

header #header-login-container #login-bg #login-box:hover {
	background: -webkit-linear-gradient(top, #f5f5f5 0%, #eeeeee 40%, #e5e5e5 100%);
	background: linear-gradient(to bottom, #f5f5f5 0%, #eeeeee 40%, #e5e5e5 100%);
}

header #header-login-container #login-bg #login-box .login-text {
	margin: 0 auto;
	color: #017db3;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
}

header #header-login-container a {
	text-decoration: none;
}

.cabinet-orders-table, .cabinet-order-parts-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

.cabinet-orders-table th, .cabinet-orders-table td,
.cabinet-order-parts-table th, .cabinet-order-parts-table td {
	border: 1px solid #ddd;
	padding: 8px 12px;
	text-align: left;
}

.cabinet-order-parts-table th.cabinet-order-parts-table__num,
.cabinet-order-parts-table td.cabinet-order-parts-table__num {
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.cabinet-order-parts-table th.cabinet-order-parts-table__qty,
.cabinet-order-parts-table td.cabinet-order-parts-table__qty {
	text-align: center;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.cabinet-orders-table th.cabinet-order-parts-table__num,
.cabinet-orders-table td.cabinet-order-parts-table__num {
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.cabinet-orders-table th.cabinet-order-parts-table__qty,
.cabinet-orders-table td.cabinet-order-parts-table__qty {
	text-align: center;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.cabinet-order-parts-table thead th {
	text-align: center;
}

.cabinet-orders-table thead th {
	text-align: center;
}

.cabinet-order-parts-table thead th.cabinet-order-parts-table__num {
	text-align: right;
}

.cabinet-orders-table thead th.cabinet-order-parts-table__num {
	text-align: right;
}

/* Список заказов ЛК — все заголовки и ячейки по центру */
.cabinet-orders-table tbody tr td {
	text-align: center;
}

.cabinet-orders-table thead th.cabinet-order-parts-table__num,
.cabinet-orders-table thead th.cabinet-order-parts-table__qty {
	text-align: center;
}

.cabinet-orders-table tbody td.cabinet-order-parts-table__num,
.cabinet-orders-table tbody td.cabinet-order-parts-table__qty {
	text-align: center;
}

.cabinet-order-parts-table thead th.cabinet-order-parts-table__th-sort,
.cabinet-orders-table thead th.cabinet-order-parts-table__th-sort {
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
}

.cabinet-order-parts-table thead th.cabinet-order-parts-table__th-sort:hover,
.cabinet-orders-table thead th.cabinet-order-parts-table__th-sort:hover {
	background-color: #f5f5f5;
}

.cabinet-order-parts-table thead th.cabinet-order-parts-table__th-sort:focus,
.cabinet-orders-table thead th.cabinet-order-parts-table__th-sort:focus {
	outline: 2px solid #017db3;
	outline-offset: -2px;
}

/* Маркер сортировки: зарезервированная ширина — подпись не сдвигается при появлении стрелки */
.cabinet-order-parts-table thead th[data-sort-key]::after,
.cabinet-orders-table thead th[data-sort-key]::after {
	content: '\25B2';
	display: inline-block;
	width: 1em;
	min-width: 1em;
	text-align: center;
	font-size: 0.65em;
	vertical-align: middle;
	margin-left: 0.25em;
	opacity: 0;
}

.cabinet-order-parts-table thead th[data-sort-key="price"]::after,
.cabinet-order-parts-table thead th[data-sort-key="total"]::after,
.cabinet-orders-table thead th[data-sort-key="sum"]::after,
.cabinet-orders-table thead th[data-sort-key="id"]::after {
	margin-left: 0.4em;
}

.cabinet-order-parts-table thead th[data-sort-key].cabinet-order-parts-table__th--sort-asc::after,
.cabinet-orders-table thead th[data-sort-key].cabinet-order-parts-table__th--sort-asc::after {
	content: '\25B2';
	opacity: 0.85;
}

.cabinet-order-parts-table thead th[data-sort-key].cabinet-order-parts-table__th--sort-desc::after,
.cabinet-orders-table thead th[data-sort-key].cabinet-order-parts-table__th--sort-desc::after {
	content: '\25BC';
	opacity: 0.85;
}

.cabinet-orders-table a, .cabinet-order-parts-table a {
	color: #017db3;
	text-decoration: none;
}

/* Статусы заказов в ЛК — лёгкие акценты фона и текста */
.cabinet-order-status {
	display: inline-block;
	padding: 0.12em 0.45em;
	border-radius: 4px;
	font-size: inherit;
	line-height: 1.35;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
a.cabinet-order-status:hover {
	text-decoration: none;
	filter: brightness(0.97);
}
.cabinet-order-status--make {
	background-color: rgba(1, 125, 179, 0.12);
	color: #0a5f86;
}
.cabinet-order-status--wait {
	background-color: rgba(230, 160, 25, 0.2);
	color: #6a4800;
}
.cabinet-order-status--repair {
	background-color: rgba(1, 125, 179, 0.18);
	color: #005a82;
}
.cabinet-order-status--close {
	background-color: rgba(46, 160, 67, 0.15);
	color: #1d5c28;
}
.cabinet-order-status--notclose {
	background-color: rgba(220, 120, 40, 0.18);
	color: #7a3a00;
}
.cabinet-order-status--delivery {
	background-color: rgba(90, 110, 200, 0.14);
	color: #3a4580;
}
.cabinet-order-status--handed {
	background-color: rgba(38, 168, 140, 0.16);
	color: #0f5c4d;
}
.cabinet-order-status--end {
	background-color: rgba(80, 120, 100, 0.16);
	color: #2d4a38;
}
.cabinet-order-status--delete {
	background-color: rgba(110, 110, 110, 0.22);
	color: rgba(45, 45, 45, 0.82);
}
.cabinet-order-status--problem {
	background-color: rgba(200, 60, 60, 0.14);
	color: #8a2525;
}
.cabinet-order-status--saved {
	background-color: rgba(100, 115, 130, 0.12);
	color: #3d4954;
}
.cabinet-orders-table a.cabinet-order-status {
	color: inherit;
}

@media (max-width: 768px) {
	.cabinet-orders-table .cabinet-order-time-part {
		display: none;
	}
}

/* Каркас страниц личного кабинета */
.cabinet-page {
	max-width: 56rem;
	margin: 0 auto;
}

.cabinet-nav {
	margin-bottom: 1rem;
}

.cabinet-nav__links {
	margin: 0;
}

.cabinet-discount-widgets {
	margin: 0 0 1.25rem;
	padding: 0.75rem 1rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #f9f9f9;
}

.cabinet-discount-widgets__inner > .client-discount-status-widget {
	margin: 0.5em 0;
}

.cabinet-discount-widgets__inner > .client-discount-status-widget:first-child {
	margin-top: 0;
}

.cabinet-discount-widgets__inner > .client-discount-status-widget:last-child {
	margin-bottom: 0;
}

.cabinet-order-meta {
	margin: 0 0 1rem;
}

/* Мобильная версия: состав заказа — название на первой строке, цены и кол-во на второй */
@media (max-width: 768px) {
	.cabinet-order-parts-table thead {
		display: none;
	}
	.cabinet-order-parts-table tbody tr {
		display: block;
		border-bottom: 1px solid #ddd;
		margin-bottom: 8px;
		padding-bottom: 8px;
	}
	.cabinet-order-parts-table tbody td {
		border: none;
		padding: 4px 0;
	}
	.cabinet-order-parts-table tbody td:first-child {
		display: block;
		font-weight: bold;
		padding-bottom: 4px;
	}
	.cabinet-order-parts-table tbody td:nth-child(2)::before {
		content: 'Цена: ';
		color: #666;
	}
	.cabinet-order-parts-table tbody td:nth-child(3)::before {
		content: 'Кол-во: ';
		color: #666;
	}
	.cabinet-order-parts-table tbody td:nth-child(4)::before {
		content: 'Сумма: ';
		color: #666;
	}
	.cabinet-order-parts-table tbody td:not(:first-child) {
		display: inline-block;
		margin-right: 16px;
		padding-top: 0;
	}
}

.cabinet-login-form {
	max-width: 400px;
	margin: 20px 0;
}

/* Форма входа: у колонок заказа без боковых отступов (перебивает media у section#card .order-col) */
.cabinet-login-form section#card .order-row .order-col,
.cabinet-login-form .order-row .order-col {
	padding: 0 !important;
}

.cabinet-login-form input[type="email"],
.cabinet-login-form input[type="text"],
.cabinet-login-form input[type="password"] {
	width: 100%;
	padding: 8px 12px;
	margin: 8px 0;
	box-sizing: border-box;
}

.cabinet-login-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin-top: 1rem;
}

a.cabinet-login-register-link {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid #017db3;
	color: #017db3;
	border-radius: 4px;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.25;
}

a.cabinet-login-register-link:hover {
	background-color: rgba(1, 125, 179, 0.08);
}

.cabinet-login-tabs {
	margin-bottom: 16px;
}

.cabinet-tab {
	padding: 8px 16px;
	margin-right: 8px;
	background: #e8e8e8;
	border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
}

.cabinet-tab.active {
	background: #017db3;
	color: #fff;
	border-color: #017db3;
}

.cabinet-forgot-link {
	font-size: 14px;
	margin-top: 8px;
	display: inline-block;
}

.cabinet-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.cabinet-modal-content {
	background: #fff;
	padding: 24px;
	border-radius: 8px;
	max-width: 400px;
	width: 90%;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cabinet-modal-content h3 {
	margin-top: 0;
}

.cabinet-modal-close {
	margin-top: 16px;
	padding: 8px 16px;
	background: #e8e8e8;
	border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
}

.cabinet-error {
	color: #c00;
}

.cabinet-message.success {
	color: #080;
}

.price-strikethrough {
	text-decoration: line-through;
	color: #888;
}

.basket-style-button {
	padding: 9px 15px;
	background-color: #017db3;
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 14px;
}

.basket-style-button:hover {
	background-color: #02a7f0;
}

.basket-style-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.cabinet-order-again-dialog {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.cabinet-order-again-dialog-content {
	background: #fff;
	padding: 24px;
	border-radius: 8px;
	max-width: 400px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cabinet-order-again-dialog-content a {
	color: #017db3;
	text-decoration: underline;
}

.cabinet-order-again-dialog__close {
	margin-top: 0.5em;
}

@media screen and (max-width: 1163px) {

	#top-contacts-container {
		width: 100%;
		height: 45px;
		margin: 0 auto;
	}


	header {
		width: 100%;
		height: auto;
		display: table;
		/*background-image: none;*/
		background-position-x: 524px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}


	header #header-logo {
		display: block;
		width: 300px;
		margin-left: 10px;

	}

	header #header-car {
		display: table-cell;
		padding: 0 0;
		margin: 0 auto;
		width: 464px;
	}

	header #header-basket-container,
	header #header-login-container {
		display: table-cell;
		padding-right: 20px;
		background-color: none;
		width: 134px;
	}

	header #header-basket-container #basket-bg #basket-box {
		margin-left: 0px;
	}

	header #header-login-container #login-bg #login-box {
		margin-left: 0px;
	}


}



@media screen and (max-width: 941px) {}

nav {}

nav #nav-bg {
	width: 1160px;
	height: 66px;
	margin: 0 auto;
	display: table;
	background-image: url('../img/nav-bg.png');
	background-position: 0 0;
	background-repeat: no-repeat repeat-y;
	border-radius: 7px;
	/* box-shadow: 2px 2px 7px 2px rgba(0, 0, 0, 0.1); */
	border-radius: 5px;

	/* box-shadow: -0.707px -0.707px 4px 0px rgba(255, 255, 255, 0.5), 1.414px 1.414px 5px 0px rgba(0, 0, 0, 0.2); */

}

#main-menu {
	/* display: table; */
	margin: 0 auto;
	list-style: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	margin-left: -8px;
	margin-top: -1px;
}

.menu-item-active {
	display: table-cell;
	margin-top: 0px;
	padding: 13px 29px 13px 29px;
	background-color: #007eb1;
	font-size: 14px;
	font-weight: bold;
	margin-top: 2px;
	max-height: 44px;
}

.menu-item-active a {
	color: #fff;
	text-decoration: none !important;
}


.menu-item-inactive {
	display: table-cell;
	padding: 15px 30px 15px 30px;
	background-color: rgba(0, 0, 0, 0.0);
	font-size: 14px;
	font-weight: bold;
}

.menu-item-inactive a:hover {
	text-decoration: underline;
	/*background-color: rgba(0,126,177, 0.2);*/
}


.menu-item-inactive a {
	color: #017db3;
	text-decoration: none !important;
	white-space: nowrap;
}

.menu-item-inactive:hover a {
	color: #02A7F0;
	text-decoration: none !important;
}

/* Десктоп/планшет: «⋯» и выпадашка для пунктов, не поместившихся в #nav-bg (menu.js) */
@media (min-width: 769px) {
	.main-menu-overflow-backdrop {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 10050;
		background: rgba(0, 0, 0, 0.25);
	}

	.main-menu-overflow-backdrop.is-visible {
		display: block;
	}

	.main-menu-overflow-panel {
		display: none;
		position: fixed;
		z-index: 10051;
		background: #fff;
		border: 1px solid #ccc;
		border-radius: 6px;
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
		width: calc(100vw - 16px);
		max-width: 320px;
		max-height: 70vh;
		overflow-y: auto;
		box-sizing: border-box;
	}

	.main-menu-overflow-panel.is-visible {
		display: block;
	}

	.main-menu-overflow-panel__list {
		list-style: none;
		margin: 0;
		padding: 6px 0;
	}

	.main-menu-overflow-panel__list > li {
		display: block !important;
	}

	.main-menu-overflow-panel__list .menu-item-active,
	.main-menu-overflow-panel__list .menu-item-inactive {
		display: block !important;
		padding: 10px 16px;
		margin: 0;
		max-height: none;
	}

	.main-menu-overflow-panel__list .menu-item-active a,
	.main-menu-overflow-panel__list .menu-item-inactive a {
		white-space: normal;
	}

	.main-menu-overflow-panel__list ul {
		position: static !important;
		display: block !important;
		left: auto !important;
		top: auto !important;
		box-shadow: none;
		border: none;
		padding: 4px 0 4px 12px;
		margin: 0;
		background: transparent;
	}

	.main-menu__overflow-trigger a {
		color: #017db3;
		font-weight: bold;
		font-size: 14px;
		line-height: 1;
		padding: 15px 20px;
		display: inline-block;
		text-decoration: none;
	}
}


nav #nav-shadow {
	width: 1160px;
	height: 11px;
	margin: 0 auto;
	display: table;
	/*	background-image: url('../img/nav-shadow.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;*/
}

nav #nav-shadow #nav-shadow-left {
	width: 553px;
	height: 11px;
	display: table-cell;
	background-image: url('../img/nav-shadow-left.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
}

nav #nav-shadow #nav-shadow-center {
	width: auto;
	height: 11px;
	display: table-cell;
}

nav #nav-shadow #nav-shadow-right {
	width: 553px;
	height: 11px;
	display: table-cell;
	background-image: url('../img/nav-shadow-right.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
}


@media screen and (max-width: 1175px) {
	nav #nav-bg {
		width: 100%;
	}

	nav #nav-shadow {
		width: 100%;
	}

	nav #nav-shadow #nav-shadow-left {
		width: 315px;
		height: 11px;
		display: table-cell;
		background-image: url('../img/nav-shadow-small-left.png');
		background-position: 0 0;
		background-repeat: no-repeat no-repeat;
	}

	nav #nav-shadow #nav-shadow-center {
		width: auto;
		height: 11px;
		display: table-cell;
	}

	nav #nav-shadow #nav-shadow-right {
		width: 315px;
		height: 11px;
		display: table-cell;
		background-image: url('../img/nav-shadow-small-right.png');
		background-position: 0 0;
		background-repeat: no-repeat no-repeat;
	}

}




#bread-crumb {
	display: table;
	margin: 7px auto;
	height: 14px;
}

#bread-crumb #home-crumb {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	position: relative;
	width: 11px;
	height: 10px;
	padding-right: 6px;
	top: 3px;
	background-image: url('../img/home-crumb-normal.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
	left: -15px;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;

}

#bread-crumb #home-crumb a {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

#bread-crumb #home-crumb:hover {
	background-image: url('../img/home-crumb-hover.png');
}


#bread-crumb #path-crumb {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	color: #017db3;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;

	margin-left: 5px;
	margin-top: -10px;
}

#bread-crumb #path-crumb a {
	font-size: 12px;
	color: #017db3;
	text-decoration: none !important;
    margin: 0 5px;
}

#bread-crumb #path-crumb a:hover {
	font-size: 12px;
	color: #02a7f0;
	text-decoration: underline;

}

#bread-crumb .slash {
	-webkit-transform: rotate(11deg);
	        transform: rotate(11deg);
	display: inline-block;
	margin: 0 7px;
}


section#title h1 {
	text-align: center;
	font-weight: bold;
	font-size: 24px;
	padding-bottom: 16px;
	color: #333333;
}


section#card {
	/* Как section#empty: рамка, фон, скругление */
	width: 100%;
	max-width: 1160px;
	height: auto;
	margin: 0 auto 30px;
	border-top: 1px solid #eeeeee !important;
	border-left: 1px solid #eeeeee !important;
	border-right: 1px solid #c4c4c4 !important;
	border-bottom: 1px solid #c4c4c4 !important;
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
	display: table;
	padding-top: 30px;
	padding-left: 20px;
	padding-bottom: 20px;
	padding-right: 20px;
	box-sizing: border-box;

	border-radius: 12px;
	background: #f9f9f9;

}



section#card .text-wrap {
	margin-left: 0;
	line-height: 1.3;
}

section#card h2 {
	color: #017db3;
	margin: 20px 0 20px 0;
	font-size: 22px;
}

section#card h3 {
	color: #333;
	margin: 20px 0 0.5em 0;
	font-size: 18px;
}

section#card ol.order-num-list {}

section#card hr {

	border: 0;
	height: 1px;
	background: #333333;
	margin-top: 40px;
	background-image: -webkit-linear-gradient(left, #fff, #aaa, #fff);
	background-image: -o-linear-gradient(left, #fff, #aaa, #fff);
	margin-bottom: 40px;
}

section#card .order-row {
	display: table;
	width: 100%;
}

section#card .order-row .order-col {
	display: table-cell;
	margin-bottom: 16px;
	margin-bottom: 1rem;
	padding: 0 20px 0 20px;
	width: 50%;
}

section#card .order-row .order-col .group-box {
	/* box-shadow: inset 1px 1px 2px 2px rgba(158, 158, 158, 0.15); */
	display: table;
	margin: 10px 10px 10px 15px;
	padding: 5px 20px 5px 20px;
	width: auto;
	border: 1px solid #eee !important;
	border-radius: 5px;
	/* box-shadow: -1.414px -1.414px 2px 0px rgba(255, 255, 255, 0.5); */
	
	  
}

section#card .order-row .order-col .group-box .check-delimiter {
	display: table-cell;
	width: 10px;
	height: 100%;
}


.order-checkbox {
	position: absolute;
	z-index: -1;
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

/* ��� �������� label, ���������� � .custom-checkbox */
.order-checkbox ~ label {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}

/* �������� � label �������������� before �� ���������� ������� */
.order-checkbox ~ label:before {
	content: '';
	display: inline-block;
	width: 30px;
	height: 30px;
	-ms-flex-negative: 0;
	    flex-shrink: 0;
	/* box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1); */
	-webkit-box-flex: 0;
	    -ms-flex-positive: 0;
	        flex-grow: 0;
	border-radius: 5px;
	margin-right: 0.5em;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	background-image: url(../img/checkboxss.png);
}

/* ����� ��� ��������� ������� �� checkbox */
.order-checkbox:not(:disabled):not(:checked) ~ label:hover:before {
	border-color: #02a7f0;
}

/* ����� ��� ��������� �������� (��� ������� �� ����) */
.order-checkbox:not(:disabled):active ~ label:before {
	/*      background-color: #02a7f0;
      border-color: #02a7f0;*/
}

.order-checkbox:not(:disabled):active ~ label {
	color: #02a7f0;
}

.order-checkbox:label:after {
	color: #017db3;
}

/* ����� ��� ��������, ������������ � ������ */
.order-checkbox:focus ~ label:before {
	/*      box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);*/
}

/* ����� ��� ��������, ������������ � ������ � �� ������������ � ��������� checked */
.order-checkbox:focus:not(:checked) ~ label:before {
	/*      border-color: #017db3;*/
}

/* ����� ��� ��������, ������������ � ��������� checked */
.order-checkbox:checked ~ label:before {

	/* border-color: #fff; */
	/* background-color: #fff; */
	background-color: none !important;
	background-image: url("../img/checkbox_checked.png");
}

.order-checkbox:checked ~ label {
	color: #017db3;
}

/* ����� ��� ��������, ������������ � ��������� disabled */
.order-checkbox:disabled ~ label:before {
	background-color: #e9ecef;
}

/* Стили для отмеченного чекбокса в состоянии disabled */
.order-checkbox:checked:disabled ~ label:before {
	background-color: none !important;
	background-image: url("../img/checkbox_checked_disabled.png");
	opacity: 0.7;
}

/* Стили для ошибок валидации форм */
.field-required {
	color: #dc3545;
}

.field-error {
	color: #dc3545;
	font-weight: bold;
}

.field-input-error {
	border-color: #dc3545;
}

.field-error-checkbox {
	margin-top: 5px;
}

.form-checkbox-wrapper {
	position: relative;
}


section#card .order-row .order-col .text-field-label {
	display: block;
	margin: 15px 0 15px 0;
}

.catalog .basket-control-row .count-control .basket-num-info {
	height: 24px !important;
}

section#card .order-row .order-col .text-field-input {
	display: block;
	width: 100%;
	height: calc(2.05rem + 2px);
	padding: 4.4px 12px;
	padding: 0.275rem 0.75rem;
	font-family: inherit;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #333;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #02a7f0;
	border-radius: 7px;
	-webkit-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	/* box-shadow: inset 1px 1px 2px 2px rgba(158, 158, 158, 0.25); */


	box-shadow: inset -2.121px -2.121px 2px 0px rgba(255, 255, 255, 0.004),inset 1.463px 1.364px 2px 0px rgba(0, 0, 0, 0.15);
	
	  
}

/* Код ПВЗ + suffix «из последнего заказа» (input group) */
section#card .order-row .order-col .order-pvz-input-group {
	width: 100%;
	margin-bottom: 0;
}

section#card .order-row .order-col .order-pvz-input-group .input-group__field {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	width: 100%;
	min-width: 0;
}

section#card .order-row .order-col .order-pvz-input-group .order-pvz-code-input {
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 auto;
	        flex: 1 1 auto;
	min-width: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-top-left-radius: 9px;
	border-bottom-left-radius: 9px;
	border-right-width: 0;
	width: auto;
}

/* Как section#card .order-button: цвета и шрифты; серый при :disabled (загрузка) */
section#card .order-row .order-col .order-pvz-input-group .order-pvz-last-btn {
	-ms-flex-negative: 0;
	    flex-shrink: 0;
	max-width: 46%;
	padding: 9px 10px 9px 12px;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.2;
	font-weight: bold;
	text-align: center;
	white-space: normal;
	color: #fff;
	background-color: #017db3;
	border: none;
	border-radius: 0 9px 9px 0;
	-webkit-box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
	        box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	-webkit-transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
	transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

section#card .order-row .order-col .order-pvz-input-group .order-pvz-last-btn:hover:not(:disabled) {
	background-color: #016699;
	color: #fff;
}

section#card .order-row .order-col .order-pvz-input-group .order-pvz-last-btn:focus {
	outline: 0;
	-webkit-box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2), 0 0 0 0.2rem rgba(1, 125, 179, 0.35);
	        box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2), 0 0 0 0.2rem rgba(1, 125, 179, 0.35);
	z-index: 1;
	position: relative;
}

section#card .order-row .order-col .order-pvz-input-group .order-pvz-last-btn:disabled {
	background-color: #9e9e9e;
	color: #ececec;
	-webkit-box-shadow: none;
	        box-shadow: none;
	cursor: not-allowed;
	opacity: 1;
}

/* Префикс страны + поле телефона (как www/tpl/pages/order.tpl) */
section#card.order .order-row .order-col .phone-input-wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 8px;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	width: 100%;
}

section#card.order .order-row .order-col .phone-country-select {
	height: calc(2.05rem + 2px);
	padding: 0.275rem 0.5rem;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	color: #333;
	background-color: #fff;
	border: 1px solid #02a7f0;
	border-radius: 7px;
	cursor: pointer;
	-ms-flex-negative: 0;
	    flex-shrink: 0;
	min-width: 5.5rem;
}

section#card.order .order-row .order-col .phone-country-select:focus {
	outline: 0;
	border-color: #02a7f0;
	-webkit-box-shadow: 0 0 0 0.2rem rgba(2, 167, 240, 0.25);
	        box-shadow: 0 0 0 0.2rem rgba(2, 167, 240, 0.25);
}

section#card.order .order-row .order-col .phone-input-wrapper .text-field-input.phone-input {
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 auto;
	        flex: 1 1 auto;
	min-width: 0;
	width: auto;
	display: block;
}

/* Снэкбар формы заказа */
.order-snackbar {
	position: fixed;
	bottom: 1.5rem;
	left: 50%;
	-webkit-transform: translateX(-50%);
	    -ms-transform: translateX(-50%);
	        transform: translateX(-50%);
	z-index: 10050;
	max-width: calc(100% - 2rem);
	padding: 0.75rem 1.25rem;
	font-size: 0.95rem;
	line-height: 1.4;
	color: #fff;
	background: rgba(40, 40, 40, 0.95);
	border-radius: 8px;
	-webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	opacity: 0;
	visibility: hidden;
	-webkit-transition: opacity 0.25s ease, visibility 0.25s ease;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	pointer-events: none;
}

.order-snackbar.order-snackbar--visible {
	opacity: 1;
	visibility: visible;
}

/* Стили для выпадающих списков select - упрощенные */
section#card .order-col select {
	height: calc(2.05rem + 2px);
	padding: 0.275rem 0.75rem;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	color: #333;
	background-color: #fff;
	border: 1px solid #02a7f0;
	border-radius: 7px;
	cursor: pointer;
}

section#card .order-col select:focus {
	outline: 0;
	border-color: #02a7f0;
	box-shadow: 0 0 0 0.2rem rgba(2, 167, 240, 0.25);
}

section#card .order-col select option {
	padding: 0.5rem;
	background-color: #fff;
	color: #333;
}

/* Стили для радиокнопок способа оплаты */
.payment-options {
	margin-top: 10px;
}

.payment-options input[type="radio"] {
	display: none; /* Скрываем стандартные радиокнопки */
}

.payment-options label {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	font-style: italic;
	position: relative;
	color: #333;
	cursor: pointer;
	margin-right: 20px;
	margin-bottom: 10px;
}

/* Создаем кастомные радиокнопки */
.payment-options label:before {
	content: '';
	display: inline-block;
	width: 30px;
	height: 30px;
	-ms-flex-negative: 0;
	    flex-shrink: 0;
	-webkit-box-flex: 0;
	    -ms-flex-positive: 0;
	        flex-grow: 0;
	border-radius: 50%; /* Круглые для радиокнопок */
	margin-right: 0.5em;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	background-color: #fff;
	border: 1px solid transparent;
}

/* Стили для отмеченных радиокнопок */
.payment-options input[type="radio"]:checked + label:before {
	content: '';
	display: inline-block;
	width: 30px;
	height: 30px;
	-ms-flex-negative: 0;
	    flex-shrink: 0;
	-webkit-box-flex: 0;
	    -ms-flex-positive: 0;
	        flex-grow: 0;
	border-radius: 50%; /* Круглые для радиокнопок */
	margin-right: 0.5em;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	background-color: #fff;
	border: 1px solid transparent;
	position: relative;
}

/* Стили при наведении */
.payment-options label:hover:before {
	border-color: #02a7f0;
}


/* Стили для отключенных радиокнопок */
.payment-options input[type="radio"]:disabled + label {
	color: #999;
	cursor: not-allowed;
}

.payment-options input[type="radio"]:disabled + label:before {
	border-color: #ccc;
	background-color: #f5f5f5;
}

/* Анимация желтого мигания */
@keyframes yellow-blink {
	0% { background-color: #fff; }
	50% { background-color: #ffeb3b; }
	100% { background-color: #fff; }
}

.payment-options.blink,
.payment-options label.blink {
	animation: yellow-blink 0.6s ease-in-out;
}

section#card .order-row .order-col textarea {
	height: 65px !important;
	resize: none;
}

#card.order h3 {
	padding-bottom: 0;
	margin-bottom: 0;
}
section#card .order-row .order-col .group-box {
	margin-left: 0;
	padding-top: 15px;
	padding-bottom: 15px;
}


section#card .order-row .order-col .text-field-input::-webkit-input-placeholder {
	color: #333;
	opacity: 0.4;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
	text-decoration: italic;
	font-style: italic;
}


section#card .order-row .order-col .text-field-input::-moz-placeholder {
	color: #333;
	opacity: 0.4;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
	text-decoration: italic;
	font-style: italic;
}


section#card .order-row .order-col .text-field-input:-ms-input-placeholder {
	color: #333;
	opacity: 0.4;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
	text-decoration: italic;
	font-style: italic;
}


section#card .order-row .order-col .text-field-input::placeholder {
	color: #333;
	opacity: 0.4;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
	text-decoration: italic;
	font-style: italic;
}


section#card .order-row .order-col .text-field-input:focus {
	color: #212529;
	background-color: #fff;
	border-color: #02a7f0;
	outline: 0;
	/*      box-shadow: 0 0 0 0.2rem rgba(158, 158, 158, 0.25);*/
}


section#card .order-button {
	margin: 30px auto;
	padding: 9px 10px 9px 20px;
	background-color: #017db3;
	border-radius: 9px;
	box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
	color: #fff;
	font-weight: bold;
    font-size: 16px;    
    width: 300px;
    height: 50px;
    text-align: center;
}

@media screen and (min-width: 768px) {
	#card-description {
		margin-left: 465px;
	}
}

section#card #card-control {
	width: 430px;
	border-top: 2px solid #c4c4c4;
	border-left: 2px solid #c4c4c4;
	border-right: 2px solid #eeeeee;
	border-bottom: 2px solid #eeeeee;
	border-radius: 9px;
	/*	display: table-cell;*/
	float: left;
	margin-right: 35px;
	padding-bottom: 5px;

	background-color: #f9f9f9;
	box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.2), 2.121px 2.121px 3px 0px rgba(0, 0, 0, 0.2);
	background-image: -webkit-linear-gradient(90deg, #ffffff 0%, #f9f9f9 100%);



}

section#card ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	list-style: none;
	padding-left: 8px !important;
	margin-top: -30px;
}

section#card ul li {
	padding-left: 10px;
	padding-bottom: 5px !important;
}


section#card ul li:before {
	content: "-";
	position: relative;
	left: -5px;
}

section.catalog {
	width: 1120px;
	height: 200px;
	margin: 0 -20px 30px;
	border-top: 1px solid #eeeeee;
	border-left: 1px solid #eeeeee;
	border-right: 1px solid #c4c4c4;
	border-bottom: 1px solid #c4c4c4;
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
	display: table;
	/* padding-top: 30px; */
	padding-left: -20px;
	/* padding-bottom: 20px; */
	padding-right: -20px;

	/*box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.2), 2.121px 2.121px 3px 0px rgba(0, 0, 0, 0.2);*/


}

section.catalog h4 {
	font-size: 20px;
	color: #333;
	margin-bottom: 10px;
}

section.catalog .catalog-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	/* margin: 20px 0 20px 0; */
	/* height: 150px; */
}

section.catalog .catalog-row .catalog-col-image {
	display: table-cell;
	width: 226px;
	/* height: 150px; */
	/* padding: 10px 10px 10px 10px; */
	margin: 0px auto;
	/* border-top: 1px solid #eeeeee;
	border-left: 1px solid #eeeeee;
	border-right: 1px solid #c4c4c4;
	border-bottom: 1px solid #c4c4c4; */
	/* box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1); */

}

section.catalog .catalog-row .catalog-col-image .catalog-image {
	width: 100%;
	height: auto;
	-o-object-fit: cover;
	   object-fit: cover;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

section.catalog .catalog-row .catalog-col-info {
	display: table-cell;
	padding-left: 15px;
	line-height: 1.33;
	font-size: 15px;
	width: 60%;
}

section.catalog .catalog-row .catalog-col-info .catalog-stock-line {
	margin-top: 0.5em;
	margin-bottom: 0;
	font-size: 14px;
}

section.catalog .catalog-row .catalog-col-info .catalog-item-more {
	margin-bottom: 0;
	font-size: 14px;
}

/* КОСТЫЛЬ: страница комплектов (?id_page=611) */
section.catalog .kit-body-html {
	font-size: 14px;
}
.kit-composition-table tr.kit-composition-title-row td {
	background-color: #fff;
	text-align: left;
	font-size: 12.6px;
	font-weight: normal;
	color: inherit;
	padding-top: 0.75em;
	padding-bottom: 0.25em;
}
.kit-composition-table .kit-composition-name-col {
	text-align: left;
}
section.catalog .kit-composition-table {
	width: 100%;
	max-width: 520px;
	font-size: 14px;
	margin-bottom: 0.5em;
}
section.catalog .kit-composition-table tr.kit-composition-header td {
	background-color: #eeeeee;
	text-align: center;
}
section.catalog .kit-composition-table tr.kit-composition-header td:first-child,
section.catalog .kit-composition-table td.kit-composition-name-col {
	text-align: left;
}
section.catalog .kit-composition-table .kit-composition-qty-col {
	white-space: nowrap;
}
section.catalog .kit-composition-table .kit-composition-qty {
	text-align: center;
}

/* Запчасть-комплект: плитка, карточка, корзина */
.catalog-row.part-kit-card--empty,
.part-kit-card.part-kit-card--empty {
	background-color: #ffe8f0 !important;
}
.catalog-row.part-kit-card .catalog-col-control.part-kit-catalog-controls {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: stretch;
	justify-content: flex-start;
}
.part-kit-block .part-kit-block-label {
	font-size: 13px;
	font-weight: bold;
	margin: 0 0 4px 0;
}
.part-kit-block .part-kit-block-label a {
	text-decoration: none;
}
.part-kit-help {
	position: relative;
	display: inline-block;
	vertical-align: baseline;
	line-height: 1.2;
	max-width: 100%;
}
.part-kit-help sup {
	display: inline-block;
	vertical-align: super;
	line-height: 1;
	font-size: 0.7em;
	font-weight: normal;
	margin-left: 1px;
}
.part-kit-help .part-kit-help-link {
	cursor: help;
	font-weight: normal;
	color: #0066cc;
	border: none !important;
	margin: 0;
	padding: 0;
	font-size: 1em;
	line-height: 1.2;
}
.part-kit-help .part-kit-help-link:visited {
	color: #551a8b;
}
.part-kit-help .part-kit-help-link:hover,
.part-kit-help .part-kit-help-link:focus {
	color: #004499;
	text-decoration: underline !important;
}
.part-kit-help-tooltip {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	-webkit-transform: translateX(-50%);
	    -ms-transform: translateX(-50%);
	        transform: translateX(-50%);
	padding: 6px 10px;
	background: #333333;
	color: #ffffff;
	font-size: 12px;
	font-weight: normal;
	line-height: 1.35;
	white-space: nowrap;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 300;
	-webkit-transition: opacity 0.15s ease, visibility 0.15s ease;
	-o-transition: opacity 0.15s ease, visibility 0.15s ease;
	transition: opacity 0.15s ease, visibility 0.15s ease;
}
.part-kit-help:hover .part-kit-help-tooltip,
.part-kit-help:focus-within .part-kit-help-tooltip {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.part-kit-catalog-controls .part-kit-block--by-piece {
	overflow: visible;
}
.basket-kit-composition-wrap {
	text-align: left;
}
.basket-kit-composition-wrap .kit-composition-table,
#card-description .kit-composition-table,
.catalog-col-info .kit-composition-table {
	width: 100%;
	max-width: 520px;
	font-size: 14px;
	margin-bottom: 0.5em;
}
.basket-kit-composition-wrap .kit-composition-table tr.kit-composition-header td,
#card-description .kit-composition-table tr.kit-composition-header td,
.catalog-col-info .kit-composition-table tr.kit-composition-header td {
	background-color: #eeeeee;
	text-align: center;
}
.basket-kit-composition-wrap .kit-composition-table tr.kit-composition-header td:first-child,
.basket-kit-composition-wrap .kit-composition-table td.kit-composition-name-col,
#card-description .kit-composition-table tr.kit-composition-header td:first-child,
#card-description .kit-composition-table td.kit-composition-name-col,
.catalog-col-info .kit-composition-table tr.kit-composition-header td:first-child,
.catalog-col-info .kit-composition-table td.kit-composition-name-col {
	text-align: left;
}
.basket-kit-composition-wrap .kit-composition-table .kit-composition-qty-col,
#card-description .kit-composition-table .kit-composition-qty-col,
.catalog-col-info .kit-composition-table .kit-composition-qty-col {
	white-space: nowrap;
}
.basket-kit-composition-wrap .kit-composition-table .kit-composition-qty,
#card-description .kit-composition-table .kit-composition-qty,
.catalog-col-info .kit-composition-table .kit-composition-qty {
	text-align: center;
}
.kit-composition-table tr.kit-composition-row--inactive td {
	color: #999;
}
.kit-composition-inactive-name {
	color: #999;
}

section.catalog .catalog-row .catalog-col-control {
	display: table-cell;

	width: 173px;
	border-top: 1px solid #eeeeee;
	border-left: 1px solid #eeeeee;
	border-right: 1px solid #c4c4c4;
	border-bottom: 1px solid #c4c4c4;
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
	border-radius: 9px;
	margin-right: 10px;
	background-color: #f9f9f9;

	display: -webkit-box;

	display: -ms-flexbox;

	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	padding: 10px;
}

section.catalog .catalog-row .catalog-col-control p.price {
	font-size: 24px;
	text-align: center;
	margin-bottom: 10px;
	margin-top: 10px;
}

section.catalog .catalog-row .catalog-col-control .control-row {

	width: 100px;
	margin: 0 auto 10px;
}


section.catalog .catalog-row .catalog-col-control .control-row .count-control {
	display: table-cell;
	padding: 7px 5px 5px 5px;
	background-color: #fff;
	border-radius: 9px;
	box-shadow: inset 1px 1px 3px 3px rgba(128, 128, 128, 0.2);
}

section.catalog .catalog-row .catalog-col-control .control-row .count-control .dec-button {
	display: table-cell;
	padding: 5px 5px 5px 5px;
	background-color: #fff;
	border-radius: 7px;
	box-shadow: 1px 1px 2px 2px rgba(128, 128, 128, 0.2);
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

section.catalog .catalog-row .catalog-col-control .control-row .count-control .inc-button {
	display: table-cell;
	padding: 5px 5px 5px 5px;
	/* background-color: #fff;
	border-radius: 7px;
	box-shadow: 1px 1px 2px 2px rgba(128, 128, 128, 0.2); */
	background-image: url(../img/deskbtn.png);
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

section.catalog .catalog-row .catalog-col-control .control-row .count-control .dec-button .dec-icon {
	position: relative;
	margin-top: 3px;
	width: 12px;
	height: 14px;
	background-image: url('../img/left-normal.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;

}

section.catalog .catalog-row .catalog-col-control .control-row .count-control .dec-button:hover .dec-icon {
	background-image: url('../img/left-hover.png');
}



section.catalog .catalog-row .catalog-col-control .control-row .count-control .inc-button .inc-icon {
	position: relative;
	margin-top: 3px;
	width: 12px;
	height: 14px;
	background-image: url('../img/right-normal.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;

}

section.catalog .catalog-row .catalog-col-control .control-row .count-control .inc-button:hover .inc-icon {
	background-image: url('../img/right-hover.png');
}


section.catalog .catalog-row .catalog-col-control .control-row .count-control .num-info {
	display: table-cell;
	padding: 5px 5px 5px 5px;
	background-color: rgba(0, 0, 0, 0.0);
	border-radius: 7px;
	width: 60px;
	text-align: center;
}

.add-to-cart-button {
	margin: 10px auto;
	padding: 9px 5px 9px 10px;
	background-color: #017db3;
	border-radius: 9px;
	width: 130px;
	box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
	font-family: inherit;
    font-size: 16px;
    padding: 10px;
	-webkit-border-fit:border !important;
	/* display: flex;
	align-items: center; */
}

.add-to-cart-button:hover {
	background-color: #02a7f0;

}


.add-to-cart-button .basket-icon {
	display: table-cell;
	width: 27px;
	/*	height: 22px;*/
	padding-top: 2px;
	background-image: url('../img/basket-button.png');
	background-repeat: no-repeat no-repeat;
	background-size: contain;
	margin: 0;
	margin-right: 5px;
}

.add-to-cart-button .basket-text {
	display: table-cell;
	padding-left: 5px;
	/* padding-top: 3px; */
	padding-right: 10px;
	color: #fff;
	font-weight: 700;

	text-decoration: none !important;
	/* display: inline-flex; */
	-ms-flex-negative: 0;
	    flex-shrink: 0;
}


section#basket {
	width: 1100px;
	/*	height: 200px;*/
	margin: 0 auto 30px;
	border-top: 1px solid #eeeeee !important;
	border-left: 1px solid #eeeeee !important;
	border-right: 1px solid #c4c4c4 !important;
	border-bottom: 1px solid #c4c4c4 !important;
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
	display: table;
	padding-top: 7px;
	padding-bottom: 20px;

	border-radius: 12px;
	background: #f9f9f9;
}

section#empty {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto 30px;
	border-top: 1px solid #eeeeee !important;
	border-left: 1px solid #eeeeee !important;
	border-right: 1px solid #c4c4c4 !important;
	border-bottom: 1px solid #c4c4c4 !important;
	box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
	display: table;
	padding-top: 7px;
	padding-bottom: 20px;

	border-radius: 12px;
	background: #f9f9f9;
	padding: 20px;
	box-sizing: border-box;
}

section#empty img {
	max-width: 100%;
}

.formpage {
	padding-top: 20px !important;
}

section#empty ul {
	padding-left: 40px;
    margin: 20px;
}
section#basket h4 {
	font-size: 20px;
	padding-left: 20px;
	color: #333;
	margin-bottom: 10px;
	text-align: left;
}

section#basket p {
	font-size: 16px;
	padding-left: 20px;
	color: #333;
	margin-bottom: 10px;
	text-align: left;
}

/* Контейнер для пустой корзины */
.basket-empty-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 40px 20px;
	gap: 30px;
}

.basket-empty-image {
	flex-shrink: 0;
}

.basket-empty-image img {
	max-height: 256px;
	height: auto;
	width: auto;
	display: block;
}

/* Кнопка восстановления корзины */
.basket-restore-button {
	position: relative;
	background: #017db3;
	color: #fff;
	border: none;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	border-radius: 4px;
	overflow: hidden;
	transition: opacity 0.3s;
	min-width: 150px;
}

.basket-restore-button:hover {
	opacity: 0.9;
}

.basket-restore-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.basket-restore-button-progress {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	transition: width linear;
	pointer-events: none;
	z-index: 0;
}

/* Прогресс-бар на десктопной кнопке в панели */
#basket-panel .basket-restore-button .basket-restore-button-progress {
	background: rgba(255, 255, 255, 0.3);
}

/* Прогресс-бар на мобильной sticky кнопке */
.basket-restore-button-sticky .basket-restore-button .basket-restore-button-progress {
	background: rgba(255, 255, 255, 0.3);
}

.basket-restore-button-text {
	position: relative;
	z-index: 1;
}

/* Sticky кнопка восстановления для мобильника (только на мобильных устройствах) */
.basket-restore-button-sticky {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #fff;
	padding: 15px;
	box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
	z-index: 1000;
	text-align: center;
}

.basket-restore-button-sticky .basket-restore-button {
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

/* Показываем sticky кнопку только на мобильных устройствах */
@media (max-width: 768px) {
	.basket-restore-button-sticky {
		display: block;
	}
}

/* Скрываем sticky кнопку на десктопе */
@media (min-width: 769px) {
	.basket-restore-button-sticky {
		display: none !important;
	}
}

.basket-empty-text {
	flex: 1;
}

.basket-empty-text p {
	font-size: 18px;
	line-height: 1.6;
	color: #333;
	margin-bottom: 15px;
	padding-left: 0;
}

.basket-empty-text a {
	color: #017db3;
	text-decoration: none;
	font-weight: bold;
}

.basket-empty-text a:hover {
	text-decoration: underline;
}

/* Мобильная версия: картинка под текстом */
@media (max-width: 768px) {
	.basket-empty-container {
		flex-direction: column;
		text-align: center;
		padding: 30px 15px;
		gap: 20px;
	}

	.basket-empty-text {
		width: 100%;
		order: 1;
	}

	.basket-empty-text p {
		text-align: center;
		font-size: 16px;
	}

	.basket-empty-image {
		width: 100%;
		text-align: center;
		order: 2;
	}

	.basket-empty-image img {
		width: 80%;
		height: auto;
		max-height: none;
		margin: 0 auto;
	}
}


section#basket #basket-header {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 0.8fr 1fr 1fr 1fr 1fr 1fr;
	    grid-template-columns: 0.8fr 1fr 1fr 1fr 1fr 1fr;
	-ms-grid-row-align: center;
	    align-items: center;
}

section#basket #basket-header>div {
	/* border-bottom: 1px solid #eee !important;
	border-right: 1px solid #eee !important; */
}


section#basket #basket-header .basket-header-item-icon {
	display: table-cell;
	width: 80px;
	min-width: 80px;
	text-align: center;
	vertical-align: middle;
	color: #017db3;
	font-size: 12px;
	/* border-bottom: 1px solid #eee !important;
	border-right: 1px solid #eee !important; */

}

section#basket #basket-header .basket-header-item-image {
	display: table-cell;
	width: 245px;
	min-width: 245px;
	text-align: center;
	vertical-align: middle;
	color: #017db3;
	font-size: 12px;
	/* border-bottom: 1px solid #eee !important;
	border-right: 1px solid #eee !important; */

}

section#basket #basket-header .basket-header-item-name {
	display: table-cell;
	width: auto;
	min-width: 495px;
	text-align: center;
	vertical-align: middle;
	color: #017db3;
	font-size: 12px;
	/* border-bottom: 1px solid #eee !important;
	border-right: 1px solid #eee !important; */

}

section#basket #basket-header .basket-header-item-price {
	display: table-cell;
	width: 110px;
	min-width: 110px;
	text-align: center;
	vertical-align: middle;
	color: #017db3;
	font-size: 12px;
	/* border-bottom: 1px solid #eee !important;
	border-right: 1px solid #eee !important; */
	padding-bottom: 10px;
}

section#basket #basket-header .basket-header-item-count {
	display: table-cell;
	width: 110px;
	min-width: 110px;
	text-align: center;
	vertical-align: middle;
	color: #017db3;
	font-size: 12px;
	/* border-bottom: 1px solid #eee !important;
	border-right: 1px solid #eee !important; */

}

section#basket #basket-header .basket-header-item-total {
	display: table-cell;
	width: 110px;
	min-width: 110px;
	text-align: center;
	vertical-align: middle;
	color: #017db3;
	font-size: 12px;
	/* border-bottom: 1px solid #eee !important; */

}


section#basket .basket-row {
	display: -ms-grid;
	display: grid;
	/* padding-top: 20px; */
	-ms-grid-row-align: center;
	    align-items: center;
	-ms-grid-columns: 1fr 1fr 1fr 1fr;
	    grid-template-columns: 1fr 1fr 1fr 1fr;
	/* max-height: 155px; */
	/* overflow-y: scroll; */
	background-color: #fff;
	border-bottom: 10px solid #fff;
}

section#basket .basket-row>div {
	height: 100% !important;
	border-right: 1px solid #eee !important;
	border-bottom: 1px solid #eee !important;
}

section#basket .basket-row .basket-row-item-icon {
	display: table-cell;
	width: 80px;
	min-width: 80px;
	/* height: 100%; */
	text-align: center;
	vertical-align: middle;
	/* border-bottom: 1px solid #eee !important;
	border-right: 1px solid #eee !important; */
}

section#basket .basket-row .basket-row-item-icon .icon-trash {
	width: 30px;
	height: 30px;
	margin: auto auto;
	background-image: url('../img/trash-normal.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
}

section#basket .basket-row .basket-row-item-icon .icon-trash:hover {
	background-image: url('../img/trash-hover.png');
}

section.order ol li {
	padding-bottom: 7px !important;
}

section#basket .basket-row .basket-row-item-image {
	display: table-cell;
	width: 225px !important;
	height: 141px;
	text-align: center;
	vertical-align: middle;
	padding: 10px 10px 10px 10px;
	margin: 0px auto;
	box-sizing: border-box;
	/* border-left: 1px solid #eee !important;
	border-right: 1px solid #eee !important;
	border-bottom: 1px solid #eee !important;
	border-right: 1px solid #eee !important; */

}

section#basket .basket-row .basket-row-item-image .catalog-image {
	width: 198px;
	/*height: 133px;*/
	-o-object-fit: cover;
	   object-fit: cover;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	border: 1px solid rgba(0, 0, 0, 0.1) !important;

}

section#basket .basket-row .basket-row-item-name {
	display: table-cell;
	width: auto;
	min-width: 495px;
	height: 100%;
	text-align: center;
	vertical-align: top;
	padding-top: 10px;
	/* border-bottom: 1px solid #eee !important;
	border-right: 1px solid #eee !important; */
	box-sizing: border-box;
}

.basket-row-item-name .title {
	font-size: 18.667px !important;

	line-height: 1.2;
	margin-bottom: 30px !important;
}

section#basket .basket-row .basket-row-control {
	display: table;
	width: 330px;
	min-width: 330px;
	height: 100%;
	text-align: center;
	vertical-align: middle;
	/* display: flex;
	align-items: center; */
}

section#basket .basket-row .basket-row-control .basket-row-item-price {
	display: table-cell;
	width: 110px;
	min-width: 110px;
	height: 100%;
	text-align: center;
	vertical-align: middle;
	color: #333;
	font-size: 24px;

	/* border-bottom: 1px solid #eee !important;
	border-right: 1px solid #eee !important; */
}

section#basket .basket-row .basket-row-control .basket-row-item-price .title {
	display: none;
}

section#basket .basket-row .basket-row-control .basket-row-item-price .value {
	display: block;
	text-align: center;
}

section#basket .basket-row .basket-row-control .basket-row-item-price .value .price-strikethrough,
section#basket .basket-row .basket-row-control .basket-row-item-price .value .basket-row-price-discounted {
	display: block;
}

section#basket .basket-row .basket-row-control .basket-row-item-count {
	display: table-cell;
	width: 110px;
	min-width: 110px;
	height: 100%;
	text-align: center;
	vertical-align: middle;
	color: #333;
	margin: 0 auto;

	/* border-bottom: 1px solid #eee !important;
	border-right: 1px solid #eee !important; */
}

section#basket .basket-row .basket-row-control .basket-row-item-count .title {
	display: none;
}

section#basket .basket-row .basket-row-control .basket-row-item-count .basket-control-row {
	box-shadow: none;
	background: none;
}

section#basket .basket-row .basket-row-control .basket-row-item-count .count-control {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: stretch;
	    -ms-flex-align: stretch;
	        align-items: stretch;
	box-shadow: none;
	background: none;
	padding: 0;
	border-radius: 0;
}

section#basket .basket-row .basket-row-control .basket-row-item-count .count-control .basket-dec-button,
section#basket .basket-row .basket-row-control .basket-row-item-count .count-control .basket-inc-button {
	padding: 0;
	background-image: none;
	background-image: -webkit-linear-gradient(top, #fefefe 0%, #f5f4f5 100%);
	background-image: linear-gradient(180deg, #fefefe 0%, #f5f4f5 100%);
	width: 36px;
	min-width: 36px;
	height: 38px;
	border: none;
	cursor: pointer;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	position: relative;
}

section#basket .basket-row .basket-row-control .basket-row-item-count .count-control .basket-dec-button {
	border-radius: 2px 0 0 2px;
	box-shadow: 2px 0px 0.5px rgba(0, 0, 0, 0.1);
	margin-right: -4px;
	z-index: 2;
}

section#basket .basket-row .basket-row-control .basket-row-item-count .count-control .basket-inc-button {
	border-radius: 0 2px 2px 0;
	box-shadow: 2px 0px 0.5px rgba(0, 0, 0, 0.1);
	z-index: 2;
}

section#basket .basket-row .basket-row-control .basket-row-item-count .count-control .basket-dec-button .basket-dec-symbol,
section#basket .basket-row .basket-row-control .basket-row-item-count .count-control .basket-inc-button .basket-inc-symbol {
	background-image: none !important;
	width: auto;
	height: auto;
	margin: 0;
	font-size: 20px;
	font-weight: bold;
	color: rgb(1, 125, 179);
	line-height: 1;
}

section#basket .basket-row .basket-row-control .basket-row-item-count .count-control .basket-dec-button:hover .basket-dec-symbol,
section#basket .basket-row .basket-row-control .basket-row-item-count .count-control .basket-inc-button:hover .basket-inc-symbol {
	color: #02a7f0;
}

section#basket .basket-row .basket-row-control .basket-row-item-count .count-control .basket-num-info,
section#basket .basket-row .basket-row-control .basket-row-item-count .count-control .num-info {
	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;
	height: 38px;
	border-radius: 0;
	box-shadow: none;
	border: none;
	background: #fff;
	margin: 0;
	max-width: 50px;
	text-align: center;
	padding: 0 4px;
	position: relative;
	z-index: 1;
}

section#basket .basket-row .basket-row-control .basket-row-item-total {
	display: table-cell;
	width: 110px;
	min-width: 110px;
	height: 100%;
	text-align: center;
	vertical-align: middle;
	color: #333;
	font-weight: bold;
	font-size: 24px;

	border-bottom: 1px solid #eee !important;
}

section#basket .basket-row .basket-row-control .basket-row-item-total .title {
	display: none;
}

section#basket .basket-row .basket-row-control .basket-row-item-total .value {
	display: block;
	font-size: 20px;

	color: rgb(51, 51, 51);


}

#basket-panel {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	margin-top: 20px;
}

#basket-panel .basket-panel-item {
	display: table-cell;
	vertical-align: middle;

	min-width: 360px;
	width: 360px;
}


#basket-panel #clear-cart-button,
#basket-panel .basket-restore-button {
	margin: 0px auto;
	padding: 9px 5px 9px 10px;
	background-color: #eee;
	border-radius: 9px;
	width: 150px;
	box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
	color: #333;
	font-weight: 700;
	text-decoration: none !important;
	min-width: 150px;
	position: relative;
	overflow: hidden;
}

#basket-panel #clear-cart-button:hover,
#basket-panel .basket-restore-button:hover {
	background-color: #fff !important;
	background-image: none;
	opacity: 1;
}




#basket-panel #add-to-cart-button,
#basket-panel #checkout-button {

	margin: 0px auto;
	padding: 6px 10px 6px 10px;

	background-color: #017db3;
	box-shadow: -2.121px -2.121px 3px 0px rgba(255, 255, 255, 0.5), 2.121px 2.121px 3px 0px rgba(0, 0, 0, 0.2);

	font-size: 18.667px;

	color: #FFF;

	text-align: center;
	width: 250px;
	height: 38px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	border-radius: 10px;

	-webkit-transition: 0.5s;

	transition: 0.5s;

}

#card.main {
	background: #f9f9f9;
	border-radius: 12px;
}

#card.main #card-control {
	background-color: #F9F9F9;
	background-image: none;
}

#basket-panel #clear-cart-button,
#basket-panel .basket-restore-button {

	margin: 0px auto;
	padding: 6px 10px 6px 10px;


	background-image: -webkit-linear-gradient(top, #fefefe 0%, #f5f4f5 100%);


	background-image: linear-gradient(180deg, #fefefe 0%, #f5f4f5 100%);

	box-shadow: -2.121px -2.121px 3px 0px rgba(255, 255, 255, 0.5), 2.121px 2.121px 3px 0px rgba(0, 0, 0, 0.2);

	font-size: 18.667px;

	color: #FFF;

	text-align: center;
	width: 250px;
	height: 38px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	border-radius: 10px;

	border-style: solid;
	border-width: 1px;
	border-color: rgb(160, 160, 160);

	font-size: 16px;

	color: rgb(1, 125, 179);
	line-height: 1.2;
	text-align: center;

	-webkit-transition: 0.5s;

	transition: 0.5s;



}

#basket-panel #add-to-cart-button:hover,
#basket-panel #checkout-button:hover {
	background-color: #02a7f0;

}

/* Профиль: «Сохранить» — как «Оформить заказ» (синяя, по центру) */
.cabinet-profile .cabinet-profile-submit-wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	width: 100%;
	margin-top: 1rem;
}

.cabinet-profile button.checkout-button[type="submit"] {
	margin: 0 auto;
	padding: 6px 10px 6px 10px;
	background-color: #017db3;
	box-shadow: -2.121px -2.121px 3px 0px rgba(255, 255, 255, 0.5), 2.121px 2.121px 3px 0px rgba(0, 0, 0, 0.2);
	font-size: 18.667px;
	color: #FFF;
	text-align: center;
	width: 250px;
	height: 38px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	border-radius: 10px;
	-webkit-transition: 0.5s;
	transition: 0.5s;
	border: none;
	cursor: pointer;
	font-family: inherit;
	box-sizing: border-box;
}

.cabinet-profile button.checkout-button[type="submit"]:hover {
	background-color: #02a7f0;
}

#basket-panel #order-count {
	display: inline-flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 0.65em;
	vertical-align: middle;
	margin: 0 auto;

	font-size: 22.667px;

	color: rgb(51, 51, 51);
	line-height: 1.2;
}

#basket-panel #order-count .order-count-label {
	flex: 0 0 auto;
	text-align: left;
}

#basket-panel #order-count .order-count-prices {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.2em;
	font-variant-numeric: tabular-nums;
	text-align: right;
}



@media screen and (max-width: 1160px) {
	.basket-row-item-name .title {
		margin-bottom: 10px !important;
	}

	section#basket p {
		font-size: 13px !important;
	}

	section#basket {
		width: 99%;
		max-width: 100%;
		margin: 0px auto;
		padding: 0 0px 0 0px;
		box-sizing: border-box;
	}

	section#basket #basket-header {
		display: none;
	}

	section#basket .basket-row {
		display: table;
		width: auto;
		padding-bottom: 20px;
	}

	section#basket .basket-row .basket-row-item-icon {
		display: block;
		border: 0px solid #333333 !important;

	}




	section#basket .basket-row .basket-row-item-icon .icon-trash {
		margin-top: 20px;
		background-image: url('../img/close-normal.png');
	}

	section#basket .basket-row .basket-row-item-icon .icon-trash:hover {
		background-image: url('../img/close-hover.png');
	}


	section#basket .basket-row .basket-row-item-image {
		display: block;
		margin: 0 auto;
	}

	section#basket .basket-row .basket-row-item-name {
		display: block;
		margin: 0 auto;
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}

	section#basket .basket-row .basket-row-control {
		display: block;
		margin: 0 auto;
		border-top: 1px solid #c4c4c4 !important;
		border-left: 1px solid #c4c4c4 !important;
		border-right: 1px solid #eeeeee !important;
		border-bottom: 1px solid #eeeeee !important;
		box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
		padding-top: 30px;
		padding-left: 20px;
		padding-bottom: 20px;
		padding-right: 20px;
		border-radius: 12px;

	}

	section#basket .basket-row .basket-row-control .basket-row-item-price {
		display: table;
		width: 100%;

	}

	section#basket .basket-row .basket-row-control .basket-row-item-count {
		display: table;
		width: 100%;

	}

	section#basket .basket-row .basket-row-control .basket-row-item-total {
		display: table;
		width: 100%;
	}


	section#basket .basket-row .basket-row-control .basket-row-item-price .title {
		display: table-cell;
		text-align: left;
		width: 150px;
		min-width: 150px;
		font-size: 14px;
		line-height: 28px;
		color: #017db3;
	}

	section#basket .basket-row .basket-row-control .basket-row-item-price .value {
		display: table-cell;
		text-align: center;
		width: 100px;
		min-width: 100px;
	}

	section#basket .basket-row .basket-row-control .basket-row-item-count .title {
		display: table-cell;
		text-align: left;
		width: 150px;
		min-width: 150px;
		font-size: 14px;
		line-height: 38px;
		color: #017db3;
	}

	section#basket .basket-row .basket-row-control .basket-row-item-count .count-control {
		width: 80px;
		min-width: 80px;
		margin: 0 auto;
	}

	section#basket .basket-row .basket-row-control .basket-row-item-total .title {
		display: table-cell;
		text-align: left;
		width: 150px;
		min-width: 150px;
		font-size: 14px;
		line-height: 28px;
		color: #017db3;
	}

	section#basket .basket-row .basket-row-control .basket-row-item-total .value {
		display: table-cell;
		text-align: center;
		width: 100px;
		min-width: 100px;
	}

	#basket-panel {
		display: block;
		width: 100%;
		max-width: 500px;
		margin: 0 auto;
		min-width: 0;
		box-sizing: border-box;
	}


	#basket-panel .basket-panel-item {
		display: block;
		vertical-align: middle;
		margin: 20px auto 20px;
		min-width: 0;
		width: 100%;
		max-width: 500px;
		box-sizing: border-box;
	}



	section#card {
		width: auto;
		margin: 0px 0;
		padding: 0px;
		padding-left: 20px;
		padding-right: 20px;

	}

	section#card #card-control {

		margin: 0px 0;
		padding-bottom: 50px;
		margin-right: 20px;

	}

	section.catalog {
		width: auto;
	}

	section.catalog .catalog-row {
		width: auto;
		margin-bottom: 20px;
	}

	section.catalog .catalog-row .catalog-col-image {
		/* display: block;

		margin: 0 auto; */
		float: left;
		margin-right: 20px;
	}

	section.catalog .catalog-row .catalog-col-info {
		display: block;
		width: 100%;
		/*padding: 15px 0 20px 0;*/
	}

	section#card .text-wrap {
		margin-left: 0;
	}

	section.catalog .catalog-row .catalog-col-control {
		/* display: block;
		width: 100%;
		padding: 20px 0 20px 0; */
		float: right;
	}

	section.catalog .catalog-row {
		display: -webkit-box !important;
		display: -ms-flexbox !important;
		display: flex !important;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
	}

	section#basket #basket-panel #order-count {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		width: 100%;
		max-width: 100%;
		margin: 0 auto 0.75rem;
		padding: 0 0.5rem;
		-webkit-box-sizing: border-box;
		        box-sizing: border-box;
		gap: 0.35em;
		text-align: center;
		font-size: 22.667px;
		line-height: 1.2;
	}

	section#basket #basket-panel #order-count .order-count-label {
		text-align: center;
		width: 100%;
	}

	section#basket #basket-panel #order-count .order-count-prices {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		gap: 0.2em;
		font-variant-numeric: tabular-nums;
		text-align: center;
	}

	section#card .order-row {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		width: 100%;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}

	section#card .order-row .order-col {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		margin-bottom: 1rem;
		padding: 0 20px 0 20px;
		width: auto;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}

	section#card .order-row .order-col {
		/* padding: 0; */
	}

	section#card .order-row .order-col .group-box {
		width: auto;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
	}
}

section#card #card-control #card-image {
	width: 400px;
	height: 250px;
	margin: 20px auto;
	border: 1px solid rgba(0, 0, 0, 0.2) !important;

}

/* Галерея на детальной карточке: не менять размер блока (gallery.css задаёт 800×300 для .gallery_scroller) */
section#card #card-control #card-image.gallery_scroller {
	width: 400px !important;
	height: 250px !important;
	max-width: none;
	margin: 20px auto;
	box-sizing: border-box;
}

section#card #card-control #card-image .catalog-image {
	width: 400px;
	/*height: 250px;*/
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	border: 1px solid rgba(0, 0, 0, 0.0);
}

section#card #card-control #card-image .image-zoom {
	width: 35px;
	height: 35px;
	position: relative;
	margin-top: -45px;
	margin-left: 355px;
	z-index: 0;

	background-image: url('../img/zoom-normal.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;

}

section#card #card-control #card-image .image-zoom:hover {
	background-image: url('../img/zoom-hover.png');

}

section#card #card-control #card-info-container {
	display: table;
	padding-top: 30px;
	padding-left: 15px;
}


section#card #card-control #card-info-container #instock-icon,
section#card #card-control.part-kit-card .part-kit-grid__stock #instock-icon {
	padding: 11px 5px 10px 10px;
	width: 35px;
	height: 35px;
	background-image: url('../img/contact-btn-bg.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
	display: inline-block;
	margin-top: -8px;
}

section#card #card-control #card-info-container #instock-icon #check,
section#card #card-control.part-kit-card .part-kit-grid__stock #instock-icon #check {
	width: 15px;
	height: 15px;
	background-image: url('../img/check.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
	position: relative;
}


section#card #card-control #card-info-container #instock-comment,
section#card #card-control.part-kit-card .part-kit-grid__stock #instock-comment {
	display: inline-block;
	padding-left: 0;
	/* padding-top: 7px; */
	color: #017db3;
	font-weight: bold;
	font-style: italic;
	margin-top: -8px;
	margin-left: -11px;
	margin-right: 10px;
}

section#card .reviews_and_statements {
	float: left;
	margin-top: -30px;
}

section#card .reviews_and_statements ul {
	margin-top: -16px;
}


section#card #card-control #card-info-container #price {
	display: table-cell;
	padding-left: 0;
	padding-top: 0px;
	margin-top: 0px;
	color: #333333;
	font-weight: normal;
	font-size: 32px;
	line-height: 28px;
	text-align: right;
	width: 260px;
}

section#card #card-control #control-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	padding-left: 15px;
	padding-top: 0px;
	margin-top: -15px;
	padding-right: 15px;

}

section#card #card-control.part-kit-card #control-row,
section#card #card-control.part-kit-card #control-row-by-piece {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
	padding-left: 0;
	padding-top: 0px;
	margin-top: 0;
	padding-right: 0;

}

section#card #card-control #control-row>a,
section#card #card-control.part-kit-card .part-kit-grid__kit-btn>a,
section#card #card-control.part-kit-card .part-kit-grid__by-piece-btn>a {
	-ms-flex-negative: 0;
	    flex-shrink: 0;
}


/* Как .add-to-cart-button в каталоге: table + table-cell (flex с пустой иконкой давал ширину 0 у фона) */
section#card #card-control #control-row #add-to-cart-button,
section#card #card-control.part-kit-card .part-kit-grid__kit-btn #add-to-cart-button,
section#card #card-control.part-kit-card .part-kit-grid__by-piece-btn #add-to-cart-button-by-piece {
	display: table;
	margin: 10px auto;
	padding: 10px 5px 10px 10px;
	background-color: #017db3;
	border-radius: 9px;
	width: 130px;
	box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
	font-family: inherit;
	font-size: 16px;
	-webkit-border-fit: border !important;
	-ms-flex-negative: 0;
	    flex-shrink: 0;
}

section#card #card-control #control-row #add-to-cart-button:hover,
section#card #card-control.part-kit-card .part-kit-grid__kit-btn #add-to-cart-button:hover,
section#card #card-control.part-kit-card .part-kit-grid__by-piece-btn #add-to-cart-button-by-piece:hover {
	background-color: #02a7f0;

}


section#card #card-control #control-row #basket-icon,
section#card #card-control.part-kit-card .part-kit-grid__kit-btn #basket-icon,
section#card #card-control.part-kit-card .part-kit-grid__by-piece-btn #basket-icon-by-piece {
	display: table-cell;
	vertical-align: middle;
	width: 27px;
	padding-top: 2px;
	background-image: url('../img/basket-button.png');
	background-repeat: no-repeat no-repeat;
	background-size: contain;
	background-position: center;
	margin: 0;
	margin-right: 5px;
}

section#card #card-control #control-row #basket-text,
section#card #card-control.part-kit-card .part-kit-grid__kit-btn #basket-text,
section#card #card-control.part-kit-card .part-kit-grid__by-piece-btn #basket-text-by-piece {
	display: table-cell;
	vertical-align: middle;
	padding-left: 5px;
	padding-right: 10px;
	padding-top: 0;
	color: #fff;
	font-weight: 700;
	font-size: inherit;
	text-decoration: none !important;
	white-space: nowrap;
}

/* Карточка одного товара: c_part.is_active ≠ ACTIVE — не продаём */
section#card #card-control #control-row #add-to-cart-button.add-to-cart-button--inactive,
section#card #card-control.part-kit-card .part-kit-grid__kit-btn #add-to-cart-button.add-to-cart-button--inactive,
section#card #card-control.part-kit-card .part-kit-grid__by-piece-btn #add-to-cart-button-by-piece.add-to-cart-button--inactive {
	background-color: #9a9a9a;
	cursor: not-allowed;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.12);
}

section#card #card-control #control-row #add-to-cart-button.add-to-cart-button--inactive:hover,
section#card #card-control #control-row #add-to-cart-button.add-to-cart-button--inactive:focus,
section#card #card-control.part-kit-card .part-kit-grid__kit-btn #add-to-cart-button.add-to-cart-button--inactive:hover,
section#card #card-control.part-kit-card .part-kit-grid__kit-btn #add-to-cart-button.add-to-cart-button--inactive:focus,
section#card #card-control.part-kit-card .part-kit-grid__by-piece-btn #add-to-cart-button-by-piece.add-to-cart-button--inactive:hover,
section#card #card-control.part-kit-card .part-kit-grid__by-piece-btn #add-to-cart-button-by-piece.add-to-cart-button--inactive:focus {
	background-color: #9a9a9a;
}

section#card #card-control #control-row #add-to-cart-button.add-to-cart-button--inactive #basket-text,
section#card #card-control.part-kit-card .part-kit-grid__kit-btn #add-to-cart-button.add-to-cart-button--inactive #basket-text,
section#card #card-control.part-kit-card .part-kit-grid__by-piece-btn #add-to-cart-button-by-piece.add-to-cart-button--inactive #basket-text-by-piece {
	text-align: center;
	padding-left: 0;
	padding-right: 0;
	width: 100%;
}

section#card #card-control #control-row.part-card-control--inactive #count-control,
section#card #card-control.part-kit-card #control-row-by-piece.part-card-control--inactive #count-control-by-piece {
	opacity: 0.5;
	pointer-events: none;
}


section#card #card-control #control-row #separator,
section#card #card-control.part-kit-card #control-row-by-piece #separator-by-piece {
	display: table-cell;
	width: 20px;

}


section#card #card-control #control-row #count-control,
section#card #card-control.part-kit-card #control-row-by-piece #count-control-by-piece {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	padding: 7px 5px 5px 25px;
	/* background-color: #fff; */
	border-radius: 9px;
	/* box-shadow: inset 1px 1px 3px 3px rgba(128, 128, 128, 0.2); */
	/* margin-top: -47px; */

}

section#card #card-control #control-row #count-control #dec-button,
section#card #card-control.part-kit-card #control-row-by-piece #count-control-by-piece #dec-button-by-piece {
	/* display: table-cell; */
	padding: 3px;
	/* background-color: #fff; */
	/* border-radius: 7px; */
	/* box-shadow: 1px 1px 2px 2px rgba(128, 128, 128, 0.2); */
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	/* border-radius: 3px;
	box-shadow: -1.414px -1.414px 1px 0px rgba(255, 255, 255, 0.5), 1.638px 1.147px 1px 0px rgba(0, 0, 0, 0.15); */

	background-image: url(../img/deskbtn.png);
	width: 46px;
	height: 46px;
	background-repeat: no-repeat;
	background-position: center;

}

section#basket .basket-dec-button,
.catalog .basket-dec-button {
	padding: 3px;
	/* background-color: #fff; */
	/* border-radius: 7px; */
	/* box-shadow: 1px 1px 2px 2px rgba(128, 128, 128, 0.2); */
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	/* border-radius: 3px;
	box-shadow: -1.414px -1.414px 1px 0px rgba(255, 255, 255, 0.5), 1.638px 1.147px 1px 0px rgba(0, 0, 0, 0.15); */

	background-image: url(../img/bigsmallbtn.png);
	width: 27px;
	height: 27px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

section#basket .basket-inc-button,
.catalog .basket-inc-button {
	padding: 3px;
	/* background-color: #fff; */
	/* border-radius: 7px; */
	/* box-shadow: 1px 1px 2px 2px rgba(128, 128, 128, 0.2); */
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	/* border-radius: 3px;
	box-shadow: -1.414px -1.414px 1px 0px rgba(255, 255, 255, 0.5), 1.638px 1.147px 1px 0px rgba(0, 0, 0, 0.15); */

	background-image: url(../img/bigsmallbtn.png);
	width: 27px;
	height: 27px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

section#basket .basket-control-row .count-control,
.catalog .basket-control-row .count-control {
	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;
}

.catalog .add-to-cart-button {
	/* display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center; */
		vertical-align: middle;
	        align-items: center;
	max-height: 40px;
	width: 156px;
	box-sizing: border-box;
}

section#basket .basket-control-row .count-control .basket-num-info,
.catalog .basket-control-row .count-control .basket-num-info {
	font-size: 20px;
	color: rgb(0, 0, 0);
	margin: 0 5px;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	padding: 3px;
	height: 100%;
	margin: 0;
	max-width: 35px;
	-webkit-appearance: none;
	-moz-appearance: none;
		 appearance: none;
		 text-align: center;
		 height: 37px;
}

.num-info {
	font-size: 22px;
	color: rgb(0, 0, 0);
	margin: 0 5px;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	padding: 7px;
	height: 100%;
	margin: 0;
	max-width: 60px;
	-webkit-appearance: none;
	-moz-appearance: none;
		 appearance: none;
		 text-align: center;
}

section#basket .basket-control-row .count-control .basket-num-info,
.catalog .basket-control-row .count-control .basket-num-info {
	-webkit-appearance: none;
	-moz-appearance: none;
		 appearance: none
}
section#card #card-control #control-row #count-control #inc-button,
section#card #card-control.part-kit-card #control-row-by-piece #count-control-by-piece #inc-button-by-piece {
	/* display: table-cell; */
	padding: 3px;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	background-image: url(../img/deskbtn.png);
	width: 46px;
	height: 46px;
	background-repeat: no-repeat;
	background-position: center;
}

.catalog .basket-inc-button {
	width: 27px;
	height: 27px;
	background-image: url(../img/bigsmallbtn.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}



section#card #card-control #control-row #count-control #dec-button #dec-icon,
section#card #card-control.part-kit-card #control-row-by-piece #count-control-by-piece #dec-button-by-piece #dec-icon-by-piece {

	font-size: 40px;
	font-family: "Arial", sans-serif;
	color: rgb(1, 125, 179);
	line-height: 1;
	margin-top: -4px;


}

section#basket .basket-dec-button .basket-dec-symbol, section#basket .basket-inc-button .basket-inc-symbol,
.catalog .basket-dec-button .basket-dec-symbol, .catalog .basket-inc-button .basket-inc-symbol {
	font-size: 19px;
	font-family: "Arial", sans-serif;
	color: rgb(1, 125, 179);
	line-height: 1;
	margin-top: -3px;
	font-weight: bold;

}

section#basket .basket-dec-button:hover .basket-dec-symbol, section#basket .basket-inc-button:hover .basket-inc-symbol,
.catalog .basket-dec-button:hover .basket-dec-symbol, .catalog .basket-inc-button:hover .basket-inc-symbol {
	color: #02a7f0;


}



section#card #card-control #control-row #count-control #inc-button:hover #inc-icon,
section#card #card-control.part-kit-card #control-row-by-piece #count-control-by-piece #inc-button-by-piece:hover #inc-icon-by-piece {
	color: #02a7f0;
	cursor: pointer;

}

section#card #card-control #control-row #count-control #dec-button:hover #dec-icon,
section#card #card-control.part-kit-card #control-row-by-piece #count-control-by-piece #dec-button-by-piece:hover #dec-icon-by-piece {
	color: #02a7f0;

}

section#card #card-control #control-row #count-control #dec-button:hover #dec-icon,
section#card #card-control.part-kit-card #control-row-by-piece #count-control-by-piece #dec-button-by-piece:hover #dec-icon-by-piece {
	cursor: pointer;
}



section#card #card-control #control-row #count-control #inc-button #inc-icon,
section#card #card-control.part-kit-card #control-row-by-piece #count-control-by-piece #inc-button-by-piece #inc-icon-by-piece {
	font-size: 40px;
	font-family: "Arial", sans-serif;
	color: rgb(1, 125, 179);
	line-height: 2.175;
	-moz-transform: matrix(0.86474141907742, 0, 0, 0.88395788581341, 0, 0);
	-webkit-transform: matrix(0.86474141907742, 0, 0, 0.88395788581341, 0, 0);
	-ms-transform: matrix(0.86474141907742, 0, 0, 0.88395788581341, 0, 0);



}

section#card #card-control #control-row #count-control #num-info,
section#card #card-control #control-row #count-control #basket-num-info,
section#card #card-control.part-kit-card #control-row-by-piece #count-control-by-piece #basket-num-info-by-piece {
	display: table-cell;
	padding: 5px 5px 5px 5px;
	background-color: rgba(0, 0, 0, 0.0);
	border-radius: 7px;
	width: 60px;
	text-align: center;
	font-size: 36px;
	font-family: "Arial", sans-serif;
	color: rgb(0, 0, 0);
	line-height: 1.2;
	-moz-transform: matrix(0.86474141907742, 0, 0, 0.88395788581341, 0, 0);
	-webkit-transform: matrix(0.86474141907742, 0, 0, 0.88395788581341, 0, 0);
	-ms-transform: matrix(0.86474141907742, 0, 0, 0.88395788581341, 0, 0);


}

/* Карточка комплекта: CSS Grid 4×2 — левая колонка шире (1fr), правая по контенту (auto) */
section#card #card-control.part-kit-card .part-kit-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	-webkit-column-gap: 12px;
	   -moz-column-gap: 12px;
	        column-gap: 12px;
	row-gap: 0.4em;
	overflow: visible;
	padding-top: 30px;
	padding-left: 15px;
	padding-right: 15px;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: start;
}

section#card #card-control.part-kit-card .part-kit-grid form.part-kit-form-kit,
section#card #card-control.part-kit-card .part-kit-grid form.part-kit-form-by-piece {
	display: contents;
}

section#card #card-control.part-kit-card .part-kit-grid form > input[type="hidden"] {
	display: none;
}

section#card #card-control.part-kit-card .part-kit-grid__stock {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	gap: 0 4px;
}

section#card #card-control.part-kit-card .part-kit-grid__empty {
	min-height: 0;
	margin-top: 0.6em;
}

section#card #card-control.part-kit-card .part-kit-logical-block--whole {
	text-align: right;
	-ms-flex-item-align: start;
	    align-self: start;
	justify-self: stretch;
	width: 100%;
	min-width: 0;
	max-width: 260px;
}

section#card #card-control.part-kit-card .part-kit-logical-block--whole .part-kit-block-label {
	display: block;
	font-size: 13px;
	font-weight: bold;
	text-align: right;
	margin-bottom: 4px;
}

section#card #card-control.part-kit-card .part-kit-logical-block--whole #price {
	display: block;
	padding-left: 0;
	padding-top: 0px;
	margin-top: 0px;
	color: #333333;
	font-weight: normal;
	font-size: 32px;
	line-height: 28px;
	text-align: right;
	width: auto;
}

section#card #card-control.part-kit-card .part-kit-logical-block--by-piece {
	text-align: right;
	-ms-flex-item-align: start;
	    align-self: start;
	justify-self: stretch;
	width: 100%;
	min-width: 0;
	max-width: 260px;
	margin-top: 0.6em;
	margin-bottom: 0;
	box-sizing: border-box;
}

section#card #card-control.part-kit-card .part-kit-logical-block--by-piece .part-kit-block-label {
	display: block;
	font-size: 13px;
	font-weight: bold;
	text-align: right;
	margin-bottom: 4px;
	overflow: visible;
}

section#card #card-control.part-kit-card .part-kit-logical-block--by-piece #price-by-piece {
	display: block;
	color: #333333;
	font-weight: normal;
	font-size: 32px;
	line-height: 28px;
	text-align: right;
	width: auto;
}

section#card #card-control.part-kit-card .part-kit-grid__kit-btn #add-to-cart-button,
section#card #card-control.part-kit-card .part-kit-grid__by-piece-btn #add-to-cart-button-by-piece {
	margin-left: auto;
	margin-right: 0;
}

section#card #card-control.part-kit-card .part-kit-grid__kit-btn,
section#card #card-control.part-kit-card .part-kit-grid__by-piece-btn {
	-ms-flex-item-align: center;
	    align-self: center;
	text-align: right;
}

/* Обычная детальная карточка: та же сетка, без подписи «Комплект» — цена по вертикали к наличию */
section#card #card-control.card-single-part .part-kit-logical-block--whole {
	-ms-flex-item-align: center;
	    align-self: center;
}



section#card h3 {
	padding-bottom: 0;
}


section#card p,
ul,
ol {
	text-align: justify;
	padding-bottom: 5px;
}

section#card ul,
ol {
	text-align: justify;
	padding-left: 35px;
	margin-left: 0px;
}


section#card ul li {
	text-align: justify;
	padding-bottom: 15px;
}

section#card ol li {
	text-align: justify;
	padding-bottom: 15px;
}

section.catalog {}

section.catalog .catalog-row {
	display: table;
	padding: 20px 24px;
	border-bottom: 1px solid #eee !important;
}

section.catalog .catalog-col-image {
	display: table-cell;
}

section.catalog .catalog-col-info {
	display: table-cell;
}

section.catalog-col-control {
	display: table-cell;
}


footer {
	width: auto;
}

#footer-delimiter {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	width: auto;
	height: 22px;
	margin-top: 20px;
	background-image: url('../img/prefooter.png');
	background-position: 0 0;
	background-repeat: no-repeat repeat-y;

}

#footer-body {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	padding-top: 43px;
	position: relative;
	width: auto;
	/* height: 250px; */
	background-image: url('../img/footer-body.png');
	background-position: 0 0;
	background-repeat: no-repeat repeat-y;

}

#footer-body p.copyright {
	font-size: 12px;
	padding-top: 27px;
	text-align: center;
	color: #fff;
	padding-bottom: 10px;
}

#footer-body #footer-row {
	display: table;
	width: auto;
	/*1160px;*/
	height: 170px;
	margin: 0 auto;
	position: relative;
}

.basket-icon {
	width: 44px;
	height: 36px;
	margin: 0px auto;
	top: -2px;
	position: relative;
	background-image: url('../img/basket.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;

}

/* Счётчик корзины: «таблетка» растёт по ширине текста (не фиксированный круг) */
.basket-count {
	min-width: 20px;
	min-height: 20px;
	padding: 0 6px;
	background-color: #017db3;
	border-radius: 10px;
	margin-top: 0;
	margin-left: 24px;
	color: #fff;
	font-size: 14px;
	line-height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

#card.main .num-info {
	margin-left: -5px;
}

#card.main #card-control #control-row #count-control #inc-button,
#card.main #card-control.part-kit-card #control-row-by-piece #count-control-by-piece #inc-button-by-piece,
section#basket .basket-inc-button, .catalog .basket-inc-button {
	margin-left: -6px;
}

@media screen and (max-width: 1160px) {

	#footer-body #footer-row {
		width: auto;
		padding: 0 18px;
	}
}

#footer-body #footer-row .footer-block-bg {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	background-color: #017db3;
	width: 180px;
	height: 209px;
	position: relative;
	margin-top: -6px;
}

#footer-body #footer-row .footer-block-bg .footer-block {
	width: 180px;
	height: 170px;
	position: relative;
	border-radius: 5px;
	border: 1px solid rgba(1, 125, 179, 0.6);
	box-shadow: inset 1px 1px 2px 1px rgba(0, 100, 100, 0.5), inset -1px -1px 2px 1px rgba(255, 255, 255, 0.2);

	padding: 3px 3px 3px 3px;
}

#footer-body #footer-row .footer-block-bg .footer-block .footer-block-caption {
	width: 120px;
	height: 24px;
	margin: -12px auto;
	text-align: center;
	position: relative;
}

#footer-body #footer-row .footer-block-bg .footer-block .footer-block-caption span {
	background-color: #017db3;
	padding: 3px 5px 3px 5px;
	color: #fff;
	font-weight: bold;
	text-align: center;
}

#footer-body #footer-row .footer-block-bg .footer-block ul {
	list-style: none;
	margin-left: 20px;
	margin-top: 20px;
}

#footer-body #footer-row .footer-block-bg .footer-block ul li:before {
	content: '- ';

}

#footer-body #footer-row .footer-block-bg .footer-block ul a {
	text-decoration: none !important;
	color: #fff;
	font-size: 14px;
	line-height: 24px;
}

#footer-body #footer-row .footer-block-bg .footer-block ul a:hover,
#footer-body #footer-row .footer-block-bg .footer-block ul a li:hover {
	text-decoration: underline;
	color: #02a7f0;
}


#footer-body #footer-row .footer-block-bg .footer-block ul a li {
	text-decoration: none !important;
	color: #fff;
}



#footer-body #footer-row .footer-delimiter {
	display: table-cell;
	width: 240px;
	height: 100%;
}

#footer-body #footer-row .footer-center-bg {
	display: table-cell;
	width: 250px;

	background-color: #017db3;
	height: 170px;
	position: relative;
}

#footer-body #footer-row .footer-center-bg .footer-center {
	height: 164px;
	position: relative;
	border-radius: 5px;
	border: 1px solid rgba(1, 125, 179, 0.6);
	box-shadow: inset 1px 1px 2px 1px rgba(0, 100, 100, 0.5), inset -1px -1px 2px 1px rgba(255, 255, 255, 0.2);

	padding: 3px 3px 3px 3px;
	margin-top: -10px;
}

#footer-body #footer-row .footer-center-bg .footer-center .footer-center-caption {

	width: 153px;
	height: 30px;
	margin: -17px auto;
	position: relative;
	background-color: #017db3;
	background-image: url('../img/footer-logo.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;

}

#footer-body #footer-row .footer-center-bg .footer-center .footer-contact-row {
	display: table;
	color: #fff !important;
	margin: 0 auto;
	font-size: 14px;
	height: 30px;

}

#footer-body #footer-row .footer-center-bg .footer-center .footer-contact-row a {

	color: #fff !important;
	text-decoration: none;


}


#footer-body #footer-row .footer-center-bg .footer-center .footer-contact-row #contact-mail {
	display: table-cell;
	width: 16px;
	height: 16px;
	background-image: url('../img/footer-mail.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
	padding-right: 20px;

}

#footer-body #footer-row .footer-center-bg .footer-center .footer-contact-row #contact-phone {
	display: table-cell;
	width: 16px;
	height: 16px;
	background-image: url('../img/footer-phone.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
	padding-right: 20px;
}

#footer-body #footer-row .footer-center-bg .footer-center h3 {
	text-align: center;
	color: #fff;
	font-size: 15px;
	margin-bottom: 5px;
}

#footer-body #footer-row .footer-center-bg .footer-center #soc-container {
	display: table;
	width: 218px;
	margin: 0 auto;
	padding: 0 0 0 0;
	border-width: 0px;
}

#footer-body #footer-row .footer-center-bg .footer-center #soc-container .soc-btn-bg, .soc-btn-bg {
	display: table-cell;
	width: 27px;
	height: 27px;
	background-image: url('../img/soc-btn-bg.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
	padding: 12px 12px 12px 12px;
	position: relative;
}

#footer-body #footer-row .footer-center-bg .footer-center #soc-container .soc-btn-bg:hover, .soc-btn-bg:hover {
	background-position: -51px 0;
}

#footer-body #footer-row .footer-center-bg .footer-center #soc-container .soc-btn-bg #tg, #tg {
	width: 27px;
	height: 27px;
	background-image: url('../img/tg.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
	position: relative;
}

#footer-body #footer-row .footer-center-bg .footer-center #soc-container .soc-btn-bg #fb, #fb {
	width: 27px;
	height: 27px;
	background-image: url('../img/fb.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
	position: relative;
}

#footer-body #footer-row .footer-center-bg .footer-center #soc-container .soc-btn-bg #yt, #yt {
	width: 27px;
	height: 27px;
	background-image: url('../img/yt.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
	position: relative;
}

#footer-body #footer-row .footer-center-bg .footer-center #soc-container .soc-btn-bg #vk, #vk {
	width: 27px;
	height: 27px;
	background-image: url('../img/vk.png');
	background-position: 0 0;
	background-repeat: no-repeat no-repeat;
	position: relative;
}

#footer-body #footer-row .footer-center-bg .footer-center #soc-container .soc-btn-bg #rt, #rt {
    width: 27px;
    height: 27px;
    background-image: url('../img/rt.png');
    background-position: 0 0;
    background-repeat: no-repeat no-repeat;
    position: relative;
}

#footer-body #footer-row .footer-center-bg .footer-center #soc-container .soc-btn-bg #dz, #dz {
    width: 27px;
    height: 27px;
    background-image: url('../img/dz.png');
    background-position: 0 0;
    background-repeat: no-repeat no-repeat;
    position: relative;
}





details.soc-details {
	display: none;
	color: #fff;
	text-align: center;
	font-size: 14px;
}

details.soc-details .details-container {
	width: 100px;
	margin: 0 auto;
	padding-top: 15px;
}

details.soc-details .details-container a {
	color: #fff;
	text-align: left;
	line-height: 28px;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}

details.soc-details .details-container a:hover {
	font-decoration: underline;
}

.footer-block-bg:first-child {
	/* margin-left: -21px; */
}

.footer-block-bg:last-child {
	margin-left: 56px;
}

#header-basket-container-mobile {
	display: none;
}

.h-100.v-center {
	height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

@media screen and (max-width: 1024px) {
	section#card #card-control {
		margin-right: 35px;
	}

	header {
		background: none;
	}

	header #header-basket-container,
	header #header-login-container {
		display: none;
	}

	#top-contacts-container #top-contacts {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 50;
		box-sizing: border-box;
	}

	#top-contacts-container #top-contacts #contacts-tab-phone {
		display: none;
	}

	#top-contacts-container #top-contacts #contacts-tab-write {
		display: none;
	}

	#header-basket-container-mobile {
		display: inline-flex;
		float: right;
		margin-right: 30px;
		gap: 8px;
		align-items: center;
	}

	/* Счётчик якорится правым краем к иконке — при росте расширяется только влево */
	#header-basket-container-mobile .basket-icon {
		position: relative;
	}

	#header-basket-container-mobile .basket-count {
		position: absolute;
		right: 0;
		top: 0;
		left: auto;
		margin-left: 0;
		white-space: nowrap;
	}

	#header-basket-container-mobile .header-login-mobile .basket-box .login-text {
		color: #017db3;
		font-size: 14px;
		font-weight: bold;
	}

	#footer-body #footer-row .footer-block-bg .footer-block ul {
		margin-left: 10px;
		margin-right: 10px;
	}

	#top-contacts-container #top-contacts #small-logo {
		display: table-cell;
	}

	header {
		/*	background-image: none;*/
	}


	header #header-logo {
		display: none;
		width: 260px;
		margin-left: 10px;

	}

	header #header-car {
		display: block;
		padding: 0 0;
		margin: 0 auto;
		width: 464px;
		margin-top: 10px !important;
	}

	header #header-basket-container,
	header #header-login-container {
		display: table-cell;
		padding-right: 20px;
		width: 134px;
	}

	#header-basket-container,
	#header-login-container {
		display: none !important;
	}

	section#card #card-control {
		padding: 10px 20px;
		box-sizing: border-box;
	}

	section#card #card-control #card-image .catalog-image {
		width: auto;
		max-width: 100%;
	}

	section#card #card-control #card-image {
		width: auto;
		max-width: 100%;

	}

	section#card #card-control #card-image.gallery_scroller {
		width: 100% !important;
	}

	section#card #card-control #card-image .image-zoom {
		margin-left: 0;
		float: right;
		margin-right: 10px;
	}

	section#card #card-control #card-info-container {
		margin-bottom: 30px;
	}

	section#card #card-control #card-info-container #price {
		width: auto;
		float: right;
		margin-left: auto;
	}

	section#card #card-control.part-kit-card .part-kit-logical-block--whole {
		width: auto;
		max-width: none;
		float: none;
		margin-left: 0;
	}

	section#card #card-control #card-info-container {
		display: -webkit-box !important;
		display: -ms-flexbox !important;
		display: flex !important;
		-webkit-box-align: center !important;
		    -ms-flex-align: center !important;
		        align-items: center !important;

	}

	section#card #card-control #card-info-container #instock-icon,
	section#card #card-control.part-kit-card .part-kit-grid__stock #instock-icon {
		height: auto;
	}

	section#card #card-control #control-row #add-to-cart-button,
	section#card #card-control.part-kit-card .part-kit-grid__kit-btn #add-to-cart-button,
	section#card #card-control.part-kit-card .part-kit-grid__by-piece-btn #add-to-cart-button-by-piece {
		padding: 10px 7px 10px 8px;
	}


}




@media screen and (max-width: 768px) {

	.column-mobile {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		grid-row-gap: 20px;
	}
	section#basket {
		width: auto;
	}
	#top-contacts-container #top-contacts {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 50;
		box-sizing: border-box;
		box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.0);
	}

	#top-contacts-container #top-contacts #mobile-button-menu {
		padding-right: 30px;
		display: table-cell;
	}

	#top-contacts-container #top-contacts #small-logo {
		width: 170px !important;
		background-size: contain;
		background-position: center;
		margin: 0 10px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}

	#top-contacts-container #top-contacts #contacts-tab-phone {
		display: none;
	}

	#top-contacts-container #top-contacts #contacts-tab-write {
		display: none;
	}

	header {
		margin-top: 0px;
		background-image: none;
	}

	nav #nav-bg {
		width: 100%;
		height: 10px;
		/* margin-left: -10px; */
		border-radius: 0px !important;
		background-image: none;
		background-color: #007eb1;
	}


	nav #nav-shadow {
		display: none;
	}


	#main-menu {
		display: none;
		margin: 0 auto;
		position: absolute;
		top: 70px;
		left: 0;
		width: 100%;
		border: 1px solid #333;
		background-color: #fff;
		z-index: 1000;
	}

	.menu-item-active {
		display: block;
		margin-top: 0px;
		padding: 13px 25px 13px 25px;
		background-color: #007eb1;
		font-size: 34px;
		font-weight: bold;
	}

	.menu-item-active a {
		color: #fff;
		text-decoration: none !important;
	}


	.menu-item-inactive {
		display: block;
		padding: 15px 25px 15px 25px;
		background-color: rgba(0, 0, 0, 0.0);
		font-size: 34px;
		font-weight: bold;
	}

	.menu-item-inactive a:hover {
		text-decoration: underline;
		/*background-color: rgba(0,126,177, 0.2);*/
	}


	.menu-item-inactive a {
		color: #02a7f0;
		text-decoration: none !important;
		white-space: nowrap;
	}

	section#card {
		height: auto;
		margin: 0 auto 30px;
		border-top: 1px solid #eeeeee !important;
		border-left: 1px solid #eeeeee !important;
		border-right: 1px solid #c4c4c4 !important;
		border-bottom: 1px solid #c4c4c4 !important;
		box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
		border-radius: 12px;
		background: #f9f9f9;
		box-sizing: border-box;
	}

	section#card #card-control {
		border-radius: 0px;

		float: none;
		margin-right: 0px;
		padding-bottom: 20px;
		margin: 0 auto;
	}

	section#card #card-control #card-image {
		width: auto;
		margin: 0px auto;

	}

	section#card #card-control #card-image .catalog-image {
		width: auto;

		margin: 0 0 0 0;
		padding: 0 0 0 0;
		border: 1px solid rgba(0, 0, 0, 0.0);
	}

	section#card .order-row .order-col {
		display: block;
		width: auto;
	}

	footer {
		width: 100%;
		display: block;
		/* margin: 0 auto; */
		padding: 0 0 0 0;
		height: auto;
		background-color: #017db3;

	}

	#footer-delimiter {
		margin: 0 0 0 0;
		padding: 0 0 0 0;
		/*	width: 100%;	*/
	}

	#footer-body {
		/*	margin: 0 0 0 0;
	padding: 0 0 0 0;*/

		/*	width: 100%;	*/
		height: auto;
		/* background-image: none; */
		background-color: #017db3;
	}

	#footer-body p.copyright {
		padding-top: 25px;
		padding-bottom: 15px;
	}

	details.soc-details {
		font-size: 19px !important;
	}


	#footer-body #footer-row {
		/*	width: 100%;*/
		/*	padding: 0px 20px 0 20px;*/
		height: auto;
	}

	#footer-body #footer-row .footer-center-bg {
		height: auto;
	}

	#footer-body #footer-row .footer-center-bg .footer-center {
		height: auto;
	}


	#footer-body #footer-row .footer-block-bg {
		display: none;
	}

	#footer-body #footer-row .footer-delimiter {
		display: none;
	}

	#footer-body #footer-row .footer-center-bg .footer-center #soc-container {
		display: none;
	}


	details.soc-details {
		display: block;
		color: #fff;
		text-align: left;
		font-size: 24px;
		padding-bottom: 10px;
		padding-left: 40px;
	}

	details.soc-details .details-container {
		width: 240px;
		margin: 0 auto;
		padding-bottom: 10px;
	}

	details.soc-details .details-container a {
		color: #fff;
		text-align: left;
		font-size: 14px;
		line-height: 28px;
		margin: 0 0 0 0;
		padding: 0 0 0 0;
	}

	details.soc-details .details-container a:hover {
		font-decoration: underline;
	}


	header #header-car {
		width: 406px;
		height: 148px;
		margin-left: 30px;

		display: block;
		background-image: url('../img/header-mobile-car.png');
		background-position: 0 0;
		background-repeat: no-repeat no-repeat;

	}

	header #header-basket-container {
		background: rgba(255, 255, 255, 0.0);
		padding-left: 0px;
	}





	header #header-basket-container #basket-bg #basket-box {
		width: 30px;
		height: 40px;
		margin-top: -35px;
		margin-left: -40px;
		box-shadow: none;

		border-radius: 0px;
		background: none;
	}

	header #header-basket-container #basket-bg #basket-box #basket-icon {
		width: 44px;
		height: 35px;
		margin: 0px auto;
		top: 0px;
		position: relative;
		background-image: url('../img/basket.png');
		background-position: 0 0;
		background-repeat: no-repeat no-repeat;

	}

	header #header-basket-container #basket-bg #basket-box:hover #basket-icon {
		background-image: url('../img/basket-hover.png');
	}

	header #header-basket-container #basket-bg #basket-box #basket-sum {
		display: none;
	}

	section#card .text-wrap {
		margin-left: 0;
	}

	section#card .reviews_and_statements {
		float: none;
		margin-top: 0;
	}

	section#card .reviews_and_statements p {
		line-height: 1.3333;

	}

	section#card #card-control {
		margin-bottom: 25px;
	}

	#top-contacts-container #top-contacts {

		border-radius: 5px;

		box-shadow: -2.828px -2.828px 4px 0px rgba(255, 255, 255, 0.5), 2.828px 2.828px 6px 0px rgba(0, 0, 0, 0.2);
		margin-bottom: 10px;

		display: -webkit-box;

		display: -ms-flexbox;

		display: flex;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		-webkit-box-pack: justify;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
	}

	header #header-car {
		margin-top: 20px !important;
		margin-left: auto;
	}

	#top-contacts-container #top-contacts #mobile-button-menu {
		width: 20px;
		height: 23px;
		background-position: center;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		background-size: contain;
	}

	section#card #card-control #card-image .catalog-image {
		max-width: 100%;
		-o-object-fit: contain;
		   object-fit: contain;
		width: 100%;
	}

	section#basket .basket-dec-button, section#basket .basket-inc-button,
	.catalog .basket-dec-button, .catalog .basket-inc-button {
		width: 45px;
		height: 45px;

	}

	.catalog .add-to-cart-button {
		padding: 13px 10px 13px 10px;
	}

	#footer-body #footer-row .footer-center-bg {

		width: 290px;
	
	}

	#footer-body {
		background-repeat-y: no-repeat;
	}

	#footer-body p.copyright {
		padding-top: 50px;
	}

	.sum-footer, .soc-details {
		text-align: center !important;
		padding-left: 0 !important;
		
	}

	.details-container a {
		text-align: center !important;
	}

	.catalog .basket-control-row .count-control .basket-num-info {
		height: 37px !important;
	}
	section#basket .basket-row .basket-row-control .basket-row-item-count .count-control .basket-num-info {
		height: 38px !important;
	} 
}

@media screen and (max-width: 700px) {
	#top-contacts-container #top-contacts #small-logo {
		width: 170px !important;
		background-size: contain;
		background-position: center;
		margin: 0 10px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}

	header #header-car {
		background-size: contain;
		width: 89%;
		margin-left: 0;
		margin: 0 20px;
		background-position: center;
	}


	#top-contacts-container #top-contacts {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		-webkit-box-pack: justify;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
	}

	#bread-crumb #path-crumb a {
		font-size: 10px;
	}

	#bread-crumb #path-crumb:hover a {
		font-size: 10px;
	}

	section#card #card-control {
		width: auto;
	}

	section#card #card-control #card-image {
		position: relative;
	}

	section#card #card-control #card-image .image-zoom {
		float: right;
		margin-left: 0;
		margin-right: 15px;
		position: absolute;
		right: 0px;
	}

	section.catalog .catalog-row {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		            -ms-grid-row-align: center;
		        align-items: center;
	}

	section.catalog .catalog-row .catalog-col-image {
		margin: 0 auto;
		margin-bottom: 15px;
		width: 273px;
		/*height: 177px;*/
	}

	section.catalog .catalog-row .catalog-col-control {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: revert;
		        flex-direction: revert;
		width: 100%;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		margin-left: 5px;
	}
	section.catalog .catalog-row {
		padding-left: 10px;
		padding-right: 10px;
		box-sizing: border-box;
	}




    .catalog {
        margin-bottom: 30px;
    }

    section.catalog .catalog-row:last-child {
        border-bottom: none !important;
    }

	section#card .order-row .order-col .group-box {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		grid-row-gap: 10px;
	}

	section#card .order-row .order-col textarea[name="comment"] {
		height: 90px !important;
	}

	section#card .order-row .order-col .text-field-input {
		box-sizing: border-box;
		min-height: 43px;
	}

	section#card .order-row .order-col {
		padding: 0 !important;
	}


}

@media screen and (max-width: 320px) {
	section#card #card-control #control-row {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}

	section#card #card-control #control-row>a {
		-webkit-box-ordinal-group: 2;
		    -ms-flex-order: 1;
		        order: 1;
	}

	section#card #card-control #control-row>#count-control {
		-webkit-box-ordinal-group: 1;
		    -ms-flex-order: 0;
		        order: 0;
	}

	section#card #card-control.part-kit-card #control-row-by-piece {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		    -ms-flex-direction: row;
		        flex-direction: row;
		-webkit-box-ordinal-group: 1;
		    -ms-flex-order: 1;
		        order: 1;
	}

	section#card #card-control #card-info-container {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}

	section#card #card-control #card-info-container #price {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		width: auto;
	}

	section#card #card-control.part-kit-card .part-kit-grid {
		grid-template-columns: 1fr;
	}

	section#card #card-control.part-kit-card .part-kit-grid__kit-btn {
		-webkit-box-ordinal-group: 2;
		    -ms-flex-order: 2;
		        order: 2;
	}

	section#card #card-control.part-kit-card .part-kit-grid__by-piece-btn {
		-webkit-box-ordinal-group: 2;
		    -ms-flex-order: 2;
		        order: 2;
	}

	section#card #card-control.part-kit-card #control-row {
		-webkit-box-ordinal-group: 1;
		    -ms-flex-order: 1;
		        order: 1;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		    -ms-flex-direction: row;
		        flex-direction: row;
	}

	section#card #card-control.part-kit-card .part-kit-logical-block--whole #price,
	section#card #card-control.part-kit-card .part-kit-logical-block--by-piece #price-by-piece {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		width: auto;
	}

	section#card #card-control #control-row>#count-control {
		padding-left: 5px;
	}

	section#card #card-control.part-kit-card #control-row-by-piece>#count-control-by-piece {
		padding-left: 5px;
	}

    section.catalog .catalog-row .catalog-col-control p.price {
        font-size: 19px;
        font-weight: bold;
    }
}

@media screen and (max-width: 900px) {
	section.catalog .catalog-row .catalog-col-info {
		padding: 15px 0 20px 0;
	}



	
	
}


/* Корзина: одна «мобильная» вёрстка для планшета и телефона (≤1160px) */
@media screen and (max-width: 1160px) {

	section#basket .basket-row .basket-row-item-image {
		border: none !important;
	}

	section#basket .basket-row .basket-row-item-icon .icon-trash {
		position: absolute;
		top: 0;
		right: 13px;
	}
	section#basket #basket-header {
        display: none;
    }
    section#basket .basket-row {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        border-bottom: 10px solid #fff !important;
        padding-bottom: 0;
		-webkit-box-align: baseline;
		    -ms-flex-align: baseline;
		            -ms-grid-row-align: baseline;
		        align-items: baseline;
    }
    section#basket .basket-row .basket-row-item-name, section#basket #basket-header .basket-header-item-name {
        width: 55%;
    }

	section#basket .basket-row .basket-row-control {
		display: block;
		margin: 0 auto;
		border-top: 1px solid #c4c4c4 !important;
		border-left: 1px solid #c4c4c4 !important;
		border-right: 1px solid #eeeeee !important;
		border-bottom: 1px solid #eeeeee !important;
		box-shadow: 1px 1px 1px 1px rgb(0 0 0 / 10%);
		padding-top: 30px;
		padding-left: 20px;
		padding-bottom: 20px;
		padding-right: 20px;
		border-radius: 12px;
	}

	section#basket .basket-row .basket-row-control .basket-row-item-price .title, section#basket .basket-row .basket-row-control .basket-row-item-count .title, section#basket .basket-row .basket-row-control .basket-row-item-total .title {
		display: block !important;
		text-align: left;
		width: 150px;
		min-width: 150px;
		font-size: 14px;
		line-height: 28px;
		color: #017db3;
	}

	section#basket .basket-row .basket-row-control .basket-row-item-count {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
	}

	section#basket .basket-row .basket-row-control {
		margin-top: 30px !important;
		margin-bottom: 30px !important;
		min-width: auto;
		box-sizing: border-box;
		width: 90%;
	}

	section#basket .basket-row .basket-row-item-name, section#basket #basket-header .basket-header-item-name {
		width: 100%;
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}

	.basket-row-item-name .title {
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	

	section#basket .basket-row .basket-row-control .basket-row-item-price .title, section#basket .basket-row .basket-row-control .basket-row-item-count .title, section#basket .basket-row .basket-row-control .basket-row-item-total .title {
		min-width: auto !important;
		width: 110px;
	}

	section#basket .basket-control-row {
		margin-right: 0 !important;
	}

	section#basket .basket-row .basket-row-item-icon {
		position: absolute;
		right: 0;
	}
	#basket-panel .basket-panel-item, #basket-panel {
		width: auto;
		min-width: auto;
	}

	section#basket .basket-row {
		position: relative;
	}

	section#basket .basket-row .basket-row-item-image .catalog-image {
		width: 100% !important;
	
	}

	section#basket .basket-row .basket-row-item-image {
		width: 100% !important;
		max-width: 230px;
		box-sizing: border-box;
	}

	section#basket .basket-row .basket-row-item-name, section#basket #basket-header .basket-header-item-name {
		border-bottom: none !important;
	}

	section#basket .basket-row .basket-row-control .basket-row-item-total {
		border-bottom: none !important;
	}

	section#basket .basket-control-row {
		margin-left: auto;
	}

	section#basket p {
		font-size: 13px;
	}

	section#basket .basket-row {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}

	section#basket .basket-row .basket-row-control .basket-row-item-count, section#basket .basket-row .basket-row-control .basket-row-item-price .value, section#basket .basket-row .basket-row-control .basket-row-item-total {
		margin-left: auto;
		margin-right: 0;
	}
	section#basket .basket-row .basket-row-control .basket-row-item-total .value {
		margin-left: auto;
	}

	section#basket .basket-row .basket-row-control .basket-row-item-price,
	section#basket .basket-row .basket-row-control .basket-row-item-count,
	section#basket .basket-row .basket-row-control .basket-row-item-total {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		min-width: 0;
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}

	section#basket .basket-row .basket-row-control .basket-row-item-price .value,
	section#basket .basket-row .basket-row-control .basket-row-item-total .value {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		min-width: 0;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		-webkit-box-align: end;
		    -ms-flex-align: end;
		        align-items: flex-end;
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
		text-align: right;
	}

}
@media screen and (max-width: 450px) {
    .catalog-col-control {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        box-sizing: border-box;
    }

    .catalog-col-control > a {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 100%;
    }
    .catalog .add-to-cart-button {
        width: 100%;
        padding-left: 60px;
        padding-right: 60px;
        margin: 0;
        margin-top: 15px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    .add-to-cart-button .basket-icon {
        top: 6px;
    }

    section#card #card-control .basket-icon {
        margin: 0;
    }

    section#card #card-control.part-kit-card .part-kit-grid {
        padding-left: 0;
        padding-right: 0;
        margin-left: -14px;
        margin-right: -14px;
    }

    section#card #card-control.part-kit-card .part-kit-grid__stock #instock-comment {
        margin-left: 0;
    }

    section#basket .basket-control-row,
    .catalog .basket-control-row {
        margin-left: auto;
        margin-right: 40px !important;

    }
    section.catalog .catalog-row .catalog-col-control p.price {
        margin-left: 40px;
    }
}


#menu {
	background-color: #f6f6f6;
	width: 85vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: -100%;
	color: #fff;
	z-index: 9999999;
	padding-top: 50px;
	/* position: relative; */
  }

  #menu .closemenu {
	  width: 35px;
	  height: 35px;
	  position: absolute;
	  top: 10px;
	  right: 5px;
	  cursor: pointer;
  }

  #menu .menu-item-inactive {
	  display: -webkit-box;
	  display: -ms-flexbox;
	  display: flex;
  }

  #menu a {
	  font-size: 18px !important;
  }

  #menu .menu-item-active {
	  display: -webkit-box !important;
	  display: -ms-flexbox !important;
	  display: flex !important;
  }

  .ui-loader{
	  display: none !important;
  }

  span.blue {
	  color: #02A7F0
  }

  label[for="processing"] {
	  -webkit-box-align: start;
	      -ms-flex-align: start;
	              -ms-grid-row-align: flex-start;
	          align-items: flex-start;
  }

  .order-checkbox ~ label:before {
	  margin-right: 20px;
  }

  details[open] div {
	-webkit-animation: spoiler 1s;
	        animation: spoiler 1s;
  }
  @-webkit-keyframes spoiler {
	0%   {opacity: 0;-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";}
	100% {opacity: 1;-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";}
  }
  @keyframes spoiler {
	0%   {opacity: 0;-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";}
	100% {opacity: 1;-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";}
  }

  .flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.columns-input > div {
	-ms-flex-preferred-size: 50%;
	    flex-basis: 50%;
	margin-right: 20px;

}

.columns-input > div:last-child {
	margin-right: 0;

}

.columns-input input {
	box-sizing: border-box;
	min-height: 43px;
}

.formpage textarea {
	box-sizing: border-box;
	min-height: 80px;
}

@media screen and (max-width: 768px) {
	.columns-input > div {
		-ms-flex-preferred-size: 100%;
		    flex-basis: 100%;
		margin-right: 0;
	}
}

input[type="radio"]+label:before {
	background-image: url(../img/radiobutton.png);
}

input[type="radio"]:checked+label:before {
	background-image: url(../img/radiobutton_checked.png);
}

.no-bg {
	background-color: transparent !important;
}

.add-to-cart-button.edit {
	background-color: #00b464;
	text-align: center;
}
.add-to-cart-button.edit:hover {
	background-color: #00e664;
}


#add-to-cart-button.edit,
#checkout-button.edit {
	background-color: #00b464 !important;
	text-align: center;
}
#add-to-cart-button.edit:hover,
#checkout-button.edit:hover {
	background-color: #00e664 !important;
}

.CDEK-widget__choose{
    background: green !important;
}

.CDEK-widget__popup-mask{
    z-index: 101;
}

/* Затемнение фона */
.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
}

.cookie-notification {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 350px;
	max-width: 350px;
	background: white;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	padding: 15px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 1000;
}

.cookie-content {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cookie-cat-wrapper {
	width: 100%;
	position: relative;
	z-index: 2;
}

.cookie-cat {
	display: block;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	height: auto;
	min-width: 0;
	margin-bottom: -25%; /* поднимает котика вверх на 50% его высоты (половина видна над блоком) */
	transform: translateY(-50%);
	z-index: 2;
}

.cookie-text-btn-wrapper {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 1;
}

.cookie-text-btn-wrapper p {
	margin: 0.5em 0 0 0;
	font-size: 0.9em;
	text-align: center;
}

.cookie-accept-btn {
	padding: 8px 15px;
	background: white;
	color: #0178af;
	border-radius: 5px;
	cursor: pointer;
	margin-top: 1em;
	box-shadow: 0 0 1px #0178af;
	font-weight: bold;
	align-self: center;
	max-width: 90%;
	word-break: break-word;
	white-space: nowrap;
	font-size: 1em;
}

.cookie-accept-btn:hover {
	box-shadow: 0 0 3px #0178af;
}

@media (max-width: 900px) {
	.cookie-notification {
		width: 100vw;
		max-width: 100vw;
		left: 0;
		right: 0;
		bottom: 0;
		border-radius: 10px 10px 0 0;
	}
	.cookie-cat {
		max-width: 90vw;
	}
	.cookie-text-btn-wrapper p {
		font-size: 1.1em;
	}
	.cookie-accept-btn {
		font-size: 1.2em;
	}
	/*@media (max-height: 600px) {*/
	/*	.cookie-cat {*/
	/*		max-width: 25vw;*/
	/*		min-width: 40px;*/
	/*	}*/
	/*}*/
}

/* Стили для страницы онлайн-платежей */
.payment-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 20px;
	font-family: "Open Sans", sans-serif;
}

.payment-container h1 {
	color: #333;
	margin-bottom: 10px;
	text-align: center;
}

.payment-container > p {
	text-align: center;
	color: #666;
	margin-bottom: 30px;
}

.payment-methods {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.payment-method-card,
.payment-method-sbp {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 25px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.payment-method-card h2,
.payment-method-sbp h2 {
	color: #333;
	margin-bottom: 20px;
	font-size: 1.5em;
}

.payment-form {
	width: 100%;
}

.payment-form-inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-row {
	display: flex;
	gap: 15px;
}

.form-row .form-group {
	flex: 1;
}

.form-group label {
	margin-bottom: 5px;
	font-weight: 600;
	color: #333;
}

.form-group input {
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
	transition: border-color 0.3s;
}

.form-group input:focus {
	outline: none;
	border-color: #0178af;
	box-shadow: 0 0 0 2px rgba(1, 120, 175, 0.2);
}

.payment-btn {
	background: #0178af;
	color: white;
	padding: 15px 30px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s;
	margin-top: 10px;
}

.payment-btn:hover {
	background: #015a8a;
}

.payment-btn:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.payment-divider {
	text-align: center;
	position: relative;
	margin: 20px 0;
}

.payment-divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: #ddd;
}

.payment-divider span {
	background: #fff;
	padding: 0 20px;
	color: #666;
	font-weight: 600;
}

.sbp-payment {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

.qr-code-container {
	flex: 0 0 200px;
}

.qr-code-placeholder {
	text-align: center;
	padding: 20px;
	border: 2px dashed #ddd;
	border-radius: 8px;
	background: #f9f9f9;
}

.qr-code-icon {
	font-size: 2em;
	margin-bottom: 10px;
}

.qr-code-mock {
	width: 150px;
	height: 150px;
	margin: 15px auto;
	background: #000;
	border-radius: 8px;
	position: relative;
	overflow: hidden;
}

.qr-pattern {
	width: 100%;
	height: 100%;
	background: 
		repeating-linear-gradient(0deg, transparent, transparent 8px, #fff 8px, #fff 10px),
		repeating-linear-gradient(90deg, transparent, transparent 8px, #fff 8px, #fff 10px);
	background-size: 20px 20px;
}

.sbp-info {
	flex: 1;
}

.sbp-info h3 {
	color: #333;
	margin-bottom: 15px;
}

.sbp-info ol {
	padding-left: 20px;
	margin-bottom: 20px;
}

.sbp-info li {
	margin-bottom: 8px;
	color: #666;
}

.sbp-amount {
	margin-bottom: 20px;
}

.sbp-amount label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
	color: #333;
}

.sbp-amount input {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
}

.sbp-status {
	text-align: center;
}

.status-waiting {
	color: #ff9800;
	font-weight: 600;
}

.status-success {
	color: #4caf50;
	font-weight: 600;
}

.status-error {
	color: #f44336;
	font-weight: 600;
}

.payment-security {
	margin-top: 40px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 8px;
	border-left: 4px solid #0178af;
}

.payment-security h3 {
	color: #333;
	margin-bottom: 15px;
}

.payment-security ul {
	list-style: none;
	padding: 0;
}

.payment-security li {
	margin-bottom: 8px;
	color: #666;
}

.payment-demo-notice {
	margin-top: 30px;
	padding: 15px;
	background: #fff3cd;
	border: 1px solid #ffeaa7;
	border-radius: 4px;
	text-align: center;
}

.payment-demo-notice p {
	margin: 0;
	color: #856404;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
	.payment-container {
		padding: 15px;
	}
	
	.form-row {
		flex-direction: column;
		gap: 0;
	}
	
	.sbp-payment {
		flex-direction: column;
		gap: 20px;
	}
	
	.qr-code-container {
		flex: none;
		align-self: center;
	}
}

/* Стили для фильтра категорий */
.category-filter {
	margin: -16px 0 20px 0;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 8px;
	border-left: 4px solid #0178af;
	text-align: center;
}

.category-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.category-item {
	display: inline-block;
	padding: 8px 15px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	color: #0178af;
	font-size: 14px;
	transition: all 0.3s;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.category-item:hover {
	background: #0178af;
	color: #fff;
	border-color: #0178af;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.category-item.active {
	background: #0178af;
	color: #fff;
	border-color: #0178af;
	font-weight: bold;
}

.category-name {
	margin-right: 8px;
}

.category-count {
	background: rgba(0,0,0,0.1);
	padding: 2px 6px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: bold;
}

.category-item.active .category-count {
	background: rgba(255,255,255,0.3);
}

.category-item:hover .category-count {
	background: rgba(255,255,255,0.3);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
	.category-list {
		flex-direction: column;
		gap: 5px;
	}
	
	.category-item {
		text-align: center;
		padding: 10px 15px;
	}
}

/* Стили для выпадающего списка выбора страны телефона */
.phone-input-wrapper {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.phone-country-select {
	height: calc(2.05rem + 2px);
	padding: 0.275rem 0.5rem;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	color: #333;
	background-color: #fff;
	border: 1px solid #02a7f0;
	border-radius: 7px;
	cursor: pointer;
	flex-shrink: 0;
}

.phone-country-select:focus {
	outline: 0;
	border-color: #02a7f0;
	box-shadow: 0 0 0 0.2rem rgba(2, 167, 240, 0.25);
}

.phone-input {
	flex: 1;
}

/* Мини-флаги в CSS */
.phone-country-select option[value="RU"] {
	background-image: linear-gradient(to bottom,
		#ffffff 0%,
		#ffffff 33.33%,
		#0039a6 33.33%,
		#0039a6 66.66%,
		#d52b1e 66.66%,
		#d52b1e 100%);
	background-size: 20px 15px;
	background-repeat: no-repeat;
	background-position: 5px center;
	padding-left: 30px;
}

.phone-country-select option[value="BY"] {
	background-image: linear-gradient(to bottom,
		#d52b1e 0%,
		#d52b1e 33.33%,
		#ffffff 33.33%,
		#ffffff 66.66%,
		#006b3f 66.66%,
		#006b3f 100%);
	background-size: 20px 15px;
	background-repeat: no-repeat;
	background-position: 5px center;
	padding-left: 30px;
}

/* Альтернативный вариант с псевдоэлементами для флагов */
.phone-country-select::before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 15px;
	margin-right: 5px;
	vertical-align: middle;
}

.phone-country-select[value="RU"]::before {
	background: linear-gradient(to bottom,
		#ffffff 0%,
		#ffffff 33.33%,
		#0039a6 33.33%,
		#0039a6 66.66%,
		#d52b1e 66.66%,
		#d52b1e 100%);
}

.phone-country-select[value="BY"]::before {
	background: linear-gradient(to bottom,
		#d52b1e 0%,
		#d52b1e 33.33%,
		#ffffff 33.33%,
		#ffffff 66.66%,
		#006b3f 66.66%,
		#006b3f 100%);
}

/* Виджет discount-tiers: список без маркеров */
.discount-tiers-widget .discount-tiers-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

section#empty .discount-tiers-widget .discount-tiers-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.discount-tiers-widget .discount-tiers-intro {
	margin: 0 0 0.5em 0;
}

.discount-tiers-widget .discount-tiers-empty {
	margin: 0;
}

/* Оформление заказа: строка ПВЗ/при получении — всегда обычный (чёрный) текст; онлайн со скидкой — зелёный */
.order-checkout-line-postpay-items,
.order-checkout-line-postpay-items--with-promo {
	color: #111;
}

.order-checkout-online-price,
.order-checkout-online-price strong {
	color: #1a7f37;
}


