body {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	color: #666;
	font-size: 12px;
	line-height: 20px;
	width: 100%;
}
h1, h2, h3, h4, h5, h6 {
	color: #444;
}
/* default font size */
.fa {
	font-size: 14px;
}
/* Override the bootstrap defaults */
h1 {
	font-size: 33px;
}
h2 {
	font-size: 27px;
}
h3 {
	font-size: 21px;
}
h4 {
	font-size: 15px;
}
h5 {
	font-size: 12px;
}
h6 {
	font-size: 10.2px;
}
a {
	color: #42c3eb;
}
a:hover {
	text-decoration: none;
}
legend {
	font-size: 18px;
	padding: 7px 0px
}
label {
	font-size: 12px;
	font-weight: normal;
}
select.form-control, textarea.form-control, input[type="text"].form-control, input[type="password"].form-control, input[type="datetime"].form-control, input[type="datetime-local"].form-control, input[type="date"].form-control, input[type="month"].form-control, input[type="time"].form-control, input[type="week"].form-control, input[type="number"].form-control, input[type="email"].form-control, input[type="url"].form-control, input[type="search"].form-control, input[type="tel"].form-control, input[type="color"].form-control {
	font-size: 12px;
}
.input-group input, .input-group select, .input-group .dropdown-menu, .input-group .popover {
	font-size: 12px;
}
.input-group .input-group-addon {
	font-size: 12px;
	height: 30px;
}
/* Fix some bootstrap issues */
span.hidden-xs, span.hidden-sm, span.hidden-md, span.hidden-lg {
	display: inline;
}

.nav-tabs {
	margin-bottom: 15px;
}
div.required .control-label:before {
	content: '* ';
	color: #F00;
	font-weight: bold;
}
/* Gradent to all drop down menus */
.dropdown-menu li > a:hover {
	text-decoration: none;
	color: #ffffff;
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #42c3eb, #2f9fd0);
	background-repeat: repeat-x;
}
/* top */
#top {
	background-color: #EEEEEE;
	border-bottom: 1px solid #e2e2e2;
	padding: 4px 0px 3px 0;
	margin: 0 0 20px 0;
	min-height: 40px;
}
#top .container {
	padding: 0 20px;
}
#top #form-currency .currency-select,
#top #form-language .language-select {
	text-align: left;
}
#top #form-currency .currency-select:hover,
#top #form-language .language-select:hover {
	text-shadow: none;
	color: #ffffff;
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #42c3eb, #2f9fd0);
	background-repeat: repeat-x;
}
#top .btn-link, #top-links li, #top-links a {
	color: #888;
	text-shadow: 0 1px 0 #FFF;
	text-decoration: none;
}
#top .btn-link:hover, #top-links a:hover {
	color: #444;
}
#top-links .dropdown-menu a {
	text-shadow: none;
}
#top-links .dropdown-menu a:hover {
	color: #FFF;
}
#top .btn-link strong {
	font-size: 14px;
        line-height: 14px;
}
#top-links {
	padding-top: 6px;
}
#top-links a + a {
	margin-left: 15px;
}
/* logo */
#logo {
	margin: 0;
}
#logo img {
	max-height: 62px;
	width: auto;
	margin-top: -12px;
}
/* search */
#search {
	margin-bottom: 10px;
}
#search .input-lg {
	height: 40px;
	line-height: 20px;
	padding: 0 10px;
}
#search .btn-lg {
	font-size: 15px;
	line-height: 18px;
	padding: 10px 35px;
	text-shadow: 0 1px 0 #FFF;
}
/* cart */
#cart {
	margin-bottom: 10px;
}
#cart > .btn {
	font-size: 12px;
	line-height: 18px;
	color: #FFF;
}
#cart.open > .btn {
	background-image: none;
	background-color: #FFFFFF;
	border: 1px solid #E6E6E6;
	color: #666;
	box-shadow: none;
	text-shadow: none;
}
#cart.open > .btn:hover {
	color: #444;
}
#cart .dropdown-menu {
	background: #eee;
	z-index: 1001;
}
#cart .dropdown-menu {
	min-width: 100%;
	overflow-y: auto;
	max-height: 800px;
	scrollbar-width: thin;
	overflow-x: hidden;
}
@media (max-width: 478px) {
	#cart .dropdown-menu {
		width: 100%;
	}
}
#cart .dropdown-menu table {
	margin-bottom: 10px;
}
#cart .dropdown-menu li > div {
	min-width: 427px;
	padding: 0 10px;
}
@media (max-width: 478px) {
	#cart .dropdown-menu li > div {
		min-width: 100%;
	}
}
#cart .dropdown-menu li p {
	margin: 20px 0;
}
/* menu */
#menu {
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #42c3eb, #2f9fd0);
	background-repeat: repeat-x;
	border-color: #2f9fd0 #2f9fd0 #145e7a;
	min-height: 40px;
}
#menu .nav > li > a {
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	padding: 10px 15px 10px 15px;
	min-height: 15px;
	background-color: transparent;
}
#menu .nav > li > a:hover, #menu .nav > li.open > a {
	background-color: rgba(0, 0, 0, 0.1);
}
#menu .dropdown-menu {
	padding-bottom: 0;
}
#menu .dropdown-inner {
	display: table;
}
#menu .dropdown-inner ul {
	display: table-cell;
}
#menu .dropdown-inner a {
	min-width: 160px;
	display: block;
	padding: 3px 20px;
	clear: both;
	line-height: 20px;
	color: #333333;
	font-size: 12px;
}
#menu .dropdown-inner li a:hover {
	color: #FFFFFF;
}
#menu .see-all {
	display: block;
	margin-top: 0.5em;
	border-top: 1px solid #DDD;
	padding: 3px 20px;
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 3px 3px;
	font-size: 12px;
}
#menu .see-all:hover, #menu .see-all:focus {
	text-decoration: none;
	color: #ffffff;
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #42c3eb, #2f9fd0);
	background-repeat: repeat-x;
}
#menu #category {
	float: left;
	padding-left: 15px;
	font-size: 16px;
	font-weight: 700;
	line-height: 40px;
	color: #fff;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
