/* =========================================================
   Optimized style.css
   Base legacy styles + current final layers only.
   Removed obsolete intermediate patches v5-v20/v22-v24.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;600;700&display=swap');

@keyframes phone {
  0% {
    transform: scale(1.5);
    border: 1px solid #f7b578;
    opacity: 0.1;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
    border: 2px solid #bf1123;
  }
}
body {
  background: url(../images/fon.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-size: 12px;
  font-family: 'Open Sans', sans-serif;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  color:#1f1f1f;
}

* {
  box-sizing: border-box;
}
html {
  height: 100%;
}
img {
  max-width: 100%;
}
.hr {
  height: 30px;
}
.header,
.main,
.footer {
  display: flex;
  width: 100%;
}


.advantages{width: 100%;}
.advantages h2{font-size: 38px; font-weight:700;}

.advantages ul{display: flex; padding:0; flex-wrap: wrap; width: 100%; justify-content: space-between;}
.advantages ul li {width: 49%; padding:0 20px 70px 20px; text-align: center; display: flex; flex-direction: column; align-items: center;}
.advantages ul li img{width: 80px; margin:0 0 30px 0 }
.advantages ul li strong{font-size: 24px; font-weight:600;}
.advantages ul li p{font-weight:300; font-size: 14px;}


@media screen and (max-width: 768px) {
  .advantages ul li {width: 100%;}
}

.wrap {
  width: 100%;
  max-width: 1100px;
  margin: auto;
}

.header {
  flex: 0 0 auto;


}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0px;
}

 .logo {
  margin: 0;
  text-align: center;
  display: flex;
  align-items: center; justify-content: center;
  color:#fff; font-size:36px;  display:flex;
  width: 220px;  font-weight:bold;
}
.footer .logo{ justify-content:flex-start}
.logo a{color:#fff; text-decoration: none;}
.logo span{color:rgb(255, 142, 3);}




.slogan {
  font-size: 16px;
  margin: 0;
  padding: 0;
  font-style: italic;
}

.slogan li {
  padding-bottom: 15px;
  color: #bf1123;
}

.slogan li:last-child {
  padding-bottom: 0;
}

.fa-check-circle {
  color: #28af18;
}

.fa-check {
  color: #28af18;
}

.header .vendors {
  display: block;
  width: 280px;
  height: 80px;
  background: url("../images/vendors.png") no-repeat center;
}



.header__contacts ul {
  display: flex;
  margin: 0;
  padding: 0 20px 0 0;
  list-style: none;
  justify-content: center;
  flex-direction: column;
}
.header__contacts ul:last-child {
  padding: 0;
}

.header__contacts-telephone li {
  padding: 2px 0;
  border-radius: 20px;
  cursor: pointer; display: flex; align-items: center;
}

.jTime{color:#dbdbdb; text-align: left;}

.footer .jTime{padding:10px 0;}

.header__contacts-telephone.msgs{flex-direction: row; flex-wrap: nowrap;}
.header__contacts-telephone.msgs li{padding-left:10px;}

.header__phone-item {
  display: flex;

  padding: 2px 0 2px 0px;
  text-decoration: none;
  justify-content:flex-end;
  align-items: center;
width: 100%;
  color: #000;
  font-weight: 600;
  font-size: 25px;
}



.header__mail,
.header__socials {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #bababa;
}

.header__contacts .header__contacts-address li a {
  font-size: 13px;
}

.header .header__contacts ul li a i {
  margin-left: 5px;
}
.header .header__contacts ul li a small {
  opacity: 0.8;
  font-size: 18px;
  margin-right: 5px;
}

i.fa-viber {
  color: #9d59ca;
}
i.fa-telegram {
  color: #60c0f0;
}
i.fa-whatsapp, i.fa-whatsapp-square {
  color: #3fb653;
}


.header__contacts {
  display: flex;
}

.ban {
  position: relative;
}

.ban img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

.ban span {
  position: absolute;
  left: 0px;
  bottom: 0px;
  font-size: 20px;
  padding: 5px;
  color: #fff;
  font-size: 38px;
   font-weight: bold; text-align: center;
  width: 100%;
  height: 100%; display: flex; align-items: center;
  justify-content: center;
}

nav {
  height: 50px;
  background-image:linear-gradient(to top,#1f1f1f,#2e2e2e);
  padding-top: 1px;
  border-bottom: 2px solid #bf1123;
}
nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: space-between;
}
nav ul li {
  width: 100%;
  display: block;
}
nav ul li a {
  font-weight: 500;
  height: 50px;
  text-align: center;
  transition: 0.3s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  border-radius: 10px 10px 0 0;
}

nav ul li i {
  padding: 0 5px;
}

nav ul li a:hover, nav ul li a.current  {
  background:#bf1123;

}

nav ul li.catalog {
  width: 20%;
  flex-shrink: 0;
  border-radius: 10px 10px 0 0;
  background:#bf1123;
}

.catalog a {
  color: #000;
  text-decoration: none;

}

.brand-catalog h2 {
  text-align: center;
}

.last-items h2 {
  text-align: center;
}

.main {
  flex: 1 0 auto;
}

.static-content{font-size: 16px;}

p.orangeStar{background:#bf1123; font-size:21px; position:relative; overflow:hidden;  color:#fff; padding:20px 100px 20px 20px;}

p.orangeStar:after{content:"";  position: absolute ; right: -200px; top: 0; height:300px; transform:rotate(45deg); width:300px; background:#fff;}
.content-img-l{float:left; margin:0 25px 10px 0; box-shadow: 10px 10px 0  #bf1123;}

.content-img-r{float:right; margin:0  0 10px 10px; box-shadow: 10px 10px 0  #bf1123;}

.main .wrap {
  padding: 0;
  background: #fff;
  display: flex;
  height: 100%;
}
.main .aside {
  display: flex;
  padding: 10px 20px;
  align-items: center;
  flex-direction: column;
  width: 20%;
  flex-shrink: 0;
  min-height: 500px;
  background: #fff;
}

.showFilter .main .aside {
  left: 0;
  z-index: 10;
}

.main .article {
  width: 100%;
}

.caption h1 {
  color: #000; font-weight: bold;;
}

.main .article .caption {
  min-height: 40px;
  border-radius: 0 0 10px 10px;
  width: 100%;
  padding: 0 20px;
  background: #efefef;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.main .article .caption h1 {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  padding: 0 30px 0 0;
  line-height: 40px;
}

.main .article .caption ul#breadCrumbs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 11px;
  height: 30px;
  line-height: 30px;
}
.main .article .caption ul#breadCrumbs li {
  display: flex;
  align-items: center;
}
.main .article .caption ul#breadCrumbs li a {
  color: #000;
  text-decoration: none;
  display: block;
}
.main .article .caption ul#breadCrumbs li a:hover {
  text-decoration: underline;
}

.main .article .caption ul#breadCrumbs li:after {
  content: "";
  display: block;
  margin: 0 5px;
  width: 6px;
  height: 6px;
  background: #bbb;
  border-radius: 50%;
}
.main .article .caption ul#breadCrumbs li:last-child:after {
  display: none;
}

.filterForm .row button {
  display: block;
  height: 36px;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  background: #cc2029;
  border: none;
  width: 100%;
  border-radius: 3px;
}
.autos {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: 20px 0px;
}

.autos__brand {
  display: block;

  background-color: rgb(255 255 255);
}


.autos__brand:hover {
  transition: 0.5s;
}

.autos__brand p{margin:0}

.autos__link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #333;
  flex-direction: column;
  width: 120px;
  margin:5px;
  padding: 10px;
 background:#f7f7f7; border-radius: 3px;
}

.autos__link small{display: block; padding-top:5px; color:#777;}

.autos__link img {
  height: 50px;
  margin:0 0 5px 0;
}

.model-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.model-list li {
  display: block;
}
.model-list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #333;
  background: #fff;
  flex-direction: column;
  width: 100px;
  height: 60px;
  border: 1px #bbb solid;
  padding: 10px;
  margin: 5px;
}

.prod-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.prod-list li {
  display: flex;
  flex-direction: column;
  margin: 15px 0;
  border-left: 3px #ddd solid;
  border-top: 3px #ddd solid;
  transition: 0.3s;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
}
.prod-list li:hover {
  border-left: 3px #bf1123 solid;
  border-top: 3px #bf1123 solid;
}

.prod-list li h3 {
  margin: 0 0 20px;
  font-size: 16px;
}
.prod-list li h3 a {
  color: #333;
  text-decoration: none;
  text-transform: uppercase;
}
.prod-list li h3 a:hover {
  text-decoration: underline;
}

.short-info {
  display: flex;
  width: 100%;
}

.short-info .img {
  width: 150px;
  flex-shrink: 0;
  height: 120px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.prod-list li a.img span {
  background: rgba(0, 0, 0, 0.5);
  padding: 0 3px;
  font-size: 11px;
  display: block;
  color: #fff;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 0 0 3px 0;
}

.info {
  width: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.info .info__item {
  display: flex;
  justify-content: space-between;
  padding: 5px;
  border-bottom: 1px #bbb solid;
}
.info .info__item strong {
  text-align: right;
}
.info .info__item p {
  margin: 0;
  text-align: left;
}
.info .info__item span {
  width: 120px;
  flex-shrink: 0;
}

.price {
  flex-shrink: 0;
  width: 140px;
  text-align: center;
  font-size: 20px;
}

.price > div {
  padding: 5px 0;
}
.price .BYN {
  font-size: 18px;
  font-weight: normal;
  color: #000;
  padding: 5px 5px;
  background: #fbfbfb;
  border-radius: 3px;
  transition: 0.3s;
}

.price .USD {
  font-size: 16px;
  color: rgb(67 67 67);
}
.price .RUR {
  font-size: 16px;
  color: rgb(67 67 67);
}

ul.paginator {
  display: block;
  padding: 20px 0;
  margin: 0;
  list-style: none;
  text-align: center;
  font-size: 0;
}
ul.paginator li {
  display: inline-block;
  vertical-align: top;
  margin: 5px;
}

ul.paginator li a {
  display: block;
  padding: 5px 11px;
  color: #000;
  transition: 0.3s;
  font-size: 14px;
  text-decoration: none;
  border: 1px #ddd solid;
  border-radius: 3px;
}
ul.paginator li a:hover,
ul.paginator li.active a {
  background: #ffffff;
  border: 1px #0a4275 solid;
}

ul.cat-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
}
ul.cat-list li {
  width: 100%;
  font-size: 16px;
  display: flex;
}
ul.cat-list li a {
  color: #000;
  display: block;
  padding: 5px 3px;
  text-decoration: none;
}
ul.cat-list li a:hover {
  text-decoration: underline;
}
ul.cat-list li.liter {
  width: 100%;
  font-size: 22px;
  font-weight: bold;
  color: #7a7a7a;
  display: block;
  margin-top: 20px;
  padding: 20px 0 10px 0;
  border-top: 1px rgb(21 21 21) solid;
}

.full-product {
  display: flex;
  background: #fff;
  padding: 10px;
}
.full-product .info {
  margin: 0 20px;
  width: 100%;
}
.full-product .gallery {
  max-width: 500px;
}

ul.photos {
  margin: 0;
  padding: 0;
  text-align: center;
  width: 100%;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  min-height: 200px;
  overflow: hidden;
  justify-content: center;
}
ul.photos > li {
  width: 100%;
  margin: 3px;
  overflow: hidden;
}
ul.photos > li a {
  display: block;
  width: 100%;
  color: #000;
  height: 90px;
  background-position: center;
  background-size: cover;
}
ul.photos img {
  width: 100%;
}
ul.photos > li:first-child {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}
ul.photos > li:first-child a {
  height: auto;
}
ul.photos > li {
  display: inline-block;
  width: 100px;
  height: 75px;
  vertical-align: top;
}

.text-info {
  padding: 0 20px;
  font-size: 16px;
  line-height: 150%;
  text-align: justify;
}

.text-info h3,
h4 {
  text-align: center;
  font-size: 23px;
}

.pluses__item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #fce02e8c;
  margin: 20px 0;
}

.pluses__item:last-child {
  border-bottom: none;
}

.pluses__item ul {
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.pluses__item ul li {
  font-size: 18px;
  padding: 0 0 15px 15px;
  line-height: 150%;
  list-style-image: url(/images/check-icon.png);
}

.pluses__item_vertical {
  flex-direction: column;
}

.footer {
  flex: 0 0 auto;
  background: #1f1f1f;
  color:#b5b5b5; font-size: 12px;
}

.footer .wrap {
  padding: 20px 20px 10px;
}

.footer__row{width: 100%; display: flex; justify-content: space-between;}

.footer_col{width: 30%;}

.footer ul{list-style: none;}

.footer__menu {
  margin: 0;
  padding: 0;
}

.footer_links{display: flex; flex-direction: column; list-style: none; padding:0;;}
.footer_links li a{font-size:16px; color:#fff; font-weight: 400; text-decoration: none; display: inline-block; padding:5px 0;}
.footer_links li a.catalog{padding:5px 10px; background:#bf1123; color:#fff; border-radius: 5px; margin-bottom:10px;}


.footer_phones{font-size: 20px;padding:0;}
.footer_phones li a{color:#fff; text-decoration:none; }

.footer__day-box {
  display: flex;
}

ul.msgser{display: flex; padding:0; margin:0;   list-style: none; justify-content: space-between;}
ul.msgser li{width: 30%;}
ul.msgser li a{font-size:12px;  text-decoration: none; border-radius:2px; align-items: center; justify-content: center; display:flex;  padding:4px; color:#fff; border:1px #fff solid;}
ul.msgser li a img{width:20px; margin-right:5px;}

ul.msgser li a.t{color:#3894ff; border:1px #3894ff solid;}
ul.msgser li a.v{color:#a192ff; border:1px #a192ff solid;}
ul.msgser li a.w{color:#4ad6ac; border:1px #4ad6ac solid;}

#cartModalContent {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 0px;
  opacity: 0;
  height: 0px;
  z-index: 9999;
  overflow: hidden;
  transition: opacity 0.3s;
  display: flex;
}

#cartBlacker {
  position: absolute;
  z-index: 10;
  background: rgba(0,0,0,0.6);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

#cartModalContent .cart2order {
  width: 90%;
  padding: 30px;
  font-size: 18px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: auto;
  display: flex;
  background: #fff;
  border-radius: 20px;
}

#cartModalContent.show {
  position: fixed;
  left: 0;
  opacity: 1;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
}

@media screen and (max-width: 768px) {
  .footer .logo, .footer .jTime{width: 100%; text-align: center; justify-content: center; align-items: center;}
  .footer__row{width: 100%; flex-direction: column;}

  .footer_col{width: 100%; text-align: center; align-items: center; justify-content: center;}
}




.card-phone  ul.msgser li a.t{border:none; }
.card-phone ul.msgser li a.v{border:none; }
.card-phone  ul.msgser li a.w{border:none; }

.card-phone  ul.msgser li a img{width:40px; margin:0px;}

a.footer_link_big{font-size:16px; color:#a7a7a7}

.footer_caption{font-size:18px; color:#fff;}

.footer__day {
  border: 1px solid #00ff13c7;
  width: 10px;
  height: 10px;
  margin: 1px;
  border-radius: 50%;
}
.footer__day:last-child {
  border: 1px solid #0a4275;
}

.footer__day-work {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5px 0;
  font-weight: 600;
}

.footer__day-work a {
  color: #262626;
}

.footer__day-work p {
  color: #d7d7d7;
  margin: 5px;
  font-size: 14px;
}

.footer__menu-item {
  list-style: none;
  padding-bottom: 15px;
  font-size: 14px;
  color: #fff;
}

.footer__menu-link {
  text-decoration: none;
  color: #d7d7d7;
}

.footer__socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  color: #fff;
}

.footer__socials h3 {
  font-size: 18px;
  color: #ffffff;
}

.footer__socials-icons {
  padding: 0;
  margin: 0;
  display: flex;
}

.footer__socials-icon {
  list-style: none;
  padding-right: 30px;
}

.footer__socials-icon:last-child {
  padding-right: 0;
}

.footer__socials-img {
  width: 30px;
  border-radius: 50%;
}

.footer__info {
  display: flex;
  flex-direction: column;
  flex: 1;
  border-left: 1px dotted #ffffff;
  border-right: 1px dotted #ffffff;
  align-items: center;
  color: #fff;
  padding: 0 10px;
  margin: 0;
  list-style: none;
}

.footer__info li {
  font-size: 24px;
  line-height: 150%;
}

.footer__info li:first-child {
  color: #bf1123;
  white-space: nowrap;
}

.footer__info li:last-child {
  font-size: 14px;
  padding: 50px 0 0;
}

.footer__link {
  flex: 1;
  padding: 0 10px;
  display: flex;
  list-style: none;
  margin: 0;
  align-items: center;
  justify-content: space-evenly;
  font-size: 12px;
  line-height: 150%;
  color: #fff;
}

.footer__link li {
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.footer__link li img {
  padding: 0 20px 0 0;
}

.footer__link li a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}

.footer__tel,
.footer__email {
  color: #d7d7d7;
  text-decoration: none;
  margin-bottom: 7px;
  font-size: 14px;
}

.footer__sale-info {
  color: #d7d7d7;
  text-align: center;
}

.footer__copyright {
  text-decoration: none;
  color: #0169d3;
  font-weight: bold;
}

.static-page {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 150%;
}

.static-page h1 {
  font-size: 18px;
}

.contacts {
  display: flex;
  flex-direction: column;
}

.contacts__item {
  padding-bottom: 25px;
}

.contacts__tel,
.contacts__email {
  color: #000000;
  font-size: 22px;
  text-decoration: none;
}

.include-box {
  padding: 20px;
}

.header__show-telephone,
.showFilterBtn {
  display: none;
}

ul.plates {
  list-style: none;
  display: flex;
  margin: 20px 0 40px 0;
  justify-content: space-between;
  padding: 0;
  flex-wrap: nowrap;
}
ul.plates li:first-child {
  margin-left: 0;
}
ul.plates li {
  flex: 1;
  margin-left: 20px;
  position: relative;
}
ul.plates li a {
  display: block;
  text-decoration: none;
  position: relative;
  height: 100%;
  width: 100%;
}
ul.plates li a img {
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
  border-radius: 10px;
}
.plates__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #00000091, transparent);
  border-radius: 20px;
}
.plates__text {
  z-index: 3;
  margin: 0;
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  font-feature-settings: 'calt' off;
  color: #FFFFFF;
}
ul.plates li a span {
  /* color: #000;
  position: absolute;
  transition: 0.3s;
  border-radius: 3px;
  bottom: 10px;
  width: 80%;
  left: 10%;
  text-align: center;
  background: hsl(52, 97%, 58%, 0.8);
  padding: 7px 9px;
  font-size: 18px; */
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
}