#menu .btn-navbar {
	font-size: 15px;
	font-stretch: expanded;
	color: #FFF;
	padding: 2px 18px;
	float: right;
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #42c3eb, #2f9fd0);
	background-repeat: repeat-x;
	border-color: #2f9fd0 #2f9fd0 #145e7a;
}
#menu .btn-navbar:hover, #menu .btn-navbar:focus, #menu .btn-navbar:active, #menu .btn-navbar.disabled, #menu .btn-navbar[disabled] {
	color: #ffffff;
	background-color: #229ac8;
}
@media (min-width: 768px) {
	#menu .dropdown:hover .dropdown-menu {
		display: block;
	}
}
@media (max-width: 767px) {
	#menu {
		border-radius: 4px;
	}
	#menu div.dropdown-inner > ul.list-unstyled {
		display: block;
	}
	#menu div.dropdown-menu {
		margin-left: 0 !important;
		padding-bottom: 10px;
		background-color: rgba(0, 0, 0, 0.1);
	}
	#menu .dropdown-inner {
		display: block;
	}
	#menu .dropdown-inner a {
		width: 100%;
		color: #fff;
	}
	#menu .dropdown-menu a:hover,
	#menu .dropdown-menu ul li a:hover {
		background: rgba(0, 0, 0, 0.1);
	}
	#menu .see-all {
		margin-top: 0;
		border: none;
		border-radius: 0;
		color: #fff;
	}
}
/* content */
#content {
	min-height: 600px;
}
#product-category #content, #product-product #tab-description, #information-information #content {
	font-size: 13px;
}
/* footer */
footer {
	margin-top: 30px;
	padding-top: 30px;
	background-color: #303030;
	border-top: 1px solid #ddd;
	color: #e2e2e2;
}
footer hr {
	border-top: none;
	border-bottom: 1px solid #666;
}
footer a {
	color: #ccc;
}
footer a:hover {
	color: #fff;
}
footer h5 {
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #fff;
}
/* alert */
.alert {
	padding: 8px 14px 8px 14px;
}
.alert > .close {
	position: relative;
	top: -2px;
	right: 0px;
	color: inherit;
}
/* breadcrumb */
.breadcrumb {
	margin: 0 0 20px 0;
	padding: 8px 0;
	border: 1px solid #ddd;
}
.breadcrumb i {
	font-size: 15px;
}
.breadcrumb > li {
	text-shadow: 0 1px 0 #FFF;
	padding: 0 20px;
	position: relative;
	white-space: nowrap;
}
.breadcrumb > li + li:before {
	content: '';
	padding: 0;
}
.breadcrumb > li:after {
	content: '';
	display: block;
	position: absolute;
	top: -3px;
	right: -5px;
	width: 26px;
	height: 26px;
	border-right: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
html[dir=rtl] .breadcrumb > li::after {
  top: -3px;
  left: -5px;
  width: 26px;
  height: 26px;
  border-left: 1px solid #DDD;
  border-top: 1px solid #DDD;
  right: unset;
  border-right: unset;
  border-bottom:unset;

}
.pagination {
	margin: 0;
}
/* buttons */
.buttons {
	margin: 1em 0;
}
.btn {
	padding: 7.5px 12px;
	font-size: 12px;
	border: 1px solid #cccccc;
	border-radius: 4px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
}
.btn-xs {
	font-size: 9px;
}
.btn-sm {
	font-size: 10.2px;
}
.btn-lg {
	padding: 10px 16px;
	font-size: 15px;
}
.btn-group > .btn, .btn-group > .dropdown-menu, .btn-group > .popover {
	font-size: 12px;
}
.btn-group > .btn-xs {
	font-size: 9px;
}
.btn-group > .btn-sm {
	font-size: 10.2px;
}
.btn-group > .btn-lg {
	font-size: 15px;
}
.btn-default {
	color: #777;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	background-color: #e7e7e7;
	background-image: linear-gradient(to bottom, #eeeeee, #dddddd);
	background-repeat: repeat-x;
	border-color: #dddddd #dddddd #b3b3b3 #b7b7b7;
}
.btn-primary {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #229ac8;
	background-image: linear-gradient(to bottom, #42c3eb, #2f9fd0);
	background-repeat: repeat-x;
	border-color: #2f9fd0 #2f9fd0 #145e7a;
}
.btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
	background-color: #2f9fd0;
	background-position: 0 -15px;
}
.btn-warning {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #faa732;
	background-image: linear-gradient(to bottom, #fbb450, #f89406);
	background-repeat: repeat-x;
	border-color: #f89406 #f89406 #ad6704;
}
.btn-warning:hover, .btn-warning:active, .btn-warning.active, .btn-warning.disabled, .btn-warning[disabled] {
	box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-danger {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #da4f49;
	background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
	background-repeat: repeat-x;
	border-color: #bd362f #bd362f #802420;
}
.btn-danger:hover, .btn-danger:active, .btn-danger.active, .btn-danger.disabled, .btn-danger[disabled] {
	box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-success {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #5bb75b;
	background-image: linear-gradient(to bottom, #62c462, #51a351);
	background-repeat: repeat-x;
	border-color: #51a351 #51a351 #387038;
}
.btn-success:hover, .btn-success:active, .btn-success.active, .btn-success.disabled, .btn-success[disabled] {
	box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-info {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #df5c39;
	background-image: linear-gradient(to bottom, #e06342, #dc512c);
	background-repeat: repeat-x;
	border-color: #dc512c #dc512c #a2371a;
}
.btn-info:hover, .btn-info:active, .btn-info.active, .btn-info.disabled, .btn-info[disabled] {
	background-image: none;
	background-color: #df5c39;
}
.btn-link {
	border-color: rgba(0, 0, 0, 0);
	cursor: pointer;
	color: #23A1D1;
	border-radius: 0;
}
.btn-link, .btn-link:active, .btn-link[disabled] {
	background-color: rgba(0, 0, 0, 0);
	background-image: none;
	box-shadow: none;
}
.btn-inverse {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #363636;
	background-image: linear-gradient(to bottom, #444444, #222222);
	background-repeat: repeat-x;
	border-color: #222222 #222222 #000000;
}
.btn-inverse:hover, .btn-inverse:active, .btn-inverse.active, .btn-inverse.disabled, .btn-inverse[disabled] {
	background-color: #222222;
	background-image: linear-gradient(to bottom, #333333, #111111);
}
/* list group */
.list-group a {
	border: 1px solid #DDDDDD;
	color: #888888;
	padding: 8px 12px;
}
.list-group a.active, .list-group a.active:hover, .list-group a:hover {
	color: #444444;
	background: #eeeeee;
	border: 1px solid #DDDDDD;
	text-shadow: 0 1px 0 #FFF;
}
/* carousel */
.carousel-caption {
	color: #FFFFFF;
	text-shadow: 0 1px 0 #000000;
}
.carousel-control .icon-prev:before {
	content: '\f053';
	font-family: FontAwesome;
}
.carousel-control .icon-next:before {
	content: '\f054';
	font-family: FontAwesome;
}
/* product list */
.product-thumb {
	border: 1px solid #ddd;
	margin-bottom: 20px;
	overflow: auto;
}
.product-thumb .image {
	text-align: center;
}
.product-thumb .image a {
	display: block;
}
.product-thumb .image a:hover {
	opacity: 0.8;
}
.product-thumb .image img {
	margin-left: auto;
	margin-right: auto;
}
.product-grid .product-thumb .image {
	float: none;
}
@media (min-width: 767px) {
.product-list .product-thumb .image {
	float: left;
	padding: 0 15px;
}
}
.product-thumb h4 {
	font-weight: bold;
}
.product-thumb .caption {
	padding: 0 20px;
	min-height: 180px;
}
.product-list .product-thumb .caption {
	margin-left: 230px;
}
@media (max-width: 1200px) {
.product-grid .product-thumb .caption {
	min-height: 210px;
	padding: 0 10px;
}
}
@media (max-width: 767px) {
.product-list .product-thumb .caption {
	min-height: 0;
	margin-left: 0;
	padding: 0 10px;
}
.product-grid .product-thumb .caption {
	min-height: 0;
}
}
.product-thumb .rating {
	padding-bottom: 10px;
}
.rating .fa-stack {
	font-size: 8px;
}
.rating .fa-star-o {
	color: #999;
	font-size: 15px;
}
.rating .fa-star {
	color: #FC0;
	font-size: 15px;
}
.rating .fa-star + .fa-star-o {
	color: #E69500;
}
h2.price {
	margin: 0;
}
.product-thumb .price {
	color: #444;
}
.product-thumb .price-new {
	font-weight: 600;
}
.product-thumb .price-old {
	color: #999;
	text-decoration: line-through;
	margin-left: 10px;
}
.product-thumb .price-tax {
	color: #999;
	font-size: 12px;
	display: block;
}
.product-thumb .button-group {
	border-top: 1px solid #ddd;
	background-color: #eee;
	overflow: auto;
}
.product-list .product-thumb .button-group {
	border-left: 1px solid #ddd;
}
@media (max-width: 768px) {
	.product-list .product-thumb .button-group {
		border-left: none;
	}
}
.product-thumb .button-group button {
	width: 60%;
	border: none;
	display: inline-block;
	float: left;
	background-color: #eee;
	color: #888;
	line-height: 38px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
}
.product-thumb .button-group button + button {
	width: 20%;
	border-left: 1px solid #ddd;
}
.product-thumb .button-group button:hover {
	color: #444;
	background-color: #ddd;
	text-decoration: none;
	cursor: pointer;
}
@media (max-width: 1200px) {
	.product-thumb .button-group button, .product-thumb .button-group button + button {
		width: 33.33%;
	}
}
@media (max-width: 767px) {
	.product-thumb .button-group button, .product-thumb .button-group button + button {
		width: 33.33%;
	}
}
.thumbnails {
	overflow: auto;
	clear: both;
	list-style: none;
	padding: 0;
	margin: 0;
}
.thumbnails > li {
	margin-left: 20px;
}
.thumbnails {
	margin-left: -20px;
}
.thumbnails > img {
	width: 100%;
}
.image-additional a {
	margin-bottom: 20px;
	padding: 5px;
	display: block;
	border: 1px solid #ddd;
}
.image-additional {
	max-width: 78px;
}
.thumbnails .image-additional {
	float: left;
	margin-left: 20px;
}

@media (min-width: 1200px) {
	#content .col-lg-2:nth-child(6n+1),
	#content .col-lg-3:nth-child(4n+1),
	#content .col-lg-4:nth-child(3n+1),
	#content .col-lg-6:nth-child(2n+1) {
		clear:left;
	}
}
@media (min-width: 992px) and (max-width: 1199px) {
	#content .col-md-2:nth-child(6n+1),
	#content .col-md-3:nth-child(4n+1),
	#content .col-md-4:nth-child(3n+1),
	#content .col-md-6:nth-child(2n+1) {
		clear:left;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	#content .col-sm-2:nth-child(6n+1),
	#content .col-sm-3:nth-child(4n+1),
	#content .col-sm-4:nth-child(3n+1),
	#content .col-sm-6:nth-child(2n+1) {
		clear:left;
	}
}

/* fixed colum left + content + right*/
@media (min-width: 768px) {
    #column-left  .product-layout .col-md-3 {
       width: 100%;
    }

	#column-left + #content .product-layout .col-md-3 {
       width: 50%;
    }

	#column-left + #content + #column-right .product-layout .col-md-3 {
       width: 100%;
    }

    #content + #column-right .product-layout .col-md-3 {
       width: 100%;
    }
}

/* fixed product layouts used in left and right columns */
#column-left .product-layout, #column-right .product-layout {
	width: 100%;
}

/* fixed mobile cart quantity input */
.input-group .form-control[name^=quantity] {
	min-width: 50px;
}

/* Missing focus and border color to overwrite bootstrap */
.btn-info:hover, .btn-info:active, .btn-info.active, .btn-info.disabled, .btn-info[disabled] {
    background-image: none;
    background-color: #df5c39;
}
html[dir=rtl] .checkbox input[type="checkbox"],
html[dir=rtl] .checkbox-inline input[type="checkbox"],
html[dir=rtl] .radio input[type="radio"],
html[dir=rtl] .radio-inline input[type="radio"] {
    position: absolute;
    margin-top: 4px\9;
    margin-right: -20px;
      margin-left: unset;
}
html[dir=rtl] .input-group-btn:last-child > .btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
html[dir=rtl] .input-group .form-control:first-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: unset;
    border-bottom-left-radius: unset;
}
html[dir=rtl] .container .row:first-child  .col-sm-4, html[dir=rtl] .container .row:first-child  .col-sm-5 {
  float: right;

}
html[dir=rtl] #cart .dropdown-menu {
  left: 0;
  right: auto;

}
@media (min-width: 768px) {
   
    html[dir=rtl] .navbar-nav {
        float: right;
        margin: 0;
    }
    
    html[dir=rtl] .navbar-nav > li {
        float: right;
    }
   
}
/* --- выравнивание кнопок в карточках товаров --- */
/* product-grid (главная, модули): прижимаем кнопку к низу карточки */
.product-grid .product-thumb,
.product-layout:not(.product-list) .product-thumb {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.product-layout.product-grid > .product-thumb {
	flex: 1 1 auto;
	height: auto;
}
.product-layout.product-grid .product-thumb > div:not(.image) {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}
.product-grid .product-thumb .caption,
.product-layout:not(.product-list) .product-thumb .caption {
	flex: 1 1 auto;
}
.product-grid .product-thumb .button-group,
.product-layout:not(.product-list) .product-thumb .button-group {
	margin-top: auto;
}
.product-layout:not(.product-list) {
	display: flex;
	flex-direction: column;
}
/* product-list (категории/поиск): прижимаем кнопку к низу карточки */
.product-list .product-thumb > div:not(.image) {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}
.product-list .product-thumb .button-group {
	margin-top: auto;
}
.product-list .product-thumb .image {
	align-self: flex-start;
}

/* brand description (oc_manufacturer_description) */
.manufacturer-description {
  margin: 0 0 20px;
  line-height: 1.7;
}
.manufacturer-description h2 {
  font-size: 18px;
  margin: 0 0 10px;
}
.manufacturer-description p {
  margin: 0 0 10px;
}

/* блок «Совместимость» на карточке товара (oc_product_description.compatibility) */
.compatibility {
  margin: 20px 0 0;
  padding-top: 15px;
  border-top: 1px solid #eee;
}
.compat-section {
  margin: 0 0 15px;
}
.compat-title {
  font-weight: bold;
  font-size: 14px;
  margin: 0 0 8px;
}
ul.compat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.compat-list li {
  margin: 0 0 8px;
  line-height: 1.6;
}
ul.compat-list ul {
  list-style: none;
  margin: 2px 0 0 18px;
  padding: 0;
}
.compat-model {
  display: inline-block;
}
.compat-gen {
  color: #666;
}
.compat-codes {
  color: #333;
}
.compat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 2px;
}
.compat-code {
  display: inline-block;
  padding: 3px 9px;
  background: #f2f4f6;
  border: 1px solid #e2e6ea;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  white-space: nowrap;
}
.compat-more {
  margin-top: 6px;
  font-size: 13px;
  color: #888;
}
.compat-note {
  margin: 16px 0 0;
  padding: 10px 12px;
  background: #fafafa;
  border: 1px solid #eee;
  border-left: 3px solid #ddd;
  border-radius: 3px;
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}

/* выравнивание карточек в ряду (grid-view): равная высота колонок -> кнопки «Купить» на одном уровне */
#content .row:has(.product-layout:not(.product-list)) {
	display: flex;
	flex-wrap: wrap;
}
#content .row:has(.product-layout:not(.product-list)) > .product-layout:not(.product-list) {
	display: flex;
	flex-direction: column;
}