.card-kontakts {
  display: flex;
  padding: 20px 0;
  justify-content: space-between;
}

.card-kontakts button, .ert {
  flex: 1;
  padding: 10px;
  border: none;
  margin: 5px;
  cursor: pointer;
  border-radius: 10px;
  background: #bf1123;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
}

#cardPhone{padding:20px;}
#cardPhone a span{display: flex; padding:10px; justify-content: center;}
#cardPhone a span i {margin:0 5px; font-size:32px;}

.card-phone.open {
  top: 50%;
  right: 0;
  left: 0;
  opacity: 1;
  z-index: 1500;
  margin: -150px auto auto auto;
}
.card-phone {
  width: 320px;
  transition: 0.1s;
  z-index: 0;
  opacity: 0;
  background: #fff;
  position: fixed;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 25px;
  text-decoration: none;
  border-radius: 10px;
  margin-left: -320px;
  display: flex;
  flex-direction: column;
}

.card-phone span {
  padding: 0 0 10px 0;
  font-size: 14px;
}

.card-phone a {
  text-decoration: none;
  color: #000;
}

.card-phone__item {
  font-size: 24px;
  line-height: 22px;
  padding: 0 0 5px 0;
}

.card-phone__messengers {
  font-size: 30px;
}

.card-phone i {
  padding: 0 3px;
}

a.phone {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background-size: contain;
  border: none;
  position: fixed;
  right: 3%;
  bottom: 9%;
  cursor: pointer;
  padding: 0;
  background: #bf1123;
  border-radius: 50%;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
}
.phone__puls {
  animation-name: phone;
  opacity: 1;
  border-radius: 50px;
  width: 100px;
  height: 100px;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-delay: 1s;
  animation-direction: reverse;
  animation-play-state: running;
  animation-iteration-count: infinite;
  position: absolute;
  top: 0;
  left: 0;
}

#blacker {
  position: fixed;
  transition: opacity 0.3s;
  width: 0;
  height: 0;
  opacity: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
  left: 0;
  top: 0;
}
#blacker.open {
  width: 100%;
  height: 100%;
  opacity: 1;
}

.order {
  float: left;
  width: 100%;
  text-align: center;
}
.order h3 {
  font-weight: normal;
  font-size: 28px;
}
.order a {
  color: #fff;
  font-size: 24px;
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px #fff dotted;
}
.order ul {
  list-style: none;
  margin: 10px 0;
  padding: 0;
}
.order ul li {
  padding: 5px 0;
}

form.recall,
form.recall * {
  box-sizing: border-box;
}
form.recall.open {
  top: 50%;
  opacity: 1;
  z-index: 999;
}
form.recall {
  width: 370px;
  transition: 0.5s;
  z-index: 0;
  opacity: 0;
  z-index: 20;
  background: #fff;
  position: fixed;
  padding: 20px;
  left: 50%;
  top: -1999px;
  margin-left: -185px;
  margin-top: -270px;
  border-radius: 10px;
}
form.recall label {
  display: block;
  width: 100%;
  font-size: 14px;
  color: #181818;
  font-family: "Roboto", sans-serif;
  margin: 24px 0;
  text-align: left;
}
form.recall label:first-child {
  margin-top: 0;
}
form.recall label b {
  font-weight: 500;
}
form.recall label input,
form.recall label textarea {
  width: 100%;
  margin-top: 8px;
  height: 42px;
  border: 2px #d7d7d7 solid;
  padding: 10px;
}
form.recall label textarea {
  height: 90px;
  max-height: 90px;
}
span.closeModal {
  display: block;
  opacity: 0.8;
font-size: 25px;
  background-size: cover;
  position: absolute;
  right: -18px;
  top: -23px;
  cursor: pointer;
color:#fff; opacity:0.5;
}
span.closeModal:hover
{
  opacity:1;
}
form.recall h3 {
  font-size: 18px;
  color: #000;
}
form.recall button {
  background: #bf1123;
  border: none;
  color: #fff;
  width: 100%;
  border-radius: 5px;
  height: 35px;
  text-transform: uppercase;
  font-weight: 700;
}

.hide {
  display: none !important;
}

/* Гамбургер */
/* скрываем чекбокс */
.hamburger-menu {
  display:none;
    z-index: 31;
}

.text-info-caption{font-size:28px; font-weight: 700; line-height: 1.5; margin-bottom:20px;}

.btn2cart {
  flex: 1;
  padding: 10px;
  border: none;
  margin: 5px;
  cursor: pointer;
  border-radius: 10px;
  background: #bf1123;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
}


@media screen and (max-width: 768px) {
  ul.plates {
    flex-direction: column;
  }
  ul.plates li {
    width: 100%;
    margin: 0 0 20px 0;
  }
  .header__contacts-telephone {
    flex-direction: column;
  }



.header__contacts-telephone a{text-decoration: none;}
  .showFilterBtn {
    position: fixed;
    display: none;
    /* display: block; */
    z-index: 15;
    left: 0;
    bottom: 0;
    border: none;
    height: 36px;
    font-size: 16px;
    outline: none;
    padding: 7px;
    background: #bf1123;
    color: #fff;
  }
  .showFilterBtn .fa-times {
    display: none;
  }
  .showFilter .showFilterBtn .fa-times {
    display: inline-block;
  }
  .showFilter .showFilterBtn .fa-search {
    display: none;
  }
  .header__show-telephone {
    position: absolute;
    right: 20px;
    left: auto;
    top: 14px;
    display: block;
    font-size: 18px;
    outline: none;
    padding: 0;
    color: #1f1f1f;
    background: #bf1123;
    border: none;
    border-radius: 3px;
    width: 26px;
    height: 26px;
  }
  .header .logo {
    flex: 1;
  }


  .ban span {
    font-size: 13px;
  }
  .slogan {
    display: none;
  }
  .main .article .caption {
    border-radius: 0;
    margin: 15px 0 0;
  }

  .logo a {
    font-size: 24px;
  }
  .pluses__item {
    flex-direction: column;
  }
  .header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    min-height: 50px;
    max-height: 60px;

  }
  .hamburger-menu {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
  }
  nav {
    display: none;
  }
  .main .wrap {
    flex-direction: column;
    padding-top: 60px;

  }

  .main .aside {
    width: 100%;
    min-height: auto;
    padding: 50px;
    /* height: 100%;
    transition: 0.5s;
    padding: 100px 15% 100px 15%;
    margin: auto;
    background: rgba(255, 255, 255, 0.9);
    min-height: 100%;
    overflow-y: auto;
    position: fixed;
    left: -100%;
    top: 0; */

  }
  .main .article {
    border-top: 1px solid rgb(154 154 154);
  }

  .filterForm {
    position: relative;
    top: 0;
    z-index: 25;
  }

  .header .wrap {
    display: flex;
    flex-direction: column;
    position: relative;
    background:#1f1f1f;
  }
  .header__contacts {
    max-height: 0;
    transition: 0.3s;
    overflow: hidden;
  }
  .showPhone .header__contacts {
    max-height: 200px;
    transition: 0.3s;
  }
  .header__contacts ul li a {
    font-size: 18px;
  }
  .ban {
    display: none;
    height: auto;
  }
  .short-info {
    flex-direction: column;
    align-items: center;
  }
  .price {
    padding: 10px;
  }

  .full-product {
    flex-direction: column;
    align-items: center;
  }
  .main .article .caption h1 {
    font-size: 13px;
    padding: 0;
  }
  .full-product .gallery {
    max-width: 100%;
  }
  .full-product .info {
    margin: 0;
    padding: 20px;
  }
  .main .article .caption h1 {
    line-height: 20px;
  }
  .footer__link {
    width: 100%;
  }
  .footer__top-box {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  .footer__menu-item {
    font-size: 15px;
    padding-bottom: 8px;
  }
  .footer__info {
    border: none;
  }

  .footer__email {
    display: flex;
  }
  .footer__nav {
    padding-bottom: 10px;
  }
}

@media screen and (max-width: 500px) {
  form.recall {
    width: 300px;
    margin-left: -150px;
  }
  .footer__info li {
    font-size: 18px;
  }
}

.footer__pay {
  background: url(../images/cards.png);
  height: 60px;

  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.4);
  margin: 10px 0;
}


.filterForm {
  display: block;
  width: 100%;
  position: sticky;
  top: 15px;
}
.filterForm .row {
  display: flex;
  transition: 0.3s;
  width: 100%;
  padding: 10px 0;
  font-size: 12px;
  border-bottom:1px #ddd solid;
}

.filterForm .row.dopFilter{max-height:0; padding:0; border:none; overflow:hidden;}
#filter.full .row.dopFilter{max-height:80px; padding:10px 0; border-bottom:1px #ddd solid; overflow:hidden;}

#filter .minus{display: none;}

#filter.full .plus{display: none;}
#filter.full .minus{display: flex;}

/* .showFilter .col>div{display: flex; padding:5px 0; cursor:pointer; justify-content: space-between; } */

.filterForm .row:last-child{border:none;}
.filterForm .row .col {
  width: 50%;
  padding: 0 5px;
}

.filterForm .row .col>span{color:#555;}

.filterForm .rowPlace {
  padding: 15px 0;
}

.filterForm .row .col:first-child {
  padding-left: 0;
}
.filterForm .row .col:last-child {
  padding-right: 0;
}

.filterForm .row input,
.filterForm .row select {
  display: block;
  outline: none;
  height: 36px;
  padding: 0 5px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  border: 1px #b9b9b9 solid;
}

.filterForm .row button {
  display: block;
  height: 36px;
  cursor: pointer;
  font-size: 16px;
  border: none;
  width: 100%;
  border-radius: 3px;
  background: #bf1123;
}







#menu__toggle {
    opacity: 0;
  }
  /* стилизуем кнопку */
  .menu__btn {
    display: flex; /* используем flex для центрирования содержимого */
    align-items: center;  /* центрируем содержимое кнопки */
    position: fixed;
    top: 14px;
    left: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 1;
  }
  /* добавляем "гамбургер" */
  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #bf1123;
  }
  .menu__btn > span::before {
    content: '';
    top: -8px;
  }
  .menu__btn > span::after {
    content: '';
    top: 8px;
  }

  /* контейнер меню */
  .menu__box {
    display: block;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    margin: 0;
    padding: 80px 0;
    list-style: none;
    text-align: center;
    background-color: #c4c4c4;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
  }
  /* элементы меню */
  .menu__item {
    display: block;
    padding: 12px 24px;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
  }
  .menu__item:hover {
    background-color: #CFD8DC;
  }
  #menu__toggle:checked ~ .menu__btn > span {
    transform: rotate(45deg);
  }
  #menu__toggle:checked ~ .menu__btn > span::before {
    top: 0;
    transform: rotate(0);
  }
  #menu__toggle:checked ~ .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
  }
  #menu__toggle:checked ~ .menu__box {
    visibility: visible;
    left: 0;
  }
  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after {
    transition-duration: .25s;
  }
  .menu__box {
    transition-duration: .25s;
  }
  .menu__item {
    transition-duration: .25s;
  }

/* =========================================================
   D4 visual redesign v4 — blue palette and safe layout layer
   Palette from d4.by: #1c7ed6, #2c3d51, #233141
   ========================================================= */
:root {
  --d4-blue: #1c7ed6;
  --d4-blue-dark: #1464b0;
  --d4-blue-soft: #e8f3ff;
  --d4-navy: #2c3d51;
  --d4-navy-dark: #233141;
  --d4-bg: #f1f5f9;
  --d4-card: #ffffff;
  --d4-line: #dbe4ee;
  --d4-line-strong: #c8d3df;
  --d4-text: #1f2937;
  --d4-muted: #7b8795;
  --d4-green: #20b26b;
  --d4-shadow: 0 8px 24px rgba(35, 49, 65, .08);
  --d4-shadow-hover: 0 14px 34px rgba(35, 49, 65, .13);
  --d4-radius: 10px;
}

html {background: var(--d4-bg);}
body {
  background: var(--d4-bg) !important;
  background-image: none !important;
  color: var(--d4-text);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 13px;
}
* {box-sizing:border-box;}
a {transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;}
.wrap {
  max-width: 1180px;
  padding-left: 16px;
  padding-right: 16px;
}

/* Topline/header close to d4.by */
.site-topline {
  background: var(--d4-navy-dark);
  color: rgba(255,255,255,.84);
  font-size: 12px;
  line-height: 1.35;
}
.site-topline__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.site-topline__item {display:flex; align-items:center; gap:7px; white-space:nowrap;}
.site-topline__item i {color: var(--d4-blue); font-size: 13px;}