/* фиксированная высота названия и описания в grid-карточках -> цена на одном уровне */
.product-layout:not(.product-list) .product-thumb .caption h4 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 33px;
}
.product-layout:not(.product-list) .product-thumb .caption > p:not(.price):not(.rating) {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 40px;
}

/* ===== Умный поиск: автоподсказки ===== */
#search-suggest {
  position: absolute;
  z-index: 1050;
  top: 100%;
  left: 15px;
  right: 15px;
  max-height: 400px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  display: none;
  box-shadow: 0 6px 12px rgba(0,0,0,.15);
}
#search-suggest a.suggest-item {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f2f2f2;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#search-suggest a.suggest-item:hover {
  background: #f5f5f5;
}
#search-suggest a.suggest-item.brand .suggest-name {
  font-weight: 700;
}

/* Фильтр «Вид запчасти»: сворачиваемый список */
.part-tag-filter .part-tag-toggle {
  margin: 0 0 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.part-tag-filter .part-tag-caret {
  transition: transform .2s ease;
  color: #999;
}
.part-tag-filter.collapsed .part-tag-caret {
  transform: rotate(-90deg);
}
.part-tag-filter.collapsed .part-tag-body {
  display: none;
}
.part-tag-filter.collapsed {
  padding: 8px 14px;
  margin-bottom: 10px;
}
.part-tag-filter.collapsed .part-tag-toggle {
  margin: 0;
}
.part-tag-filter .part-tag-body .checkbox-list {
  max-height: 260px;
  overflow-y: auto;
  margin-bottom: 8px;
}
.part-tag-filter .filter-actions .btn {
  margin-right: 4px;
}

/* ===== Дизайн-обновление Зап22.Ру (2026-08-05) ===== */
:root {
  --z22-primary: #1496c7;
  --z22-accent: #42c3eb;
  --z22-dark: #135c8f;
  --z22-graphite: #1a6fa5;
  --z22-bg: #f0f6fa;
  --z22-border: #d6e5f0;
  --z22-radius: 10px;
  --z22-shadow: 0 2px 8px rgba(20,40,80,.07);
  --z22-shadow-hover: 0 8px 24px rgba(20,40,80,.13);
}

/* фон страницы */
body {
  background: #f0f6fa;
  color: #3c4652;
  font-size: 13px;
  line-height: 1.55;
}
#content .container, .container { background: transparent; }
h1,h2,h3,h4,h5,h6 { color: #135c8f; }
a { color: var(--z22-primary); }

/* ---- шапка ---- */
#top {
  background: #135c8f;
  border-bottom: none;
  color: #cfd8e3;
}
#top .btn-link, #top-links li, #top-links a { color: #cfd8e3; text-shadow: none; }
#top .btn-link:hover, #top-links a:hover { color: #fff; }
header { background: #fff; border-bottom: 1px solid var(--z22-border); }

/* ---- меню ---- */
#menu {
  background: #135c8f;
  background-image: none;
  border: none;
  box-shadow: 0 2px 6px rgba(20,40,80,.12);
  min-height: 44px;
}
#menu .nav > li > a {
  color: #fff;
  text-shadow: none;
  padding: 13px 16px;
  font-weight: 600;
  font-size: 13px;
}
#menu .nav > li > a:hover, #menu .nav > li.open > a { background: rgba(255,255,255,.12); }