.header {
  background: #fff !important;
  border-bottom: 1px solid var(--d4-line);
  box-shadow: 0 4px 14px rgba(35, 49, 65, .06);
}
.header .wrap,
.header__inner {
  min-height: 88px;
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.header__logo,
.header .wrap > a:first-child {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: 230px;
}
.header__logo img,
.header .wrap > a:first-child img {
  display: block;
  max-height: 66px;
  width: auto;
  object-fit: contain;
}
.header__promise {
  flex: 1 1 auto;
  min-width: 190px;
  color: var(--d4-navy);
}
.header__promise strong {
  display: block;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
}
.header__promise span {
  display: block;
  margin-top: 4px;
  color: var(--d4-muted);
  font-size: 13px;
}
.header__contacts {
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.header__contacts-telephone.msgs {gap: 6px; flex-direction: row;}
.header__contacts-telephone.msgs li {padding-left: 0;}
.header__contacts-telephone.msgs img {
  width: 30px;
  height: 30px;
  display: block;
}
.header__phone-item {
  color: var(--d4-navy-dark) !important;
  font-size: 19px !important;
  line-height: 1.15;
  font-weight: 900;
  justify-content: flex-end;
  white-space: nowrap;
  text-decoration: none;
}
.header__phone-item:hover {color: var(--d4-blue) !important;}
.header__cart {
  flex: 0 0 auto;
  min-width: 122px;
  height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  background: var(--d4-blue);
  color: #fff !important;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(28,126,214,.22);
}
.header__cart:hover {background: var(--d4-blue-dark); transform: translateY(-1px);}
.header__cart i {font-size: 16px;}
.header__cart .short_cart {color:#fff; font-weight:900;}
.header__show-telephone {background: var(--d4-blue) !important; color:#fff !important;}

nav,
.main-nav {
  height: 50px;
  background: var(--d4-navy) !important;
  background-image: none !important;
  border-bottom: 3px solid var(--d4-blue) !important;
  padding-top: 0;
}
nav .wrap {padding-left: 16px; padding-right: 16px;}
nav ul {height: 50px; align-items: stretch;}
nav ul li {width: auto; flex: 1 1 auto; min-width: 0;}
nav ul li.catalog {
  width: 190px;
  flex: 0 0 190px;
  background: var(--d4-blue) !important;
  border-radius: 0;
}
nav ul li a {
  height: 50px;
  border-radius: 0;
  color: #fff !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .01em;
  text-transform: uppercase;
}
nav ul li a:hover,
nav ul li a.current {background: var(--d4-navy-dark) !important; color:#fff !important;}
nav ul li.catalog a,
nav ul li.catalog a:hover {background: var(--d4-blue) !important; color:#fff !important;}
nav ul li i {padding:0 6px 0 0;}

/* Main layout */
.main {background: var(--d4-bg) !important;}
.main .wrap,
.layout-wrap {
  background: transparent !important;
  gap: 20px;
  align-items: flex-start;
  padding-top: 20px;
  padding-bottom: 28px;
}
.main .aside {
  width: 300px;
  min-width: 300px;
  flex: 0 0 300px;
  padding: 0 !important;
  background: transparent !important;
  min-height: 0;
}
.main .article {
  min-width: 0;
  background: var(--d4-card);
  border: 1px solid var(--d4-line);
  border-radius: 10px;
  box-shadow: var(--d4-shadow);
  overflow: hidden;
}
.main .article .caption {
  min-height: 48px;
  border-radius: 0;
  background: #fff !important;
  border-bottom: 1px solid var(--d4-line);
  padding: 0 20px;
}
.main .article .caption h1 {
  color: var(--d4-navy-dark);
  font-size: 18px;
  line-height: 48px;
  font-weight: 900;
}
.main .article .caption ul#breadCrumbs {color: var(--d4-muted);}
.main .article .caption ul#breadCrumbs li a {color: var(--d4-muted);}
.main .article .caption ul#breadCrumbs li a:hover {color: var(--d4-blue); text-decoration:none;}
.main .article .caption ul#breadCrumbs li:after {background: var(--d4-line-strong);}
.include-box {padding: 18px; overflow: visible;}

/* Filter: d4-like visual, ASI logic untouched */
.filterForm {
  width: 100%;
  position: sticky;
  top: 16px;
  background: #fff;
  border: 1px solid var(--d4-line);
  border-radius: 10px;
  box-shadow: var(--d4-shadow);
  overflow: visible;
}

.filterForm::after {
  content: "\f002";
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", FontAwesome, sans-serif;
  font-weight: 900;
  position: absolute;
  top: 19px;
  left: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--d4-blue);
  box-shadow: 0 6px 14px rgba(28,126,214,.32);
  pointer-events: none;
}
.filterForm form {padding: 18px;}
.filterForm .row {
  display: flex;
  gap: 12px;
  width: 100%;
  padding: 0 0 16px 0 !important;
  border: 0 !important;
  font-size: 13px;
}
.filterForm .row:last-child {padding-bottom:0 !important;}
.filterForm .row .col {padding:0 !important; min-width:0;}
.filterForm .row .col > span {
  display: block;
  margin: 0 0 7px 0;
  color: var(--d4-navy-dark);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
}
.filterForm .row input,
.filterForm .row select {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--d4-line-strong) !important;
  border-radius: 7px !important;
  background-color: #fff !important;
  color: var(--d4-text);
  font-size: 15px;
  line-height: 46px;
  box-shadow: none !important;
  outline: none !important;
}
.filterForm .row input:focus,
.filterForm .row select:focus {
  border-color: var(--d4-blue) !important;
  box-shadow: 0 0 0 3px rgba(28,126,214,.10) !important;
}
.filterForm .asi {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--d4-line-strong) !important;
  border-radius: 7px !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: visible !important;
  position: relative;
  color: var(--d4-text);
}
.filterForm .asi:hover,
.filterForm .asi:focus-within {border-color: var(--d4-blue) !important;}
.filterForm .asi input:not(.asi_id) {
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  line-height: 44px !important;
  padding: 0 38px 0 13px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--d4-text) !important;
  font-size: 15px !important;
}
.filterForm .asi_id {display:none !important;}
.filterForm .row.showFilter {padding: 2px 0 15px 0 !important;}
.filterForm .plus,
.filterForm .minus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--d4-blue);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 900;
  cursor: pointer;
}
.filterForm .plus i,
.filterForm .minus i {font-size:16px; color: var(--d4-blue);}
#filter .minus {display:none;}
#filter.full .plus {display:none;}
#filter.full .minus {display:flex;}
.filterForm .row.dopFilter {max-height:0; padding:0 !important; overflow:hidden;}
#filter.full .row.dopFilter {max-height:120px; padding:0 0 16px 0 !important; overflow:visible;}
.filterForm .row button {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 7px;
  background: var(--d4-blue) !important;
  color: #fff !important;
  font-size: 18px;
  font-weight: 900;
  text-transform: none;
  box-shadow: 0 10px 20px rgba(28,126,214,.24);
}
.filterForm .row button:hover {background: var(--d4-blue-dark) !important; transform: translateY(-1px);}

/* Home */
.ban {display:none;}
.home-hero {
  position: relative;
  min-height: 310px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--d4-navy-dark);
}
.home-hero::after {content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(35,49,65,.94), rgba(35,49,65,.62), rgba(35,49,65,.15));}
.home-hero__bg {position:absolute; inset:0;}
.home-hero__bg img {width:100%; height:100%; object-fit:cover; opacity:.68; filter:saturate(.9);}
.home-hero__content {position:relative; z-index:2; max-width:650px; padding:44px 34px; color:#fff;}
.home-hero__label {display:inline-flex; margin-bottom:13px; padding:6px 11px; border-radius:999px; background:var(--d4-blue); font-size:12px; font-weight:900;}
.home-hero h2 {margin:0 0 12px; font-size:35px; line-height:1.12; letter-spacing:-.035em;}
.home-hero p {margin:0 0 22px; font-size:16px; line-height:1.55; color:rgba(255,255,255,.88);}
.home-hero__actions {display:flex; flex-wrap:wrap; gap:10px;}
.home-hero__btn,
.home-hero__link {display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 18px; border-radius:7px; text-decoration:none; font-weight:900;}
.home-hero__btn {background:var(--d4-blue); color:#fff; box-shadow:0 8px 18px rgba(28,126,214,.28);}
.home-hero__btn:hover {background:var(--d4-blue-dark); color:#fff; transform:translateY(-1px);}
.home-hero__link {background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.26);}
.home-hero__link:hover {background:rgba(255,255,255,.18); color:#fff;}
.home-benefits {display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:0 0 28px;}
.home-benefits__item {background:#fff; border:1px solid var(--d4-line); border-radius:9px; padding:18px; box-shadow:0 5px 14px rgba(35,49,65,.04);}
.home-benefits__item i {color:var(--d4-blue); font-size:22px; margin-bottom:12px;}
.home-benefits__item strong {display:block; color:var(--d4-navy-dark); font-size:16px; margin-bottom:6px;}
.home-benefits__item span {display:block; color:var(--d4-muted); line-height:1.45;}
.section-head {text-align:center; margin:8px 0 20px;}
.section-head--left {text-align:left;}
.section-head h2,
.brand-catalog h2,
.last-items h2 {margin:0 0 6px; color:var(--d4-navy-dark); font-size:28px; line-height:1.2; font-weight:900; letter-spacing:-.03em;}
.section-head p {margin:0; color:var(--d4-muted); font-size:14px;}
.autos {gap:10px; margin:0 0 28px; justify-content:flex-start;}
.autos__brand {background:transparent;}
.autos__link {width:112px; min-height:102px; margin:0; padding:12px 8px; background:#fff; border:1px solid var(--d4-line); border-radius:8px; color:var(--d4-navy-dark); box-shadow:0 4px 12px rgba(35,49,65,.04);}
.autos__link:hover {border-color:rgba(28,126,214,.45); color:var(--d4-blue); transform:translateY(-1px); box-shadow:0 8px 20px rgba(35,49,65,.08);}
.autos__link img {height:42px; max-width:72px; object-fit:contain; margin:0 0 6px;}
.autos__link span {font-size:13px; font-weight:800;}

/* Product cards */
.last-items {margin-top: 10px;}
.prod-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(385px, 1fr));
  gap: 16px;
  align-items: stretch;
  width: 100%;
}
.prod-list li {
  width: 100%;
  min-width: 0;
  min-height: 382px;
  display: flex !important;
  flex-direction: column;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid var(--d4-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 5px 18px rgba(35,49,65,.06);
  overflow: hidden;
}
.prod-list li:hover {border-color: rgba(28,126,214,.44) !important; box-shadow:var(--d4-shadow-hover); transform:translateY(-1px);}
.prod-list li h3 {
  height: 46px;
  margin: 0 0 14px !important;
  font-size: 16px !important;
  line-height: 1.35;
  font-weight: 900;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.prod-list li h3 a {color:var(--d4-navy-dark) !important; text-transform:none !important; text-decoration:none !important;}
.prod-list li h3 a:hover {color:var(--d4-blue) !important;}
.short-info {
  flex: 1 1 auto;
  min-height: 296px;
  width: 100%;
  min-width: 0;
  display: grid !important;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-rows: minmax(190px, 1fr) auto auto;
  grid-template-areas:
    "image info"
    "price price"
    "actions actions";
  gap: 12px 14px;
  align-items: start;
}
.short-info .img,
.short-info a.img {
  grid-area: image;
  width: 132px !important;
  height: 112px !important;
  flex: none !important;
  border-radius: 8px;
  background-color: #eef3f8;
  overflow: hidden;
}
.prod-list li a.img span {background:rgba(35,49,65,.72); border-radius:0 0 6px 0;}
.short-info .info {
  grid-area: info;
  width: 100%;
  min-width: 0;
  min-height: 190px;
  padding: 0 !important;
}
.info .info__item {
  display: grid !important;
  grid-template-columns: minmax(82px, auto) minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  min-width: 0;
  padding: 3px 0 !important;
  border: 0 !important;
  font-size: 12px;
  line-height: 1.35;
}
.info .info__item span {width:auto !important; min-width:0; color:#8a96a5; white-space:nowrap;}
.info .info__item strong,
.info .info__item p {min-width:0; max-width:100%; color:var(--d4-navy-dark); font-weight:800; text-align:right; overflow-wrap:anywhere; word-break:normal;}
.price {
  grid-area: price;
  width: 100% !important;
  min-width: 0;
  align-self: end;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid var(--d4-line);
  text-align: left;
}
.price > div {padding:0 !important;}
.price .BYN {display:inline-flex; align-items:center; min-height:30px; padding:4px 8px !important; border-radius:6px; background:var(--d4-blue-soft) !important; color:var(--d4-blue-dark) !important; font-size:20px; line-height:1; font-weight:900;}
.price .USD,
.price .RUR,
.price .EUR {color:var(--d4-muted) !important; font-size:13px; line-height:1;}
.short-info .card-kontakts {grid-area: actions;}
.card-kontakts {
  width: 100%;
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 7px;
  padding: 0 !important;
  margin: 0 !important;
  align-self: end;
}
.card-kontakts button,
.card-kontakts .ert,
.btn2cart {
  width: 100%;
  height: 40px;
  margin: 0 !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 7px !important;
  background: var(--d4-blue) !important;
  color: #fff !important;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(28,126,214,.16);
}
.card-kontakts button:first-child,
.card-kontakts .ert:first-child {background: var(--d4-navy) !important; box-shadow:none;}
.card-kontakts button:hover,
.card-kontakts .ert:hover,
.btn2cart:hover {background:var(--d4-blue-dark) !important; color:#fff !important; transform:translateY(-1px);}
.card-kontakts button:first-child:hover,
.card-kontakts .ert:first-child:hover {background: var(--d4-navy-dark) !important;}

/* Text blocks */
.text-info {font-size:15px; line-height:1.6; color:#344256; text-align:left;}
.home-about {padding: 0; text-align:left;}
.home-about__grid {display:grid; grid-template-columns:repeat(3,1fr); gap:14px;}
.home-about__card {border:1px solid var(--d4-line); border-radius:9px; padding:18px; background:#fff;}
.home-about__card i {color:var(--d4-blue); font-size:22px; margin-bottom:10px;}
.home-about__card h3 {margin:0 0 8px; text-align:left; font-size:18px; color:var(--d4-navy-dark);}
.home-about__card p {margin:0; color:#465568; font-size:14px; line-height:1.55;}
.home-about__card--accent {background:var(--d4-navy); color:#fff; border-color:var(--d4-navy);}
.home-about__card--accent h3 {color:#fff;}
.home-checklist {margin:0; padding:0; list-style:none;}
.home-checklist li {position:relative; padding:0 0 8px 18px; color:rgba(255,255,255,.88);}
.home-checklist li::before {content:""; position:absolute; left:0; top:.55em; width:7px; height:7px; border-radius:50%; background:var(--d4-blue);}

/* Footer */
.footer {background:var(--d4-navy-dark) !important; color:#c8d2dc; font-size:13px;}
.footer .wrap {padding:30px 16px 18px;}
.footer__top {display:grid; grid-template-columns:1.35fr 1fr .8fr .9fr; gap:26px; align-items:start;}
.footer__brand p,
.footer__small {margin:10px 0 0; color:#c8d2dc; line-height:1.55;}
.footer__logo img {max-height:54px; width:auto; display:block; filter:brightness(0) invert(1) grayscale(1); opacity:.95;}
.footer_col {width:auto;}
.footer_caption {display:block; margin-bottom:11px; color:#fff; font-size:16px; font-weight:900;}
.footer_links {margin:0; padding:0;}
.footer_links li a {font-size:14px; color:#c8d2dc; padding:4px 0; text-decoration:none;}
.footer_links li a.catalog {background:transparent; color:#c8d2dc; padding:4px 0; margin:0;}
.footer_links li a:hover {background:transparent; color:#fff;}
.footer_phones {margin:0; padding:0;}
.footer_phones li {padding:0 0 7px;}
.footer_phones li a {font-size:18px; font-weight:900; color:#fff; text-decoration:none;}
.footer__search-link {display:inline-flex; margin-top:12px; min-height:38px; padding:0 14px; align-items:center; justify-content:center; border-radius:7px; background:var(--d4-blue); color:#fff; text-decoration:none; font-weight:900;}
.footer__search-link:hover {background:var(--d4-blue-dark); color:#fff;}
.footer__bottom {display:flex; justify-content:space-between; gap:16px; margin-top:22px; padding-top:16px; border-top:1px solid rgba(255,255,255,.12); color:#93a3b4; font-size:12px;}
.footer__row {display:flex;}

/* Floating callback */
@keyframes d4PhonePulse {
  0% {transform: translate(-50%, -50%) scale(1); opacity: .44;}
  70% {transform: translate(-50%, -50%) scale(1.34); opacity: .16;}
  100% {transform: translate(-50%, -50%) scale(1.52); opacity: 0;}
}
a.phone,
.phone {
  width: 86px !important;
  height: 86px !important;
  right: 28px !important;
  bottom: 28px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border-radius: 50% !important;
  background: var(--d4-blue) !important;
  color: #fff !important;
  font-size: 12px;
  line-height: 1.12;
  text-align: center;
  font-weight: 900;
  text-decoration:none;
  box-shadow: 0 14px 30px rgba(28,126,214,.35);
  overflow: visible !important;
  z-index: 60;
}
.phone:hover {background:var(--d4-blue-dark) !important; color:#fff !important;}
.phone__puls {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 86px !important;
  height: 86px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  border: 1px solid var(--d4-blue) !important;
  background: transparent !important;
  animation: d4PhonePulse 1.8s ease-out infinite !important;
  pointer-events: none;
  transform-origin: 50% 50% !important;
}

/* Modal/cart */
#cartModalContent .cart2order {border-radius:10px; box-shadow:0 24px 60px rgba(35,49,65,.28);}
#cartModalContent .cart2order > div {display:grid; grid-template-columns:1fr 1fr; gap:8px;}
form.recall {border-radius:10px; box-shadow:0 22px 60px rgba(35,49,65,.28);}
form.recall input {border-radius:7px; border:1px solid var(--d4-line-strong) !important;}
form.recall button {background:var(--d4-blue) !important; height:42px; border-radius:7px;}
form.recall button:hover {background:var(--d4-blue-dark) !important;}
span.closeModal {color:#fff;}

/* Mobile */
@media screen and (max-width: 1020px) {
  .header__promise {display:none;}
  .main .aside {width:280px; min-width:280px; flex-basis:280px;}
  .prod-list {grid-template-columns:1fr;}
  .home-benefits,
  .home-about__grid {grid-template-columns:1fr;}
  .footer__top {grid-template-columns:1fr 1fr;}
}

@media screen and (max-width: 768px) {
  .site-topline {display:none;}
  body {padding-top:0;}
  .header {position:fixed; top:0; left:0; z-index:30; min-height:58px; max-height:none;}
  .header .wrap,
  .header__inner {min-height:58px; padding:10px 54px; background:#fff !important; gap:12px;}
  .header__logo img,
  .header .wrap > a:first-child img {max-height:42px;}
  .header__cart {display:none;}
  .header__contacts {width:100%; margin-left:0; justify-content:center; max-height:0; transition:.25s; overflow:hidden;}
  .showPhone .header__contacts {max-height:220px; padding:10px 0;}
  .header__phone-item {justify-content:center; font-size:18px !important;}
  .header__show-telephone {position:absolute; right:20px; top:14px; display:block; width:30px; height:30px; border-radius:5px; border:0;}
  .hamburger-menu {display:flex; position:absolute; left:0; top:0;}
  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after {background-color:var(--d4-blue) !important;}
  .menu__box {background:#fff; box-shadow:0 18px 60px rgba(35,49,65,.2);}
  .menu__item {color:var(--d4-navy-dark); text-align:left;}
  nav {display:none;}
  .main .wrap,
  .layout-wrap {padding-top:74px; flex-direction:column; gap:16px;}
  .main .aside {width:100%; min-width:0; flex-basis:auto;}
  .filterForm {position:relative; top:auto;}
  .main .article .caption {margin:0; border-radius:0;}
  .home-hero__content {padding:32px 22px;}
  .home-hero h2 {font-size:28px;}
  .prod-list {grid-template-columns:1fr;}
  .prod-list li {min-height:0;}
  .short-info {min-height:0; grid-template-columns:118px minmax(0,1fr); grid-template-rows:auto auto auto;}
  .short-info .img,
  .short-info a.img {width:118px !important; height:102px !important;}
  .short-info .info {min-height:0;}
  .footer__top {grid-template-columns:1fr; text-align:center;}
  .footer__logo img {margin:0 auto;}
  .footer__bottom {flex-direction:column; text-align:center; align-items:center;}
}

@media screen and (max-width: 520px) {
  .wrap {padding-left:12px; padding-right:12px;}
  .include-box {padding:14px;}
  .home-hero {min-height:auto;}
  .home-hero::after {background:rgba(35,49,65,.82);}
  .home-hero__content {padding:28px 18px;}
  .home-hero h2 {font-size:24px;}
  .autos {justify-content:center;}
  .autos__link {width:45vw; max-width:150px;}
  .short-info {grid-template-columns:1fr; grid-template-areas:"image" "info" "price" "actions";}
  .short-info .img,
  .short-info a.img {width:100% !important; height:190px !important;}
  .info .info__item {grid-template-columns:1fr 1fr;}
  .card-kontakts {grid-template-columns:1fr;}
  #cartModalContent .cart2order > div {grid-template-columns:1fr;}
  a.phone,
  .phone {width:72px !important; height:72px !important; right:14px !important; bottom:14px !important; font-size:11px;}
  .phone__puls {width:72px !important; height:72px !important;}
}

/* =========================================================
   v21 final filter fix: engine dropdown without native select
   ========================================================= */
html body .filterForm.filterForm-d4,
html body .filterForm.filterForm-d4 * {
  box-sizing: border-box !important;
}

/* Дополнительные параметры не должны обрезать внутренние dropdown. */
html body #filter.full .row.dopFilter,
html body .filterForm.filterForm-d4 #filter.full .row.dopFilter,
html body .filterForm.filterForm-d4 .filter-engine-row,
html body .filterForm.filterForm-d4 .filter-engine-col,
html body .filterForm.filterForm-d4 .filter-volume-col {
  overflow: visible !important;
}

html body .filterForm.filterForm-d4 .filter-engine-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
  max-height: none !important;
  position: relative !important;
  z-index: 60 !important;
}

html body .filterForm.filterForm-d4 .filter-volume-col,
html body .filterForm.filterForm-d4 .filter-engine-col {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: relative !important;
}

/* Единый вид ASI-селекторов: как обычное поле ввода. */
html body .filterForm.filterForm-d4 .asi,
html body .filterForm.filterForm-d4 .brandList,
html body .filterForm.filterForm-d4 .modelList,
html body .filterForm.filterForm-d4 .catList {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  overflow: visible !important;
  z-index: 40 !important;
}

html body .filterForm.filterForm-d4 .asi.asi_open {
  z-index: 12000 !important;
}

html body .filterForm.filterForm-d4 .asi_name {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  padding: 0 44px 0 14px !important;
  margin: 0 !important;
  background: #fff !important;
  border: 1px solid #c6d7e8 !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(35,49,65,.035) !important;
  color: #233141 !important;
  font: 500 15px/48px 'Open Sans', sans-serif !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

html body .filterForm.filterForm-d4 .asi:hover .asi_name,
html body .filterForm.filterForm-d4 .asi.asi_open .asi_name {
  border-color: #1c7ed6 !important;
  box-shadow: 0 0 0 3px rgba(28,126,214,.12) !important;
}

html body .filterForm.filterForm-d4 .asi_name:after {
  content: "" !important;
  position: absolute !important;
  right: 15px !important;
  top: 50% !important;
  width: 0 !important;
  height: 0 !important;
  margin-top: -3px !important;
  border-left: 5px solid transparent !important;
  border-right: 5px solid transparent !important;
  border-top: 7px solid #233141 !important;
  pointer-events: none !important;
}

html body .filterForm.filterForm-d4 .asi.asi_open .asi_name:after {
  transform: rotate(180deg) !important;
  margin-top: -6px !important;
}

html body .filterForm.filterForm-d4 .asi .asi_stuff {
  position: absolute !important;
  left: 0 !important;
  top: calc(100% + 6px) !important;
  display: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  max-height: 320px !important;
  padding: 8px !important;
  margin: 0 !important;
  opacity: 1 !important;
  background: #fff !important;
  border: 1px solid #c7d8ea !important;
  border-radius: 10px !important;
  box-shadow: 0 18px 38px rgba(35,49,65,.22) !important;
  overflow: hidden !important;
  z-index: 12020 !important;
}

html body .filterForm.filterForm-d4 .asi.asi_open .asi_stuff {
  display: block !important;
}

/* Новый двигатель: details/summary. Не зависит от native select и не конфликтует со стилями кнопок. */
html body .filterForm.filterForm-d4 .gas-select {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  overflow: visible !important;
  z-index: 70 !important;
  color: #233141 !important;
}

html body .filterForm.filterForm-d4 .gas-select[open] {
  z-index: 13000 !important;
}

html body .filterForm.filterForm-d4 .gas-select__summary {
  list-style: none !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 44px 0 14px !important;
  background: #fff !important;
  border: 1px solid #c6d7e8 !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(35,49,65,.035) !important;
  color: #233141 !important;
  font: 500 15px/48px 'Open Sans', sans-serif !important;
  cursor: pointer !important;
  user-select: none !important;
  outline: none !important;
  position: relative !important;
}

html body .filterForm.filterForm-d4 .gas-select__summary::-webkit-details-marker,
html body .filterForm.filterForm-d4 .gas-select__summary::marker {
  display: none !important;
  content: "" !important;
}

html body .filterForm.filterForm-d4 .gas-select__summary:after {
  content: "" !important;
  position: absolute !important;
  right: 15px !important;
  top: 50% !important;
  width: 0 !important;
  height: 0 !important;
  margin-top: -3px !important;
  border-left: 5px solid transparent !important;
  border-right: 5px solid transparent !important;
  border-top: 7px solid #233141 !important;
  pointer-events: none !important;
}

html body .filterForm.filterForm-d4 .gas-select:hover .gas-select__summary,
html body .filterForm.filterForm-d4 .gas-select[open] .gas-select__summary {
  border-color: #1c7ed6 !important;
  box-shadow: 0 0 0 3px rgba(28,126,214,.12) !important;
}

html body .filterForm.filterForm-d4 .gas-select[open] .gas-select__summary:after {
  transform: rotate(180deg) !important;
  margin-top: -6px !important;
}

html body .filterForm.filterForm-d4 .gas-select__current {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: #233141 !important;
}

html body .filterForm.filterForm-d4 .gas-select__list {
  position: absolute !important;
  left: 0 !important;
  top: calc(100% + 6px) !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 8px !important;
  background: #fff !important;
  border: 1px solid #c7d8ea !important;
  border-radius: 10px !important;
  box-shadow: 0 18px 38px rgba(35,49,65,.22) !important;
  overflow: hidden !important;
  z-index: 13020 !important;
}

html body .filterForm.filterForm-d4 .gas-select__option {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 7px !important;
  color: #2c3d51 !important;
  font: 500 13px/18px 'Open Sans', sans-serif !important;
  cursor: pointer !important;
  text-align: left !important;
}

html body .filterForm.filterForm-d4 .gas-select__option + .gas-select__option {
  margin-top: 2px !important;
}

html body .filterForm.filterForm-d4 .gas-select__option input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body .filterForm.filterForm-d4 .gas-select__option:hover,
html body .filterForm.filterForm-d4 .gas-select__option.current,
html body .filterForm.filterForm-d4 .gas-select__option:has(input:checked) {
  background: #1c7ed6 !important;
  color: #fff !important;
}

@supports not selector(:has(*)) {
  html body .filterForm.filterForm-d4 .gas-select__option.current {
    background: #1c7ed6 !important;
    color: #fff !important;
  }
}

@media screen and (max-width: 768px) {
  html body .filterForm.filterForm-d4 .filter-engine-row {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Full product page */
html body .full-product.vag-product-page {
  display: grid !important;
  grid-template-columns: minmax(420px, 1fr) minmax(330px, .82fr) !important;
  gap: 22px !important;
  align-items: start !important;
  padding: 24px !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

html body .vag-product-gallery,
html body .vag-product-info,
html body .vag-product-buy {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: #fff !important;
  border: 1px solid var(--vag-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--vag-shadow-soft) !important;
  overflow: visible !important;
}

html body .vag-product-gallery {
  padding: 16px !important;
}

html body .vag-product-side {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  min-width: 0 !important;
}

html body ul.photos.vag-product-photos {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

html body ul.photos.vag-product-photos > li {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  display: block !important;
  border: 1px solid #e2edf8 !important;
  border-radius: 12px !important;
  background: #f4f8fc !important;
  overflow: hidden !important;
}

html body ul.photos.vag-product-photos > li.vag-product-photo--main {
  border: 0 !important;
  background: transparent !important;
}

html body .vag-product-photo--main {
  grid-column: 1 / -1 !important;
}

html body ul.photos.vag-product-photos > li a,
html body ul.photos.vag-product-photos > li:first-child a {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

html body .vag-product-photos img {
  width: 100% !important;
  height: 74px !important;
  display: block !important;
  object-fit: cover !important;
}

html body .vag-product-photo--main img {
  height: clamp(410px, 44vw, 560px) !important;
  object-fit: cover !important;
}

html body .vag-product-info {
  padding: 20px !important;
}

html body .vag-product-info__head {
  margin: 0 0 14px !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid var(--vag-line) !important;
}

html body .vag-product-info__badge {
  display: inline-flex !important;
  align-items: center !important;
  height: 26px !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  background: #e7f2ff !important;
  color: var(--vag-blue) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html body .vag-product-info__head h2 {
  margin: 10px 0 0 !important;
  font-size: 24px !important;
  line-height: 1.15 !important;
  color: var(--vag-navy) !important;
  letter-spacing: -.02em !important;
}

html body .vag-product-specs {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

html body .info .info__item.vag-product-spec,
html body .vag-product-spec {
  display: grid !important;
  grid-template-columns: minmax(118px, 42%) minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
  padding: 9px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #edf2f7 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

html body .vag-product-spec span {
  width: auto !important;
  color: var(--vag-muted) !important;
  font-weight: 700 !important;
}

html body .vag-product-spec strong,
html body .vag-product-spec strong a {
  min-width: 0 !important;
  color: var(--vag-navy) !important;
  font-weight: 900 !important;
  text-align: right !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

html body .vag-product-description {
  margin-top: 14px !important;
  padding: 14px !important;
  display: block !important;
  border: 1px solid #e2edf8 !important;
  border-radius: 13px !important;
  background: #f8fbff !important;
}

html body .vag-product-description span {
  display: block !important;
  margin-bottom: 8px !important;
  color: var(--vag-navy) !important;
  font-weight: 900 !important;
}

html body .vag-product-description p {
  margin: 0 !important;
  color: #3a4756 !important;
  line-height: 1.55 !important;
}

html body .vag-product-buy {
  padding: 18px !important;
  text-align: center !important;
}

html body .vag-product-buy__price-line {
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

html body .vag-product-buy__label {
  color: var(--vag-muted) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

html body .vag-product-buy__price {
  display: inline-flex !important;
  justify-content: center !important;
  padding: 7px 12px !important;
  border-radius: 10px !important;
  background: #e7f2ff !important;
  color: var(--vag-blue) !important;
  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

html body .vag-product-buy__alt {
  color: var(--vag-navy-2) !important;
  font-size: 17px !important;
  white-space: nowrap !important;
}

html body .vag-product-buy__actions {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
}

html body .vag-product-buy__btn,
html body .card-kontakts button.vag-product-buy__btn,
html body .btn2cart.vag-product-buy__btn,
html body .ert.vag-product-buy__btn {
  width: 100% !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}

html body .vag-product-buy__btn--call { background: var(--vag-navy-2) !important; }
html body .vag-product-buy__btn--cart { background: var(--vag-blue) !important; }

html body .vag-product-buy__note {
  max-width: 100% !important;
  margin: 0 !important;
  color: var(--vag-muted) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

@media screen and (max-width: 1080px) {
  html body .full-product.vag-product-page {
    grid-template-columns: 1fr !important;
  }

  html body .vag-product-photo--main img {
    height: 420px !important;
  }
}

@media screen and (max-width: 980px) {
  html body ul.prod-list {
    grid-template-columns: 1fr !important;
  }
}

@media screen and (max-width: 560px) {
  html body ul.prod-list {
    padding: 12px !important;
    gap: 12px !important;
  }

  html body .prod-list li .vag-card__top {
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  html body .prod-list li .vag-card__photo {
    width: 112px !important;
    min-width: 112px !important;
    height: 96px !important;
  }

  html body .prod-list li .info .info__item.vag-card__spec {
    grid-template-columns: 1fr !important;
    gap: 2px !important;
  }

  html body .prod-list li .vag-card__spec strong {
    text-align: left !important;
  }

  html body .prod-list li .vag-card__actions,
  html body .vag-product-buy__actions {
    grid-template-columns: 1fr !important;
  }

  html body .full-product.vag-product-page {
    padding: 14px !important;
    gap: 14px !important;
  }

  html body .vag-product-photo--main img {
    height: 300px !important;
  }

  html body .vag-product-photos img {
    height: 62px !important;
  }
}

/* =========================================================
   V26 — short product card layout fix
   Fixes overlap between photo/specs and keeps price/actions aligned.
   ========================================================= */
html body ul.prod-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(320px, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
  padding: 16px !important;
}

html body .prod-list > li.vag-card {
  min-height: 430px !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

html body .prod-list > li.vag-card .vag-card__title {
  min-height: 46px !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  display: block !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
}

html body .prod-list > li.vag-card .short-info.vag-card__body {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: 132px minmax(0, 1fr) !important;
  grid-template-rows: auto 1fr auto !important;
  grid-template-areas:
    "image info"
    ".     info"
    "footer footer" !important;
  gap: 0 14px !important;
  align-items: start !important;
  align-content: stretch !important;
  overflow: visible !important;
}

html body .prod-list > li.vag-card .short-info.vag-card__body > .vag-card__photo {
  grid-area: image !important;
  width: 132px !important;
  min-width: 132px !important;
  max-width: 132px !important;
  height: 112px !important;
  min-height: 112px !important;
  max-height: 112px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  border-radius: 9px !important;
  background-size: cover !important;
  background-position: center !important;
  background-color: #eef4fa !important;
  border: 1px solid #e3edf7 !important;
  overflow: hidden !important;
}

html body .prod-list > li.vag-card .short-info.vag-card__body > .vag-card__info {
  grid-area: info !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  overflow: visible !important;
}

html body .prod-list > li.vag-card .vag-card__info .vag-card__spec {
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(82px, 42%) minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: start !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  font-size: 12px !important;
  line-height: 1.28 !important;
}

html body .prod-list > li.vag-card .vag-card__spec span {
  width: auto !important;
  color: var(--vag-muted, #7d8ca0) !important;
  font-weight: 500 !important;
  text-align: left !important;
}

html body .prod-list > li.vag-card .vag-card__spec strong {
  min-width: 0 !important;
  max-width: 100% !important;
  color: #162232 !important;
  font-weight: 900 !important;
  text-align: right !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

html body .prod-list > li.vag-card .short-info.vag-card__body > .price.vag-card__footer {
  grid-area: footer !important;
  align-self: end !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 16px 0 0 !important;
  padding: 12px 0 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-end !important;
  border-top: 1px solid var(--vag-line, #dbe5ef) !important;
  text-align: center !important;
  overflow: visible !important;
}

html body .prod-list > li.vag-card .vag-card__price-row {
  width: 100% !important;
  min-height: 34px !important;
  margin: 0 0 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

html body .prod-list > li.vag-card .vag-card__actions {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .prod-list > li.vag-card .vag-card__btn,
html body .prod-list > li.vag-card .ert.vag-card__btn,
html body .prod-list > li.vag-card .btn2cart.vag-card__btn {
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

html body .prod-list > li.vag-card .vag-card__btn--call {
  background: var(--vag-navy-2, #2c3d51) !important;
}

html body .prod-list > li.vag-card .vag-card__btn--cart {
  background: var(--vag-blue, #1c7ed6) !important;
}

html body .prod-list > li.vag-card .vag-card__hidden-photo {
  display: none !important;
}

@media screen and (max-width: 980px) {
  html body ul.prod-list {
    grid-template-columns: 1fr !important;
  }
}

@media screen and (max-width: 560px) {
  html body .prod-list > li.vag-card {
    min-height: 0 !important;
    padding: 13px !important;
  }

  html body .prod-list > li.vag-card .short-info.vag-card__body {
    grid-template-columns: 112px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "image info"
      "footer footer" !important;
    gap: 12px !important;
  }

  html body .prod-list > li.vag-card .short-info.vag-card__body > .vag-card__photo {
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    height: 96px !important;
    min-height: 96px !important;
    max-height: 96px !important;
  }

  html body .prod-list > li.vag-card .vag-card__info .vag-card__spec {
    grid-template-columns: 1fr !important;
    gap: 2px !important;
  }

  html body .prod-list > li.vag-card .vag-card__spec strong {
    text-align: left !important;
  }

  html body .prod-list > li.vag-card .vag-card__actions {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   Product page final fixes: mobile gallery + full description
   ========================================================= */

/* Главное фото полной карточки не должно сжиматься */
.full-product ul.photos > li:first-child,
.vag-product-gallery ul.photos > li:first-child,
.vag-product__gallery ul.photos > li:first-child,
ul.photos.vag-product-photos > li:first-child {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
}

.full-product ul.photos > li:first-child a,
.vag-product-gallery ul.photos > li:first-child a,
.vag-product__gallery ul.photos > li:first-child a,
ul.photos.vag-product-photos > li:first-child a {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 260px !important;
  aspect-ratio: 4 / 3;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  border-radius: 16px !important;
  background-color: #f4f8fd !important;
}

.full-product ul.photos > li:first-child img,
.vag-product-gallery ul.photos > li:first-child img,
.vag-product__gallery ul.photos > li:first-child img,
ul.photos.vag-product-photos > li:first-child img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 16px !important;
}

/* Обрезаем только обычные характеристики, но не описание */
.info .info__item:not(.vag-product-description) strong,
.info .info__item:not(.vag-product-description) p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 34px;
  overflow-wrap: anywhere;
}

/* Описание товара показываем полностью */
.info .info__item.vag-product-description,
.info__item.vag-product-description {
  align-items: flex-start !important;
}

.info .info__item.vag-product-description p,
.info__item.vag-product-description p,
.vag-product-description p {
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  overflow: visible !important;
  max-height: none !important;
  white-space: normal !important;
  line-height: 1.45 !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

@media screen and (max-width: 620px) {
  .full-product ul.photos > li:first-child a,
  .vag-product-gallery ul.photos > li:first-child a,
  .vag-product__gallery ul.photos > li:first-child a,
  ul.photos.vag-product-photos > li:first-child a {
    min-height: 280px !important;
    aspect-ratio: 1 / 1;
  }
}

@media screen and (max-width: 420px) {
  .full-product ul.photos > li:first-child a,
  .vag-product-gallery ul.photos > li:first-child a,
  .vag-product__gallery ul.photos > li:first-child a,
  ul.photos.vag-product-photos > li:first-child a {
    min-height: 240px !important;
  }
}

/* Contacts page */

.contacts-page {
  width: 100%;
  padding: 28px;
  color: #233141;
}

.contacts-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 34px;
  margin-bottom: 24px;
  background:
    linear-gradient(135deg, rgba(35, 49, 65, 0.96), rgba(44, 61, 81, 0.92)),
    radial-gradient(circle at right top, rgba(28, 126, 214, 0.35), transparent 35%);
  color: #fff;
  box-shadow: 0 18px 45px rgba(35, 49, 65, 0.18);
}

.contacts-hero:after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(28, 126, 214, 0.22);
}

.contacts-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(28, 126, 214, 0.22);
  color: #b9dcff;
  font-size: 13px;
  font-weight: 700;
}

.contacts-hero h1 {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.15;
  color: #fff;
}

.contacts-hero p {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 20px;
  margin-bottom: 20px;
}

.contacts-card,
.contacts-mini-card,
.contacts-map-card {
  border: 1px solid #cfe0f3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(35, 49, 65, 0.08);
}

.contacts-card {
  padding: 24px;
}

.contacts-card h2,
.contacts-map-card h2 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.25;
  color: #233141;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid #e1ecf7;
  border-radius: 14px;
  background: #f8fbff;
}

.contacts-row__icon,
.contacts-mini-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1c7ed6;
  color: #fff;
  border-radius: 14px;
}

.contacts-row__icon {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.contacts-row__content strong {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  color: #7b8ca3;
}

.contacts-row__content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #233141;
}

.contacts-phone {
  margin: 4px 0;
}

.contacts__tel,
.contacts__email {
  display: inline-flex;
  align-items: center;
  color: #233141;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contacts__tel:hover,
.contacts__email:hover {
  color: #1c7ed6;
}

.contacts-help {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contacts-help li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  background: #f4f8fd;
}

.contacts-help span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e3f1ff;
  color: #1c7ed6;
  font-weight: 800;
}

.contacts-help p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #4b5e75;
}

.contacts-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.contacts-mini-card {
  padding: 20px;
}

.contacts-mini-card__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  font-size: 18px;
}

.contacts-mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  color: #233141;
}

.contacts-mini-card p {
  margin: 0;
  color: #6f8096;
  font-size: 14px;
  line-height: 1.5;
}

.contacts-map-card {
  overflow: hidden;
}

.contacts-map-card__head {
  padding: 24px 24px 0;
}

.contacts-map-card__head p {
  margin: -8px 0 18px;
  color: #6f8096;
  font-size: 15px;
}

.contacts-map-placeholder {
  height: 280px;
  margin: 0 24px 24px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(35, 49, 65, 0.88), rgba(28, 126, 214, 0.76)),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.08) 0,
      rgba(255,255,255,0.08) 1px,
      transparent 1px,
      transparent 18px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.contacts-map-placeholder div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contacts-map-placeholder i {
  font-size: 34px;
  margin-bottom: 10px;
}

.contacts-map-placeholder strong {
  font-size: 22px;
  margin-bottom: 6px;
}

.contacts-map-placeholder span {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}

@media screen and (max-width: 900px) {
  .contacts-page {
    padding: 18px;
  }

  .contacts-grid,
  .contacts-info-grid {
    grid-template-columns: 1fr;
  }

  .contacts-hero {
    padding: 26px;
  }

  .contacts-hero h1 {
    font-size: 28px;
  }
}

@media screen and (max-width: 520px) {
  .contacts-row {
    grid-template-columns: 1fr;
  }

  .contacts__tel,
  .contacts__email {
    font-size: 17px;
  }

  .contacts-map-placeholder {
    height: 220px;
    margin: 0 16px 16px;
  }

  .contacts-card,
  .contacts-mini-card {
    padding: 18px;
  }
}

/* Info pages: guarantee / delivery */

.info-page {
  width: 100%;
  padding: 28px;
  color: #233141;
}

.info-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 34px;
  margin-bottom: 24px;
  background:
    linear-gradient(135deg, rgba(35, 49, 65, 0.97), rgba(44, 61, 81, 0.94)),
    radial-gradient(circle at right top, rgba(28, 126, 214, 0.36), transparent 38%);
  color: #fff;
  box-shadow: 0 18px 45px rgba(35, 49, 65, 0.18);
}

.info-hero:after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(28, 126, 214, 0.2);
}

.info-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(28, 126, 214, 0.24);
  color: #b9dcff;
  font-size: 13px;
  font-weight: 700;
}

.info-hero h1 {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.15;
  color: #fff;
}

.info-hero p {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
  margin-bottom: 20px;
}

.info-card,
.info-mini-card {
  border: 1px solid #cfe0f3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(35, 49, 65, 0.08);
}

.info-card {
  padding: 24px;
}

.info-card h2 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.25;
  color: #233141;
}

.info-text {
  position: relative;
  padding: 20px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #e1ecf7;
  color: #4b5e75;
  font-size: 16px;
  line-height: 1.7;
}

.info-text:before {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #1c7ed6;
}

.info-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.info-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  background: #f4f8fd;
}

.info-steps span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e3f1ff;
  color: #1c7ed6;
  font-weight: 800;
}

.info-steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #4b5e75;
}

.info-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-mini-card {
  padding: 20px;
}

.info-mini-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #1c7ed6;
  color: #fff;
  font-size: 18px;
}

.info-mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  color: #233141;
}

.info-mini-card p {
  margin: 0;
  color: #6f8096;
  font-size: 14px;
  line-height: 1.5;
}

.info-page--guarantee .info-hero {
  background:
    linear-gradient(135deg, rgba(35, 49, 65, 0.97), rgba(44, 61, 81, 0.94)),
    radial-gradient(circle at right top, rgba(28, 126, 214, 0.38), transparent 38%);
}

.info-page--delivery .info-hero {
  background:
    linear-gradient(135deg, rgba(35, 49, 65, 0.97), rgba(44, 61, 81, 0.94)),
    radial-gradient(circle at right top, rgba(28, 126, 214, 0.34), transparent 38%);
}

@media screen and (max-width: 900px) {
  .info-page {
    padding: 18px;
  }

  .info-grid,
  .info-mini-grid {
    grid-template-columns: 1fr;
  }

  .info-hero {
    padding: 26px;
  }

  .info-hero h1 {
    font-size: 28px;
  }
}

@media screen and (max-width: 520px) {
  .info-card,
  .info-mini-card {
    padding: 18px;
  }

  .info-text {
    padding: 16px;
    font-size: 15px;
  }

  .info-steps li {
    grid-template-columns: 1fr;
  }
}

/* Full product gallery mobile fix */

.full-product .gallery,
.vag-product-gallery,
.vag-product__gallery,
.product-gallery {
  min-width: 0;
}

.full-product ul.photos,
.vag-product-gallery ul.photos,
.vag-product__gallery ul.photos {
  width: 100%;
}

.full-product ul.photos > li:first-child,
.vag-product-gallery ul.photos > li:first-child,
.vag-product__gallery ul.photos > li:first-child {
  width: 100%;
  height: auto;
  min-height: 0;
}

.full-product ul.photos > li:first-child a,
.vag-product-gallery ul.photos > li:first-child a,
.vag-product__gallery ul.photos > li:first-child a {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 16px;
  background-color: #f4f8fd;
}

.full-product ul.photos > li:first-child img,
.vag-product-gallery ul.photos > li:first-child img,
.vag-product__gallery ul.photos > li:first-child img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
}

@media screen and (max-width: 620px) {
  .full-product ul.photos > li:first-child a,
  .vag-product-gallery ul.photos > li:first-child a,
  .vag-product__gallery ul.photos > li:first-child a {
    min-height: 0 !important;
    aspect-ratio: auto !important;
  }
}

@media screen and (max-width: 420px) {
  .full-product ul.photos > li:first-child a,
  .vag-product-gallery ul.photos > li:first-child a,
  .vag-product__gallery ul.photos > li:first-child a {
    min-height: 0 !important;
  }
}

/* Payment page */

.info-page--payment .info-text strong {
  color: #233141;
  font-size: 17px;
}

.info-mini-grid--payment {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.info-mini-grid--payment .info-mini-card {
  min-height: 174px;
}

@media screen and (max-width: 1100px) {
  .info-mini-grid--payment {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 620px) {
  .info-mini-grid--payment {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FINAL HOTFIX 2026-07-01
   Fixes after optimized CSS:
   1) duplicate filter title;
   2) advanced fields visible by default;
   3) short-card price visual background;
   4) dark home-about card readability.
   ========================================================= */

/* 1. The real filter header already exists in HTML, so disable old pseudo-header. */
html body .filterForm.filterForm-d4::before,
html body .filterForm.filterForm-d4::after,
html body .main .aside .filterForm.filterForm-d4::before,
html body .main .aside .filterForm.filterForm-d4::after,
html body .aside .filterForm.filterForm-d4::before,
html body .aside .filterForm.filterForm-d4::after {
  display: none !important;
  content: none !important;
}

/* 2. Advanced filter fields: hidden until #filter gets .full. */
html body .filterForm.filterForm-d4 #filter:not(.full) .row.dopFilter,
html body .filterForm.filterForm-d4 #filter:not(.full) .filter-advanced,
html body .filterForm.filterForm-d4 #filter:not(.full) .filter-engine-row,
html body .filterForm.filterForm-d4 #filter:not(.full) .row.filter-engine-row {
  display: none !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

html body .filterForm.filterForm-d4 #filter.full .row.dopFilter,
html body .filterForm.filterForm-d4 #filter.full .filter-advanced,
html body .filterForm.filterForm-d4 #filter.full .filter-engine-row,
html body .filterForm.filterForm-d4 #filter.full .row.filter-engine-row {
  display: flex !important;
  max-height: none !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  opacity: 1 !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

html body .filterForm.filterForm-d4 #filter.full .filter-engine-row,
html body .filterForm.filterForm-d4 #filter.full .row.filter-engine-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 12px !important;
}

html body .filterForm.filterForm-d4 #filter:not(.full) .plus {
  display: flex !important;
}
html body .filterForm.filterForm-d4 #filter:not(.full) .minus {
  display: none !important;
}
html body .filterForm.filterForm-d4 #filter.full .plus {
  display: none !important;
}
html body .filterForm.filterForm-d4 #filter.full .minus {
  display: flex !important;
}

/* 3. Short-card price: return highlighted price badge. */
html body .prod-list > li.vag-card .vag-card__price-row,
html body .prod-list li .vag-card__price-row {
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  text-align: center !important;
}

html body .prod-list > li.vag-card .vag-card__price-main,
html body .prod-list li .vag-card__price-main,
html body .prod-list > li.vag-card .price .BYN,
html body .prod-list li .price .BYN {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  background: #e8f3ff !important;
  color: #1c7ed6 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

html body .prod-list > li.vag-card .vag-card__price-alt,
html body .prod-list li .vag-card__price-alt,
html body .prod-list li .price .USD,
html body .prod-list li .price .RUR,
html body .prod-list li .price .EUR {
  display: inline-flex !important;
  align-items: center !important;
  color: #2c3d51 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

/* 4. Home-about dark card readability. */
html body .home-about__card.home-about__card--accent,
html body .home-about__card--accent {
  background: #2c3d51 !important;
  border-color: #2c3d51 !important;
  color: #fff !important;
}

html body .home-about__card.home-about__card--accent h3,
html body .home-about__card.home-about__card--accent p,
html body .home-about__card.home-about__card--accent li,
html body .home-about__card.home-about__card--accent span,
html body .home-about__card--accent h3,
html body .home-about__card--accent p,
html body .home-about__card--accent li,
html body .home-about__card--accent span {
  color: rgba(255,255,255,.9) !important;
}

html body .home-about__card.home-about__card--accent h3,
html body .home-about__card--accent h3 {
  color: #fff !important;
}

html body .home-about__card.home-about__card--accent i,
html body .home-about__card--accent i {
  color: #69b7ff !important;
}

@media screen and (max-width: 430px) {
  html body .filterForm.filterForm-d4 #filter.full .filter-engine-row,
  html body .filterForm.filterForm-d4 #filter.full .row.filter-engine-row {
    grid-template-columns: 1fr !important;
  }
}


/* === FIX: нормальная шапка фильтра без дублей === */

html body .filterForm.filterForm-d4::before,
html body .filterForm.filterForm-d4::after,
html body .main .aside .filterForm.filterForm-d4::before,
html body .main .aside .filterForm.filterForm-d4::after,
html body .aside .filterForm.filterForm-d4::before,
html body .aside .filterForm.filterForm-d4::after {
  display: none !important;
  content: none !important;
}

html body .filterForm-d4 .filterForm__head {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-height: 78px !important;
  margin: 0 !important;
  padding: 17px 18px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #233141, #2c3d51) !important;
  border-radius: 10px 10px 0 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

html body .filterForm-d4 .filterForm__icon {
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  background: #1c7ed6 !important;
  border-radius: 50% !important;
  font-size: 16px !important;
  box-shadow: 0 8px 18px rgba(28, 126, 214, .28) !important;
}

html body .filterForm-d4 .filterForm__title {
  display: block !important;
  min-width: 0 !important;
  color: #fff !important;
}

html body .filterForm-d4 .filterForm__title strong {
  display: block !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  white-space: normal !important;
}

html body .filterForm-d4 .filterForm__title span {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, .86) !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
  white-space: normal !important;
}


/* === FIX: mobile short product card layout === */

@media screen and (max-width: 768px) {
  html body .prod-list li.vag-card,
  html body .prod-list li {
    min-height: 0 !important;
    height: auto !important;
    padding: 14px !important;
  }

  html body .prod-list li .short-info,
  html body .vag-card__body {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "image"
      "info"
      "price"
      "actions" !important;
    gap: 14px !important;
    min-height: 0 !important;
    height: auto !important;
  }

  html body .prod-list li .short-info .img,
  html body .prod-list li .short-info a.img,
  html body .vag-card__photo {
    grid-area: image !important;
    width: 100% !important;
    height: 190px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    background-size: cover !important;
    background-position: center !important;
  }

  html body .prod-list li .short-info > .info,
  html body .vag-card__info {
    grid-area: info !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  html body .prod-list li .info .info__item,
  html body .vag-card__spec {
    display: grid !important;
    grid-template-columns: minmax(110px, 45%) minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    padding: 5px 0 !important;
    border-bottom: 1px solid #edf3f8 !important;
  }

  html body .prod-list li .info .info__item:last-child,
  html body .vag-card__spec:last-child {
    border-bottom: 0 !important;
  }

  html body .prod-list li .info .info__item span,
  html body .vag-card__spec span {
    min-width: 0 !important;
    width: auto !important;
    color: #8a97a8 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
  }

  html body .prod-list li .info .info__item strong,
  html body .prod-list li .info .info__item p,
  html body .vag-card__spec strong,
  html body .vag-card__spec p {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    color: #233141 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    text-align: right !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  html body .prod-list li .short-info > .price,
  html body .vag-card__footer {
    grid-area: price !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 12px 0 0 !important;
    border-top: 1px solid #d5e1ee !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  html body .prod-list li .short-info > .card-kontakts,
  html body .vag-card__actions {
    grid-area: actions !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }
}

/* Footer developer link */

.footer-dev {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
  transition: .2s ease;
}

.footer-dev span {
  color: rgba(255,255,255,.62);
  font-weight: 400;
}

.footer-dev strong {
  color: #fff;
  font-weight: 800;
}

.footer-dev:hover {
  color: #fff;
  border-color: rgba(28,126,214,.65);
  background: rgba(28,126,214,.14);
  transform: translateY(-1px);
}

.footer-dev:hover span,
.footer-dev:hover strong {
  color: #fff;
}

@media screen and (max-width: 768px) {
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .footer-dev {
    justify-content: center;
  }
}