/* ---- кнопки ---- */
.btn-primary {
  background: var(--z22-primary);
  background-image: none;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: none;
  transition: background .15s ease, box-shadow .15s ease;
}
.btn-primary:hover, .btn-primary:active, .btn-primary.active {
  background: #1b8ac8;
  background-image: none;
  box-shadow: 0 4px 12px rgba(20,112,168,.3);
}
.btn-default {
  border-radius: 6px;
  background-image: none;
}

/* ---- хлебные крошки ---- */
.breadcrumb { background: transparent; padding: 14px 0; }
.breadcrumb > li a { color: #7a8794; }
.breadcrumb > li.active { color: #135c8f; font-weight: 600; }

/* ---- заголовок категории ---- */
#content > h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 6px 0 14px;
  color: #135c8f;
}

/* ---- плитки подкатегорий ---- */
.cat-section-title {
  font-size: 17px;
  font-weight: 700;
  margin: 14px 0 12px;
  color: #135c8f;
}
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-left: 0; margin-right: 0; }
.cat-tile-col { margin-bottom: 0; }
.cat-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--z22-border);
  border-radius: var(--z22-radius);
  box-shadow: var(--z22-shadow);
  color: #135c8f;
  font-weight: 600;
  text-decoration: none;
  height: 100%;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.cat-tile:hover {
  box-shadow: var(--z22-shadow-hover);
  transform: translateY(-2px);
  border-color: var(--z22-accent);
  color: var(--z22-primary);
  text-decoration: none;
}
.cat-tile-avatar {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: linear-gradient(135deg, #42c3eb, #1496c7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 800;
}
.cat-tile-name { flex: 1; line-height: 1.3; }

/* ---- карточки товаров ---- */
.product-thumb {
  border: 1px solid var(--z22-border);
  border-radius: var(--z22-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--z22-shadow);
  transition: box-shadow .2s ease, transform .2s ease;
  margin-bottom: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-thumb:hover { box-shadow: var(--z22-shadow-hover); transform: translateY(-3px); }
.product-thumb .image a { display: block; overflow: hidden; }
.product-thumb .image img { transition: transform .25s ease; }
.product-thumb .image a:hover img { transform: scale(1.04); }
.product-thumb h4 { font-size: 14px; font-weight: 700; line-height: 1.35; margin: 0 0 6px; }
.product-thumb h4 a { color: #135c8f; }
.product-thumb h4 a:hover { color: var(--z22-primary); }
.product-grid .product-thumb .caption {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.product-grid .product-thumb .caption p {
  margin-bottom: 10px;
  color: #7a8794;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-grid .product-thumb .caption .price {
  font-size: 17px;
  font-weight: 800;
  color: #1496c7;
  margin-top: auto;
  padding-top: 8px;
}
.product-grid .product-thumb .button-group {
  border-top: 1px solid var(--z22-border);
  padding: 10px;
  display: flex;
  gap: 6px;
  margin-top: auto;
}
.product-thumb .button-group button {
  border-radius: 6px;
  border: 1px solid var(--z22-border);
  background: #fff;
  color: #3c4652;
  padding: 7px 10px;
  font-size: 13px;
  transition: all .15s ease;
}
.product-thumb .button-group button:first-child {
  background: var(--z22-primary);
  border-color: var(--z22-primary);
  color: #fff;
  font-weight: 600;
  flex: 1;
}
.product-thumb .button-group button:first-child:hover {
  background: #1b8ac8;
}
.product-thumb .button-group button:not(:first-child):hover { background: #f0f4f9; }

/* выравнивание рядов товаров в grid */
#content .row:has(.product-layout:not(.product-list)) { display: flex; flex-wrap: wrap; }
#content .row:has(.product-layout:not(.product-list)) .product-layout { display: flex; }
#content .row:has(.product-layout:not(.product-list)) .product-layout > div { width: 100%; display: flex; }
#content .row:has(.product-layout:not(.product-list)) .product-layout .product-thumb { width: 100%; }

/* ---- фильтр «Вид запчасти» (чипсы) ---- */
.part-tag-filter { background: #fff; border: 1px solid var(--z22-border); border-radius: var(--z22-radius); margin-top: 16px; }
.part-tag-filter .part-tag-toggle { font-size: 15px; font-weight: 700; color: #135c8f; }
.chip-list { max-height: 300px; overflow-y: auto; margin-bottom: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  margin: 0 6px 8px 0;
  border: 1px solid var(--z22-border);
  border-radius: 999px;
  background: #f8fafc;
  cursor: pointer;
  font-size: 13px;
  color: #3c4652;
  transition: all .15s ease;
  user-select: none;
}
.chip:hover { border-color: var(--z22-accent); background: #eef7fc; }
.chip.active { background: var(--z22-primary); border-color: var(--z22-primary); color: #fff; }
.chip input { display: none; }
.chip-label { font-weight: 600; }
.chip-count { background: #d6e5f0; color: #3c4652; border-radius: 999px; padding: 1px 7px; font-size: 11px; font-weight: 700; }
.chip.active .chip-count { background: rgba(255,255,255,.25); color: #fff; }

/* ---- подвал ---- */
footer {
  background: #135c8f;
  border-top: none;
  color: #b7c3cf;
  margin-top: 40px;
  padding-top: 36px;
}
footer h5 { color: #fff; font-size: 14px; letter-spacing: .3px; }
footer a { color: #b7c3cf; }
footer a:hover { color: #fff; }
footer hr { border-bottom: 1px solid #46566a; }
.footer-brand p { font-size: 12.5px; color: #93a3b5; margin-top: 10px; line-height: 1.5; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 22px;
}
.footer-bottom p { margin: 0; color: #93a3b5; font-size: 12.5px; }
.footer-bottom .footer-meta { text-align: right; }
/* ===== Дизайн-доработки (2026-08-05) ===== */


/* кнопка «Купить» компактнее (по вертикали) */
.product-thumb .button-group button {
  padding: 6px 9px;
  font-size: 12px;
  line-height: 1.2;
}
.product-thumb .button-group button i { font-size: 12px; margin-right: 2px; }
.product-thumb .button-group button:first-child { padding: 6px 8px; }
.product-thumb .button-group button:not(:first-child) { flex: 0 0 auto; width: 30px; padding: 6px 0; }
.product-thumb .button-group button:not(:first-child) i { margin-right: 0; }

/* чипсы: выбранные видны ДО нажатия «Применить» */
.chip:has(input:checked) {
  border-color: var(--z22-primary);
  background: #eaf4fc;
  box-shadow: 0 0 0 2px rgba(20,150,199,.18);
}
.chip:has(input:checked) .chip-label { color: var(--z22-primary); font-weight: 700; }
.chip.active {
  background: var(--z22-primary);
  border-color: var(--z22-primary);
  color: #fff;
  box-shadow: 0 3px 8px rgba(20,150,199,.35);
}
.chip.active .chip-label { color: #fff; }
.chip.active .chip-count { background: rgba(255,255,255,.28); color: #fff; }
/* плитки: чистая grid-сетка, не конфликтует с bootstrap row/col */
.cat-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  margin-left: 0;
  margin-right: 0;
}
.cat-tile-col {
  min-width: 0;
}
.cat-tile {
  padding: 12px 14px;
  gap: 10px;
}
.cat-tile-avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 16px;
}
/* ===== Easy Checkout: компактный (2026-08-05) ===== */
.aw-easy-checkout {
  font-size: 13px;
}
.aw-easy-checkout .checkout-col-center {
  max-width: 1140px;
}
.aw-easy-checkout .checkout-block {
  padding: 18px 20px;
  border-radius: 10px;
  box-shadow: var(--z22-shadow, 0 2px 8px rgba(20,40,80,.06));
}
.aw-easy-checkout .checkout-block .checkout-title {
  font-size: 16px;
  margin-bottom: 12px;
  padding-bottom: 8px;
}
/* поля ввода компактнее */
.aw-easy-checkout .form-group {
  margin-bottom: 10px;
}
.aw-easy-checkout .form-group label {
  font-size: 12.5px;
  margin-bottom: 4px;
}
.aw-easy-checkout .form-control {
  height: 36px;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 6px;
}
/* Имя + Фамилия рядом, компактно */
.aw-easy-checkout .checkout-сustomer-info {
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.aw-easy-checkout .checkout-сustomer-info .form-group:nth-child(2),
.aw-easy-checkout .checkout-сustomer-info .form-group:nth-child(3) {
  margin-bottom: 0;
}
/* адрес: 2 колонки, компактно */
.aw-easy-checkout .checkout-address-fields {
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}
.aw-easy-checkout .checkout-address-fields .form-group {
  margin-bottom: 0;
}
/* корзина: товар компактнее */
.aw-easy-checkout .cart-item {
  gap: 12px;
  padding: 10px 0;
}
.aw-easy-checkout .cart-item .cart-item-name {
  font-size: 13px;
}
.aw-easy-checkout .cart-item .cart-item-price,
.aw-easy-checkout .cart-item .cart-item-total {
  font-size: 13px;
}
.aw-easy-checkout .checkout-cart-quantity input {
  height: 32px;
  width: 44px;
}
/* ===== Быстрый просмотр фото (лупа) на карточках каталога ===== */
.product-thumb .image { position: relative; }
.product-thumb .product-quick-view {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.85);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(20,112,168,.85);
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(20,40,80,.3);
}
.product-thumb .image:hover .product-quick-view {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.product-thumb .product-quick-view:hover {
  background: #1b8ac8;
  color: #fff;
}
.product-thumb .image .product-image-link { position: relative; z-index: 1; }
/* ===== magnificPopup: стрелки ближе к фото ===== */
.mfp-arrow-left { left: calc(50% - 460px); }
.mfp-arrow-right { right: calc(50% - 460px); }
.mfp-arrow {
  width: 56px;
  height: 56px;
  margin-top: -28px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.mfp-arrow:active { margin-top: -27px; }
.mfp-arrow-left:after, .mfp-arrow-left .mfp-a { margin-left: 29px; }
.mfp-arrow-right:after, .mfp-arrow-right .mfp-a { margin-left: 19px; }
@media all and (max-width: 1200px) {
  .mfp-arrow-left { left: 12px; }
  .mfp-arrow-right { right: 12px; }
}
/* ===== Мобильная версия (Зап22.Ру) ===== */
@media (max-width: 767px) {
  /* ---- компактная шапка ---- */
  header .container .row > div { padding-left: 10px; padding-right: 10px; }
  #logo img { max-height: 40px; margin-top: -6px; }
  #search { margin-bottom: 8px; }
  #search .input-lg { height: 34px; }
  #search .btn-lg { padding: 6px 16px; font-size: 13px; }
  #cart { margin-bottom: 8px; }

  /* ---- компактный топ-бар ---- */
  #top { min-height: 36px; padding: 3px 0; }
  #top .container { padding: 0 8px; }
  #top-links li { margin-right: 4px; }

  /* ---- плитки каталога: 2 колонки на мобиле ---- */
  .cat-tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
  .cat-tile { padding: 10px 12px; gap: 8px; }
  .cat-tile-avatar { flex: 0 0 30px; width: 30px; height: 30px; font-size: 14px; border-radius: 7px; }
  .cat-tile-name { font-size: 13px; }

  /* ---- карточки товаров ---- */
  .product-grid .product-thumb .caption { padding: 10px 12px; }
  .product-thumb h4 { font-size: 13px; }
  .product-grid .product-thumb .caption .price { font-size: 15px; }
  .product-thumb .button-group button { padding: 5px 6px; font-size: 11px; }
  #content > h2 { font-size: 21px; margin: 4px 0 10px; }

  /* ---- меню каталога: аккордеон ---- */
  #menu .menu-catalog-xs { display: block; }
  #menu .menu-catalog-xs .catalog-xs-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    padding: 12px 16px;
    font-weight: 600;
  }
  #menu .menu-catalog-xs .catalog-xs-toggle .fa { transition: transform .2s ease; }
  #menu .menu-catalog-xs.open .catalog-xs-toggle .fa { transform: rotate(180deg); }
  #menu .menu-catalog-xs .catalog-xs-list { display: none; list-style: none; margin: 0; padding: 0; }
  #menu .menu-catalog-xs.open .catalog-xs-list { display: block; }
  #menu .menu-catalog-xs .catalog-xs-list a {
    display: block;
    padding: 9px 16px 9px 26px;
    color: #d6e5f0;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 13px;
  }
  #menu .menu-catalog-xs .catalog-xs-list a:hover { color: #fff; background: rgba(255,255,255,.08); }
  #menu .menu-catalog-xs .catalog-xs-list .catalog-xs-all { font-weight: 700; color: #fff; }
}

/* аккордеон-поведение меню каталога (JS-класс open) */
@media (min-width: 768px) {
  #menu .menu-catalog-xs { display: none !important; }
}