@charset "UTF-8";
*,
*::after,
*::before {
  box-sizing: border-box;
}

:root {
  /* мобильные: шапка в потоке документа; десктоп: запас под фиксированную шапку */
  --site-header-offset: env(safe-area-inset-top, 0px);
}
@media screen and (min-width: 1025px) {
  :root {
    --site-header-offset: calc(220px + env(safe-area-inset-top, 0px));
  }
}

html {
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-padding-top: var(--site-header-offset);
}

img {
  max-width: 100%;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  height: auto;
}

svg {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

use {
  fill: inherit;
}

@font-face {
  font-family: "DINPRO";
  src: url("/client/fonts/din-pro-400.woff2") format("woff2"), url("/client/fonts/din-pro-400.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DINPRO";
  src: url("/client/fonts/din-pro-700.woff2") format("woff2"), url("/client/fonts/din-pro-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OSWALD";
  src: url("/client/fonts/oswald-regular.woff2") format("woff2"), url("/client/fonts/oswald-regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OSWALD";
  src: url("/client/fonts/oswald-bold.woff2") format("woff2"), url("/client/fonts/oswald-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.primary-title {
  font-size: 48px;
}

.secondary-title {
  font-size: 38px !important;
}

.third-title {
  font-size: 28px;
}

@media screen and (max-width: 768px) {
  .primary-title {
    font-size: 20px;
  }
  .secondary-title {
    font-size: 30px !important;
  }
  .third-title {
    font-size: 16px;
  }
  h3 {
    font-size: 16px;
    text-transform: none;
  }
  p,
  li {
    text-transform: none;
  }
}
@media screen and (min-width: 768px) {
  .third-title {
    font-size: 32px;
  }
}
h2 {
  font-family: "OSWALD", Arial, sans-serif;
  font-weight: 700;
  text-align: center;
  scroll-margin-top: 150px;
}

.container {
  grid-column: 1/2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 10px;
}
@media (min-width: 1440px) {
  .container {
    padding: 0 20px;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(#121010, #0e0c0c);
  display: flex;
  flex-direction: column;
  font-family: "DINPRO", Arial, sans-serif;
  text-transform: uppercase;
  color: white;
  font-weight: 400;
  overflow-x: clip;
}
body.overflow {
  overflow: hidden;
}

main {
  flex-grow: 1;
  background-color: #000000;
  padding-top: var(--site-header-offset);
}

p {
  font-family: "OSWALD", Arial, sans-serif;
}

.list-style-none {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.m-0 {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

#password-hash {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

#captcha-render {
  background: none;
  border: none;
  outline: none;
  padding: 10px;
  font-size: 20px;
  border: 1px solid white;
  color: white;
  margin-bottom: 10px;
  margin-top: 10px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
#captcha-render:hover {
  background-color: white;
  color: black;
}

.error-validate {
  position: absolute;
  right: 5px;
  top: 10%;
  padding: 5px;
  border-radius: 10px;
  border: 2px solid red;
  font-size: 12px;
  background-color: rgb(43, 43, 43);
  color: white;
  animation: showError 0.3s ease;
}
@media screen and (min-width: 1440px) {
  .error-validate {
    right: 20px;
    top: 40%;
    font-size: 20px;
  }
}

.link-message {
  background-image: url("/client/vectors/message-icon.svg");
}

.link-site {
  background-image: url("/client/vectors/home-icon.svg");
}

@keyframes showError {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.hidden-header-geo {
  margin: 0 !important;
  width: 50px !important;
  height: 50px !important;
  display: none !important;
}
.hidden-header-geo svg {
  width: 35px !important;
  height: 35px !important;
}
@media screen and (min-width: 1024px) {
  .hidden-header-geo {
    display: none !important;
  }
}
@media screen and (max-width: 1024px) {
  .hidden-header-geo.hidden {
    display: flex !important;
  }
}

@media screen and (max-width: 1024px) {
  #geoAddress.hidden {
    display: none !important;
  }
}

.popup__icons svg {
  width: 35px;
  height: 35px;
}
.popup.phone-popup.active {
  top: auto !important;
  bottom: 75px;
}
@media screen and (min-width: 769px) {
  .popup.phone-popup {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 110px;
    min-width: 280px;
    z-index: 100;
    background-color: #1c1a1a;
    padding: 20px;
    border-radius: 16px;
    flex-direction: column;
    gap: 15px;
  }
  .popup.phone-popup.active {
    display: flex;
    bottom: 110px;
  }
  .popup.phone-popup .popup__phones {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .popup.phone-popup .popup__phones a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
  }
  .popup.phone-popup .popup__icons {
    display: flex;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.3);
  }
  .popup.phone-popup .popup__icons a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    gap: 8px;
  }
}

.invisible {
  background: transparent;
  border: none;
  outline: none;
  color: unset;
  text-decoration: unset;
}

button[type=submit]:disabled {
  opacity: 0.3;
  background: rgba(0, 0, 0, 0.5);
}

.animated-button {
  background-color: black;
  color: white;
  animation: shine 7s infinite;
}

@keyframes shine {
  0% {
    background-color: black;
    color: white;
    transform: scaleX(1);
  }
  50% {
    background-color: white;
    color: black;
    transform: scaleX(1.02);
  }
  100% {
    background-color: black;
    color: white;
    transform: scaleX(1);
  }
}
.animated-calling {
  animation: calling 3s infinite;
}

@keyframes calling {
  0% {
    transform: scaleX(1) rotate(10deg);
  }
  50% {
    transform: scaleX(1.02) rotate(0deg);
  }
  60% {
    transform: scaleX(1.02) rotate(12deg);
  }
  70% {
    transform: scaleX(1.02) rotate(0deg);
  }
  100% {
    transform: scaleX(1) rotate(10deg);
  }
}
.footer {
  --footer-gap: 20px;
  --footer-contact-icon-size: 20px;
  --footer-contact-icon-gap: 10px;
  --footer-line: 2px solid rgba(255, 255, 255, 0.9);
  --footer-line-pad: 14px;
  padding: 80px 0 24px 0;
  margin-top: 0;
  position: relative;
  min-height: 280px;
  background-color: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__wrapper {
  background-color: #000000;
}
.footer__inner {
  display: grid;
  align-items: start;
  justify-content: start;
  gap: var(--footer-gap);
  width: 100%;
  max-width: min(100%, 420px);
  margin: 0 auto;
  padding: 0 4px;
  box-sizing: border-box;
  grid-template-columns: 1fr;
  grid-template-areas:
    "logo"
    "menu"
    "contacts";
}
.footer__logo {
  grid-area: logo;
  order: 0;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  grid-column: unset;
  grid-row: unset;
}
.footer__logo img {
  width: 142px;
  height: 40px;
  max-width: 142px;
}
@media screen and (min-width: 1024px) {
  .footer__inner .footer__logo {
    grid-column: unset;
    grid-row: unset;
  }
  .footer__inner .footer__logo img {
    width: 142px;
    height: 40px;
    max-width: 142px;
  }
}
.footer__contacts {
  grid-area: contacts;
  order: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: var(--footer-gap);
       column-gap: var(--footer-gap);
  row-gap: var(--footer-gap);
  grid-template-areas: "body body";
  box-sizing: border-box;
}
.footer__contacts a {
  gap: 5px;
}
.footer__contacts-body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  gap: var(--footer-gap);
  border-left: var(--footer-line);
  padding-left: var(--footer-line-pad);
  box-sizing: border-box;
}
.footer__contacts .footer__contacts-mid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--footer-gap);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.footer__contacts .email-site {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--footer-gap);
  width: 100%;
  max-width: 100%;
}
.footer__contacts .social {
  text-transform: none;
  display: flex;
  align-items: flex-start;
  margin-right: auto;
  gap: var(--footer-gap);
}
.footer__contacts .social p {
  color: white;
  font-family: "DINPRO", Arial, sans-serif;
  margin: 0;
  font-size: 14px;
}
.footer__contacts .social__icons {
  display: flex;
  flex-wrap: wrap;
  max-width: 140px;
}
.footer__contacts .social__icons svg {
  width: var(--footer-contact-icon-size);
  height: var(--footer-contact-icon-size);
  color: #ffffff;
  flex-shrink: 0;
}
.footer__contacts .social-contact {
  gap: var(--footer-contact-icon-gap);
  align-items: center;
}
.footer__contacts .social-contact__icon {
  fill: currentColor;
  color: #ffffff;
}
.footer__contacts .social-contact__label {
  font-size: 14px;
  font-weight: 700;
}
.footer__contacts .phones {
  font-size: 14px;
  font-weight: 700;
  align-content: start;
  justify-items: start;
  display: grid;
  gap: var(--footer-gap);
}
.footer__contacts .phones .geo__wrapper {
  color: #ffffff;
  position: relative;
  gap: 5px;
}
.footer__contacts .phones .geo__wrapper.menu-geo-phone {
  flex-direction: row;
  display: flex;
}
.footer__contacts .phones .geo__wrapper.menu-geo-phone svg {
  position: relative;
  transform: none;
}
.footer__contacts .phones .geo__wrapper svg {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  color: red;
}
.footer__contacts .phones .geo__wrapper .geo-address-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: #ffffff;
  text-align: left;
}
.footer__contacts .phones .geo__wrapper .geo-address-line {
  display: block;
  margin: 0;
  line-height: 1.35;
}
.footer__contacts .email {
  text-transform: none;
}
.footer__contacts .email a {
  color: white;
  font-family: "DINPRO", Arial, sans-serif;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  background-repeat: no-repeat;
  background-size: var(--footer-contact-icon-size) var(--footer-contact-icon-size);
  line-height: 30px;
  padding-left: calc(var(--footer-contact-icon-size) + var(--footer-contact-icon-gap));
  background-position: left;
}
.footer__contacts .site {
  text-transform: none;
}
.footer__contacts .site a {
  color: white;
  font-family: "DINPRO", Arial, sans-serif;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  background-repeat: no-repeat;
  background-size: var(--footer-contact-icon-size) var(--footer-contact-icon-size);
  line-height: 25px;
  padding-left: calc(var(--footer-contact-icon-size) + var(--footer-contact-icon-gap));
  background-position: left;
}
.footer__contacts .social p {
  color: white;
  font-family: "DINPRO", Arial, sans-serif;
  margin: 0;
  margin-right: auto;
  font-size: 14px;
  font-weight: 700;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  line-height: 30px;
  padding-left: 30px;
  background-position: left;
  justify-content: flex-end;
  background-image: url("/client/vectors/icons/instagramm-icon.svg");
}
.footer__contacts a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
}
.footer__messangers p:first-of-type {
  color: #ff4600;
}
.footer__messangers a {
  display: block;
  width: 50px;
  height: 50px;
  background-repeat: no-repeat;
  background-size: calc(100% - 10px);
  background-color: linear-gradient(rgb(10, 10, 10), rgb(4, 0, 27));
  background-position: center;
  padding: 10px;
  border-radius: 50%;
}
.footer__messangers a.telegram-icon {
  background-image: url("/client/vectors/telegram.svg");
}
.footer__messangers a.whatsapp-icon {
  background-image: url("/client/vectors/whatsapp.svg");
}
.footer__date p:first-of-type {
  color: #ff4600;
}
.footer__rights {
  max-width: 80%;
  margin: 0 auto;
}
.footer__rights p {
  opacity: 0.6;
  font-family: "DINPRO", Arial, sans-serif;
  text-transform: none;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .footer__rights p {
    font-size: 12px;
  }
}
.footer__links {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .footer__links {
    justify-content: flex-start;
  }
}
.footer__menu-list {
  display: grid;
  list-style-type: none;
  padding: 0 20px;
  padding-left: 15px;
  margin: 0;
}
.footer__menu-list li {
  list-style: none;
}
/* Только подразделы под заголовком «Магазин» / «Клиенту» — маркер снаружи */
.footer__menu-list > li {
  list-style: disc outside;
  margin-left: 1.1em;
}
.footer__menu-list li a {
  color: white;
  text-decoration: none;
  text-transform: none;
}
.footer__menu-list li span {
  text-transform: none;
  margin-bottom: 5px;
  display: block;
}
.footer__menu-list li > span {
  position: relative;
}
.footer__menu-list:first-of-type li ul {
  margin-left: -15px;
}
@media screen and (min-width: 768px) {
  .footer__menu-list:first-of-type li ul {
    margin-left: 0;
  }
}
.footer h3.toggle-list {
  cursor: pointer;
  padding: 20px 0 20px 60px;
  position: relative;
  margin: 0;
  text-transform: uppercase;
}
.footer h3.toggle-list::before {
  content: "";
  position: absolute;
  border: 1px solid white;
  background: url("/client/vectors/arrow.svg") no-repeat center center, linear-gradient(#280000, #ff0000);
  background-size: 30px;
  border-radius: 5px;
  width: 48px;
  height: 48px;
  left: 0;
  top: 50%;
  transition: all 0.3s ease;
  transform: translateY(-50%);
}
.footer h3.toggle-list.active::before {
  transform: translateY(-50%) scaleY(-1);
  background: url("/client/vectors/arrow.svg") no-repeat center center, linear-gradient(0deg, #280000, #ff0000);
}
.footer h3.toggle-list + ul {
  display: none;
}
.footer h3.toggle-list.active + ul {
  display: block;
}
.footer span.toggle-list + ul {
  display: none;
}
.footer span.toggle-list.active + ul {
  display: grid;
}
.footer .toggle-inner-list {
  transition: 0.3s ease-in-out;
}
.footer .toggle-inner-list:hover {
  opacity: 0.6;
}
/* Магазин / Клиенту — после логотипа (порядок задаётся сеткой .footer__inner) */
.footer__menu {
  grid-area: menu;
  order: 1;
  display: grid;
  gap: var(--footer-gap);
  position: relative;
  padding-bottom: var(--footer-gap);
}
.footer__menu::before,
.footer__menu::after {
  display: none;
}
.footer__menu-title {
  position: relative;
  border-left: var(--footer-line);
  padding-left: var(--footer-line-pad);
  box-sizing: border-box;
}
.footer__menu-title:not(:last-of-type) {
  padding-bottom: var(--footer-gap);
}
.footer__menu-title--services h3.toggle-list {
  text-transform: none;
}
.footer__bottom {
  margin-top: 32px;
  padding-top: 32px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
  width: 100%;
  max-width: min(100%, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.footer__copy {
  text-transform: none;
  font-family: "DINPRO", Arial, sans-serif;
  max-width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0;
  font-size: 14px;
  text-align: center;
  opacity: 0.95;
  line-height: 1.4;
  color: inherit;
}
.footer__credits {
  margin-top: 10px;
}
.footer__credits-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.footer__credits-link:hover {
  color: rgba(255, 255, 255, 0.75);
}
.footer__credits-logo {
  display: block;
  height: 20px;
  width: auto;
  max-width: 92px;
}
.footer__credits-by {
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
@media screen and (max-width: 767px) {
  /* Линия только у .footer__contacts-body (соцсети, почта, телефоны) — у логотипа слева нет */
  .footer__contacts {
    border-left: none;
    padding-left: 0;
  }
  .footer__contacts .footer__contacts-mid,
  .footer__contacts .phones {
    border-left: none;
    padding-left: 0;
  }
}
@media screen and (min-width: 768px) {
  .footer {
    padding: 136px 0 40px 0;
    margin-top: 0;
  }
  .footer__inner {
    max-width: 900px;
    gap: var(--footer-gap);
    justify-content: stretch;
    align-items: start;
    padding: 0 16px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "menu"
      "contacts";
  }
  .footer__contacts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: var(--footer-gap);
         column-gap: var(--footer-gap);
    row-gap: var(--footer-gap);
    grid-template-areas:
      "mid phones"
      "mid phones";
    align-items: start;
    border-left: none;
    padding-left: 0;
  }
  .footer__contacts-body {
    display: contents;
  }
  .footer__contacts .footer__contacts-mid {
    grid-area: mid;
  }
  .footer__contacts .phones {
    grid-area: phones;
  }
  .footer__contacts .social {
    justify-items: start;
    align-self: start;
  }
  .footer__contacts .social p {
    font-size: 16px;
  }
  .footer__contacts .social__icons {
    display: flex;
  }
  .footer__contacts .social__icons svg {
    width: var(--footer-contact-icon-size);
    height: var(--footer-contact-icon-size);
  }
  .footer__contacts .phones {
    font-size: 20px;
    align-self: start;
    gap: var(--footer-gap);
  }
  .footer__contacts .contacts-text {
    text-transform: none;
  }
  .footer__contacts .contacts-text p {
    font-size: 16px;
  }
  .footer__contacts .site p {
    font-size: 16px;
  }
  .footer__contacts .geo {
    font-size: 16px;
    justify-items: start;
    text-align: left;
  }
  .footer__contacts .geo span {
    text-align: left;
  }
  .footer__contacts .geo svg {
    width: 30px;
    height: 29px;
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    color: red;
  }
  .footer__menu {
    grid-template-columns: repeat(2, 1fr);
    align-items: baseline;
    justify-items: start;
    width: 100%;
  }
  .footer__menu h3.toggle-list {
    padding-top: 0;
    padding-left: 0;
    cursor: auto;
    text-align: left;
    width: 100%;
  }
  .footer__menu h3.toggle-list > span {
    cursor: auto;
  }
  .footer__menu h3.toggle-list::before, .footer__menu h3.toggle-list::after {
    display: none;
  }
  .footer__menu::before, .footer__menu::after {
    display: none;
  }
  .footer__menu-list {
    padding-left: 0;
  }
  .footer__bottom .footer__copy {
    font-size: 20px;
    max-width: 1440px;
  }
  .footer__menu-list > li:not(:has(a:first-of-type)) .toggle-list {
    cursor: auto;
  }
  .footer__menu-list > li:not(:has(a:first-of-type)) .toggle-list:hover {
    opacity: 1;
  }
  .footer__menu-title {
    min-height: 0;
  }
  /* Вертикальные линии у средней и правой колонки (у логотипа слева линии нет) */
  .footer__contacts {
    position: relative;
    height: auto;
    align-self: start;
  }
  .footer__contacts-mid {
    border-left: var(--footer-line);
    padding-left: var(--footer-line-pad);
    box-sizing: border-box;
  }
  .footer__contacts .phones {
    position: relative;
    height: auto;
    min-height: 0;
    align-content: start;
    align-self: start;
    border-left: var(--footer-line);
    padding-left: var(--footer-line-pad);
    box-sizing: border-box;
  }
}
@media screen and (min-width: 1024px) {
  .footer__menu {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__inner {
    max-width: 1200px;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-areas:
      "logo logo"
      "menu contacts";
    gap: var(--footer-gap);
  }
}
@media screen and (min-width: 768px) {
  .footer .social p {
    background-position: left 30%;
    width: 90%;
    margin-right: auto;
    border-bottom: 1px solid white;
    padding-bottom: 10px;
  }
  .footer__menu-list li > span:first-of-type:hover {
    opacity: 1;
  }
}
@media screen and (min-width: 1440px) {
  .footer {
    padding: 196px 0 48px 0;
    margin-top: 0;
  }
  .footer__contacts {
    align-items: flex-start;
  }
  .footer__logo img {
    margin-top: -10px;
  }
  .footer__inner {
    max-width: 1440px;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-areas:
      "logo logo"
      "menu contacts";
  }
  .footer .geo {
    font-size: 18px;
  }
  .footer .geo span {
    text-align: left;
  }
  .footer .geo svg {
    height: 29px;
    color: red;
  }
}

body > header.header,
.header,
header.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  transform: none !important;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.header {
  background: linear-gradient(#010308, #000208);
}
.header__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 0;
}
@media screen and (min-width: 768px) {
  .header__head {
    padding: 22px 0;
  }
}
.header__menu {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  width: 100%;
}
.header__menu .geo-address {
  display: flex;
  grid-column: 1/-1;
  align-items: center;
  justify-self: center;
  font-weight: 700;
  padding: 10px;
  margin-top: 20px;
  text-decoration: underline;
  text-align: center;
  line-height: 1.8;
  text-decoration: none;
  position: relative;
  flex-grow: 0;
}
.header__menu .geo-address svg {
  width: 40px;
  height: 40px;
  stroke-width: 10px;
}
@media screen and (min-width: 1025px) {
  .header__menu .geo-address {
    min-width: 390px;
    grid-column: 10/13;
    text-align: left;
    margin-top: 0;
  }
  .header__menu .geo-address::before {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    min-width: 200px;
    background-color: #ffffff;
    z-index: 2;
    left: 0;
    margin-left: 50px;
  }
}
.header__logo {
  grid-column: 1/2;
}
.header__contacts {
  display: flex;
  grid-column: 12/13;
}
.header__absolute {
  z-index: -1;
  position: absolute;
}
.header p {
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 700;
}
.header__instagram {
  display: flex;
  align-items: center;
}
.header__instagram address {
  color: white;
  display: none;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  max-width: 50%;
}
.header__instagram-image {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
}
.header__instagram-image .image {
  min-height: 100%;
  display: flex;
  align-items: center;
}
.header__instagram-image .image svg {
  width: 30px;
  height: 35px;
  color: white;
  margin-right: 10px;
}
.header__cart {
  display: flex;
  align-items: center;
}
.header__cart .link {
  cursor: pointer;
  display: flex;
  width: 30px;
  height: 100%;
  position: relative;
  align-items: center;
}
.header__cart .link img {
  margin-top: -10px;
  width: 50px;
  height: 50px;
}
@media screen and (min-width: 1024px) {
  .header__cart .link img {
    margin-top: auto;
  }
}
.header__cart .link svg {
  height: 35px;
}
.header__cart .counter {
  background-color: red;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  position: absolute;
  color: white;
  right: -10px;
  top: 0px;
  text-align: center;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (min-width: 1024px) {
  .header__cart .counter {
    min-width: 25px;
    height: 25px;
    font-size: 20px;
    line-height: 28px;
    top: -5px;
    font-family: "OSWALD", Arial, sans-serif;
  }
}
@media screen and (min-width: 768px) {
  .header address {
    display: none;
  }
  .header .cart .link {
    width: 50px;
    height: 50px;
  }
}

.nav {
  grid-row: 1/2;
  grid-column: 3/12;
  display: flex;
  align-items: center;
}
.nav.active {
  width: 85%;
  right: 0;
  left: auto;
}

.nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style-type: none;
  gap: 10px;
  margin: 0 auto;
  padding: 0 10px;
}

.nav-item {
  text-transform: uppercase;
  font-size: 20px;
}
.nav-item .link.active {
  padding-bottom: 2px;
  border-bottom: 1px solid white;
}
@media screen and (min-width: 1024px) {
  .nav-item .link {
    font-size: 14px;
  }
  .nav-item:not(:first-of-type) {
    padding-left: 10px;
    border-left: 1px solid #ff4600;
  }
}
@media screen and (min-width: 1440px) {
  .nav-item .link {
    font-size: 18px;
  }
}

/* Подменю «Автосигнализации»: типы из админки /admin/catalog-types */
@media screen and (min-width: 1025px) {
  /* Подменю не должно обрезаться родителями */
  .nav,
  .nav-list {
    overflow: visible;
  }
  .nav-item--dropdown {
    position: relative;
    overflow: visible;
  }
  /* Не display: contents — в части браузеров ломается цепочка hover к подменю */
  .nav-item__dropdown-head {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
  }
  .nav-submenu-toggle {
    display: none !important;
  }
  .nav-item--dropdown .nav-submenu {
    display: none;
    position: absolute;
    /* top: 100% без зазора — иначе курсор в «дыры» между пунктом и списком и :hover сбрасывается */
    top: 100%;
    left: 0;
    z-index: 5000;
    min-width: 300px;
    max-width: min(92vw, 420px);
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: linear-gradient(165deg, #4a4a4a 0%, #353535 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    pointer-events: auto;
  }
  /* Невидимый «мост» для диагонального движения курсора к пунктам подменю */
  .nav-item--dropdown .nav-submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 12px;
    pointer-events: auto;
  }
  .nav-item--dropdown:hover .nav-submenu,
  .nav-item--dropdown:focus-within .nav-submenu {
    display: block;
  }
  .nav-submenu__link {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.02em;
    color: #fff !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-submenu li:last-child .nav-submenu__link {
    border-bottom: 0;
  }
  .nav-submenu__link:hover,
  .nav-submenu__link:focus-visible {
    background: rgba(255, 70, 0, 0.2);
    outline: none;
  }
  .nav-submenu__link.active {
    background: rgba(255, 70, 0, 0.35);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
}

/* Вкладки разделов на странице /autosygnal */
.catalog-type-nav {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto 16px;
  padding: 0 16px;
  box-sizing: border-box;
}
.catalog-type-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.catalog-type-nav__link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.catalog-type-nav__link:hover,
.catalog-type-nav__link:focus-visible {
  border-color: #ff4600;
  background: rgba(255, 70, 0, 0.2);
  outline: none;
}
.catalog-type-nav__link.is-active {
  border-color: #ff4600;
  background: rgba(255, 70, 0, 0.45);
  cursor: default;
}
@media screen and (min-width: 768px) {
  .catalog-type-nav__link {
    font-size: 14px;
    padding: 10px 18px;
  }
}

/* Страница каталога /autosygnal — единый тёмный блок, карточки и шапка */
.catalog-page {
  background: #000000;
  padding: 0 0 48px;
  margin: 0;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  .catalog-page {
    padding-bottom: 64px;
  }
}
.catalog-page__header {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 16px 12px;
  text-align: center;
  box-sizing: border-box;
}
@media screen and (min-width: 1024px) {
  .catalog-page__header {
    padding-top: 28px;
    padding-bottom: 16px;
  }
}
.catalog-page__title {
  margin: 0 0 10px;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
}
@media screen and (min-width: 768px) {
  .catalog-page__title {
    font-size: 1.875rem;
  }
}
@media screen and (min-width: 1024px) {
  .catalog-page__title {
    font-size: 2.25rem;
  }
}
.catalog-page__meta {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 400;
  text-transform: none;
  color: rgba(255, 255, 255, 0.72);
}
.catalog-page__meta strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}
.catalog-page__meta-sep {
  margin: 0 0.35em;
  opacity: 0.5;
}
.catalog-page__tabs.catalog-type-nav {
  margin-bottom: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.catalog-page .catalog {
  gap: 24px;
}
@media screen and (min-width: 1024px) {
  .catalog-page .catalog {
    gap: 0;
  }
}
.catalog-page .catalog__wrapper {
  margin-bottom: 0;
}
@media screen and (max-width: 1023px) {
  .catalog-page .catalog__wrapper > aside {
    position: relative;
    width: 100%;
    min-height: 44px;
    margin-bottom: 8px;
    flex-shrink: 0;
  }
  .catalog-page .catalog__wrapper .filter-button {
    position: relative;
    top: auto;
    left: auto;
    z-index: 2;
  }
  .catalog-page .catalog__products > .catalog-page__sort.custom-select-block {
    margin-top: 0;
  }
}
.catalog-page .filter-button + .filter-button-close + .filter-form.open {
  background-color: #111111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}
@media screen and (min-width: 1024px) {
  .catalog-page .filter-button + .filter-button-close + .filter-form.open {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
  }
}
.catalog-page .filter-button-close {
  background-color: #1a1a1a;
}
.catalog-page__sort.custom-select-block {
  margin-bottom: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  .catalog-page__sort.custom-select-block {
    padding: 14px 16px;
  }
}
.catalog-page .catalog__products .product-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  padding-bottom: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.catalog-page .catalog__products .product-card:hover {
  border-color: rgba(255, 70, 0, 0.45);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transform: none;
}
.catalog-page .catalog__products .product-card .product-card__bg {
  background: rgba(0, 0, 0, 0.35);
  padding: 10px;
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: 6 / 5;
  box-sizing: border-box;
}
.catalog-page .catalog__products .product-card .product-card__bg img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  display: block;
}
.catalog-page .catalog__products h3 {
  font-size: 1.125rem;
  line-height: 1.3;
}
@media screen and (min-width: 768px) {
  .catalog-page .catalog__products h3 {
    font-size: 1.25rem;
    line-height: 1.35;
  }
}
.catalog-page .catalog__products p:not(.article__quantity) span:nth-child(2) {
  font-size: 1.75rem;
  line-height: 1.2;
}
@media screen and (min-width: 768px) {
  .catalog-page .catalog__products p:not(.article__quantity) span:nth-child(2) {
    font-size: 2rem;
  }
}
.catalog-page .catalog__products .product-card__buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: stretch;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 14px 14px 16px;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}
.catalog-page .catalog__products .product-card__buttons a,
.catalog-page .catalog__products .product-card__buttons button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 10px;
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
}
@media screen and (min-width: 768px) {
  .catalog-page .catalog__products .product-card__buttons {
    padding: 16px 16px 18px;
    gap: 12px;
  }
  .catalog-page .catalog__products .product-card__buttons a,
  .catalog-page .catalog__products .product-card__buttons button {
    min-height: 48px;
    font-size: 14px;
  }
}
@media screen and (max-width: 380px) {
  .catalog-page .catalog__products .product-card__buttons {
    flex-direction: column;
    flex-wrap: wrap;
  }
  .catalog-page .catalog__products .product-card__buttons a,
  .catalog-page .catalog__products .product-card__buttons button {
    flex: 1 1 auto;
    width: 100%;
  }
}
.catalog-page__pagination {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 16px 8px 0;
  text-transform: none;
}
.catalog-page__pagination > nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

.search {
  position: relative;
  min-height: 40px;
  padding: 0 8px 0 30px;
  background-color: white;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: inherit;
}
.search::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  transform: translateY(-50%);
  left: 6px;
  z-index: 1;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-image: url("/client/vectors/search.svg");
          mask-image: url("/client/vectors/search.svg");
  background-color: black;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: cover;
          mask-size: cover;
}
.search input {
  border-radius: 30px;
  min-height: 32px;
  background-color: #d10000;
  display: flex;
  flex: 1;
  min-width: 0;
  color: white;
  padding: 0 10px;
  border: 1px solid black;
  font-family: "OSWALD", Arial, sans-serif;
  transition: 0.3s ease-in-out;
  font-size: 18px;
}
.search__submit {
  flex-shrink: 0;
  font-family: "OSWALD", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  padding: 8px 16px;
  border-radius: 22px;
  border: 1px solid #000;
  background-color: #fff;
  color: #d10000;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.search__submit:hover,
.search__submit:focus-visible {
  background-color: #d10000;
  color: #fff;
  outline: none;
}
.search input:hover, .search input:focus {
  background-color: #b40036;
}
.search input:-webkit-autofill {
  background-color: #b40036;
}
.search input:autofill {
  background-color: #b40036;
}
.search input::-moz-placeholder {
  color: white;
}
.search input::placeholder {
  color: white;
}

.phone {
  display: none;
}
@media screen and (min-width: 1025px) {
  .phone {
    justify-content: center;
    grid-column: 7/10;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    font-size: 12px;
  }
}
@media screen and (min-width: 1440px) {
  .phone {
    gap: 10px;
  }
}
.phone svg {
  display: none;
}
@media screen and (min-width: 768px) {
  .phone svg {
    display: block;
    width: 40px;
    height: 40px;
  }
}
.phone img {
  width: 20px;
  height: 20px;
}
.phone ul {
  list-style-type: none;
  padding-left: 0;
}
@media screen and (max-width: 1024px) {
  .phone ul {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
  }
}
.phone li {
  transition: 0.3 ease-in-out;
}
@media screen and (min-width: 1024px) {
  .phone li {
    padding-bottom: 5px;
  }
}
@media screen and (min-width: 1025px) {
  .phone li:not(:first-of-type) {
    border-top: 2px solid white;
    padding-top: 5px;
  }
}
.phone li:hover {
  opacity: 0.6;
}
.phone a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}
@media screen and (min-width: 1024px) {
  .phone a {
    gap: 20px;
  }
}

.menu-toggle {
  display: none;
}

@media screen and (max-width: 1024px) {
  body > header.header,
  .header,
  header.header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    transform: none !important;
    z-index: 2000;
  }
  main {
    padding-top: 0;
  }
  .site-breadcrumb-bar {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 900;
  }
  /* Затемнение фона — НЕ на .menu-toggle (иначе z-index 3100 > .nav 3000 и текст меню сереет сквозь слой) */
  .header__menu:has(.nav.active)::before {
    content: "";
    position: fixed;
    z-index: 2500;
    inset: 0;
    background-color: #2f2f2f;
    opacity: 0.6;
    pointer-events: none;
  }
  .nav {
    position: fixed;
    background: linear-gradient(165deg, #5a5a5a 0%, #424242 48%, #383838 100%);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    width: calc(100% - 56px);
    max-width: 420px;
    height: 100vh;
    height: 100dvh;
    z-index: 3000;
    left: 56px;
    right: 0;
    bottom: 0;
    top: 0;
    display: none;
    flex-direction: column;
    pointer-events: auto;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.active {
    display: flex;
    padding: calc(78px + env(safe-area-inset-top)) 0 calc(24px + env(safe-area-inset-bottom)) 0;
    align-items: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  /* block, не flex-колонка: иначе при flex-wrap:wrap с длинным подменю
     следующие пункты уезжают во «вторую колонку» справа (iOS/Safari) */
  .nav .nav-list {
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: left;
    padding: 0 24px;
    margin: 0;
    pointer-events: auto;
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .nav .nav-list > .nav-item:not(:last-child) {
    margin-bottom: 8px;
  }
  .nav .nav-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    pointer-events: auto;
  }
  .nav .nav-list > .nav-item--dropdown {
    display: block;
  }
  .nav .nav-item a.link,
  .nav .nav-item a.link:link,
  .nav .nav-item a.link:visited {
    display: block;
    width: 100%;
    padding: 12px 0;
    font-size: 18px;
    line-height: 1.35;
    pointer-events: auto;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    opacity: 1 !important;
  }
  .nav .nav-item a.link:hover,
  .nav .nav-item a.link:focus {
    opacity: 1 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    text-shadow: none;
  }
  /* grid: на iPhone ссылка с width:100% не заезжает на колонку кнопки */
  .nav-item__dropdown-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(48px, 48px);
    align-items: center;
    gap: 6px;
    width: 100%;
    position: relative;
    z-index: 0;
  }
  .nav .nav-item__dropdown-head > .link {
    width: auto !important;
    max-width: 100%;
    min-width: 0;
    justify-self: stretch;
  }
  .nav-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: none;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    cursor: pointer;
    color: #ffffff;
    -webkit-tap-highlight-color: rgba(255, 70, 0, 0.25);
    position: relative;
    z-index: 2;
    touch-action: manipulation;
  }
  .nav-submenu-toggle:focus-visible {
    outline: 2px solid rgba(255, 70, 0, 0.85);
    outline-offset: 2px;
  }
  .nav-submenu-toggle::after {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: -4px;
  }
  .nav-item--dropdown.is-submenu-open .nav-submenu-toggle::after {
    transform: rotate(-135deg);
    margin-top: 2px;
  }
  .nav-item--dropdown .nav-submenu {
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
    border: none;
  }
  .nav-item--dropdown.is-submenu-open .nav-submenu {
    display: block;
    margin: 4px 0 8px 0;
    padding: 0 0 0 12px;
    border-left: 2px solid rgba(255, 70, 0, 0.45);
  }
  .nav-submenu__link {
    display: block;
    padding: 8px 0 8px 8px;
    font-size: 15px !important;
    line-height: 1.35;
    font-weight: 600 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.02em;
    opacity: 1 !important;
  }
  .nav-submenu__link.active {
    color: #ffb090 !important;
    -webkit-text-fill-color: #ffb090;
  }
  /* гарантируем, что список поверх оверлея и видим */
  .nav.active .nav-list {
    position: relative;
    z-index: 12;
    visibility: visible;
    opacity: 1;
  }
  .menu-toggle {
    width: 44px;
    height: 44px;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 3100;
  }
  .menu-toggle button {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    outline: none;
    width: inherit;
    height: inherit;
    position: relative;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  }
  .menu-toggle button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    width: 22px;
    height: 3px;
    border-radius: 2px;
    box-shadow: 0px 9px 0 #ffffff, 0px -9px 0 #ffffff;
  }
  .menu-toggle.active {
    position: relative;
  }
  /* оверлей перенесён на .header__menu:has(.nav.active)::before */
  .menu-toggle.active::before {
    content: none;
    display: none;
  }
  .menu-toggle.active button {
    z-index: 13;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.38);
  }
  .menu-toggle.active button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    background-color: white;
    width: inherit;
    height: 3px;
    box-shadow: none;
    border-radius: 10px;
  }
  .menu-toggle.active button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background-color: white;
    width: inherit;
    height: 3px;
    border-radius: 10px;
  }
  .menu-btns .phone,
  .menu-btns .search {
    display: none;
  }
  .menu-btns.active {
    position: fixed;
    display: grid;
    top: 20px;
    left: 20%;
    z-index: 3050;
  }

  .intro,
  .quality {
    position: relative;
    z-index: 0;
  }
  .intro .intro__video,
  .quality .quality__video,
  .quality .quality__video--bg {
    z-index: -1 !important;
    pointer-events: none !important;
  }
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  .menu-btns.active {
    top: 30px;
  }
}
@media screen and (max-width: 1024px) {
  .menu-btns.active .search {
    display: flex;
    background: transparent;
    transition: 0.3s ease-in-out;
  }
  .menu-btns.active .search::before {
    width: 30px;
    height: 30px;
    background-color: white;
  }
  .menu-btns.active .search input {
    display: none;
    width: 0;
  }
  .menu-btns.active .search__submit {
    display: none;
  }
  .menu-btns.active .search.active {
    background: white;
  }
  .menu-btns.active .search.active::before {
    background-color: black;
    width: 20px;
    height: 20px;
  }
  .menu-btns.active .search.active input {
    display: flex;
    width: 100%;
  }
  .menu-btns.active .search.active .search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .geo address {
    display: none;
  }
  .geo.active {
    position: fixed;
    bottom: 80px;
    z-index: 11;
    left: 20%;
    font-size: 20px;
  }
  .geo.active .geo__wrapper {
    padding-left: 0;
  }
  .geo.active svg {
    width: 25px;
  }
}
@media screen and (max-width: 1024px) and (max-width: 1440px) {
  .geo.active {
    line-height: 1.8;
  }
  .geo.active svg {
    position: relative;
    transform: none;
  }
  .geo.active::before {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    min-width: 220px;
    background-color: #ffffff;
    z-index: 2;
    left: 0;
    margin-left: 33px;
  }
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  .geo.active {
    bottom: 80px;
    text-align: left;
  }
  .geo.active::before {
    min-width: 180px;
    margin-left: 37px;
  }
}
@media screen and (max-width: 1024px) {
  .geo.active address {
    display: flex;
    margin-left: 5px;
  }
  .geo.active address a:not(:last-of-type) {
    display: none;
  }
  .geo.active .image svg {
    width: 25px;
    height: 25px;
  }
  .geo.active > .geo__wrapper {
    display: flex;
    gap: 7px;
  }
  .geo.active > .geo__wrapper svg {
    flex-shrink: 0;
  }
  .phone.active {
    position: fixed;
    bottom: 15px;
    left: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 12px;
    z-index: 11;
  }
  .phone.active li a {
    font-size: 20px;
  }
  .phone.active ul {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0px;
    align-items: center;
  }
}
@media screen and (max-width: 1024px) and (max-width: 1440px) {
  .phone.active ul li:first-of-type {
    border-bottom: 1px solid white;
    padding-bottom: 0px;
  }
}
@media screen and (max-width: 1024px) {
  .phone.active svg {
    display: block;
    color: #ff0000;
    width: 25px;
  }
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  .phone.active svg {
    width: 20px;
    height: 20px;
  }
}
.menu-btns {
  display: flex;
  align-items: center;
  grid-column: 1/7;
  justify-content: center;
  gap: 5%;
}
@media screen and (min-width: 1024px) {
  .menu-btns {
    justify-content: flex-start;
    gap: 0;
  }
  .menu-btns div:first-of-type {
    min-width: 340px;
    max-width: 640px;
    width: 100%;
  }
}

.geo__wrapper {
  display: flex;
  align-items: center;
}
.geo__wrapper span {
  text-transform: none;
}

.phones {
  display: grid;
}
.phones a {
  display: flex;
  align-items: center;
}
.phones a svg {
  width: 25px;
  height: 25px;
}

.popup {
  display: none;
}
@media screen and (max-width: 768px) {
  .popup {
    display: none;
    position: fixed;
    right: 10px;
    min-width: 340px;
    z-index: 23;
    background-color: #1c1a1a;
    justify-content: flex-end;
    text-align: center;
    align-items: center;
    padding: 10px;
    border-radius: 20px 20px 20px 20px;
  }
  .popup.active {
    display: grid;
  }
  .popup__phones {
    display: grid;
  }
  .popup__phones a {
    color: white;
    text-decoration: none;
    padding-right: 40px;
    line-height: 45px;
    font-weight: 700;
    font-size: 14px;
    font-family: "OSWALD", Arial, sans-serif;
    position: relative;
  }
  .popup__phones a:first-of-type {
    border-bottom: 2px solid white;
  }
  .popup__phones a span {
    text-decoration: underline;
  }
  .popup__phones a::after {
    content: "";
    display: block;
    position: absolute;
    width: 30px;
    height: 30px;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-image: url("/client/vectors/phone-no-border.svg");
            mask-image: url("/client/vectors/phone-no-border.svg");
    background-color: white;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: cover;
            mask-size: cover;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
  }
  .popup__icons {
    display: grid;
    align-content: flex-start;
    justify-content: flex-end;
    gap: 5px;
    border-top: 1px solid white;
    padding-top: 10px;
  }
  .popup__icons a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    gap: 10px;
    justify-content: flex-end;
  }
}

.popup.modal-form {
  display: none;
}
.popup.modal-form .form__input--textarea {
  min-height: 150px;
}
.popup.modal-form .popup__button--close {
  width: 48px;
  height: 48px;
  margin-left: auto;
  margin-top: 4px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  outline: none;
  position: relative;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
}
@media screen and (min-width: 769px) {
  .popup.modal-form .popup__button--close {
    margin-right: 20px;
  }
}
.popup.modal-form .popup__button--close::after, .popup.modal-form .popup__button--close::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 3px;
  background-color: #ffffff;
  top: 50%;
  left: 50%;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.popup.modal-form .popup__button--close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.popup.modal-form .popup__button--close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.popup.modal-form .popup__button--close:hover {
  background: rgba(255, 70, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transform: scale(1.05);
}
.popup.modal-form .popup__button--close:hover::before,
.popup.modal-form .popup__button--close:hover::after {
  background-color: #ffffff;
}
.popup.modal-form .popup__button--close:focus, .popup.modal-form .popup__button--close:focus-visible {
  border: 2px solid #ff4600;
  outline: none;
}
@media screen and (min-width: 769px) {
  .popup.modal-form {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 12000;
    border-radius: 15px;
    padding: 50px 0;
    background-color: white;
  }
  .popup.modal-form .form .form__title {
    color: rgb(43, 43, 43);
  }
  .popup.modal-form .form .form__list {
    display: flex;
    flex-direction: column;
  }
  .popup.modal-form .form .form__subtitle {
    color: rgb(43, 43, 43);
    line-height: 40px;
  }
  .popup.modal-form .form .form__input {
    max-width: 100%;
  }
  .popup.modal-form .form textarea {
    min-height: 150px;
  }
}
.popup.modal-form.active {
  display: grid;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 12000;
}
@media screen and (min-width: 1440px) {
  .popup.modal-form .form__wrapper {
    grid-template-columns: 769px;
  }
  .popup.modal-form .form__title {
    font-size: 24px;
    line-height: 35px;
    text-transform: uppercase;
    margin-bottom: 20px;
  }
  .popup.modal-form .form__input {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 0;
  }
  .popup.modal-form .form__input--textarea {
    font-size: 16px;
    line-height: normal;
    margin-bottom: 20px;
  }
  .popup.modal-form .form__subtitle {
    font-size: 24px;
    line-height: 40px;
    text-align: start;
    margin-bottom: 10px;
  }
}

.popup.phone-popup.active {
  display: grid;
  min-width: 230px;
  top: 75%;
  right: 3%;
  border-radius: 20px 20px 0 20px;
}

.cart-popup {
  background: rgb(43, 43, 43);
  min-width: 300px;
  min-height: 50px;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  border-radius: 15px;
  text-align: center;
  z-index: 100;
}
.cart-popup #close-cart-popup {
  background: none;
  outline: none;
  border: none;
  width: 25px;
  height: 25px;
  background: transparent;
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 5px;
  transition: 0.3s ease-in-out;
}
.cart-popup #close-cart-popup:hover {
  opacity: 0.6;
}
.cart-popup #close-cart-popup::after, .cart-popup #close-cart-popup::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 25px;
  height: 2px;
  background: white;
  z-index: 2;
}
.cart-popup #close-cart-popup::before {
  transform: translateY(-50%) rotate(45deg);
}
.cart-popup #close-cart-popup::after {
  transform: translateY(-50%) rotate(-45deg);
}
.cart-popup__link {
  display: flex;
  margin: 0 auto;
}

.y-button {
  border: 1px solid white;
  padding: 10px;
  min-height: 50px;
  color: white;
  font-family: "DINPRO", Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 24px;
  text-transform: uppercase;
  text-decoration: none;
  width: calc(100% - 20px);
  min-width: 300px;
  max-width: 400px;
  text-align: center;
  border-radius: 5px;
}

.captcha {
  display: grid;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.captcha-btn {
  border: 1px solid white;
  background: none;
  color: white;
  font-size: 16px;
  font-weight: 700;
  width: 150px;
  height: 30px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .captcha {
    display: flex;
    gap: 20px;
  }
  .captcha-btn {
    width: 300px;
    height: 50px;
    margin: 0;
  }
}
.link {
  text-decoration: none;
  color: white;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
/* Затемнение по hover только у мыши; на touch :hover «липнет» и даёт серый текст */
@media (hover: hover) and (pointer: fine) {
  .link:hover {
    opacity: 0.3;
  }
}
/* Глобальный .link:hover идёт в файле ПОСЛЕ правил .nav — перебивает opacity у пунктов меню */
.nav .nav-item a.link:hover,
.nav .nav-item .link:hover {
  opacity: 1 !important;
}

.button {
  cursor: pointer;
  text-decoration: none;
  color: white;
  padding: 5px 10px;
}

.y-button-secondary {
  display: flex;
  min-width: 260px;
  min-height: 40px;
  border-radius: 5px;
  border: 1px solid white;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 20px;
  gap: 10px;
  background-color: black;
  text-transform: uppercase;
}
@media screen and (min-width: 1024px) {
  .y-button-secondary {
    font-size: 36px;
    width: 100%;
    min-width: 260px;
    max-width: 364px;
    min-height: 65px;
  }
  .y-button-secondary:hover {
    opacity: 0.3;
  }
}

.y-button-third {
  background: linear-gradient(#10172d, #0031bc);
}

.y-button-primary {
  display: flex;
  background: linear-gradient(#280000, #ff0000);
  width: 260px;
  min-height: 40px;
  border-radius: 5px;
  border: 1px solid white;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
}
@media screen and (min-width: 1024px) {
  .y-button-primary {
    font-size: 24px;
    width: 100%;
    min-width: 260px;
    max-width: 364px;
    min-height: 65px;
  }
  .y-button-primary:hover {
    opacity: 0.3;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  grid-column: 1/12;
}
@media screen and (min-width: 1024px) {
  .logo {
    grid-row: 1/2;
    grid-column: 1/3;
  }
}
.logo img {
  width: 142px;
  height: 40px;
}
@media screen and (min-width: 1024px) {
  .logo img {
    width: 100%;
    max-width: 240px;
    height: 84px;
  }
}
.logo__text-main {
  color: white;
  text-transform: uppercase;
}
.logo__text-secondary {
  color: red;
  text-transform: uppercase;
}
.logo__text p {
  margin: 0;
  font-weight: 700;
}

.service-card {
  position: relative;
  min-height: 100%;
  display: grid;
  align-items: baseline;
  overflow: hidden;
  perspective: 1000px;
  text-decoration: none;
}
.service-card:hover img {
  transform: translateZ(-20px);
}
.service-card__title {
  font-family: "DINPRO", Arial, sans-serif;
  text-align: center;
  color: white;
  text-decoration: none;
  border: none;
  font-size: 15px;
  line-height: 1.25;
  text-transform: uppercase;
}
.service-card img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  margin: 0 auto;
  transition: transform 0.5s ease;
}
@media screen and (min-width: 768px) {
  .service-card img {
    height: 240px;
  }
}
@media screen and (min-width: 1024px) {
  .service-card img {
    height: 280px;
  }
}
.service-card__buttons {
  position: absolute;
  bottom: 36px;
  align-items: center;
  max-width: 80%;
  justify-items: center;
  justify-content: center;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  gap: 10px;
  display: grid;
}
@media screen and (min-width: 768px) {
  .service-card__buttons {
    display: flex;
    bottom: 14px;
  }
}
@media screen and (min-width: 768px) {
  .service-card__title {
    font-size: 16px;
  }
}

/* Страница списка услуг /services — карточки в строку (как на autosecurity.kz/service) */
.services-page .services-catalog {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
@media screen and (max-width: 767px) {
  .services-page .services-catalog {
    gap: 1.5rem;
  }
  /* Явная полоса между услугами (не только border на тёмном фоне) */
  .services-page .services-catalog__between {
    display: block;
    height: 0;
    margin: 0 0 0.75rem;
    border: 0;
    border-top: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
  }
  .services-page .services-catalog__item {
    overflow: visible;
  }
  /* Линия над кнопками */
  .services-page .services-catalog__actions {
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    padding-top: 1rem;
    margin-top: 0.5rem;
  }
}
@media screen and (min-width: 768px) {
  .services-page .services-catalog__between {
    display: none;
  }
}
.services-catalog__item {
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.services-catalog__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
  padding: 1rem 1rem 1.25rem;
}
.services-catalog__media-link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  min-height: 200px;
}
.services-catalog__media img {
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media screen and (min-width: 768px) {
  .services-catalog__row {
    grid-template-columns: minmax(220px, 340px) 1fr;
    gap: 1.75rem;
    padding: 1.25rem 1.5rem 1.5rem;
    align-items: stretch;
  }
  /* Фото по высоте = блок текста справа (строка сетки одной высоты) */
  .services-catalog__media {
    min-height: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
  .services-catalog__media-link {
    position: relative;
    flex: 1 1 auto;
    min-height: 220px;
    max-height: none;
  }
  .services-catalog__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }
  /* Кнопки всегда внизу колонки, на одной горизонтали с низом фото */
  .services-catalog__body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-self: stretch;
    height: 100%;
  }
  .services-catalog__actions {
    margin-top: auto;
    flex-shrink: 0;
  }
}
.services-catalog__name {
  margin: 0 0 0.75rem;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.3;
  text-transform: uppercase;
}
@media screen and (min-width: 768px) {
  .services-catalog__name {
    font-size: 1.5rem;
  }
}
/* Десктоп: кегль названия как у «Подробнее» (36px), не слабее «Заказать» (24px) */
@media screen and (min-width: 1024px) {
  .services-catalog__name {
    font-size: 2.25rem;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: 0.02em;
  }
  .services-catalog__summary {
    font-size: 1.125rem;
    line-height: 1.55;
  }
  .services-catalog__price {
    font-size: 1.25rem;
    font-weight: 700;
  }
}
.services-catalog__name a {
  color: #fff;
  text-decoration: none;
  border: none;
}
.services-catalog__name a:hover {
  text-decoration: underline;
}
.services-catalog__summary {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
  white-space: pre-wrap;
}
.services-catalog__price {
  margin: 0 0 1rem;
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
}
.services-catalog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.phone-button {
  width: 50px;
  height: 50px;
  position: fixed;
  bottom: 20px;
  right: 10px;
  z-index: 9;
  background-color: #ff0000;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
.phone-button:hover {
  opacity: 0.6;
}
.phone-button__wrapper {
  -webkit-mask-image: url("/client/vectors/phone-no-border.svg");
          mask-image: url("/client/vectors/phone-no-border.svg");
  background-color: white;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
          mask-size: 100%;
  width: 100%;
  height: 100%;
}
.phone-button__wrapper.active {
  -webkit-mask-image: none;
          mask-image: none;
  position: relative;
  background-color: transparent;
  animation: none;
}
.phone-button__wrapper.active::after, .phone-button__wrapper.active::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: white;
  top: 50%;
  left: 50%;
}
.phone-button__wrapper.active::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.phone-button__wrapper.active::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
@media screen and (min-width: 769px) {
  .phone-button {
    width: 80px;
    height: 80px;
    z-index: 99;
  }
}

.cart-section:has(.container):has(.cart-section__products),
.cart-section:has(.container):has(.cart-page__products) {
  min-height: 100%;
}

.product-card {
  background-color: #2f2f2f;
  border-radius: 15px;
  transition: 0.3s ease-in-out;
  padding-bottom: 20px;
  max-width: 300px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-card:hover {
  transform: scale(1.05);
}
.product-card__bg {
  border-radius: 15px 15px 0 0;
  background-color: white;
  padding: 10px 5px 25px 5px;
}
.product-card__buttons-count {
  display: flex;
  justify-items: center;
  gap: 10px;
  position: relative;
  width: calc(100% - 20px);
}
.product-card__buttons-count button {
  width: 50%;
  min-width: unset;
}
.product-card__quantity {
  font-size: 20px;
  font-weight: 700;
  align-self: center;
  border: 1px solid white;
  width: 65px;
  height: 65px;
  background-color: #042247;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.product-card__body {
  display: grid;
  align-content: space-between;
  background-color: #2f2f2f;
  padding: 20px;
  border-radius: 0 0 15px 15px;
}
.product-card__body a {
  margin-bottom: 10px;
}
.product-card__body h3 {
  margin-top: 0;
}
.product-card__head {
  padding-bottom: 10px;
}
.product-card__head p {
  font-size: 48px;
  line-height: 66px;
}
.product-card__buttons {
  display: grid;
  justify-content: center;
  gap: 0px;
  width: inherit;
  align-self: flex-end;
}
.product-card__buttons.cart-btn {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
/* Корзина: счётчик в ряд с кнопками, без перекрытия */
.cart-page__products .product-card__buttons.cart-btn .product-card__quantity {
  position: static;
  transform: none;
  width: auto;
  min-width: 40px;
  height: auto;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 18px;
}
.cart-page__products .product-card__buttons.cart-btn .cart-qty-btn {
  min-width: 44px;
  padding: 8px 12px;
  font-size: 20px;
  line-height: 1;
  z-index: 1;
}
/* Сумма по строке — под блоком «Количество» (− / число / +) */
.cart-page__products .product-card__line-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  text-align: center;
}
.cart-page__products .product-card__line-total-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #c9c5c5;
}
.cart-page__products .product-card__line-total-value {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.cart-page__products .checkout-info__line-total {
  margin: 6px 0 4px;
  font-size: 15px;
  font-weight: 600;
}
.product-card .price span:nth-of-type(2) {
  font-size: 24px;
  font-weight: 700;
}
.product-card__container {
  display: flex;
  align-items: center;
  gap: 5px;
}
.product-card__text {
  margin: 0;
  padding-bottom: 4px;
  text-transform: uppercase;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 12px;
  line-height: 16px;
}
@media screen and (min-width: 1024px) {
  .product-card__text {
    font-size: 18px;
    line-height: 22px;
  }
}
@media screen and (min-width: 1440px) {
  .product-card__text {
    font-size: 24px;
    line-height: 30px;
  }
}
.product-card__link {
  padding: 0 30px 4px 0;
  text-decoration: none;
  color: white;
  background-position: right;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  font-size: 12px;
  line-height: 16px;
}
@media screen and (min-width: 1024px) {
  .product-card__link {
    font-size: 18px;
    line-height: 22px;
  }
}
@media screen and (min-width: 1440px) {
  .product-card__link {
    padding-right: 40px;
    background-size: 30px 30px;
    font-size: 24px;
    line-height: 30px;
  }
}
.product-card__link--mod {
  padding-right: 0;
}
.product-card img {
  height: 200px;
}

.checkout-info {
  position: relative;
  padding-left: 45px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
  grid-auto-rows: minmax(30px, auto);
  align-content: space-between;
}
@media screen and (min-width: 768px) {
  .checkout-info {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: flex-end;
  }
}
.checkout-info::before {
  content: counter(item);
  counter-increment: item;
  position: absolute;
  left: -45px;
  top: 0;
  min-width: 25px;
  padding: 3px 8px;
  font-weight: bold;
  border-radius: 5px;
  background-color: #b40036;
  text-align: center;
  grid-column: 1/2;
  grid-row: 1/2;
}
.checkout-info span:nth-child(1) {
  grid-column: 1/11;
  grid-row: 1/auto;
}
@media screen and (min-width: 768px) {
  .checkout-info span:nth-child(1) {
    grid-column: 1/2;
    justify-self: flex-start;
  }
}
.checkout-info div {
  grid-column: 1/11;
  display: flex;
  align-items: center;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .checkout-info div {
    grid-column: 2/3;
  }
}
@media screen and (min-width: 768px) {
  .checkout-info div:nth-child(3) {
    grid-column: 3/4;
  }
}
.checkout-info div span, .checkout-info p {
  text-transform: uppercase;
  font-family: "DINPRO", Arial, sans-serif;
}
.checkout-info div span:nth-child(2), .checkout-info div p span {
  font-size: 20px;
  line-height: 20px;
  font-weight: 700;
  color: #b40036;
}
.checkout-info div p {
  display: flex;
  gap: 10px;
}

.checkout-form {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 10px;
  background-color: #413e3e;
  border-radius: 20px;
}
.checkout-form__body {
  margin-bottom: 20px;
}
.checkout-form__title {
  margin: 0;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 36px;
  text-transform: uppercase;
  font-weight: 700;
}
.checkout-form fieldset {
  border: none;
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media screen and (min-width: 768px) {
  .checkout-form fieldset {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
.checkout-form fieldset legend {
  margin-bottom: 10px;
  padding: 0;
}
.checkout-form fieldset .checkout-form__label-radio {
  max-width: 165px;
  display: block;
  font-family: "OSWALD", Arial, sans-serif;
  padding: 5px 8px;
  border-radius: 10px;
  border: 1px solid #413e3e;
  cursor: pointer;
}
.checkout-form fieldset .checkout-form__label-radio:hover {
  border: 1px solid lightgreen;
}
.checkout-form fieldset .checkout-form__label-radio input[type=radio] {
  display: none;
}
.checkout-form fieldset .checkout-form__label-radio.selected {
  background: #b40036;
}
.checkout-form fieldset label {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.checkout-form fieldset label select {
  max-width: 280px;
  min-height: 41px;
  padding: 8px;
  padding-left: 4px;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 18px;
  border: 1px solid #959090;
  border-radius: 10px;
  background-color: #959090;
}
@media screen and (min-width: 768px) {
  .checkout-form fieldset label select {
    max-width: 100%;
  }
}
.checkout-form fieldset label p {
  margin: 0;
  text-transform: uppercase;
  line-height: 26px;
}
.checkout-form fieldset label input:not([type=radio], [type=checkbox]),
.checkout-form fieldset label textarea {
  padding: 8px;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 18px;
  line-height: 23px;
  border: 1px solid #959090;
  border-radius: 10px;
  background-color: #959090;
  color: black;
  cursor: pointer;
}
.checkout-form fieldset div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
}
@media screen and (min-width: 768px) {
  .checkout-form fieldset div {
    justify-items: flex-start;
  }
}
.checkout-form fieldset div input {
  max-width: 85px;
}
.checkout-form__fieldset .checkout-form__label {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
  grid-auto-rows: minmax(30px, auto);
  gap: 0;
  align-content: flex-start;
}
.checkout-form__fieldset .checkout-form__label input {
  margin: 0;
  margin-top: 7px;
  margin-right: 10px;
  padding: 0;
  grid-column: 1/2;
  grid-row: 1/2;
  align-self: flex-start;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid white;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: 20px 20px;
          mask-size: 20px 20px;
  cursor: pointer;
}
.checkout-form__fieldset .checkout-form__label input:checked {
  border: none;
  -webkit-mask-image: url("/client/vectors/aprove.svg");
          mask-image: url("/client/vectors/aprove.svg");
  background-color: lightgreen;
}
.checkout-form__fieldset .checkout-form__label .checkout-form__subtitle {
  grid-column: 2/11;
  grid-row: 1/auto;
  color: #959090;
}
.checkout-form__fieldset .checkout-form__label .checkout-form__description {
  font-family: "DINPRO", Arial, sans-serif;
  grid-column: 2/11;
  grid-row: auto;
  text-transform: none;
}
.checkout-form__wrapper {
  display: grid;
  grid-template-columns: min-content 1fr;
  align-items: start;
  gap: 10px;
  text-transform: none;
}
.checkout-form__wrapper label a {
  margin: 0 5px;
  text-decoration: none;
  color: #ff0000;
  cursor: pointer;
}
.checkout-form__comment label:nth-child(3) {
  flex-direction: row;
  gap: 10px;
}
.checkout-form__comment p {
  font-family: "DINPRO", Arial, sans-serif;
}
@media screen and (min-width: 768px) {
  .checkout-form__comment label {
    grid-column: 1/3;
  }
}
.checkout-form__wrapper input, .checkout-form__comment label input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid white;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: 20px 20px;
          mask-size: 20px 20px;
  cursor: pointer;
}
.checkout-form__wrapper input:checked, .checkout-form__comment label input:checked {
  border: none;
  -webkit-mask-image: url("/client/vectors/aprove.svg");
          mask-image: url("/client/vectors/aprove.svg");
  background-color: lightgreen;
}
.checkout-form select:hover, .checkout-form select:focus-visible,
.checkout-form input:hover,
.checkout-form input:focus-visible,
.checkout-form textarea:hover,
.checkout-form textarea:focus-visible,
.checkout-form input:not([type=radio]):hover,
.checkout-form input:not([type=radio]):focus-visible {
  border: 1px solid lightgreen;
}
.checkout-form__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.checkout-form__footer a {
  display: inline-block;
  border-radius: 5px;
}
.checkout-form__footer p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-items: baseline;
  font-family: "DINPRO", Arial, sans-serif;
}
@media screen and (min-width: 768px) {
  .checkout-form__footer p {
    font-size: 18px;
  }
}
.checkout-form__footer p span:nth-child(2) {
  color: red;
  font-size: 20px;
  line-height: 20px;
  font-weight: 700;
}
.checkout-form .heading {
  padding: 10px;
  background-color: #b40036;
  display: block;
  width: 100%;
  border-radius: 10px;
  font-weight: 700;
}

.pagination {
  margin-left: auto;
  display: flex;
  list-style-type: none;
}
.pagination__item {
  padding: 5px;
  min-width: 50px;
}
.pagination__item a {
  width: auto;
  min-width: 65px;
  opacity: 0.6;
}
.pagination__item a.active {
  opacity: 1;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal__content {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #413e3e;
  width: 80%;
}
@media screen and (max-width: 768px) {
  .modal__content {
    width: 100%;
  }
}
.modal__content p {
  margin: 0;
  margin-bottom: 5px;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: black;
}
.modal__title {
  margin-bottom: 10px;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 24px;
  line-height: 34px;
  text-align: center;
  color: black;
}
.modal__subtitle {
  color: black;
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 7px;
  font-family: "DINPRO", Arial, sans-serif;
}
.modal__subtitle:not(:first-of-type) {
  margin-top: 25px;
}
.modal__close-button {
  color: #413e3e;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.modal__close-button:hover, .modal__close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.policy-modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.policy-modal__content {
  background: white;
  padding: 10px 20px 20px;
  border-radius: 5px;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  color: black;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 15px;
}
.policy-modal__close {
  position: sticky;
  float: right;
  top: 0;
  right: 0;
  margin: -30px -10px 0 0;
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
  z-index: 1;
}
.policy-modal__body {
  margin-top: 20px;
  line-height: 1.6;
}

.article {
  position: relative;
  min-height: 418px;
  max-width: 300px;
  margin: 0 auto;
  margin-bottom: 10px;
  display: flex;
  gap: 20px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  grid-column: 1/-1;
}
.article a {
  text-decoration: none;
  color: white;
  position: relative;
  transition: 0.3s ease-in-out;
}
.article a:hover {
  opacity: 0.6;
}
.article__title {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: "OSWALD", Arial, sans-serif;
  font-size: 24px;
  line-height: 34px;
  font-weight: 700;
}
.article__image {
  display: flex;
  width: 100%;
  height: 100%;
  max-width: 300px;
  min-height: 330px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 25px;
}
.article__menu-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  bottom: 20px;
  z-index: 0;
  left: 50%;
  transform: translateX(-50%);
}
.article__quantity {
  margin: 0;
  min-height: 48px;
  font-size: 20px;
  line-height: 28px;
}
.article__quantity:hover {
  opacity: 1;
}
.article__link {
  margin: 0;
  min-height: 48px;
  font-size: 20px;
  line-height: 28px;
}

.aside__offers {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background-color: #2b2b2b;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .aside__offers {
    width: 748px;
    margin: 0 auto;
    flex-direction: row-reverse;
  }
}
@media screen and (min-width: 1024px) {
  .aside__offers {
    width: 320px;
    flex-direction: column;
    position: relative;
    transform: none;
    bottom: auto;
    left: auto;
    background-color: transparent;
  }
}
.aside__button {
  width: 25px;
  height: 25px;
  margin-top: 10px;
  margin-right: 10px;
  border-radius: 5px;
  border: 2px solid white;
  background-color: white;
  background-repeat: no-repeat;
  background-size: 15px 15px;
  background-position: center;
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .aside__button {
    align-self: flex-start;
    margin-left: 10px;
  }
}
@media screen and (min-width: 1024px) {
  .aside__button {
    display: none;
  }
}
.aside__button:hover, .aside__button:focus {
  border: 2px solid #b40036;
  background-color: #b40036;
}
.aside__button--open {
  border: 2px solid #413e3e;
  background-color: #413e3e;
}
@media screen and (min-width: 768px) {
  .aside__button--open {
    margin-left: 0;
  }
}

.filter-basic {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 16px;
  font-family: "OSWALD", Arial, sans-serif;
  margin-bottom: 20px;
}
.filter-basic__item {
  display: flex;
  justify-content: space-between;
}
.filter-basic__item-element {
  display: flex;
  align-items: center;
  gap: 14px;
}
.filter-basic__checkbox {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  margin: 0;
  width: 18px;
  height: 18px;
  border: 1px solid white;
  position: relative;
}
.filter-basic__checkbox::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background-color: white;
  transform: translateX(35%) translateY(-45%);
  clip-path: polygon(0 69%, 7% 67%, 10% 85%, 96% 0, 100% 5%, 5% 100%);
  display: none;
}
.filter-basic__checkbox:checked::after {
  display: block;
}
.filter-basic__checkbox:hover {
  opacity: 0.7;
  transition: 0.3s ease-in-out;
}
.filter-basic__checkbox:hover + .filter-basic__item-title {
  opacity: 0.7;
  transition: 0.3s ease-in-out;
}
.filter-basic__checkbox:hover:checked {
  opacity: 1;
  transition: none;
}
.filter-basic__checkbox:hover:checked + .filter-basic__item-title {
  opacity: 1;
  transition: none;
}
.filter-basic__checkbox:disabled {
  opacity: 0.2;
}
.filter-basic__checkbox:disabled:not(:checked) + .filter-basic__item-title {
  opacity: 0.2;
  transition: none;
}
.filter-basic__checkbox:disabled:checked::after {
  display: none;
}
.filter-basic__checkbox:disabled:checked + .filter-basic__item-title {
  opacity: 0.2;
}
.filter-basic__checkbox:disabled:hover {
  opacity: 0.2;
}
.filter-basic__count {
  background-color: #2f2f2f;
  border-radius: 20%;
}

.filter-cost {
  padding-right: 10px;
}

.range-slider-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.number-container {
  display: flex;
  width: 100%;
  gap: 10px;
  justify-content: space-between;
}

.numbers-wrapper {
  display: flex;
  align-items: center;
  -moz-column-gap: 5px;
       column-gap: 5px;
  flex-grow: 1;
}

.number-input {
  width: 100%;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 2px solid #959090;
  background-color: inherit;
  padding: 5px;
  color: white;
  outline: none;
}

.range-container {
  position: relative;
}

.range-scale {
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: #c4c4c4;
  border-radius: 5px;
  left: 2px;
}

.range-progress {
  position: absolute;
  left: 0%;
  right: 0%;
  height: 100%;
  background-color: white;
  border-radius: 5px;
}

.range-input {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: none;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  z-index: 1;
}

.range-input::-webkit-slider-thumb {
  height: 15px;
  width: 15px;
  border: none;
  border-radius: 50%;
  background-color: white;
  pointer-events: auto;
  appearance: none;
  -webkit-appearance: none;
}

.range-input::-moz-range-thumb {
  height: 15px;
  width: 15px;
  border: none;
  border-radius: 50%;
  background: #010a0c;
  pointer-events: auto;
  appearance: none;
  -moz-appearance: none;
}

.filter-functions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 16px;
  font-family: "OSWALD", Arial, sans-serif;
  justify-content: center;
  margin-bottom: 20px;
}
.filter-functions__title {
  text-transform: uppercase;
}
.filter-functions__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.filter-functions__item-element {
  display: flex;
  align-items: center;
  gap: 14px;
}
.filter-functions__checkbox {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  margin: 0;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1px solid white;
  position: relative;
}
.filter-functions__checkbox::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background-color: white;
  transform: translateX(35%) translateY(-45%);
  clip-path: polygon(0 69%, 7% 67%, 10% 85%, 96% 0, 100% 5%, 5% 100%);
  display: none;
}
.filter-functions__checkbox:checked::after {
  display: block;
}
.filter-functions__checkbox:hover {
  opacity: 0.7;
  transition: 0.3s ease-in-out;
}
.filter-functions__checkbox:hover + .filter-functions__item-title {
  opacity: 0.7;
  transition: 0.3s ease-in-out;
}
.filter-functions__checkbox:hover:checked {
  opacity: 1;
  transition: none;
}
.filter-functions__checkbox:hover:checked + .filter-functions__item-title {
  opacity: 1;
  transition: none;
}
.filter-functions__checkbox:disabled {
  opacity: 0.2;
}
.filter-functions__checkbox:disabled:not(:checked) + .filter-functions__item-title {
  opacity: 0.2;
  transition: none;
}
.filter-functions__checkbox:disabled:checked::after {
  display: none;
}
.filter-functions__checkbox:disabled:checked + .filter-functions__item-title {
  opacity: 0.2;
}
.filter-functions__checkbox:disabled:hover {
  opacity: 0.2;
}
.filter-functions__item-title {
  overflow: hidden; /* Скрыть переполнение */
  text-overflow: ellipsis; /* Добавить многоточие для длинного текста */
}
.filter-functions__count {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2f2f2f;
  min-width: 20px;
  min-height: 25px;
  border-radius: 20%;
  margin: 1px;
  padding: 1px;
}

.filters__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  align-items: center;
}

.filter-button {
  position: absolute;
  top: 0;
  padding: 0;
  padding-right: 21px;
  min-height: 36px;
  border: none;
  background-color: inherit;
  color: white;
  font-family: "DINPRO", Arial, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  align-self: flex-start;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: right;
}
@media screen and (min-width: 1024px) {
  .filter-button {
    display: none;
  }
}
.filter-button + .filter-button-close {
  display: none !important;
}
@media screen and (min-width: 1024px) {
  .filter-button + .filter-button-close {
    display: none !important;
  }
}
.filter-button + .filter-button-close + .filter-form {
  display: none;
}
@media screen and (min-width: 1024px) {
  .filter-button + .filter-button-close + .filter-form {
    display: block;
  }
}
.filter-button + .filter-button-close + .filter-form.open {
  display: block;
  position: absolute;
  z-index: 10;
  background-color: #2b2b2b;
  top: 36px;
  left: 0;
  right: 0;
  padding: 20px 10px;
  padding-top: 50px;
}
@media screen and (min-width: 768px) {
  .filter-button + .filter-button-close + .filter-form.open {
    width: 50%;
    left: 20px;
  }
}
@media screen and (min-width: 1024px) {
  .filter-button + .filter-button-close + .filter-form.open {
    position: relative;
    width: 320px;
    padding-top: 10px;
    top: auto;
    left: auto;
    right: auto;
    background-color: #0e0c0c;
  }
}

.filter-button-close {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  background-color: #2b2b2b;
  height: 27px;
  width: 43px;
  cursor: pointer;
  background-image: url("/client/vectors/arrow-close.svg");
  background-size: cover;
  background-repeat: no-repeat;
  top: 46px;
  left: 10px;
  z-index: 101;
}
@media screen and (min-width: 768px) {
  .filter-button-close {
    left: 30px;
  }
}
@media screen and (min-width: 1024px) {
  .filter-button-close {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  .filter-button + .filter-form.open {
    display: block;
    position: static;
    background-color: transparent;
  }
}

.custom-select-block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.25px;
  text-transform: none;
  color: white;
}
.catalog__products > .custom-select-block {
  grid-column: 1 / -1;
  width: 100%;
  justify-content: flex-start;
}
.catalog__products .custom-select-block .custom-select {
  flex: 1 1 200px;
  min-width: min(100%, 217px);
  max-width: 100%;
  grid-column: unset;
  justify-self: stretch;
}
.custom-select__label {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
@media screen and (min-width: 768px) {
  .custom-select__label {
    font-size: 15px;
  }
}
.select-sort-arrow {
  display: inline;
  margin-left: 4px;
  font-style: normal;
  opacity: 0.95;
}
@media screen and (min-width: 1440px) {
  .custom-select-block {
    min-width: 410px;
  }
}

.custom-select {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 217px;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.25px;
  text-transform: none;
  color: white;
}
@media screen and (max-width: 768px) {
  .custom-select {
    min-width: 147px;
    justify-self: right;
  }
}
@media screen and (min-width: 768px) {
  .custom-select {
    min-width: 265px;
    gap: 15px;
    grid-column: 2/3;
  }
}
@media screen and (min-width: 1024px) {
  .custom-select {
    justify-content: flex-start;
    justify-self: flex-start;
    grid-column: 1/3;
  }
}
@media screen and (min-width: 1440px) {
  .custom-select {
    min-width: 410px;
    grid-column: 1/4;
  }
}

.select-selected {
  min-width: 120px;
  background-color: #413e3e;
  padding: 10px 5px;
  cursor: pointer;
  border-radius: 20px;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 10px;
  padding-right: 25px;
}
@media screen and (min-width: 768px) {
  .select-selected {
    min-width: 150px;
    padding: 10px;
    padding-right: 30px;
  }
}
@media screen and (min-width: 1440px) {
  .select-selected {
    min-width: 200px;
    font-size: 18px;
    line-height: 22px;
  }
}
.select-selected::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: white;
  transform: translateY(-40%);
  top: 50%;
  right: 10px;
  clip-path: polygon(50% 70%, 0 20%, 0 30%, 50% 80%, 100% 30%, 100% 20%);
}
@media screen and (min-width: 768px) {
  .select-selected::after {
    right: 10px;
  }
}
@media screen and (min-width: 1440px) {
  .select-selected::after {
    right: 15px;
  }
}

.select-selected.open {
  border-radius: 20px 20px 0 0;
}
.select-selected.open::after {
  clip-path: polygon(50% 20%, 0 70%, 0 80%, 50% 30%, 100% 80%, 100% 70%);
}

.select-items {
  position: absolute;
  display: block;
  top: 100%;
  right: 0;
  background-color: #413e3e;
  z-index: 101;
  border-radius: 0 0 20px 20px;
}
@media screen and (min-width: 1024px) {
  .select-items {
    left: 0;
    right: auto;
  }
}

.select-item {
  padding: 10px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.select-item:hover {
  background-color: #e0e0e0;
}
.select-item:hover:last-child {
  border-radius: 0 0 20px 20px;
}

.select-hide {
  display: none;
}

.title__h2 {
  margin: 0;
  padding-top: 10px;
  padding-bottom: 22px;
  font-size: 27px;
}
@media screen and (min-width: 1024px) {
  .title__h2 {
    padding-top: 45px;
    font-size: 40px;
    line-height: 44px;
  }
}
@media screen and (min-width: 1440px) {
  .title__h2 {
    padding-top: 60px;
    padding-bottom: 40px;
    font-size: 64px;
    line-height: 88px;
  }
}

.intro {
  position: relative;
  box-shadow: 0px 90px 100px #0e0c0c;
}
.intro .intro__title {
  text-transform: uppercase;
}
.intro .intro__advantages-text {
  text-transform: lowercase;
}
.intro .intro__link {
  text-transform: lowercase;
  display: inline-block;
}
/* ::first-letter не работает у flex — только в блоке intro */
.intro .swiper-intro__slide .intro__advantages-text {
  display: block;
}
.intro .intro__advantages-text::first-letter,
.intro .intro__link::first-letter {
  text-transform: uppercase;
}
.intro__link {
  padding: 10px;
  font-size: 20px;
  line-height: 28px;
  font-family: "OSWALD", Arial, sans-serif;
}
@media screen and (min-width: 1030px) {
  .intro__link {
    font-size: 32px;
    line-height: 34px;
  }
}
@media screen and (min-width: 1440px) {
  .intro__link {
    font-size: 64px;
    line-height: 86px;
    min-width: 554px;
  }
}
.intro__advantages-text {
  font-size: 14px;
  font-weight: 400;
  position: relative;
  padding-left: 50px;
  width: 100%;
  display: flex;
}
@media screen and (min-width: 1024px) {
  .intro__advantages-text {
    font-size: 48px;
  }
}
.intro__advantages-text:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("/client/vectors/aprove.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
@media screen and (min-width: 1024px) {
  .intro__advantages-text:before {
    width: 40px;
    height: 40px;
  }
}
.intro__content {
  height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 40px;
  width: inherit;
  gap: 10px;
}
@media screen and (min-width: 1024px) {
  .intro__content {
    padding-top: 100px;
    gap: 20px;
  }
}
@media screen and (min-width: 1440px) {
  .intro__content {
    padding-top: 150px;
  }
}
.intro .swiper-intro__slide::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  top: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(black, rgba(23, 15, 15, 0.3215686275));
  box-shadow: inset 10px -40px 20px #0e0c0c;
}
.intro .swiper-intro__slide .intro__video {
  top: 0;
  left: 0;
  position: absolute;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
  pointer-events: none;
}
.intro h1,
.intro h2,
.intro li {
  color: white;
}
.intro__list-slide {
  min-height: 150px;
  display: grid;
  align-content: center;
  justify-items: flex-start;
  gap: 5px;
}
.intro__list-slide li:last-of-type {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
@media screen and (min-width: 1024px) {
  .intro__list-slide {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
.intro__title {
  font-size: 24px;
  margin: 0;
  transform: translateY(-50px);
  opacity: 0;
  transition: 0.5s ease-in-out;
}
.intro__title.visible {
  transform: translateY(0px);
  opacity: 1;
}
@media screen and (min-width: 1024px) {
  .intro__title {
    font-size: 64px;
  }
}
.intro .swiper-intro {
  height: 100vh;
}

/* Главная: слайдер первого экрана (магазин + фирменный центр Шымкент) */
.home-hero-section {
  position: relative;
  box-shadow: 0 16px 40px rgba(14, 12, 12, 0.28);
  overflow: hidden;
  --home-hero-slide-min-h: min(58vh, 560px);
}
@media screen and (min-width: 768px) {
  .home-hero-section {
    --home-hero-slide-min-h: min(62vh, 620px);
  }
}
.swiper-home-hero {
  position: relative;
  padding-bottom: 42px;
}
.swiper-home-hero.swiper-home-hero--single {
  padding-bottom: 0;
}
.home-hero-slide {
  box-sizing: border-box;
}
.swiper-home-hero .swiper-slide {
  display: flex;
  flex-direction: column;
  min-height: var(--home-hero-slide-min-h);
  height: auto;
}
.swiper-home-hero .swiper-slide > .home-hero,
.swiper-home-hero .swiper-slide > .home-hero-shymkent {
  flex: 1 0 auto;
  width: 100%;
  min-height: var(--home-hero-slide-min-h);
}
.swiper-home-hero .home-hero.home-hero--starline {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-hero__pagination.swiper-pagination {
  bottom: 8px !important;
  z-index: 5;
}
.swiper-home-hero .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(90, 90, 90, 0.45);
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.65);
}
.swiper-home-hero .swiper-pagination-bullet-active {
  background: #e30613;
  box-shadow: none;
}

/* Слайд 1: магазин StarLine */
.home-hero.home-hero--starline {
  position: relative;
  background: #ffffff;
  color: #1a1a1a;
  overflow: hidden;
  text-transform: none;
}
.home-hero-starline {
  position: relative;
  padding: 28px 0 40px;
}
@media screen and (min-width: 768px) {
  .home-hero-starline {
    padding: 36px 0 48px;
  }
}
.home-hero-starline__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: #2a2a2a;
}
.home-hero-starline__watermark-car {
  width: min(140%, 900px);
  max-height: 70%;
  opacity: 0.07;
}
.home-hero-starline__container {
  position: relative;
  z-index: 1;
}
.home-hero-starline__header {
  text-align: center;
  margin-bottom: 1.75rem;
}
.home-hero-starline__badge {
  display: inline-block;
  margin: 0 auto 1rem;
  padding: 0.45rem 2rem 0.5rem;
  background: #e30613;
  color: #fff;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  clip-path: polygon(6% 0, 94% 0, 100% 100%, 0% 100%);
}
.home-hero-starline__logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}
.home-hero-starline__logo-text {
  font-family: "DINPRO", Arial, sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0066b3;
}
.home-hero-starline__heading {
  margin: 0 auto;
  max-width: 36rem;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: clamp(1rem, 3.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}
@media screen and (min-width: 768px) {
  .home-hero-starline__heading {
    max-width: 48rem;
    font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  }
}
.home-hero-starline__main {
  display: grid;
  gap: 2rem;
  align-items: center;
  justify-items: center;
}
@media screen and (min-width: 900px) {
  .home-hero-starline__main {
    grid-template-columns: minmax(200px, 320px) minmax(280px, 1fr);
    justify-items: stretch;
    gap: 2.5rem 3rem;
    align-items: center;
  }
  .home-hero-starline__visual {
    justify-self: end;
  }
  .home-hero-starline__side {
    justify-self: start;
    max-width: 32rem;
  }
}
.home-hero-starline__visual {
  width: 100%;
  display: flex;
  justify-content: center;
}
/* Упрощённая «брелок» CSS */
.hero-keyfob {
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.18));
}
.hero-keyfob__body {
  width: 148px;
  padding: 10px 12px 12px;
  border-radius: 18px;
  background: linear-gradient(165deg, #dfe3e8 0%, #b8bec8 40%, #9aa2ae 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.hero-keyfob__top {
  position: relative;
  height: 10px;
  margin-bottom: 6px;
}
.hero-keyfob__btn {
  position: absolute;
  top: -2px;
  right: 4px;
  width: 26px;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff1a1a, #c40000);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
.hero-keyfob__screen {
  position: relative;
  height: 76px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2a2a2a, #0d0d0d);
  margin-bottom: 10px;
  border: 2px solid #1f1f1f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 9px;
  color: #7cfc00;
  font-family: ui-monospace, monospace;
}
.hero-keyfob__screen-car {
  width: 22px;
  height: 10px;
  border-radius: 2px;
  background: rgba(124, 252, 0, 0.35);
  box-shadow: 0 0 6px rgba(124, 252, 0, 0.4);
}
.hero-keyfob__screen-time {
  font-weight: 700;
  letter-spacing: 0.05em;
}
.hero-keyfob__screen-icons {
  display: flex;
  gap: 3px;
}
.hero-keyfob__screen-icons::before,
.hero-keyfob__screen-icons::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: rgba(124, 252, 0, 0.5);
}
.hero-keyfob__keys {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.hero-keyfob__keys span {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(180deg, #6a7078, #4a5058);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
@media screen and (min-width: 900px) {
  .hero-keyfob__body {
    width: 168px;
  }
  .hero-keyfob__screen {
    height: 86px;
  }
}
.home-hero-starline__side {
  width: 100%;
  max-width: 28rem;
}
.home-hero-starline__list {
  margin: 0;
  padding: 0;
}
.home-hero-starline__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #222;
}
@media screen and (min-width: 768px) {
  .home-hero-starline__item {
    font-size: 0.95rem;
  }
}
.home-hero-starline__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e30613;
  border-radius: 2px;
}
.home-hero-starline__cta {
  margin-top: 0.5rem;
  display: inline-block;
  padding: 0.65rem 1.5rem !important;
  font-size: 0.95rem !important;
  line-height: 1.3 !important;
  min-width: 0 !important;
  border-radius: 2px !important;
  background: #e30613 !important;
  background-image: none !important;
  color: #fff !important;
  text-decoration: none;
  text-transform: none;
  box-shadow: none;
}
.home-hero-starline__cta:hover {
  opacity: 0.92;
  color: #fff !important;
}

/* Слайд 2: фирменный центр StarLine в Шымкенте */
.home-hero-shymkent {
  display: flex;
  flex-direction: column;
  background: #000;
  color: #fff;
  text-transform: none;
  position: relative;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .home-hero-shymkent {
    flex-direction: row;
    align-items: stretch;
  }
}
.home-hero-shymkent__visual {
  flex: 0 0 auto;
  min-height: 220px;
  background-color: #111;
  background-image: url("/cars2.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
@media screen and (min-width: 768px) {
  .home-hero-shymkent__visual {
    flex: 0 0 48%;
    min-height: 100%;
    clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
  }
}
.home-hero-shymkent__body {
  flex: 1;
  position: relative;
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  font-size: 1.0625rem;
  line-height: 1.45;
}
@media screen and (min-width: 768px) {
  .home-hero-shymkent__body {
    padding: 2rem 1.25rem 2rem 0.25rem;
    font-size: 1.125rem;
  }
}
@media screen and (min-width: 1024px) {
  .home-hero-shymkent__body {
    padding: 2.25rem 2.25rem 2.25rem 0.75rem;
    font-size: 1.1875rem;
  }
}
.home-hero-shymkent__watermark {
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 40%;
  max-width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 12px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.04);
  opacity: 0.4;
  pointer-events: none;
}
.home-hero-shymkent__title {
  margin: 0 0 1.2rem;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: clamp(1.35rem, 4.1vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  max-width: 26rem;
}
.home-hero-shymkent__list {
  margin: 0 0 1.35rem;
  padding: 0;
  max-width: 34rem;
}
.home-hero-shymkent__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.72rem;
  font-size: 1em;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}
.home-hero-shymkent__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e30613;
}
.home-hero-shymkent__tel {
  color: #5dade2;
  text-decoration: none;
  white-space: nowrap;
}
.home-hero-shymkent__tel:hover {
  text-decoration: underline;
}
.home-hero-shymkent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
  justify-content: center;
}
.home-hero-shymkent__btn {
  display: inline-block;
  padding: 0.65rem 1.2rem !important;
  font-size: 1em !important;
  line-height: 1.35 !important;
  min-width: 0 !important;
  border-radius: 3px !important;
  background: #e30613 !important;
  background-image: none !important;
  color: #fff !important;
  text-decoration: none;
  text-transform: none;
  border: none;
  box-shadow: none;
  text-align: center;
}
.home-hero-shymkent__btn:hover {
  opacity: 0.92;
  color: #fff !important;
}

.service {
  padding: 50px 0;
}
.service__list {
  height: 100%;
  min-height: 400px;
  width: 100%;
}
.swiper-service {
  position: relative;
  padding-bottom: 52px;
}
@media screen and (min-width: 768px) {
  .swiper-service {
    padding-bottom: 0;
  }
}
.swiper-service__pagination {
  display: none;
}
@media screen and (max-width: 767px) {
  .service__list .swiper-slide {
    opacity: 1 !important;
  }
  .swiper-service.swiper-initialized .service__list .swiper-slide {
    opacity: 0 !important;
  }
  .swiper-service.swiper-initialized .service__list .swiper-slide.swiper-slide-active {
    opacity: 1 !important;
  }
  .swiper-service__pagination {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    bottom: 8px !important;
    left: 0;
    right: 0;
  }
  .swiper-service__pagination .swiper-pagination-bullet {
    transition: 0.3s ease-in-out;
    width: 20px;
    height: 20px;
    background-color: red;
  }
  .swiper-service__pagination .swiper-pagination-bullet-active {
    background-color: red;
  }
}
@media screen and (min-width: 768px) {
  .service__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 20px;
    align-items: end;
  }
}
@media screen and (min-width: 768px) {
  .service__list--component {
    height: auto;
  }
}
.service__list--component .service__item .service-card {
  min-height: inherit;
}
.service__list--component .service__item .service-card__buttons {
  bottom: 14px;
}
@media screen and (min-width: 768px) {
  .service__list--component .service__item .service-card__buttons a,
  .service__list--component .service__item .service-card__buttons button {
    min-width: 72px;
    width: auto;
  }
  .service__list--component .service__item .service-card {
    min-height: 100%;
  }
}
@media screen and (min-width: 1024px) {
  .service__list--component .service__item .service-card__buttons {
    max-width: 100%;
  }
  .service__list--component .service__item .service-card__buttons a,
  .service__list--component .service__item .service-card__buttons button {
    font-size: 12px;
  }
}
.service__item {
  align-content: self-end;
  height: inherit;
  min-height: inherit;
  height: 100%;
}
.service__title {
  margin: 0;
  padding-bottom: 22px;
  text-align: center;
}
@media screen and (min-width: 1024px) {
  .service__title {
    font-size: 40px;
    line-height: 44px;
  }
}
@media screen and (min-width: 1440px) {
  .service__title {
    padding-bottom: 40px;
    font-size: 64px;
    line-height: 88px;
  }
}
@media screen and (min-width: 1024px) {
  .service {
    padding: 60px 0;
  }
}

.marks__wrapper {
  padding: 20px 0;
  overflow: hidden;
  display: flex;
  gap: 30px;
}
.marks.home-snap-section > div {
  margin-top: 32px;
}

/* Скрываем лишнюю «линию» в конкретной строке таблицы (контакты) */
#lt-vgxkfox-panel-0 > div > table > tbody > tr:nth-child(11),
#lt-vgxkfox-panel-0 > div > table > tbody > tr:nth-child(11) td,
#lt-vgxkfox-panel-0 > div > table > tbody > tr:nth-child(11) * {
  text-decoration: none !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
  white-space: nowrap;
}
#lt-vgxkfox-panel-0 > div > table > tbody > tr:nth-child(11) *::before,
#lt-vgxkfox-panel-0 > div > table > tbody > tr:nth-child(11) *::after {
  content: none !important;
}
.marks__wrapper > * {
  flex: 0 0 100%;
}
.marks__list {
  padding: 30px 0;
  display: flex;
  align-items: center;
  gap: 30px;
  will-change: transform;
  animation: scrolling 80s linear infinite;
}
.marks__item {
  min-width: 200px;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 20px;
}
#marks-list-first .marks__item,
#marks-list-second .marks__item {
  min-width: 160px;
  height: 160px;
  border-radius: 16px;
}
@media (min-width: 1440px) {
  .marks__item {
    min-width: 300px;
    width: 100%;
    height: 300px;
  }
  #marks-list-first .marks__item,
  #marks-list-second .marks__item {
    min-width: 220px;
    height: 220px;
  }
}
.marks__image {
  width: 140px;
  height: 140px;
}
#marks-list-first .marks__image,
#marks-list-second .marks__image {
  width: 100px;
  height: 100px;
}
@media (min-width: 1440px) {
  .marks__image {
    width: 240px;
    height: 240px;
  }
  #marks-list-first .marks__image,
  #marks-list-second .marks__image {
    width: 180px;
    height: 180px;
  }
}

@keyframes scrolling {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.autosygnals {
  padding-bottom: 100px;
}
.autosygnals__title {
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .autosygnals__title {
    padding-top: 20px;
  }
}
.autosygnals__list {
  display: grid;
  gap: 90px 60px;
  align-items: end;
  height: auto;
  grid-template-columns: 1fr 1fr;
}
.autosygnals__item-card {
  position: relative;
  display: grid;
  color: white;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}
.autosygnals__item-card:hover {
  opacity: 0.6;
}
.autosygnals__item-title {
  font-family: "ROBOTO", Arial, sans-serif;
  font-size: 24px;
  text-align: center;
  word-break: break-all;
  text-transform: uppercase;
}
@media screen and (min-width: 768px) and (max-width: 1040px) {
  .autosygnals__item-title {
    min-height: 55px;
  }
}
.autosygnals__item-link {
  margin: 0;
}
@media screen and (min-width: 768px) {
  .autosygnals__item:nth-of-type(odd) {
    position: relative;
  }
  .autosygnals__item:nth-of-type(odd):not(:last-child):not(:nth-last-child(2))::before {
    content: "";
    position: absolute;
    left: 5%;
    bottom: -50px;
    background-color: white;
    width: 200%;
    height: 2px;
  }
}
.autosygnals__item-image {
  display: flex;
  height: 100%;
  max-height: 500px;
  margin: 0 auto;
  width: 100%;
}
.autosygnals__item-block {
  position: absolute;
  bottom: 20px;
  align-items: center;
  max-width: 80%;
  justify-items: center;
  justify-content: center;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  gap: 10px;
  display: grid;
}
.autosygnals__item-count {
  display: flex;
  border-radius: 5px;
  border: 1px solid white;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  gap: 10px;
  background-color: black;
  text-transform: uppercase;
  font-size: 36px;
  width: 100%;
  max-width: 364px;
  min-height: 65px;
  margin: 0;
}
@media screen and (max-width: 768px) {
  .autosygnals__list {
    gap: 10px;
    grid-template-columns: 1fr;
    display: flex;
  }
  .autosygnals__list .swiper-slide {
    opacity: 0 !important;
  }
  .autosygnals__list .swiper-slide-active {
    opacity: 1 !important;
  }
  .autosygnals__item-card {
    gap: 20px;
  }
  .autosygnals__item-title {
    font-size: 20px;
    word-break: normal;
  }
  .autosygnals__item-image {
    max-height: 350px;
  }
  .autosygnals__item-block {
    position: static;
    transform: translateX(0);
    gap: 15px;
  }
  .autosygnals__item-count {
    font-size: 20px;
    max-width: 260px;
    min-height: 40px;
    margin: 0;
  }
  .autosygnals__pagination {
    position: static;
    width: 100%;
    min-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  .autosygnals__pagination .swiper-pagination-bullet {
    transition: 0.3s ease-in-out;
    width: 20px;
    height: 20px;
    background-color: red;
  }
}
@media screen and (min-width: 768px) {
  .autosygnals__item-count {
    font-size: 20px;
    min-height: 45px;
  }
}
@media screen and (min-width: 1024px) {
  .autosygnals__item-count {
    font-size: 24px;
    min-height: 65px;
  }
}

.sertificates {
  overflow: hidden;
  padding: 50px 0;
}
.sertificates .swiper-sertificates {
  padding-bottom: 30px;
  min-height: 530px;
  height: auto;
  position: relative;
}
@media screen and (max-width: 767px) {
  .sertificates .swiper-sertificates {
    min-height: 0;
    padding-bottom: 8px;
  }
  .sertificates .swiper-pagination,
  .sertificates .swiper-sertificates__pagination {
    display: none !important;
  }
  .sertificates .swiper-mobile-nav-btn {
    top: 38%;
  }
  .home-showcase .swiper-home-showcase {
    padding-bottom: 8px;
  }
  .home-showcase .home-showcase__pagination,
  .home-showcase .swiper-pagination {
    display: none !important;
  }
  .home-showcase .swiper-mobile-nav-btn {
    top: 42%;
  }
}
@media screen and (min-width: 1024px) {
  .sertificates .swiper-sertificates {
    max-width: 1008px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (min-width: 1440px) {
  .sertificates .swiper-sertificates {
    min-height: 600px;
    height: auto;
  }
}
.sertificates .swiper-sertificates li a {
  display: block;
  justify-content: initial;
  align-items: initial;
}
.sertificates .swiper-pagination {
  display: flex;
  justify-content: center;
  padding: 0;
  bottom: 0;
}
.sertificates .swiper-pagination .swiper-pagination-bullet {
  transition: 0.3s ease-in-out;
  width: 20px;
  height: 20px;
  opacity: 0.7;
  background-color: #b40036;
}
.sertificates .swiper-pagination .swiper-pagination-bullet-active {
  background-color: red;
}
.swiper-mobile-nav-btn {
  display: none;
}
.swiper-popular,
.reviews__swiper,
.swiper-home-showcase {
  position: relative;
}
@media screen and (max-width: 767px) {
  .sertificates .swiper-sertificates,
  .swiper-popular,
  .reviews__swiper,
  .swiper-home-showcase {
    padding-left: 52px;
    padding-right: 52px;
  }
  .swiper-mobile-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 7;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.55);
    background: rgba(0, 0, 0, 0.62);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
  }
  .swiper-mobile-nav-btn::after {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
  }
  .swiper-mobile-nav-btn--prev::after {
    content: "‹";
    margin-right: 2px;
  }
  .swiper-mobile-nav-btn--next::after {
    content: "›";
    margin-left: 2px;
  }
  .swiper-mobile-nav-btn--prev {
    left: 2px;
  }
  .swiper-mobile-nav-btn--next {
    right: 2px;
  }
  .swiper-mobile-nav-btn:active:not(.swiper-button-disabled) {
    transform: translateY(-50%) scale(0.96);
    background: rgba(220, 38, 38, 0.9);
    border-color: rgba(255, 255, 255, 0.75);
  }
  .swiper-mobile-nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    box-shadow: none;
  }
}
.sertificates__slide {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 10px;
  max-width: 320px;
  box-sizing: border-box;
}
.sertificates__slide a:first-child {
  border-radius: 16px;
  overflow: hidden;
  display: block;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3/4;
  height: auto;
  position: relative;
}
.sertificates__slide a:first-child img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.sertificates__slide a:first-child .pdf-preview-iframe {
  /* Вписываем PDF целиком, без обрезки и скроллов */
  width: 300px;
  height: 400px;
  border: none;
  border-radius: 16px;
  background-color: #f8f9fa;
  pointer-events: none; /* Отключаем взаимодействие с iframe */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}
.sertificates__slide a:first-child .pdf-preview-link {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.sertificates__slide a:first-child .pdf-preview-link:hover {
  transform: translateY(-2px);
}
.sertificates__slide a:first-child .pdf-preview-link:hover .pdf-overlay {
  opacity: 1;
}
.sertificates__slide a:first-child .pdf-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.sertificates__slide a:first-child .pdf-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.sertificates__slide a:first-child .pdf-text {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}
.sertificates__slide .sertificates__download {
  color: white;
  text-decoration: none;
  background-color: red;
  padding: 12px 0; /* высота кнопки */
  border-radius: 4px;
  width: 100%; /* Растягиваем на всю доступную ширину */
  text-align: center; /* Центрируем текст внутри кнопки */
  /* Синхронизируем ширину превью и кнопки: превью уже 100% блока слайда */
}
@media screen and (min-width: 1024px) {
  .sertificates {
    padding: 100px 0;
  }
}

.pdf-preview-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background-color: #f8f9fa;
}
.pdf-preview-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid #e0e0e0;
  border-top: 3px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
}
.pdf-preview-container.loaded::before {
  display: none;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@media (max-width: 768px) {
  .pdf-overlay .pdf-icon {
    font-size: 2rem;
  }
  .pdf-overlay .pdf-text {
    font-size: 0.9rem;
  }
}
.fancybox__content .fancybox__iframe {
  border-radius: 0;
}
.fancybox__content .fancybox__iframe[src*=".pdf"] {
  background-color: #f8f9fa;
}
/* Фото в Fancybox: подстраховка размера контейнера (режим cover в JS) */
.fancybox__content:has(.fancybox-image) {
  max-width: min(96vw, 100%);
  max-height: min(92vh, 100%);
}

.pdf-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f9fa;
  border-radius: 16px;
  cursor: pointer;
}
.pdf-fallback .pdf-fallback-content {
  text-align: center;
  color: #666;
}
.pdf-fallback .pdf-fallback-content .pdf-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}
.pdf-fallback .pdf-fallback-content p {
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
  font-weight: 500;
}
.pdf-fallback .pdf-fallback-content small {
  font-size: 0.9rem;
  opacity: 0.7;
}

.pdf-preview-link.loading .pdf-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.5);
}
.pdf-preview-link.loading .pdf-overlay .pdf-icon {
  animation: pulse 1.5s infinite;
}
.pdf-preview-link.error .pdf-overlay {
  opacity: 1;
  background: rgba(220, 53, 69, 0.8);
}
.pdf-preview-link.error .pdf-overlay .pdf-text {
  color: white;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.setup {
  border-top: 1px solid white;
}
.setup__container {
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  padding: 20px 10px;
  border-radius: 25px;
  background-color: #121010;
}
@media screen and (min-width: 768px) {
  .setup__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
@media screen and (min-width: 1440px) {
  .setup__container {
    padding-top: 100px;
  }
}
.setup__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .setup__wrapper {
    align-items: start;
    justify-content: center;
  }
}
@media screen and (min-width: 1440px) {
  .setup__wrapper {
    max-width: 690px;
  }
}
.setup__title {
  margin: 0;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 30px;
  text-transform: uppercase;
}
@media screen and (min-width: 768px) {
  .setup__title {
    align-self: start;
  }
}
@media screen and (min-width: 1030px) {
  .setup__title {
    align-self: start;
    font-size: 28px;
    line-height: 38px;
  }
}
@media screen and (min-width: 1440px) {
  .setup__title {
    margin-bottom: auto;
    font-size: 48px;
    line-height: 60px;
  }
}
.setup__description {
  margin: 0;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  font-family: "DINPRO", Arial, sans-serif;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .setup__description {
    text-align: left;
  }
}
@media screen and (min-width: 1440px) {
  .setup__description {
    font-size: 34px;
    line-height: 42px;
  }
}
.setup__btn {
  display: block;
  width: 100%;
  max-width: 240px;
  align-self: center;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  border: 1px solid white;
  background-image: linear-gradient(180deg, #280000 0, #ff0000 100%);
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  transition: all 0.3s ease;
}
.setup__btn:hover {
  opacity: 0.3;
}
@media screen and (min-width: 768px) {
  .setup__btn {
    align-self: start;
  }
}
@media screen and (min-width: 1030px) {
  .setup__btn {
    align-self: start;
    font-size: 28px;
    line-height: 38px;
  }
}
@media screen and (min-width: 1440px) {
  .setup__btn {
    font-size: 32px;
    line-height: 38px;
    max-width: 420px;
    margin-top: auto;
    align-self: start;
  }
}
.setup__img-container {
  align-self: center;
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  border-radius: 16px;
}
@media screen and (min-width: 768px) {
  .setup__img-container {
    justify-self: flex-end;
    max-width: 500px;
  }
}
.setup__img-container picture {
  width: 100%;
}
.setup__img-container img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}
@media screen and (min-width: 768px) {
  .setup__img-container img {
    margin-left: auto;
    height: 400px;
    min-width: 342px;
    max-width: 500px;
  }
}

.quality {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  border-top: 1px solid white;
}
@media screen and (max-width: 768px) {
  .quality {
    min-height: 200px;
  }
}
@media screen and (max-width: 1024px) {
  .quality {
    min-height: 200px;
  }
}
.quality__video {
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  height: inherit;
  max-width: 100%;
  max-height: 600px;
  position: relative;
  z-index: 2;
  -o-object-fit: cover;
     object-fit: cover;
  top: 0;
  left: 0;
  pointer-events: none;
}
.quality__video--bg {
  display: flex;
  width: 100%;
  max-height: 600px;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  z-index: -1;
  top: 200px;
  left: 0;
  filter: blur(5px);
}
.quality__present {
  min-height: 200px;
  width: 100%;
}
.quality__present img {
  height: revert-layer;
}
.quality__present h2 {
  position: relative;
  min-height: 100px;
  display: flex;
  align-items: center;
  background-color: black;
  margin: 0;
  z-index: 3;
  text-align: center;
  justify-content: center;
  width: 100%;
}
.quality__present h2 p {
  display: flex;
  gap: 10px;
  max-width: 1440px;
  padding: 30px 20px 30px 50px;
  margin: 0 auto;
  justify-content: center;
  font-weight: 400;
  font-family: "DINPRO", Arial, sans-serif;
}
@media screen and (max-width: 768px) {
  .quality__present h2 p {
    flex-direction: column;
    gap: 25px;
  }
}
.quality__present h2 p span {
  display: flex;
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: relative;
}
.quality__list-wrapper {
  background-color: #0e0c0c;
  min-height: 100px;
  width: 100%;
  border-top: 2px solid white;
  border-bottom: 2px solid white;
  z-index: 2;
  position: relative;
  bottom: 2px;
}
.quality__list-wrapper .container {
  min-height: inherit;
}
.quality__list {
  min-height: inherit;
  width: 100%;
  align-content: center;
  font-weight: 700;
  font-family: "OSWALD", Arial, sans-serif;
  margin: 0 auto;
  display: grid;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 180px 0 18px 0;
}
.quality__list p {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}
@media screen and (max-width: 1024px) {
  .quality__list {
    padding: 40px 0 18px;
    align-content: left;
  }
  .quality__list p {
    text-align: left;
  }
}
@media screen and (min-width: 1024px) {
  .quality__list {
    display: flex;
    align-items: stretch;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
}
.quality__list li {
  padding-left: 40px;
  text-align: left;
  font-size: 18px;
  position: relative;
  align-items: start;
}
@media screen and (min-width: 1024px) {
  .quality__list li {
    padding-left: 0;
  }
}
.quality__list li img {
  width: 150px;
  height: 150px;
  position: absolute;
  top: -155px;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 1024px) {
  .quality__list li img {
    display: none;
  }
}
.quality__list li::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background-size: cover;
  background-position: center;
  top: -155px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}
@media screen and (max-width: 1024px) {
  .quality__list li::before {
    display: block;
    top: 50%;
    left: 0;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    background-image: url("/client/vectors/aprove.svg");
  }
}
.quality__item {
  text-transform: uppercase;
}
.quality h2 span {
  font-size: 16px;
  text-transform: uppercase;
}
@media screen and (min-width: 475px) {
  .quality h2 span {
    font-size: 20px;
  }
}
@media screen and (min-width: 1024px) {
  .quality h2 span {
    text-align: left;
  }
}
@media screen and (max-width: 1024px) {
  .quality__present {
    min-height: 100px;
  }
}
@media screen and (min-width: 1024px) {
  .quality {
    min-height: 680px;
  }
  .quality__video {
    max-width: 100%;
  }
  .quality__video--bg {
    max-width: 100%;
  }
  .quality h2 {
    min-height: 200px;
    font-size: 64px;
    line-height: 88px;
  }
  .quality h2 p {
    padding-left: 150px;
  }
  .quality h2 p span {
    font-size: 32px;
    line-height: 36px;
  }
  .quality__item {
    text-align: center;
    font-size: 28px;
    flex-basis: 32%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .quality__item--hidden {
    display: none;
  }
  .quality__list-wrapper {
    min-height: 200px;
  }
}

@media (min-width: 768px) {
  .form__wrapper {
    display: grid;
    grid-template-columns: 768px;
    justify-content: center;
  }
}
@media (min-width: 1440px) {
  .form__wrapper {
    grid-template-columns: 1440px;
  }
}
.form__title {
  margin: 0;
  margin-bottom: 20px;
}
@media (min-width: 1440px) {
  .form__title {
    margin-bottom: 31px;
    font-size: 64px;
    line-height: 88px;
    text-transform: none;
  }
}
.form__main-form {
  display: grid;
  grid-template-columns: 300px;
  justify-content: center;
  padding: 0 10px;
}
@media (min-width: 768px) {
  .form__main-form {
    grid-template-columns: 1fr 1fr;
    padding: 0 20px;
  }
}
.form__fieldset {
  border: none;
  margin: 0;
  margin-bottom: 10px;
  padding: 0;
}
@media (min-width: 768px) {
  .form__fieldset {
    grid-column: 1/3;
  }
}
.form__group-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (min-width: 768px) {
  .form__group-radio {
    gap: 28px;
  }
}
@media (min-width: 1440px) {
  .form__group-radio {
    padding: 30px 0;
  }
}
.form__radio {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 50px;
  height: 50px;
  border: 3px solid white;
  border-radius: 5px;
  background-color: white;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.form__radio:hover {
  border: 4 solid #64001e;
  opacity: 0.6;
}
.form__radio:checked {
  border: 4px solid lightgreen;
}
@media (min-width: 768px) {
  .form__radio {
    width: 150px;
    height: 150px;
  }
}
.form__subtitle {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 30px;
  font-weight: 700;
  text-transform: none;
}
@media (min-width: 1440px) {
  .form__subtitle {
    margin-bottom: 20px;
    font-size: 48px;
    line-height: normal;
  }
}
@media (min-width: 768px) {
  .form__list {
    display: grid;
    grid-column: 1/3;
  }
}
@media (min-width: 1440px) {
  .form__list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 768px) {
  .form__item--textarea {
    grid-column: 1/3;
  }
}
@media (min-width: 1440px) {
  .form__item--textarea .form__subtitle {
    font-size: 64px;
    text-align: center;
  }
}
.form__input {
  font-size: 24px;
  line-height: 30px;
  padding: 10px;
  border-radius: 30px;
  border: 2px solid #141212;
  background-color: #363535;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.form__input:hover, .form__input:focus-visible {
  border: 2px solid #363535;
  background-color: white;
  color: black;
}
@media (min-width: 768px) {
  .form__input {
    max-width: 360px;
  }
}
@media (min-width: 1440px) {
  .form__input {
    max-width: 680px;
    font-size: 36px;
  }
}
.form__input.error {
  border: 2px solid red;
  outline: red;
}
.form__input.success {
  border: 2px solid lightgreen;
}
.form__input.success:focus-visible {
  border: 2px solid lightgreen;
  outline: lightgreen;
}
.form__input--textarea {
  min-height: 200px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: normal;
  border: none;
  border-radius: 20px;
}
.form__input--textarea:hover, .form__input--textarea:focus-visible {
  border: none;
}
@media (min-width: 768px) {
  .form__input--textarea {
    max-width: 100%;
  }
}
@media (min-width: 1440px) {
  .form__input--textarea {
    min-height: 500px;
    margin-bottom: 30px;
    font-size: 42px;
    line-height: 46px;
  }
}
.form__button {
  width: 100%;
  min-height: 48px;
  margin-bottom: 10px;
  font-family: "DINPRO", Arial, sans-serif;
  color: white;
  cursor: pointer;
  min-width: 100%;
}
@media (min-width: 768px) {
  .form__button {
    grid-column: 1/3;
  }
}
@media (min-width: 1024px) {
  .form__button {
    min-height: 71px;
    font-size: 34px;
    width: 100%;
    text-transform: uppercase;
  }
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.popular {
  background-color: white;
  padding: 50px 0;
  clip-path: polygon(0 7%, 100% 0, 100% 93%, 0% 100%);
}
.popular__title {
  color: black;
  font-size: 24px;
  line-height: 34px;
  margin-top: 0;
}
.popular__list {
  display: flex;
  margin-bottom: 50px;
}
.popular__item {
  border-radius: 15px;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  margin-right: 20px;
  width: calc(50% - 20px);
}
@media screen and (min-width: 768px) {
  .popular__item {
    width: calc(33.3% - 20px);
  }
}
.popular__item .swiper {
  margin-left: 0;
  margin-right: 0;
  background-color: white;
  border-radius: 20px;
}
.popular__item .swiper .swiper-wrapper {
  height: 200px;
}
@media screen and (min-width: 1024px) {
  .popular__item .swiper .swiper-wrapper {
    height: 300px;
  }
}
@media screen and (min-width: 1440px) {
  .popular__item .swiper .swiper-wrapper {
    height: 400px;
  }
}
.popular__item .swiper .swiper-wrapper .swiper-slide {
  display: flex;
  background-color: white;
}
.popular__item .swiper .swiper-button-next {
  background-color: #413e3e;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.popular__item .swiper .swiper-button-next::after {
  font-size: 10px;
  color: white;
}
.popular__item .swiper .swiper-button-prev {
  background-color: #413e3e;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.popular__item .swiper .swiper-button-prev::after {
  font-size: 10px;
  color: white;
}
.popular__item-title {
  text-align: right;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  margin: 0;
  border-radius: 15px;
  text-transform: uppercase;
  margin-top: 10px;
}
.popular img {
  display: flex;
  border-radius: 20px;
  width: 100%;
}
.popular__item-block {
  margin: 0;
}
.popular__item-price {
  font-weight: 700;
  font-size: 28px;
  line-height: 36px;
}
.popular__item-currency {
  font-weight: 700;
  font-size: 28px;
  line-height: 36px;
  color: red;
}
.popular__item-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.popular__item-bg {
  background: linear-gradient(#af0000, #030000);
  padding: 20px;
  display: flex;
  border-radius: 20px;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  color: unset;
  text-decoration: unset;
}
.popular__all-products {
  margin: 0 auto;
  min-height: 50px;
  min-width: 50%;
  font-size: 32px;
}
.popular .swiper-pagination {
  bottom: 60px;
}
.popular .swiper-pagination .swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  background-color: rgb(43, 43, 43);
}
@media screen and (min-width: 1024px) {
  .popular {
    padding: 120px 0;
  }
  .popular .swiper-pagination {
    bottom: 110px;
  }
  .popular__list {
    margin-bottom: 80px;
  }
  .popular__title {
    font-size: 64px;
    line-height: 88px;
  }
  .popular__item-title {
    font-size: 24px;
    line-height: 26px;
  }
  .popular__item-price {
    font-size: 48px;
    line-height: 66px;
  }
  .popular__item-currency {
    font-size: 48px;
    line-height: 66px;
  }
  .popular__item-buttons {
    width: calc(100% - 40px);
    margin: 0 auto;
  }
  .popular__all-products {
    min-height: 90px;
    font-size: 50px;
  }
}

/* Главная: «Новинки» и «Рекомендуемые товары» (после marks) */
.home-showcase {
  position: relative;
  padding: 32px 0 40px;
  background: #ffffff;
  color: #1a1a1a;
  text-transform: none;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.06);
}
#home-novinki,
#home-rekomenduemye {
  background: #000000;
}
#home-novinki.home-showcase {
  padding-bottom: 0;
  margin-bottom: 0;
}
#home-novinki-title,
#home-rekomenduemye-title {
  color: #ffffff;
  text-transform: uppercase;
}
#service {
  background: #000000;
}
/* Главная — блок услуг: внутренний контейнер как отдельная «плитка» на тёмном фоне */
#service.service--home > div {
  background: linear-gradient(165deg, #161618 0%, #0e0e10 52%, #09090b 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 20px 12px 22px;
  box-sizing: border-box;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.38);
}
@media screen and (min-width: 768px) {
  #service.service--home > div {
    padding: 26px 20px 30px;
    border-radius: 18px;
  }
}
@media screen and (min-width: 1024px) {
  #service.service--home > div {
    padding: 32px 26px 36px;
  }
}
.service-home__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .service-home__head {
    gap: 16px;
    margin-bottom: 24px;
  }
}
.service-home__head-main {
  text-align: center;
  min-width: 0;
  width: 100%;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.service-home__head .service__title {
  padding-bottom: 0;
}
.service-home__lead {
  margin: 10px auto 0;
  text-transform: none;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 400;
  max-width: 42em;
}
@media screen and (min-width: 768px) {
  .service-home__lead {
    margin-top: 8px;
    font-size: 0.9375rem;
  }
}
.service-home__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff !important;
  text-decoration: none !important;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.service-home__all:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff !important;
}
#home-novinki .home-showcase__list,
#home-rekomenduemye .home-showcase__list {
  background: transparent;
}
#home-novinki .home-showcase__card,
#home-rekomenduemye .home-showcase__card {
  background: #0f0f10;
  border-color: #2a2c31;
}
#home-novinki .home-showcase__card:hover,
#home-rekomenduemye .home-showcase__card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  border-color: #3a3f49;
}
#home-novinki .home-showcase__card-title,
#home-rekomenduemye .home-showcase__card-title {
  color: #ffffff;
}
#home-novinki .home-showcase__card-price,
#home-rekomenduemye .home-showcase__card-price,
#home-novinki .home-showcase__price-num,
#home-rekomenduemye .home-showcase__price-num,
#home-novinki .home-showcase__price-cur,
#home-rekomenduemye .home-showcase__price-cur {
  color: #ffffff;
}
#home-novinki .home-showcase__card-img-wrap,
#home-rekomenduemye .home-showcase__card-img-wrap {
  background: #1a1b1f;
}
.home-showcase + .home-showcase {
  border-top: 1px solid #eceef2;
}
#home-rekomenduemye {
  border-top: 0;
}
#quality {
  border-top: 0;
  border-bottom: 0;
  background: #000000;
}
#quality > div {
  border-top: 0;
  border-bottom: 0;
  background: #000000;
}
#quality > div > div {
  background-color: #000000;
}
.home-showcase .swiper-home-showcase {
  padding-bottom: 36px;
}
.home-showcase__list {
  margin: 0;
  padding: 0;
  align-items: stretch;
}
.home-showcase__slide {
  height: auto;
  box-sizing: border-box;
}
.home-showcase__card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #f4f5f7;
  border-radius: 10px;
  padding: 14px 14px 12px;
  box-sizing: border-box;
  border: 1px solid #e6e8ed;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.home-showcase__card:hover {
  box-shadow: 0 10px 24px rgba(0, 102, 179, 0.12);
  border-color: #c9d8e8;
}
.home-showcase__card-top {
  display: block;
  flex: 1 1 auto;
  text-decoration: none;
  color: inherit;
}
.home-showcase__card-title {
  margin: 0 0 10px;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0066b3;
  text-align: left;
  min-height: 2.6em;
}
@media screen and (min-width: 768px) {
  .home-showcase__card-title {
    font-size: 1rem;
  }
}
.home-showcase__card-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
}
@media screen and (min-width: 1024px) {
  .home-showcase__card-img-wrap {
    min-height: 180px;
  }
}
.home-showcase__card-img {
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.home-showcase__card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}
.home-showcase__card-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: "DINPRO", Arial, sans-serif;
}
.home-showcase__price-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0066b3;
}
@media screen and (min-width: 768px) {
  .home-showcase__price-num {
    font-size: 1.2rem;
  }
}
.home-showcase__price-cur {
  font-size: 1rem;
  font-weight: 700;
  color: #0066b3;
}
.home-showcase__card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.home-showcase__icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0066b3;
  color: #fff !important;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.15s ease;
}
.home-showcase__icon-btn:hover {
  background: #005299;
  color: #fff !important;
}
.home-showcase__icon-btn--cart {
  background: #0066b3;
}
.home-showcase__pagination.swiper-pagination {
  bottom: 6px !important;
  left: 0;
  right: 0;
}
.home-showcase .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #c5cad3;
  opacity: 1;
}
.home-showcase .swiper-pagination-bullet-active {
  background: #6b7280;
}

.service-page__title {
  margin: 0;
  font-size: 24px;
  line-height: 34px;
  text-align: center;
}

.catalog {
  display: grid;
  gap: 20px;
}
@media screen and (min-width: 1024px) {
  .catalog {
    gap: 0;
    justify-content: center;
  }
}
.catalog__wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  padding-left: 10px;
  padding-right: 10px;
  margin: 0 auto;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  .catalog__wrapper {
    max-width: 768px;
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media screen and (min-width: 1024px) {
  .catalog__wrapper {
    position: relative;
    max-width: 1024px;
    width: 100%;
    padding: 0;
    justify-content: space-around;
    align-items: flex-start;
    flex-direction: row;
  }
}
@media screen and (min-width: 1440px) {
  .catalog__wrapper {
    max-width: 1440px;
  }
}
.catalog__products {
  padding-bottom: 10px;
  display: grid;
  gap: 50px 20px;
  justify-items: center;
}
@media screen and (min-width: 768px) {
  .catalog__products {
    padding-bottom: 20px;
    grid-template-columns: 354px 354px;
    justify-content: center;
  }
}
@media screen and (min-width: 1024px) {
  .catalog__products {
    padding-left: 14px;
    grid-template-columns: 300px 300px;
    justify-content: stretch;
  }
}
@media screen and (min-width: 1440px) {
  .catalog__products {
    padding-right: 0;
    grid-template-columns: repeat(3, 335px);
    justify-content: flex-start;
  }
}
.catalog__products .product-card__body {
  padding-left: 10px;
  padding-right: 10px;
}
.catalog__products .product-card .product-card__bg {
  padding: 10px;
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: 6 / 5;
  background-color: rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}
.catalog__products .product-card .product-card__bg img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  display: block;
}
.catalog__products h3 {
  font-size: 26px;
  line-height: 34px;
  word-wrap: break-word;
  text-align: center;
}
.catalog__products p:not(.article__quantity) {
  margin: 0;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
}
.catalog__products p:not(.article__quantity) span:nth-child(1):not(.offers__price) {
  display: none;
}
.catalog__products p:not(.article__quantity) span:nth-child(2) {
  color: #b40036;
  font-size: 42px;
  line-height: 62px;
  font-weight: 400;
}
.catalog__products .product-card__buttons a,
.catalog__products .product-card__buttons button {
  font-family: "OSWALD", Arial, sans-serif;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}
.catalog__products-wrapper {
  grid-column: 2/13;
}
.catalog__products-wrapper .sorting {
  margin-bottom: 20px;
}
.catalog__products-wrapper .sorting p {
  margin-top: 0;
}
@media screen and (min-width: 1024px) {
  .catalog aside {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}
@media screen and (min-width: 1024px) {
  .catalog aside .catalog .container {
    width: 320px;
    grid-row: 9;
  }
}
@media screen and (max-width: 1024px) {
  .catalog__offers {
    grid-column: 1/-1;
  }
}

.bank {
  padding: 50px 0;
  background-color: white;
  clip-path: polygon(0 0, 100% 7%, 100% 100%, 0% 93%);
}
.bank__phone {
  color: black;
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  font-family: "OSWALD", Arial, sans-serif;
}
.bank h2 {
  color: black;
  margin-bottom: 10px;
  font-size: 24px;
}
.bank button,
.bank a.button {
  margin-bottom: 20px;
  min-height: 50px;
}
.bank__button-wrap {
  display: flex;
  justify-content: center;
}
.bank__images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 767px) {
  .bank__images {
    width: 100%;
    flex: 1 1 100%;
    box-sizing: border-box;
  }
}
.bank__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 auto;
  margin-bottom: 45px;
}
@media screen and (min-width: 470px) and (max-width: 1024px) {
  .bank__wrapper {
    gap: 20px;
  }
}
.bank__wrapper p {
  color: #393637;
  font-size: 50px;
  font-family: "OSWALD", Arial, sans-serif;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.5px;
}
.bank__image img {
  width: 215px;
  height: 100px;
}
@media screen and (min-width: 768px) {
  .bank__image img {
    width: 300px;
    height: 150px;
  }
}
.bank__image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.bank__image-wrapper img {
  width: 70px;
  height: 70px;
}
@media screen and (min-width: 768px) {
  .bank__image-wrapper img {
    width: 100px;
    height: 100px;
  }
}
@media screen and (min-width: 1024px) {
  .bank h2 {
    font-size: 38px;
  }
  .bank__phone {
    font-size: 52px;
  }
  .bank__image p {
    font-size: 38px;
  }
}

/* Главная: баннер Kaspi вместо старого блока банка */
.bank.bank--kaspi-banner {
  padding: 0 0 24px;
  margin-top: 0;
  background-color: #000000;
  clip-path: none;
  position: relative;
  z-index: 4;
}
/* Секция «преимущества» даёт большой min-height — подтягиваем блок Kaspi вверх */
#quality + .bank.bank--kaspi-banner {
  margin-top: clamp(-72px, -9vw, -12px);
}
@media screen and (max-width: 1023px) {
  #quality + .bank.bank--kaspi-banner {
    margin-top: clamp(-32px, -5vw, -8px);
  }
}
.bank-kaspi-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  padding-inline: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
/* Перебиваем .bank h2 { color: black; font-size: … } */
.bank.bank--kaspi-banner h2.bank-kaspi-banner__title,
#bank-kaspi-banner-title {
  margin: 0 auto;
  display: block;
  max-width: 100%;
  box-sizing: border-box;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: clamp(0.78rem, 2.15vw + 0.42rem, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  text-align: center;
  text-transform: none;
  white-space: normal;
}
.bank-kaspi-banner__title-line,
.bank-kaspi-banner__title-accent,
#bank-kaspi-banner-title > span {
  display: block;
}
.bank.bank--kaspi-banner h2.bank-kaspi-banner__title .bank-kaspi-banner__title-accent,
#bank-kaspi-banner-title > .bank-kaspi-banner__title-accent {
  color: #ff0000;
}
@media screen and (min-width: 1024px) {
  .bank.bank--kaspi-banner h2.bank-kaspi-banner__title {
    font-size: clamp(1.05rem, 1.65vw, 1.95rem);
  }
}
.bank-kaspi-banner__img {
  display: block;
  width: 600px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
}

.tab__wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 25px 10px 10px 10px;
}
@media (min-width: 768px) {
  .tab__wrapper {
    padding: 40px 20px 120px 20px;
  }
}
@media (min-width: 1440px) {
  .tab__wrapper {
    padding: 50px 0 130px 0;
  }
}
.tab__buttons {
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
@media (min-width: 768px) {
  .tab__buttons {
    margin: 0 auto;
    padding-bottom: 20px;
    margin-bottom: 25px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    border-bottom: 4px solid white;
  }
}
@media (min-width: 1024px) {
  .tab__buttons {
    width: 996px;
  }
}
@media (min-width: 1440px) {
  .tab__buttons {
    width: 1400px;
    gap: 30px;
  }
}
.tab__button {
  min-width: 210px;
  padding: 10px;
  font-family: "OSWALD", Arial, sans-serif;
  line-height: 28px;
  color: white;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .tab__button {
    font-size: 20px;
    width: auto;
  }
}
@media (min-width: 1440px) {
  .tab__button {
    min-width: 230px;
    max-width: 269px;
    padding: 0;
  }
}
.tab__button--active {
  background: linear-gradient(#280000, #ff0000);
}
.tab__content {
  display: grid;
  grid-template-columns: 280px;
  justify-content: center;
}
@media (min-width: 768px) {
  .tab__content {
    grid-template-columns: 730px;
  }
}
@media (min-width: 1024px) {
  .tab__content {
    grid-template-columns: 996px;
  }
}
@media (min-width: 1440px) {
  .tab__content {
    grid-template-columns: 1400px;
  }
}
.tab__title {
  max-width: 240px;
  float: left;
  margin: 0;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
}
@media (min-width: 1024px) {
  .tab__title {
    max-width: 300px;
  }
}
@media (min-width: 1440px) {
  .tab__title {
    max-width: 495px;
    font-size: 24px;
    line-height: 30px;
  }
}
.tab__description {
  float: left;
  margin: 0;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 12px;
  line-height: 20px;
}
@media (min-width: 1440px) {
  .tab__description {
    font-size: 24px;
    line-height: 30px;
    text-transform: none;
  }
}
.tab__description a {
  text-decoration: underline;
  font-style: normal;
  cursor: pointer;
  color: white;
}
.tab__description-wrapper a {
  color: white;
}
.tab__list {
  display: none;
}
.tab__text {
  display: none;
}
.tab__list--show {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
@media (min-width: 768px) {
  .tab__list--show {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    -moz-column-gap: 50px;
         column-gap: 50px;
    row-gap: 20px;
  }
}
@media (min-width: 768px) and (min-width: 1440px) {
  .tab__list--show {
    row-gap: 30px;
    -moz-column-gap: 70px;
         column-gap: 70px;
  }
}
@media (min-width: 768px) {
  .tab__list--show::after {
    position: absolute;
    content: "";
    width: 4px;
    min-height: 105%;
    height: -webkit-fill-available;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
  }
}
@media (min-width: 768px) and (min-width: 768px) {
  .tab__list--show::after {
    top: -25px;
  }
}
@media (min-width: 1440px) {
  .tab__list--show {
    -moz-column-gap: 23px;
         column-gap: 23px;
  }
}
.tab__list--show + .tab__text {
  display: block;
  font-size: 20px;
  text-align: left;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .tab__list--show + .tab__text {
    margin-bottom: 35px;
    padding-left: 10px;
  }
}
@media (min-width: 1440px) {
  .tab__list--show + .tab__text {
    margin-top: 40px;
    font-size: 30px;
  }
}
.tab__list--show.tab__list--no-column {
  display: flex;
}
.tab__list--show.tab__list--no-column::after {
  display: none;
}
.tab__item {
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 70px 70px;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  min-height: 80px;
  position: relative;
}
.tab__item img {
  position: absolute;
  top: 0;
}
@media (min-width: 768px) {
  .tab__item {
    padding-left: 75px;
    padding-top: 0;
  }
}
@media (min-width: 1024px) {
  .tab__item {
    background-size: 80px 80px;
    padding-left: 90px;
  }
}
@media (min-width: 1440px) {
  .tab__item {
    width: 665px;
    margin-left: 0;
    padding-left: 100px;
    background-size: 110px 110px;
  }
}
.tab__item:nth-child(even) img {
  right: 0;
}
@media (min-width: 768px) {
  .tab__item:nth-child(even) {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-left: 0;
    padding-right: 75px;
    text-align: right;
    background-position: right top;
  }
}
@media (min-width: 1024px) {
  .tab__item:nth-child(even) {
    padding-right: 90px;
  }
}
@media (min-width: 1440px) {
  .tab__item:nth-child(even) {
    padding-right: 100px;
  }
}
.tab__item:nth-child(odd) img {
  left: 0;
}
.tab__item--text {
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .tab__item--text {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (min-width: 768px) {
  .tab__item--text > h3 {
    align-self: flex-start;
  }
}
.tab__item--text:nth-child(even) {
  padding-right: 10px;
}
@media (min-width: 768px) {
  .tab__item--text:nth-child(even) {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}
@media (min-width: 768px) {
  .tab__item--text:nth-child(even) > h3 {
    align-self: flex-end;
  }
}

@media (min-width: 1440px) {
  .tab__list--no-column > .tab__item.tab__item--text {
    width: auto;
  }
}

.service-setup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px 40px;
  background-color: #2b2b2b;
  border-radius: 20px;
  margin: 0 10px 100px;
  max-width: 100%;
}
@media (min-width: 768px) {
  .service-setup {
    padding: 30px 20px 50px;
    margin: 0 auto 150px;
    max-width: 748px;
  }
}
@media (min-width: 1024px) {
  .service-setup {
    max-width: 900px;
    padding: 40px 30px 60px;
  }
}
@media (min-width: 1440px) {
  .service-setup {
    max-width: 1100px;
    margin-bottom: 150px;
    padding: 50px 40px 80px;
  }
}
.service-setup__wrapper {
  width: 100%;
  max-width: 100%;
}
@media (min-width: 768px) {
  .service-setup__wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
  }
}
@media (min-width: 1024px) {
  .service-setup__wrapper {
    margin-bottom: 40px;
  }
}
.service-setup__title {
  margin: 0 0 20px;
  width: 100%;
  font-size: 24px;
  line-height: 34px;
  text-align: center;
}
@media (min-width: 768px) {
  .service-setup__title {
    margin-bottom: 25px;
    font-size: 32px;
    line-height: 42px;
  }
}
@media (min-width: 1024px) {
  .service-setup__title {
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 30px;
  }
}
@media (min-width: 1440px) {
  .service-setup__title {
    font-size: 48px;
    line-height: 60px;
    margin-bottom: 40px;
  }
}
.service-setup__image {
  width: 100%;
  max-width: 300px;
  height: 280px;
  border-radius: 16px;
  margin: 0 auto 20px;
  display: block;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 768px) {
  .service-setup__image {
    flex-shrink: 0;
    width: 320px;
    max-width: 320px;
    height: 350px;
    margin: 0;
  }
}
@media (min-width: 1024px) {
  .service-setup__image {
    width: 400px;
    max-width: 400px;
    height: 400px;
  }
}
@media (min-width: 1440px) {
  .service-setup__image {
    width: 450px;
    max-width: 450px;
    height: 450px;
  }
}
.service-setup__description {
  margin: 0;
  padding: 20px;
  flex: 1;
  min-width: 0;
  font-family: "DINPRO", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  background-color: #424242;
  color: white;
  border-radius: 16px;
}
.service-setup__description ul {
  display: grid;
  gap: 12px;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.service-setup__description ul li {
  line-height: 1.5;
  text-transform: none;
}
@media (min-width: 768px) {
  .service-setup__description {
    padding: 24px;
    font-size: 18px;
    line-height: 28px;
  }
}
@media (min-width: 1024px) {
  .service-setup__description {
    padding: 30px;
    font-size: 20px;
    line-height: 32px;
  }
}
@media (min-width: 1440px) {
  .service-setup__description {
    font-size: 24px;
    line-height: 36px;
  }
}
.service-setup__subtitle {
  margin: 0 0 20px;
  width: 100%;
  font-family: "OSWALD", Arial, sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  text-align: center;
  text-transform: none;
}
@media (min-width: 768px) {
  .service-setup__subtitle {
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 25px;
  }
}
@media (min-width: 1024px) {
  .service-setup__subtitle {
    font-size: 32px;
    line-height: 42px;
    margin-bottom: 30px;
  }
}
@media (min-width: 1440px) {
  .service-setup__subtitle {
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 35px;
  }
}
.service-setup__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 25px;
  padding: 0;
  width: 100%;
  list-style: none;
}
@media (min-width: 768px) {
  .service-setup__list {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    gap: 15px;
  }
}
@media (min-width: 1024px) {
  .service-setup__list {
    margin-bottom: 35px;
    padding-bottom: 35px;
  }
}
.service-setup__list li {
  list-style-type: none;
  background-image: url("/client/vectors/checkbox-mark-icon.svg");
  min-height: 30px;
  padding-left: 30px;
  background-repeat: no-repeat;
  background-position: top 5px left;
  background-size: 20px 20px;
  text-transform: none;
}
@media (min-width: 1440px) {
  .service-setup__list li {
    min-height: 50px;
    padding-left: 50px;
    font-size: 36px;
    line-height: 46px;
    background-size: 40px 40px;
  }
}
.service-setup__item {
  min-height: 30px;
  padding-left: 30px;
  background-repeat: no-repeat;
  background-position: top 5px left;
  background-size: 20px 20px;
  text-transform: none;
}
@media (min-width: 1440px) {
  .service-setup__item {
    min-height: 50px;
    padding-left: 50px;
    font-size: 36px;
    line-height: 46px;
    background-size: 40px 40px;
  }
}
.service-setup__text {
  margin: 0 0 15px;
  width: 100%;
  display: block;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  text-transform: none;
}
@media (min-width: 768px) {
  .service-setup__text {
    margin-bottom: 20px;
    font-size: 18px;
  }
}
@media (min-width: 1024px) {
  .service-setup__text {
    font-size: 20px;
    margin-bottom: 25px;
  }
}
.service-setup__price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 25px;
  width: 100%;
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .service-setup__price {
    font-size: 32px;
    margin-bottom: 30px;
  }
}
@media (min-width: 1440px) {
  .service-setup__price {
    margin-bottom: 40px;
    font-size: 40px;
    line-height: 50px;
  }
}
.service-setup__price-label,
.service-setup__price-value,
.service-setup__price-currency {
  font-family: "DINPRO", Arial, sans-serif;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}
.service-setup__price-value {
  white-space: nowrap;
}
.service-setup__price-disclaimer {
  max-width: 640px;
  margin: 0 auto 20px;
  padding: 0 16px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  text-transform: none;
  color: #6b6b6b;
  text-align: center;
}
@media (min-width: 768px) {
  .service-setup__price-disclaimer {
    margin-bottom: 24px;
    font-size: 15px;
  }
}
.service-setup button {
  font-family: "OSWALD", Arial, sans-serif;
  width: 100%;
  max-width: 280px;
  min-height: 52px;
  margin: 0 auto;
  display: block;
}
@media (min-width: 768px) {
  .service-setup button {
    max-width: 320px;
    min-height: 56px;
  }
}
@media (min-width: 1440px) {
  .service-setup button {
    max-width: 400px;
    min-height: 70px;
    font-size: 24px;
  }
}
.service-setup .share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  margin-bottom: 25px;
  padding: 15px;
  background-color: #413e3e;
  border-radius: 12px;
}
@media (min-width: 768px) {
  .service-setup .share {
    padding: 20px;
    margin-bottom: 30px;
  }
}
.service-setup .share__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.service-setup .share__list img {
  width: 20px;
  height: 20px;
}
@media (min-width: 1440px) {
  .service-setup .share__list img {
    width: 40px;
    height: 40px;
  }
}
.service-setup .share p {
  margin: 0;
  padding-left: 30px;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 18px;
  line-height: 20px;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}
@media (min-width: 1024px) {
  .service-setup .share p {
    text-transform: none;
  }
}
@media (min-width: 1440px) {
  .service-setup .share p {
    padding-left: 50px;
    font-size: 36px;
    line-height: 40px;
    background-size: 40px 40px;
  }
}

/* Compact layout for /service detail page */
.service-setup--compact {
  max-width: 1080px;
  padding: 20px 12px 34px;
  margin-bottom: 60px;
}
.service-setup--compact .service-setup__title {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.3;
}
.service-setup--compact .service-setup__wrapper {
  gap: 16px;
  margin-bottom: 18px;
}
.service-setup--compact .service-setup__image {
  max-width: 280px;
  height: 220px;
  margin-bottom: 12px;
}
.service-setup--compact .service-setup__description {
  padding: 14px;
  font-size: 15px;
  line-height: 1.5;
}
.service-setup--compact .service-setup__description p {
  margin: 0 0 10px;
}
.service-setup--compact .service-setup__description ul {
  gap: 8px;
}
.service-setup--compact .service-setup__subtitle {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}
.service-setup--compact .service-setup__list {
  gap: 8px;
  margin-bottom: 18px;
  padding-bottom: 16px;
}
.service-setup--compact .service-setup__list li {
  font-size: 16px;
  line-height: 1.45;
}
.service-setup--compact .service-setup__text {
  margin-bottom: 10px;
  font-size: 15px;
}
.service-setup--compact .service-setup__price {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1.2;
}
.service-setup--compact .service-setup__price-disclaimer {
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.4;
}
.service-setup--compact a.button {
  max-width: 280px;
  min-height: 48px;
}
@media (min-width: 768px) {
  .service-setup--compact {
    padding: 24px 18px 40px;
    margin-bottom: 90px;
  }
  .service-setup--compact .service-setup__title {
    font-size: 30px;
  }
  .service-setup--compact .service-setup__wrapper {
    gap: 20px;
  }
  .service-setup--compact .service-setup__image {
    width: 270px;
    max-width: 270px;
    height: 230px;
    margin-bottom: 0;
  }
  .service-setup--compact .service-setup__description {
    font-size: 16px;
    line-height: 1.55;
  }
}
@media (min-width: 1024px) {
  .service-setup--compact {
    padding: 28px 22px 44px;
    max-width: 1180px;
  }
  .service-setup--compact .service-setup__title {
    font-size: 34px;
  }
  .service-setup--compact .service-setup__image {
    width: 300px;
    max-width: 300px;
    height: 250px;
  }
}
@media (min-width: 1440px) {
  .service-setup--compact {
    padding: 32px 28px 52px;
    margin-bottom: 110px;
    max-width: 1240px;
  }
  .service-setup--compact .service-setup__title {
    font-size: 38px;
    margin-bottom: 20px;
  }
  .service-setup--compact .service-setup__image {
    width: 340px;
    max-width: 340px;
    height: 280px;
  }
  .service-setup--compact .service-setup__description {
    font-size: 18px;
    line-height: 1.6;
  }
  .service-setup--compact .service-setup__list li {
    font-size: 20px;
    line-height: 1.45;
    min-height: 36px;
    padding-left: 36px;
    background-size: 22px 22px;
  }
  .service-setup--compact .service-setup__price {
    font-size: 30px;
  }
}

/* Хлебные крошки под шапкой (layouts/site, partials/site-breadcrumb) */
.site-breadcrumb-bar {
  position: sticky;
  top: var(--site-header-offset);
  z-index: 900;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 0 14px;
  margin-bottom: 4px;
  box-sizing: border-box;
}
.site-breadcrumb {
  margin: 0;
  width: 100%;
}
.site-breadcrumb__list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  list-style: none;
  font-size: 0.75rem;
  line-height: 1.4;
  text-transform: none;
  font-weight: 500;
}
@media screen and (min-width: 768px) {
  .site-breadcrumb__list {
    font-size: 0.8125rem;
  }
}
.site-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.55);
}
.site-breadcrumb__item + .site-breadcrumb__item::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.32);
  font-weight: 400;
}
.site-breadcrumb__link {
  color: #5eb3e8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.site-breadcrumb__link:hover {
  color: #8cc8f0;
  border-bottom-color: rgba(140, 200, 240, 0.55);
}
.site-breadcrumb__item--current {
  color: rgba(255, 255, 255, 0.9);
  min-width: 0;
}

/* Страница услуги (Blade: service-detail.blade.php) */
.service-setup.service-detail-page {
  max-width: none;
  width: 100%;
  margin: 0 auto 48px;
  padding: 24px 0 40px;
  background: #000000;
  border-radius: 0;
  box-shadow: none;
  align-items: stretch;
}
@media screen and (min-width: 768px) {
  .service-setup.service-detail-page {
    padding: 28px 0 56px;
    margin-bottom: 72px;
  }
}
.service-detail-page__inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 8px 0 0;
  box-sizing: border-box;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
@media screen and (min-width: 768px) {
  .service-detail-page__inner {
    padding: 4px 0 0;
  }
}
@media screen and (min-width: 1024px) {
  .service-detail-page__inner {
    padding: 6px 0 0;
  }
}

#service-setup.service-detail-page > .container {
  border: none;
  outline: none;
  background: transparent;
  box-shadow: none;
}

.service-detail-page__head {
  margin-bottom: 20px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .service-detail-page__head {
    margin-bottom: 24px;
  }
}
.service-detail-page .service-setup__title.service-detail-page__title {
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.service-detail-page__summary {
  margin: 0 auto;
  max-width: 46rem;
  text-align: center;
  text-transform: none;
  font-size: 0.9375rem;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
}
@media screen and (min-width: 768px) {
  .service-detail-page__summary {
    font-size: 1rem;
    line-height: 1.6;
  }
}

.service-detail-page__hero.service-setup__wrapper {
  margin-bottom: 22px;
}
.service-detail-page .service-setup__image.service-detail-page__image {
  border-radius: 12px;
  box-shadow: none;
  border: none;
}
.service-detail-page .service-setup__description.service-detail-page__description {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: rgba(255, 255, 255, 0.94);
}
.service-detail-page .service-detail-page__description p {
  margin: 0 0 12px;
}
.service-detail-page .service-detail-page__description p:last-child {
  margin-bottom: 0;
}
.service-detail-page .service-detail-page__description a {
  color: #8cc8f0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.service-detail-page .service-detail-page__description a:hover {
  color: #b8ddf7;
}
.service-detail-page .service-detail-page__hero .service-detail-page__description ul {
  gap: 10px;
}
.service-detail-page .service-detail-page__hero .service-detail-page__description ul li {
  font-size: 17px;
  line-height: 1.55;
}
@media screen and (min-width: 768px) {
  .service-detail-page .service-detail-page__hero .service-detail-page__description ul li {
    font-size: 19px;
  }
}
@media screen and (min-width: 1024px) {
  .service-detail-page .service-detail-page__hero .service-detail-page__description ul li {
    font-size: 21px;
  }
}

.service-detail-page__offers {
  margin-bottom: 8px;
  padding: 16px 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: none;
}
@media screen and (min-width: 768px) {
  .service-detail-page__offers {
    padding: 18px 18px 20px;
  }
}
.service-detail-page .service-setup__subtitle.service-detail-page__subtitle {
  margin-top: 0;
  color: #fff;
}
.service-detail-page .service-setup__list.service-detail-page__list {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.service-detail-page .service-detail-page__list li {
  color: rgba(255, 255, 255, 0.9);
}

.service-detail-page .service-setup__text.service-detail-page__note {
  color: rgba(255, 255, 255, 0.82);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.service-detail-page__price-block {
  margin-top: 8px;
  margin-bottom: 8px;
}
.service-detail-page .service-setup__price-disclaimer.service-detail-page__price-disclaimer {
  color: rgba(255, 255, 255, 0.62);
  max-width: 40rem;
  font-size: 15px;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .service-detail-page .service-setup__price-disclaimer.service-detail-page__price-disclaimer {
    font-size: 16px;
  }
}
@media screen and (min-width: 1024px) {
  .service-detail-page .service-setup__price-disclaimer.service-detail-page__price-disclaimer {
    font-size: 17px;
  }
}

.service-detail-page__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  width: 100%;
}
.service-detail-page__cta-primary {
  text-transform: uppercase;
  max-width: 320px;
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.service-detail-page__cta-secondary {
  text-transform: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.service-detail-page__cta-secondary:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.65);
}

.service-detail-page.service-setup--compact a.button.service-detail-page__cta-primary {
  max-width: 320px;
}

.cart-section {
  margin: 0 auto;
  padding-bottom: 30px;
}
.cart-section__head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.cart-section__head.checkout {
  font-weight: 700;
}
.cart-section__head.checkout p {
  margin: 0;
  text-transform: uppercase;
}
.cart-section__head button {
  font-size: 24px;
}
@media screen and (max-width: 768px) {
  .cart-section__head button {
    font-size: 12px;
    margin-left: 5px;
    min-width: auto;
  }
}
.cart-section__options {
  display: grid;
  gap: 5px;
}
@media screen and (max-width: 768px) {
  .cart-section__options {
    max-width: -moz-min-content;
    max-width: min-content;
    justify-self: center;
  }
}
@media screen and (max-width: 1024px) {
  .cart-section__options {
    max-width: -moz-min-content;
    max-width: min-content;
  }
}
@media screen and (min-width: 1024px) {
  .cart-section__options {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
@media screen and (max-width: 768px) {
  .cart-section__result {
    text-align: center;
  }
}
.cart-section__option {
  display: grid;
  gap: 5px;
}
@media screen and (min-width: 1024px) {
  .cart-section__option {
    display: flex;
    gap: 5px;
  }
}
.cart-section__option .button {
  font-size: 20px;
}
.cart-section__products,
.cart-page__products {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  min-height: 350px;
  height: 100%;
  counter-reset: item;
}
@media screen and (max-width: 768px) {
  .cart-section__products,
  .cart-page__products {
    justify-content: center;
  }
}
/* Услуга в корзине: не использовать <p> в .product-card__head — там 48px для p */
.cart-page__products .product-card--cart-service .cart-line-service-heading {
  text-transform: none;
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}
.cart-page__products .product-card--cart-service .cart-line-service-badge {
  flex-shrink: 0;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e85d4c;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(232, 93, 76, 0.45);
  line-height: 1.2;
}
.cart-page__products .product-card--cart-service .cart-line-service-name {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}
.cart-page__products .product-card--cart-service .cart-line-service-for {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: #9a9696;
  margin: 0 0 8px;
}
.cart-page__products .product-card--cart-service .cart-line-service-for::before {
  content: "Товар · ";
  color: #6e6a6a;
  font-weight: 500;
}
.cart-section__products.checkout,
.cart-page__products.checkout {
  display: grid;
  gap: 10px;
  align-content: flex-start;
  min-height: auto;
  margin-bottom: 10px;
  padding: 10px;
  background-color: #413e3e;
  border-radius: 20px;
}
@media screen and (min-width: 768px) {
  .cart-section__products.checkout,
  .cart-page__products.checkout {
    grid-template-columns: 1fr;
  }
}
.cart-section__products.checkout p,
.cart-page__products.checkout p {
  margin: 0;
}
.cart-section__total {
  margin: 0;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.cart-section__total span:nth-child(1) {
  text-transform: uppercase;
  font-weight: 700;
}
.cart-section .cost-total,
.cart-section .cost-total + span {
  font-size: 36px;
  font-weight: 700;
}
.cart-section__count-products {
  text-align: center;
  width: 100%;
  display: grid;
  align-items: center;
}
.cart-section .product-card__head a {
  margin: 10px auto 0;
  min-width: 240px;
  max-width: 240px;
  font-size: 24px;
}

.about-us .present__block {
  border-bottom: 1px solid red;
  padding: 20px 0 30px 0;
}
@media screen and (min-width: 768px) {
  .about-us .present__block {
    width: 650px;
    margin: 0 auto;
    padding-bottom: 60px;
  }
}
@media screen and (min-width: 1024px) {
  .about-us .present__block {
    width: 800px;
  }
}
@media screen and (min-width: 1440px) {
  .about-us .present__block {
    width: 1200px;
    padding-bottom: 100px;
  }
}
.about-us .present__main-title {
  position: relative;
  margin: 0;
  padding-top: 10px;
  margin-bottom: 50px;
  text-align: center;
}
.about-us .present__main-title::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 0;
  width: 95%;
  height: 90%;
  background-color: red;
  filter: blur(20px);
  opacity: 0.7;
  z-index: -1;
}
@media screen and (min-width: 768px) {
  .about-us .present__main-title {
    margin-bottom: 80px;
  }
}
@media screen and (min-width: 1024px) {
  .about-us .present__main-title {
    margin-bottom: 80px;
  }
}
@media screen and (min-width: 1440px) {
  .about-us .present__main-title {
    margin-bottom: 100px;
  }
}
/* Слоган: без глобального body { text-transform: uppercase } — регистр как в редакторе */
.about-us .present__main-slogan-block {
  text-transform: none;
}
.about-us .present__main-slogan-block p {
  font-size: 20px;
  text-align: center;
  margin: 0 auto 5px;
  text-transform: none;
}
@media screen and (min-width: 768px) {
  .about-us .present__main-slogan-block p {
    width: 600px;
    font-size: 30px;
    margin-bottom: 10px;
  }
}
@media screen and (min-width: 1024px) {
  .about-us .present__main-slogan-block p {
    width: 740px;
  }
}
@media screen and (min-width: 1440px) {
  .about-us .present__main-slogan-block p {
    width: 1200px;
    font-size: 35px;
  }
}
.about-us .present__main-text {
  padding-top: 40px;
}
@media screen and (min-width: 768px) {
  .about-us .present__main-text {
    font-size: 20px;
    width: 650px;
    margin: 0 auto;
    padding-top: 60px;
    text-transform: none;
  }
}
@media screen and (min-width: 1024px) {
  .about-us .present__main-text {
    width: 700px;
    font-size: 22px;
  }
}
@media screen and (min-width: 1440px) {
  .about-us .present__main-text {
    width: 1000px;
  }
}
.about-us .present__main-text p {
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 16px;
  text-align: center;
  margin: 0 0 15px 0;
}
@media screen and (min-width: 768px) {
  .about-us .present__main-text p {
    font-size: 20px;
  }
}
@media screen and (min-width: 1024px) {
  .about-us .present__main-text p {
    font-size: 22px;
    margin-bottom: 25px;
  }
}
@media screen and (min-width: 1440px) {
  .about-us .present__main-text p {
    font-size: 28px;
  }
}
.about-us .present__text:first-of-type {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: normal;
  text-align: center;
}
.about-us .present__list-title {
  text-align: center;
  font-size: 18px;
  text-transform: uppercase;
  margin: 0 auto 30px;
}
@media screen and (min-width: 768px) {
  .about-us .present__list-title {
    width: 500px;
    font-size: 20px;
  }
}
@media screen and (min-width: 1024px) {
  .about-us .present__list-title {
    width: 700px;
    font-size: 24px;
    padding-top: 10px;
    margin-bottom: 40px;
  }
}
@media screen and (min-width: 1440px) {
  .about-us .present__list-title {
    font-size: 30px;
    margin-bottom: 65px;
  }
}
.about-us .present ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-bottom: 45px;
  list-style: none;
}
@media screen and (min-width: 768px) {
  .about-us .present ul {
    gap: 15px;
    margin-bottom: 70px;
  }
}
@media screen and (min-width: 1024px) {
  .about-us .present ul {
    gap: 20px;
    margin-bottom: 100px;
  }
}
@media screen and (min-width: 1440px) {
  .about-us .present ul {
    gap: 30px;
    margin-bottom: 120px;
  }
}
.about-us .present li {
  font-size: 14px;
  line-height: 21px;
  padding-left: 20px;
  border-left: 4px solid red;
  position: relative;
  padding-left: 25px;
  border-left: none;
}
.about-us .present li::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 16px;
  height: 16px;
  background-image: url("/client/vectors/aprove.svg");
  background-size: cover;
  z-index: -1;
}
@media screen and (min-width: 1440px) {
  .about-us .present li::after {
    width: 25px;
    height: 25px;
    top: 4px;
  }
}
@media screen and (min-width: 768px) {
  .about-us .present li {
    font-size: 18px;
    text-transform: none;
    padding-left: 35px;
  }
}
@media screen and (min-width: 1024px) {
  .about-us .present li {
    font-size: 20px;
  }
}
@media screen and (min-width: 1440px) {
  .about-us .present li {
    font-size: 26px;
    line-height: 28px;
    padding-left: 45px;
  }
}
.about-us .present ol {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-bottom: 45px;
  list-style-type: none;
}
@media screen and (min-width: 768px) {
  .about-us .present ol {
    gap: 15px;
    margin-bottom: 70px;
  }
}
@media screen and (min-width: 1024px) {
  .about-us .present ol {
    gap: 20px;
    margin-bottom: 100px;
  }
}
@media screen and (min-width: 1440px) {
  .about-us .present ol {
    gap: 30px;
    margin-bottom: 120px;
  }
}
.about-us .present__list-comment {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
}
@media screen and (min-width: 768px) {
  .about-us .present__list-comment {
    font-size: 16px;
    gap: 20px;
  }
}
@media screen and (min-width: 1024px) {
  .about-us .present__list-comment {
    width: 700px;
    margin: 0 auto;
    font-size: 22px;
  }
}
@media screen and (min-width: 1440px) {
  .about-us .present__list-comment {
    width: 1000px;
    font-size: 22px;
  }
}
.about-us .present__list-comment p {
  margin: 0 auto;
  font-size: 20px;
  text-align: center;
  letter-spacing: 1px;
}
@media screen and (min-width: 768px) {
  .about-us .present__list-comment p {
    font-size: 24px;
  }
}
@media screen and (min-width: 1440px) {
  .about-us .present__list-comment p {
    width: 1000px;
    font-size: 30px;
  }
}

.tech-photo {
  display: flex;
  flex-direction: column;
}
.tech-photo__title {
  padding: 20px 0;
  font-size: 18px;
  text-align: center;
  position: relative;
  z-index: 2;
}
@media screen and (min-width: 1024px) {
  .tech-photo__title {
    font-size: 30px;
    margin-bottom: 50px;
  }
}
.tech-photo__title::after {
  content: "";
  display: block;
  position: absolute;
  min-width: 180px;
  width: 25%;
  height: 2px;
  background-color: red;
  bottom: -21px;
  left: 0;
  right: 0;
  margin: auto;
}
@media screen and (min-width: 1024px) {
  .tech-photo__title::after {
    width: 35%;
  }
}
.tech-photo__swiper {
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  padding: 20px 0 40px 0;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.tech-photo__swiper-wrapper {
  display: flex;
  transition-property: transform;
  width: 100%;
  height: auto;
}
.tech-photo__swiper-slide {
  width: calc(50% - 10px);
  flex-shrink: 0;
  position: relative;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}
.tech-photo__lightbox {
  position: absolute;
  inset: 0;
  display: block;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.tech-photo__lightbox:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.tech-photo__swiper-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}
@supports (image-rendering: high-quality) {
  .tech-photo__swiper-slide img {
    image-rendering: high-quality;
  }
}
.tech-photo__swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tech-photo__swiper-pagination .swiper-pagination-bullet {
  background: red;
  width: 16px;
  height: 16px;
  margin: 0 5px;
  opacity: 0.5;
  display: block !important;
}
.tech-photo__swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}
.tech-photo__block {
  padding: 40px 0 40px 0;
  border-bottom: 2px solid red;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .tech-photo__block {
    width: 650px;
    margin: 0 auto;
    font-size: 20px;
    padding: 45px 0 60px 0;
  }
}
@media screen and (min-width: 1024px) {
  .tech-photo__block {
    width: 800px;
    padding: 45px 0 40px 0;
  }
}
@media screen and (min-width: 1440px) {
  .tech-photo__block {
    width: 1200px;
    padding: 60px 0 60px 0;
  }
}
.tech-photo__block-title {
  font-size: 18px;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 20px 0;
}
@media screen and (min-width: 768px) {
  .tech-photo__block-title {
    font-size: 20px;
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 1024px) {
  .tech-photo__block-title {
    font-size: 24px;
  }
}
@media screen and (min-width: 1024px) {
  .tech-photo__block-title {
    font-size: 30px;
    margin-bottom: 50px;
  }
}
.tech-photo p {
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 16px;
  padding-left: 5px;
  line-height: 25px;
  text-transform: none;
  text-align: center;
  margin: 0 auto 15px;
}
@media screen and (min-width: 768px) {
  .tech-photo p {
    width: 650px;
    font-size: 20px;
    margin-bottom: 15px;
  }
}
@media screen and (min-width: 1024px) {
  .tech-photo p {
    width: 700px;
    font-size: 22px;
    margin-bottom: 30px;
  }
}
@media screen and (min-width: 1440px) {
  .tech-photo p {
    width: 1000px;
    font-size: 28px;
    line-height: 35px;
  }
}

.about-us__reviews#reviews {
  scroll-margin-top: max(100px, env(safe-area-inset-top));
}
.reviews__empty {
  margin: 0 auto;
  padding: 0 16px 24px;
  max-width: 36rem;
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
  color: #333;
}
.reviews__leave-row {
  margin: 0;
  padding: 28px 16px 4px;
  text-align: center;
}
.reviews__leave-row .reviews__leave-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
}

.reviews {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.reviews__title {
  position: relative;
  margin: 0;
  padding-top: 1em;
  font-size: 18px;
  text-transform: uppercase;
  text-align: center;
  z-index: 2;
}
.reviews__title::after {
  content: "";
  display: block;
  position: absolute;
  min-width: 180px;
  width: 25%;
  height: 2px;
  background-color: red;
  bottom: -21px;
  left: 0;
  right: 0;
  margin: auto;
}
.reviews__swiper {
  padding-top: 20px;
  padding-bottom: 50px;
  max-width: 100%;
}
.reviews__swiper-wrapper {
  min-height: 300px;
}
.reviews__swiper-pagination .swiper-pagination-bullet {
  background: red;
  width: 16px;
  height: 16px;
}
.reviews .swiper-slide {
  display: flex;
  position: relative;
  flex-direction: column;
  width: 300px;
  min-height: inherit;
  background-color: #0f0e0e;
  padding: 20px;
  border-radius: 10px;
  transform: scale(0.95);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.reviews .swiper-slide::after {
  content: "";
  position: absolute;
  width: 100%;
  opacity: 0.1;
  min-height: 100%;
  left: 0;
  top: 0;
  z-index: -1;
}
.reviews .swiper-slide:hover {
  transform: scale(1);
  cursor: pointer;
}
.reviews .swiper-slide__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding-bottom: 5px;
}
.reviews .swiper-slide__header-block {
  display: flex;
  flex-direction: column;
  margin: 0;
  align-self: start;
  padding: 5px;
  letter-spacing: 1px;
}
.reviews .swiper-slide__header-block:first-of-type {
  letter-spacing: 1px;
  flex-shrink: 0;
}
.reviews .swiper-slide__header-block:last-of-type {
  font-size: 20px;
}
.reviews .swiper-slide .star {
  background-image: url("/client/vectors/star.svg");
  width: 100px;
  height: 20px;
  background-size: contain;
  background-repeat: repeat-x;
}
.reviews .swiper-slide .star-1 {
  width: 20px;
}
.reviews .swiper-slide .star-2 {
  width: 40px;
}
.reviews .swiper-slide .star-3 {
  width: 60px;
}
.reviews .swiper-slide .star-4 {
  width: 80px;
}
.reviews .swiper-slide .star-5 {
  width: 100px;
}
.reviews .swiper-slide__comment {
  padding: 10px;
  border-radius: 20px;
}
.reviews .swiper-slide__comment-text {
  font-family: "DINPRO", Arial, sans-serif;
  text-transform: none;
}
@media screen and (min-width: 768px) {
  .reviews .swiper-slide__comment-text {
    font-size: 18px;
  }
}
@media screen and (min-width: 1024px) {
  .reviews .swiper-slide__comment-text {
    font-size: 20px;
  }
}
@media screen and (min-width: 1440px) {
  .reviews .swiper-slide__comment-text {
    font-size: 22px;
  }
}
.reviews .swiper-slide__comment-text--html p {
  margin: 0 0 0.5em;
}
.reviews .swiper-slide__comment-text--html p:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  .about-us .present__main-title {
    font-size: 50px;
    padding-top: 5px;
  }
  .about-us .present__main-title::after {
    left: 15px;
  }
}
.offers {
  position: relative;
  width: 320px;
  margin: 0 auto;
  padding: 20px 10px;
  background-color: #424242;
  border-radius: 25px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .offers {
    width: 100%;
    padding: 20px;
    grid-column: 1/3;
  }
}
@media screen and (min-width: 1440px) {
  .offers {
    grid-row: 4/5;
    grid-column: 1/4;
  }
}
.offers__heading {
  margin: 0;
  margin-bottom: 10px;
  padding: 0 10px;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 36px;
  line-height: 42px;
  font-weight: 700;
  text-transform: uppercase;
  word-wrap: break-word;
}
@media screen and (min-width: 1440px) {
  .offers__heading {
    margin-bottom: 20px;
  }
}
@media screen and (min-width: 1440px) {
  .offers__list {
    padding-bottom: 40px;
  }
}
.offers__item {
  min-height: 531px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .offers__item {
    min-height: 303px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    grid-auto-rows: minmax(30px, auto);
  }
}
@media screen and (min-width: 1024px) {
  .offers__item {
    -moz-column-gap: 20px;
         column-gap: 20px;
  }
}
@media screen and (min-width: 1440px) {
  .offers__item {
    -moz-column-gap: 40px;
         column-gap: 40px;
  }
}
.offers__image {
  background-color: white;
  width: inherit;
  height: 303px;
  border-radius: 20px;
  padding: 20px;
}
@media screen and (min-width: 768px) {
  .offers__image {
    max-width: 400px;
    grid-column: 3/4;
    grid-row: 1/4;
    align-self: flex-start;
  }
}
@media screen and (min-width: 1024px) {
  .offers__image {
    max-width: 480px;
    height: 320px;
    width: 100%;
  }
}
@media screen and (min-width: 1440px) {
  .offers__image {
    max-width: 500px;
    height: 400px;
  }
}
.offers__title {
  margin: 0;
  padding: 0 10px;
  font-family: "DINPRO", Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  line-height: 42px;
}
@media screen and (min-width: 768px) {
  .offers__title {
    grid-column: 1/3;
    grid-row: 1/2;
    align-self: flex-start;
    justify-self: flex-end;
    text-align: right;
  }
}
@media screen and (min-width: 1024px) {
  .offers__title {
    margin-top: 10px;
    font-size: 20px;
    line-height: 26px;
  }
}
.offers__wrapper {
  margin: 0;
  display: flex;
  align-items: flex-end;
  gap: 15px;
  font-size: 48px;
  line-height: 66px;
  text-transform: uppercase;
}
@media screen and (min-width: 768px) {
  .offers__wrapper {
    align-self: flex-end;
    grid-column: 1/3;
    grid-row: 2/3;
  }
}
@media screen and (min-width: 1440px) {
  .offers__wrapper {
    grid-column: 1/2;
  }
}
.offers__price {
  max-width: 240px;
  font-style: italic;
  font-weight: 700;
  word-wrap: break-word;
}
@media screen and (min-width: 1024px) {
  .offers__price {
    max-width: 400px;
  }
}
@media screen and (min-width: 1440px) {
  .offers__price {
    max-width: 200px;
  }
}
.offers__currency {
  color: #d10000;
}
.offers__link-more {
  min-width: 230px;
  max-width: 230px;
  padding: 9px 10px;
  font-family: "OSWALD", Arial, sans-serif;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  word-break: break-word;
}
@media screen and (min-width: 768px) {
  .offers__link-more {
    grid-column: 1/3;
    grid-row: 3/4;
    align-self: flex-end;
    justify-self: flex-start;
  }
}
@media screen and (min-width: 1024px) {
  .offers__link-more {
    padding: 10px;
    min-height: 30px;
  }
}
@media screen and (min-width: 1440px) {
  .offers__link-more {
    grid-row: 2/3;
    justify-self: flex-end;
  }
}
.offers__link-more:hover, .offers__link-more:focus {
  opacity: 0.6;
}
.offers__link-more:active {
  opacity: 0.3;
}
@media screen and (min-width: 768px) {
  .offers__container {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}
@media screen and (min-width: 1440px) {
  .offers__container {
    position: absolute;
    min-width: 510px;
    justify-content: flex-start;
    bottom: 20px;
    z-index: 5;
  }
}
.offers__link-all {
  margin-bottom: 10px;
  display: block;
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  text-transform: none;
  text-decoration: none;
  color: white;
  cursor: pointer;
  word-break: break-word;
}
@media screen and (min-width: 768px) {
  .offers__link-all {
    padding-right: 20px;
    text-align: left;
  }
}
.offers__link-all:focus-visible, .offers__link-all:hover {
  opacity: 0.7;
}
.offers__link-all:active {
  opacity: 0.3;
}
.offers__buttons {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
@media screen and (min-width: 768px) {
  .offers__buttons {
    justify-content: flex-end;
    gap: 50px;
  }
}
@media screen and (min-width: 1440px) {
  .offers__buttons {
    justify-content: flex-start;
  }
}
.offers__button {
  position: relative;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border: 1px solid #c4c4c4;
  background: linear-gradient(#280000, #ff0000);
  cursor: pointer;
}
.offers__button::before {
  position: absolute;
  content: "";
  width: 15px;
  height: 27px;
  background-repeat: no-repeat;
  background-position: center;
}
.offers__button:hover, .offers__button:focus-visible {
  opacity: 0.5;
}
.offers__button:active {
  opacity: 0.3;
}
.offers__button--prev::before {
  background-image: url("/client/vectors/arrow-slider-prev.svg");
}
.offers__button--next::before {
  background-image: url("/client/vectors/arrow-slider-next.svg");
}

@media screen and (min-width: 1440px) {
  .parking-system .offers {
    grid-row: 3/4;
  }
}

.card-more {
  position: relative;
  max-width: 1440px;
  width: 320px;
  margin: 0 auto;
  padding: 10px;
  display: grid;
  grid-template-columns: 300px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #2b2b2b;
  border-radius: 20px;
}
@media screen and (min-width: 768px) {
  .card-more {
    width: 768px;
    grid-template-columns: min-content 1fr 1fr;
  }
}
@media screen and (min-width: 1024px) {
  .card-more {
    width: 1024px;
    grid-template-columns: repeat(2, 195px) repeat(2, 1fr);
  }
}
@media screen and (min-width: 1440px) {
  .card-more {
    width: 1440px;
    padding-right: 30px;
    grid-template-columns: repeat(4, 1fr);
  }
}
.card-more .product-card {
  gap: 10px;
  background-color: inherit;
  padding: 0;
}
@media screen and (min-width: 768px) {
  .card-more .product-card {
    grid-column: 1/2;
    grid-row: 2/6;
    align-self: flex-start;
  }
}
@media screen and (min-width: 1024px) {
  .card-more .product-card {
    grid-column: 1/3;
  }
}
@media screen and (min-width: 1440px) {
  .card-more .product-card {
    max-width: 1440px;
  }
}
.card-more .product-card img {
  height: auto;
  width: 100%;
}
.card-more .product-card:hover {
  transform: none;
}
.card-more .product-card__wrapper {
  grid-row: 3/4;
}
@media screen and (min-width: 768px) {
  .card-more .product-card__wrapper {
    align-self: flex-start;
    grid-column: 1/2;
    grid-row: 1/2;
  }
}
@media screen and (min-width: 1024px) {
  .card-more .product-card__wrapper {
    grid-column: 1/3;
  }
}
.card-more .product-card__content {
  grid-row: 8/9;
}
@media screen and (min-width: 768px) {
  .card-more .product-card__content {
    grid-column: 2/4;
    grid-row: 2/5;
    align-self: flex-start;
  }
}
@media screen and (min-width: 1024px) {
  .card-more .product-card__content {
    grid-column: 3/5;
  }
}
/* Описание вынесено в .product-page-description (ниже карточки), не в правую колонку */
.card-more .product-card__price {
  margin: 0;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
}
@media screen and (min-width: 1440px) {
  .card-more .product-card__price {
    font-size: 24px;
  }
}
/* Полноширинное описание под карточкой товара */
.product-page-description {
  width: 100%;
  margin-top: 8px;
  padding: 0 0 8px;
  box-sizing: border-box;
}
.product-page-description__outer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  .product-page-description__outer {
    padding: 0 20px;
  }
}
.product-page-description__wrap {
  width: 100%;
  margin: 0 auto;
  background-color: #252525;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 16px 16px;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  .product-page-description__wrap {
    padding: 20px 24px 18px;
  }
}
.product-page-description__title {
  margin: 0 0 14px;
  font-family: "OSWALD", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
@media screen and (min-width: 768px) {
  .product-page-description__title {
    font-size: 22px;
  }
}
.product-page-description__collapsible {
  width: 100%;
}
.product-page-description__viewport {
  position: relative;
  overflow: hidden;
  max-height: 13rem;
  transition: max-height 0.4s ease;
}
.product-page-description__viewport.is-expanded {
  max-height: none;
  overflow: visible;
}
.product-page-description__viewport:not(.is-expanded)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.5rem;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(37, 37, 37, 0), #252525 85%);
}
.product-page-description__viewport.is-expanded::after {
  display: none;
}
.product-page-description__text {
  width: 100%;
  max-width: none;
  margin: 0;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #d4d4d4;
  text-transform: none;
  word-wrap: break-word;
}
.product-page-description__para {
  margin: 0 0 0.85em;
}
.product-page-description__para:last-child {
  margin-bottom: 0;
}
.product-page-description__text--html p {
  margin: 0 0 0.85em;
}
.product-page-description__text--html p:last-child {
  margin-bottom: 0;
}
.product-page-description__text--html ul,
.product-page-description__text--html ol {
  margin: 0 0 0.85em;
  padding-left: 1.25em;
}
@media screen and (min-width: 1024px) {
  .product-page-description__text {
    font-size: 15px;
    line-height: 1.6;
  }
}
.product-page-description__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 10px 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.product-page-description__toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}
.product-page-description__toggle:focus-visible {
  outline: 2px solid #4a9eff;
  outline-offset: 2px;
}
.product-page-description__toggle[hidden] {
  display: none;
}
/* Видеообзор (YouTube / Vimeo / Rutube) */
.product-page-video {
  width: 100%;
  padding: 24px 0 8px;
  box-sizing: border-box;
}
.product-page-video__outer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}
.product-page-video__title {
  margin: 0 0 14px;
  font-family: "OSWALD", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
}
.product-page-video__frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
}
.product-page-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.product-page-video__frame--file {
  padding-bottom: 0;
  height: auto;
  max-height: none;
  background: rgba(0, 0, 0, 0.35);
}
.product-page-video__frame--file .product-page-video__html5 {
  display: block;
  width: 100%;
  max-height: min(70vh, 540px);
  height: auto;
  border-radius: 8px;
  background: #000;
}
@media screen and (min-width: 768px) {
  .product-page-video__title {
    font-size: 26px;
  }
}
/* Доп. услуги: отдельный блок под карточкой товара (не внутри .card-more) */
.product-page-extras {
  width: 100%;
  margin-top: 4px;
  padding: 20px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
}
.product-page-extras .container {
  max-width: 1440px;
}
.product-page-extras__heading {
  margin: 0 0 10px;
  font-family: "OSWALD", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
}
@media screen and (min-width: 768px) {
  .product-page-extras__heading {
    font-size: 28px;
  }
}
.product-page-extras__intro {
  margin: 0 auto 18px;
  max-width: 640px;
  font-size: 13px;
  line-height: 1.45;
  color: #c4c4c4;
  text-transform: none;
  font-family: "DINPRO", Arial, sans-serif;
  text-align: center;
}
.product-page-extras__list {
  margin: 0 auto;
  padding: 0;
  max-width: 100%;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media screen and (min-width: 640px) {
  .product-page-extras__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .product-page-extras__btn {
    margin-top: auto;
  }
}
@media screen and (min-width: 1024px) {
  .product-page-extras__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}
.product-page-extras__item {
  margin-bottom: 0;
  padding: 16px 18px;
  border-radius: 16px;
  background-color: #2b2b2b;
  font-family: "DINPRO", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-sizing: border-box;
}
.product-page-extras__item:last-child {
  margin-bottom: 0;
}
.product-page-extras__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 16px;
  line-height: 1.35;
  color: #fff;
}
.product-page-extras__name {
  flex: 1 1 auto;
  min-width: 0;
  text-transform: none;
}
.product-page-extras__price {
  flex: 0 0 auto;
  font-weight: 700;
  white-space: nowrap;
}
.product-page-extras__note {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #ccc;
  text-transform: none;
  flex: 1 1 auto;
}
.product-page-extras__btn {
  display: flex;
  font-family: "OSWALD", Arial, sans-serif;
  margin-top: 14px;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  align-self: stretch;
  justify-content: center;
}
@media screen and (min-width: 1024px) {
  .product-page-extras__btn {
    margin-top: auto;
    font-size: 30px;
    line-height: 42px;
    min-height: 42px;
    min-width: 200px;
    padding: 10px 30px;
  }
}
@media screen and (min-width: 1440px) {
  .product-page-extras__btn {
    font-size: 30px;
    line-height: 42px;
    min-height: 42px;
    min-width: 200px;
    padding: 10px 30px;
  }
}
.card-more h3 {
  margin: 0;
  margin-bottom: 10px;
  font-family: "OSWALD", Arial, sans-serif;
  font-size: 24px;
  line-height: 34px;
  text-align: center;
  grid-row: 2/3;
}
@media screen and (min-width: 768px) {
  .card-more h3 {
    grid-column: 2/4;
    grid-row: 1/2;
    align-self: flex-start;
  }
}
@media screen and (min-width: 1024px) {
  .card-more h3 {
    grid-column: 3/5;
  }
}
@media screen and (min-width: 1440px) {
  .card-more h3 {
    font-size: 34px;
    line-height: 40px;
    align-self: flex-end;
  }
}
.card-more__button-cost-wrapper {
  margin: 0 auto;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .card-more__button-cost-wrapper {
    text-align: left;
  }
}
.card-more__text {
  margin: 0;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 18px;
  line-height: 22px;
  text-transform: uppercase;
  grid-row: 4/5;
}
@media screen and (min-width: 768px) {
  .card-more__text {
    grid-column: 1/4;
    grid-row: 6/8;
  }
}
@media screen and (min-width: 1024px) {
  .card-more__text {
    grid-column: 1/5;
  }
}
@media screen and (min-width: 1440px) {
  .card-more__text {
    font-size: 24px;
    line-height: 30px;
  }
}
.card-more__text--cost {
  display: flex;
  gap: 10px;
}
@media screen and (min-width: 1440px) {
  .card-more__text span {
    font-size: 24px;
    line-height: 32px;
  }
}
.card-more__text--info {
  grid-row: 7/8;
}
@media screen and (min-width: 768px) {
  .card-more__text--info {
    grid-column: 2/4;
    grid-row: 5/6;
    justify-self: flex-end;
  }
}
@media screen and (min-width: 1024px) {
  .card-more__text--info {
    grid-column: 3/5;
  }
}
.card-more__wrapper {
  display: grid;
  flex-direction: column;
  align-items: end;
  gap: 10px;
  grid-row: 5/6;
}
@media screen and (min-width: 768px) {
  .card-more__wrapper {
    justify-self: flex-start;
    flex-direction: row;
    align-items: end;
    grid-column: 1/5;
    grid-row: 7/9;
  }
}
.card-more__wrapper p {
  margin: 0;
  margin-bottom: 10px;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 16px;
  line-height: 18px;
  text-transform: uppercase;
}
@media screen and (min-width: 768px) {
  .card-more__wrapper p {
    font-size: 22px;
    line-height: 28px;
  }
}
@media screen and (min-width: 1440px) {
  .card-more__wrapper p {
    font-size: 24px;
    line-height: 32px;
  }
}
.card-more .slider {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
@media screen and (min-width: 1024px) {
  .card-more .slider {
    width: 390px;
    flex-direction: row;
  }
}
@media screen and (min-width: 1440px) {
  .card-more .slider {
    width: 685px;
  }
}
@media screen and (min-width: 1024px) {
  .card-more .swiper {
    margin: 0;
  }
}
.card-more .swiper-wrapper {
  width: 300px;
}
@media screen and (min-width: 1024px) {
  .card-more .swiper-wrapper {
    height: 300px;
  }
}
@media screen and (min-width: 1440px) {
  .card-more .swiper-wrapper {
    width: 520px;
    height: 520px;
  }
}
.card-more .thumbs {
  padding: 0 5px;
}
@media screen and (min-width: 1024px) {
  .card-more .thumbs .swiper-wrapper {
    width: 80px;
    padding: 0;
    flex-direction: column;
  }
}
@media screen and (min-width: 1440px) {
  .card-more .thumbs .swiper-wrapper {
    width: 150px;
  }
}
.card-more .swiper-slide {
  display: flex;
  justify-content: center;
  background-color: white;
  border-radius: 20px;
  border: 3px solid white;
  cursor: pointer;
}
.card-more .big-slide {
  padding: 10px;
  width: 300px;
  height: 300px;
}
@media screen and (min-width: 1440px) {
  .card-more .big-slide {
    width: 520px;
    height: 520px;
    margin: 0;
  }
}
.card-more .big-slide:hover {
  border: 3px solid lightgreen;
}
.card-more .small-slide {
  padding: 5px;
  border-radius: 5px;
  max-width: 65px;
  height: 65px;
  overflow: hidden;
}
@media screen and (min-width: 1024px) {
  .card-more .small-slide {
    flex-direction: column;
  }
}
@media screen and (min-width: 1440px) {
  .card-more .small-slide {
    min-width: 150px;
    height: 150px;
    align-items: center;
  }
}
@media screen and (min-width: 1440px) {
  .card-more .small-slide img {
    width: auto;
    height: auto;
  }
}
.card-more .small-slide:hover {
  opacity: 0.5;
}
/* «Вернуться в магазин» + «В корзину» в одном ряду */
.card-more__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  grid-row: 6/7;
  justify-self: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 6px;
}
.card-more__actions .card-more__action-back,
.card-more__actions .card-more__button-cart {
  flex: 1 1 calc(50% - 8px);
  min-width: 0;
  max-width: 280px;
  width: auto;
  font-family: "OSWALD", Arial, sans-serif;
  text-decoration: none;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  .card-more__actions {
    grid-column: 3/4;
    grid-row: 8/9;
    justify-self: flex-end;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 12px;
  }
}
@media screen and (min-width: 1024px) {
  .card-more__actions {
    grid-column: 4/5;
  }
  .card-more__actions .card-more__action-back,
  .card-more__actions .card-more__button-cart {
    font-size: 30px;
    line-height: 42px;
    min-height: 42px;
    min-width: 200px;
    width: auto;
    max-width: none;
    padding: 10px 30px;
    flex: 0 1 auto;
  }
}
@media screen and (min-width: 1440px) {
  .card-more__actions {
    grid-column: 3/5;
    justify-content: flex-end;
  }
}
.card-more__button-cost {
  width: 200px;
  height: 50px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #424040;
  border-radius: 25px;
}
@media screen and (min-width: 1440px) {
  .card-more__button-cost {
    width: 400px;
    height: 100px;
    border-radius: 50px;
  }
}
.card-more__button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background-repeat: no-repeat;
  background-size: 40px 40px;
  background-position: center;
  background-color: inherit;
}
@media screen and (min-width: 1440px) {
  .card-more__button {
    width: 80px;
    height: 80px;
    background-size: 80px 80px;
  }
}
.card-more__button--min {
  background-image: url("/client/vectors/minus-icon.svg");
}
.card-more__button--max {
  background-image: url("/client/vectors/plus-icon.svg");
}
.card-more__quantity {
  min-width: 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
@media screen and (min-width: 1024px) {
  .card-more__quantity {
    max-height: 50px;
    min-height: 50px;
  }
}
@media screen and (min-width: 1440px) {
  .card-more__quantity {
    min-width: 100px;
    min-height: 100px;
    max-height: 100px;
    font-size: 64px;
    line-height: 86px;
  }
}
.card-more + p {
  text-align: center;
  max-width: 300px;
  margin: 20px auto;
}
@media screen and (min-width: 768px) {
  .card-more + p {
    max-width: 768px;
  }
}
@media screen and (min-width: 1440px) {
  .card-more + p {
    max-width: 1440px;
  }
}

.contacts-section {
  padding-top: 20px;
}
@media screen and (min-width: 768px) {
  .contacts-section {
    padding-top: 20px;
  }
}
.contacts-section h2 {
  position: relative;
  padding-top: 10px;
  margin: 0 0 28px 0;
  text-align: center;
}
.contacts-section h2::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 0;
  width: 95%;
  height: 90%;
  background-color: red;
  filter: blur(20px);
  opacity: 0.7;
  z-index: -1;
}
@media screen and (min-width: 768px) {
  .contacts-section h2 {
    font-size: 50px;
    padding-top: 5px;
    margin-bottom: 32px;
  }
}
@media screen and (min-width: 1440px) {
  .contacts-section h2 {
    font-size: 50px;
    margin-bottom: 36px;
  }
}
.contacts-section__list {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0 0 30px 0;
}
@media screen and (min-width: 768px) {
  .contacts-section__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
  }
}
@media screen and (min-width: 1024px) {
  .contacts-section__list {
    padding-bottom: 100px;
    gap: 50px;
  }
}
.contacts-section__item {
  width: 200px;
  min-height: 170px;
  background-color: rgba(47, 47, 47, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px;
}
@media screen and (min-width: 768px) {
  .contacts-section__item {
    width: 300px;
  }
}
.contacts-section__item-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  text-align: center;
}
.contacts-section__item a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  -moz-column-gap: 20px;
       column-gap: 20px;
  row-gap: 20px;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 18px;
  margin: 0;
  text-decoration: none;
  color: white;
  cursor: pointer;
  text-align: center;
}
.contacts-section__item a .icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}
.contacts-section__item a img {
  width: 100%;
  height: 100%;
  max-width: 25px;
  max-height: 25px;
  -o-object-fit: contain;
     object-fit: contain;
}
.contacts-section__item a.link-message {
  background-image: none;
}
.contacts-section__item a:hover {
  opacity: 0.4;
}
.contacts-section__item h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
.contacts-section__item p {
  grid-column: 1/3;
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 18px;
  margin: 0 auto;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .contacts-section__item p {
    text-transform: none;
  }
}
@media screen and (min-width: 768px) {
  .contacts-section__item--email, .contacts-section__item--address, .contacts-section__item--schedule, .contacts-section__item--social {
    width: 300px;
  }
}
.contacts-section__item--schedule {
  gap: 20px;
  text-align: center;
}
.contacts-section__item--schedule .contacts-section__item-content {
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.contacts-section__item--schedule .schedule-header {
  display: flex;
  align-items: center;
  gap: 15px;
}
.contacts-section__item--schedule .icon-container img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}
.contacts-section__item--schedule span {
  color: red;
}
.contacts-section__item--social::after {
  background-image: none;
}
.contacts-section__item--social h3::after {
  background-image: none;
}
.contacts-section__item--social a {
  display: flex;
  justify-content: center;
  align-items: center;
  align-items: center;
  padding: 10px;
  text-align: center;
  border: none;
}
.contacts-section__item--social-icons {
  width: 200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  list-style-type: none;
}
.contacts-section__item--social-icons svg {
  width: 30px;
  height: 30px;
}
.contacts-section__item--btn {
  background-color: transparent;
}
@media screen and (min-width: 1024px) {
  .contacts-section__item--btn {
    text-transform: none;
  }
}

.map iframe {
  width: 100%;
}

.contacts-location {
  padding: 30px 0 50px 0;
}
@media screen and (min-width: 768px) {
  .contacts-location {
    padding: 50px 0 50px 0;
  }
}
.contacts-location h2 {
  margin: 0 auto 30px;
}
@media screen and (min-width: 768px) {
  .contacts-location h2 {
    width: 600px;
    margin-bottom: 40px;
  }
}
@media screen and (min-width: 1440px) {
  .contacts-location h2 {
    width: 1000px;
  }
}
.contacts-location p {
  font-family: "DINPRO", Arial, sans-serif;
  margin: 0 0 45px 0;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .contacts-location p {
    width: 630px;
    margin: 0 auto;
    margin-bottom: 50px;
    font-size: 20px;
    text-transform: none;
  }
}
@media screen and (min-width: 1024px) {
  .contacts-location p {
    width: 800px;
    text-align: center;
    text-transform: none;
  }
}
@media screen and (min-width: 1440px) {
  .contacts-location p {
    width: 1000px;
    text-align: center;
  }
}
.contacts-location__phone {
  font-family: "DINPRO", Arial, sans-serif;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 65px 0;
  text-align: center;
}
.contacts-location__phone p {
  margin: 0 auto 15px;
}
@media screen and (min-width: 768px) {
  .contacts-location__phone p {
    font-size: 24px;
    width: 600px;
    margin: 0 auto 25px;
  }
}
.contacts-location__box {
  width: 180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contacts-location__box a {
  padding: 0;
}
.contacts-location__box a > p {
  margin-bottom: 0;
}
.contacts-location__box a {
  font-size: 18px;
  color: white;
  text-decoration: none;
  padding: 5px 20px;
}
.contacts-location__box a:hover {
  opacity: 0.3;
}
.contacts-location__slogan {
  margin: 0 auto;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .contacts-location__slogan {
    width: 600px;
    font-size: 24px;
  }
}

.price__wrapper {
  padding: 20px 0 16px 0;
}
@media screen and (min-width: 768px) {
  .price__wrapper {
    width: 650px;
    margin: 0 auto;
    padding-bottom: 20px;
  }
}
@media screen and (min-width: 1024px) {
  .price__wrapper {
    width: 800px;
  }
}
@media screen and (min-width: 1440px) {
  .price__wrapper {
    width: 1200px;
    padding-top: 20px;
    padding-bottom: 24px;
  }
}
.price__title {
  font-family: "DINPRO", Arial, sans-serif;
  position: relative;
  margin: 0;
  margin-bottom: 20px;
  text-align: center;
}
.price__title::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 0;
  width: 95%;
  height: 90%;
  background-color: red;
  filter: blur(20px);
  opacity: 0.7;
  z-index: -1;
}
@media screen and (min-width: 768px) {
  .price__title {
    margin-bottom: 24px;
    font-size: 50px;
  }
}
@media screen and (min-width: 1024px) {
  .price__title {
    margin-bottom: 24px;
  }
}
@media screen and (min-width: 1440px) {
  .price__title {
    margin-bottom: 28px;
  }
}
.price__subtitle {
  font-family: "OSWALD", Arial, sans-serif;
  font-size: 20px;
  margin: 0 19px 40px 19px;
}
.price__subtitle span {
  color: #b40036;
}
@media screen and (min-width: 768px) {
  .price__subtitle {
    font-size: 25px;
    margin: 0 65px 40px 65px;
  }
}
@media screen and (min-width: 1440px) {
  .price__subtitle {
    font-size: 35px;
    margin-bottom: 100px;
  }
}
.price__list {
  display: grid;
  gap: 20px;
  padding-bottom: 20px;
  margin: 0 10px 0 10px;
}
@media screen and (min-width: 1024px) {
  .price__list {
    gap: 25px;
  }
}
@media screen and (min-width: 1440px) {
  .price__list {
    gap: 35px;
    justify-content: center;
    gap: 30px;
  }
}
.price__item {
  background-color: #1c1a1a;
  border-radius: 15px;
  transition: 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media screen and (min-width: 768px) {
  .price__item {
    max-width: 650px;
    text-transform: none;
    padding-left: 35px;
  }
}
@media screen and (min-width: 1024px) {
  .price__item {
    max-width: 800px;
    line-height: 28px;
    padding-left: 45px;
  }
}
@media screen and (min-width: 1440px) {
  .price__item {
    max-width: 1200px;
    line-height: 28px;
    padding-left: 45px;
  }
}
@media screen and (min-width: 768px) {
  .price__summary {
    display: grid;
    grid-template-columns: min-content min-content;
    grid-template-rows: repeat(2, min-content);
    justify-items: center;
    align-items: center;
    padding: 15px 0 25px 0;
  }
}
@media screen and (min-width: 1024px) {
  .price__summary {
    padding: 20px 0 25px 0;
  }
}
@media screen and (min-width: 1440px) {
  .price__summary {
    padding: 25px 0 25px 0;
  }
}
.price__details summary {
  list-style: none;
  /* Убирает треугольник */
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  /* Для совместимости с разными браузерами */
  cursor: pointer;
}
.price__item-title {
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  word-wrap: break-word;
  text-align: center;
  margin: 0 30px 15px 30px;
  padding: 15px 0 0 20px;
  cursor: pointer;
  position: relative;
}
@media screen and (min-width: 768px) {
  .price__item-title {
    font-size: 19px;
    width: 380px;
    text-align: center;
    margin: 0;
    padding: 0 0 0 15px;
    text-align: center;
    grid-row: 1/3;
  }
}
@media screen and (min-width: 1024px) {
  .price__item-title {
    font-size: 25px;
    margin: 0 50px;
  }
}
@media screen and (min-width: 1440px) {
  .price__item-title {
    font-size: 30px;
    margin: 0 100px 0 100px;
    width: 590px;
  }
}
.price__item-title::before {
  content: "";
  position: absolute;
  top: 30%;
  left: -16px;
  border-style: solid;
  border-width: 10px 9px 0 9px;
  border-color: white transparent transparent transparent;
  width: 12px;
  transition: transform 0.6s ease;
}
@media screen and (min-width: 768px) {
  .price__item-title::before {
    top: 38%;
    left: -16px;
    border-width: 10px 9px 0 9px;
  }
}
@media screen and (min-width: 1024px) {
  .price__item-title::before {
    left: -50px;
  }
}
.price__details[open] .price__item-title::before {
  transform: translateY(-50%) rotate(-90deg);
}
.price__item-box {
  width: 250px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .price__item-box {
    grid-row: 1/2;
    width: 224px;
  }
}
@media screen and (min-width: 1440px) {
  .price__item-box {
    margin-bottom: 18px;
  }
}
.price__item-product {
  font-size: 25px;
  font-weight: 700;
  text-align: center;
}
@media screen and (min-width: 1024px) {
  .price__item-product {
    font-size: 30px;
  }
}
@media screen and (min-width: 1440px) {
  .price__item-product {
    font-size: 35px;
  }
}
.price__item-currency {
  font-size: 30px;
  font-weight: 400;
  color: #b40036;
}
@media screen and (min-width: 1440px) {
  .price__item-currency {
    font-size: 40px;
  }
}
.price__item-price {
  font-size: 18px;
  color: #b40036;
  text-align: center;
  margin: 0 0 15px 0;
}
@media screen and (min-width: 768px) {
  .price__item-price {
    grid-column: 2;
    grid-row: 2/3;
    margin: 0;
    width: 170px;
  }
}
@media screen and (min-width: 1024px) {
  .price__item-price {
    font-size: 22px;
    width: 220px;
    padding: 5px;
  }
}
@media screen and (min-width: 1440px) {
  .price__item-price {
    font-size: 28px;
    width: 270px;
  }
}
.price__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease-in-out;
  overflow: hidden;
}
.price__content-body {
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out 0.1s;
}
.price__details[open] + .price__content {
  grid-template-rows: 1fr;
}
.price__details[open] + .price__content .price__content-body {
  opacity: 1;
  transition: opacity 0.3s ease-in-out 0.1s;
}
.price__details:not([open]) + .price__content .price__content-body {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}
.price__item-description {
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 18px;
  line-height: 24px;
  text-align: start;
  width: 280px;
  margin: 0 auto 15px;
  padding: 0 10px 0 28px;
}
@media screen and (min-width: 768px) {
  .price__item-description {
    font-size: 20px;
    width: 550px;
  }
}
@media screen and (min-width: 1024px) {
  .price__item-description {
    font-size: 22px;
    width: 680px;
  }
}
@media screen and (min-width: 1440px) {
  .price__item-description {
    font-size: 28px;
    width: 1000px;
  }
}
.price__item-text {
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 8px;
}
@media screen and (min-width: 768px) {
  .price__item-text {
    font-size: 17px;
    line-height: 22px;
  }
}
@media screen and (min-width: 1024px) {
  .price__item-text {
    font-size: 20px;
    line-height: 22px;
    margin-bottom: 10px;
  }
}

.price-button {
  width: 260px;
  margin: 0 auto 20px auto;
  text-align: center;
}
@media screen and (min-width: 1024px) {
  .price-button {
    width: 300px;
  }
}
@media screen and (min-width: 1440px) {
  .price-button {
    width: 350px;
    margin-bottom: 50px;
  }
}

.price-services {
  margin-bottom: 30px;
}
.price-services__title {
  font-size: 18px;
  width: 230px;
  margin: 0 auto 30px auto;
}
@media screen and (min-width: 768px) {
  .price-services__title {
    width: 550px;
    font-size: 24px;
    margin-bottom: 50px;
  }
}
@media screen and (min-width: 1440px) {
  .price-services__title {
    width: 850px;
    font-size: 28px;
    margin-bottom: 60px;
  }
}
.price-services__title span {
  color: #b40036;
}
.price-services__list {
  list-style: none;
  margin-bottom: 40px;
  width: 300px;
  margin: 0 auto 20px auto;
}
@media screen and (min-width: 768px) {
  .price-services__list {
    width: 600px;
    margin-bottom: 50px;
  }
}
@media screen and (min-width: 1024px) {
  .price-services__list {
    width: 600px;
  }
}
@media screen and (min-width: 1440px) {
  .price-services__list {
    width: 900px;
    font-size: 28px;
    margin-bottom: 60px;
  }
}
.price-services__list li {
  margin-bottom: 10px;
}
@media screen and (min-width: 768px) {
  .price-services__list li {
    margin-bottom: 15px;
  }
}
@media screen and (min-width: 1440px) {
  .price-services__list li {
    margin-bottom: 20px;
  }
}
.price-services__box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-services__box a {
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 14px;
  color: white;
  width: 195px;
  text-decoration: underline;
  text-decoration-color: #b40036;
  text-decoration-thickness: 2px;
}
@media screen and (min-width: 768px) {
  .price-services__box a {
    width: 550px;
    font-size: 16px;
    text-transform: uppercase;
  }
}
@media screen and (min-width: 1440px) {
  .price-services__box a {
    font-size: 24px;
  }
}
.price-services__box a:hover {
  color: #b40036;
  text-decoration: none;
}
.price-services__box a:active {
  color: #b40036;
  text-decoration: none;
  opacity: 0.4;
}
.price-services__box p {
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 15px;
  width: 195px;
  margin: 0;
}
@media screen and (min-width: 768px) {
  .price-services__box p {
    width: 550px;
    font-size: 16px;
    text-transform: uppercase;
  }
}
@media screen and (min-width: 1440px) {
  .price-services__box p {
    font-size: 24px;
  }
}
.price-services__price {
  width: 90px;
  margin: 0;
  font-size: 14px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .price-services__price {
    width: 180px;
    font-size: 16px;
    text-transform: uppercase;
  }
}
@media screen and (min-width: 1440px) {
  .price-services__price {
    font-size: 24px;
    width: 250px;
  }
}
.price-services__empty {
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 16px;
  margin-bottom: 1rem;
  opacity: 0.85;
}
.price-services__warning {
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 16px;
  border: 2px solid #b40036;
  padding: 10px;
  width: 295px;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .price-services__warning {
    width: 500px;
    font-size: 18px;
    text-transform: none;
    padding: 20px;
    margin-bottom: 50px;
  }
}
@media screen and (min-width: 1440px) {
  .price-services__warning {
    font-size: 22px;
    width: 660px;
    padding: 40px;
  }
}

.works {
  padding: 30px 0;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  margin-bottom: 60px;
}
.works__title {
  text-align: center;
  margin: 10px;
  margin-bottom: 30px;
  font-size: 26px;
  line-height: 44px;
}
@media screen and (min-width: 768px) {
  .works__title {
    font-size: 38px;
  }
}
@media screen and (min-width: 1024px) {
  .works__title {
    font-size: 40px;
  }
}
.works__swiper {
  padding: 20px 48px 16px;
  position: relative;
  box-sizing: border-box;
}
.works__slide-title {
  font-family: "DINPRO", Arial, sans-serif;
  font-size: 18px;
  text-align: center;
  color: white;
  text-decoration: none;
  border: none;
  display: flex;
  align-items: center;
  margin: 0;
  min-height: 54px;
}
@media screen and (min-width: 768px) {
  .works__slide-title {
    font-size: 24px;
    min-height: 72px;
  }
}
.works__slide-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  margin: auto 0;
}
.works__slide-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}
.works__slide-button {
  margin-top: auto;
  padding: 12px 30px;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}
.works__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.works__nav--prev {
  left: 0;
}
.works__nav--next {
  right: 0;
}
.works__nav-btn:hover {
  background: rgba(220, 38, 38, 0.85);
  border-color: rgba(255, 255, 255, 0.6);
}
.works__nav-btn:active {
  transform: translateY(-50%) scale(0.96);
}
.works__nav-btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media screen and (min-width: 768px) {
  .works__swiper {
    padding-left: 52px;
    padding-right: 52px;
  }
  .works__nav-btn {
    width: 48px;
    height: 48px;
    font-size: 30px;
  }
}

.modal-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  cursor: pointer;
}
.modal-image img {
  max-width: 90%;
  max-height: 90vh;
  -o-object-fit: contain;
     object-fit: contain;
}
.modal-image .close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  z-index: 11;
  cursor: pointer;
}
.modal-image .close-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  background-color: white;
  width: inherit;
  height: 3px;
  box-shadow: none;
  border-radius: 10px;
}
.modal-image .close-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  background-color: white;
  width: inherit;
  height: 3px;
  border-radius: 10px;
}

.swiper-works {
  overflow: hidden;
  position: relative;
}
.swiper-works .swiper-slide {
  width: 300px;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  height: 100%;
}
.swiper-works .swiper-slide:not(.swiper-slide-active) {
  transform: scale(0.8);
}
.swiper-works .swiper-slide-active {
  transform: scale(1.1);
  opacity: 1;
  z-index: 1;
}

/* Главная: отступ под фикс. шапку на мобильных (без scroll-snap — иначе не долистать до подвала) */
@media screen and (max-width: 1024px) {
  html {
    scroll-snap-type: none;
    scroll-padding-top: max(72px, env(safe-area-inset-top));
  }
  .home-snap-section {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  main:has(.home-snap-section) + .footer {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}

/* Мобильное меню: чистый белый текст (:visited и .link:hover иначе дают серый/фиолетовый) */
@media screen and (max-width: 1024px) {
  .nav {
    background: linear-gradient(165deg, #5a5a5a 0%, #424242 48%, #383838 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav .nav-item a.link,
  .nav .nav-item a.link:link,
  .nav .nav-item a.link:visited,
  .nav .nav-item a.link:any-link {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    font-weight: 800;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.04em;
    text-shadow: none;
    opacity: 1 !important;
  }
  .nav .nav-item a.link:hover,
  .nav .nav-item a.link:focus {
    opacity: 1 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
  }
  .nav .nav-item a.link:active,
  .nav .nav-item a.link:focus-visible {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    opacity: 1 !important;
    background-color: rgba(255, 70, 0, 0.55);
    border-radius: 10px;
    padding-left: 12px;
    padding-right: 12px;
    margin-left: -12px;
    margin-right: -12px;
    outline: none;
    text-shadow: none;
  }
}

/* Главная: форма — на телефоне кнопка открывает модальное окно */
.home-form-section__hint {
  text-align: center;
  margin: 0 auto 16px;
  max-width: 520px;
  font-size: 22px;
  line-height: 1.45;
  color: inherit;
}
.home-form-section__cta {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.form__item--textarea-compact .form__input--textarea {
  min-height: 72px;
  max-height: 120px;
  resize: vertical;
}

.popup.modal-form .form__item--textarea-compact .form__input--textarea {
  min-height: 72px;
  max-height: 120px;
}

/* Главная — услуги: компактные карточки (перебиваем .third-title и .y-button-*) */
.service.service--home {
  padding: 32px 0;
}
/* Мобилка: вертикальный список карточек без карусели */
@media screen and (max-width: 767px) {
  .service.service--home {
    padding: 24px 0;
  }
  .service--home .service-home__head .service__title {
    padding-bottom: 0;
  }
  .service--home .swiper.swiper-service {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
  }
  .service--home .service__list {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    min-height: 0 !important;
    padding-bottom: 20px;
    width: 100%;
    transform: none !important;
  }
  .service--home .service__item.swiper-slide {
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
    flex: 0 0 auto;
    height: auto !important;
    opacity: 1 !important;
  }
  .service--home .service__list--component .service__item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding-bottom: 18px;
  }
  .service--home .service__list li:has(.swiper-pagination) {
    display: none !important;
  }
  .service--home .swiper-service__pagination {
    display: none !important;
  }
  .service--home .swiper.swiper-service {
    height: auto !important;
  }
  .service--home .swiper.swiper-service .service__list {
    height: auto !important;
  }
}
@media screen and (min-width: 768px) {
  .service--home .swiper.swiper-service {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  /* Три карточки в ряд вместо двух */
  .service--home .service__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 14px;
    align-items: stretch;
    justify-items: center;
  }
  .service--home .service__list--component .service__item.swiper-slide {
    width: 350px !important;
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
  }
  .service--home .service__list--component li:has(.swiper-pagination) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 100%;
  }
  .service--home .service__list--component {
    max-width: min(100%, 1020px);
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (min-width: 1024px) {
  .service--home .service__list--component {
    max-width: min(100%, 1140px);
  }
}
.service--home .service__list {
  min-height: 220px;
  padding-bottom: 36px;
}
.service--home .service-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  min-height: 100%;
  padding-bottom: 4px;
  overflow: hidden;
  box-sizing: border-box;
  width: 350px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  perspective: none;
}
.service--home .service-card:hover img {
  transform: none;
}
/* h3 + .third-title даёт 28–32px — фиксируем явно */
/* Порядок в карточке: заголовок → фото → анонс → кнопки */
.service--home .service-card__intro {
  flex-shrink: 0;
  width: 100%;
}
.service.service--home .service-card h3.service-card__title.third-title {
  margin: 0 0 8px;
  flex-shrink: 0;
  min-width: 0;
  font-size: 18px !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.service--home figure.service-card__media {
  margin: 0 auto;
  width: 350px;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  flex-shrink: 0;
  background: #1a1a1a;
  display: block;
}
.service--home .service-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 350px;
  margin: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  transition: none;
}
.service--home .service__list--component .service__item .service-card__buttons {
  position: relative;
  bottom: auto !important;
  left: auto;
  right: auto;
  transform: none;
  margin-top: auto;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  padding: 12px 0 0;
}
.service--home .service__list--component .service__item .service-card__buttons a,
.service--home .service__list--component .service__item .service-card__buttons button {
  flex: 1 1 calc(50% - 4px);
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
}
.service--home .service__list--component .service__item .service-card__buttons .y-button-primary,
.service--home .service__list--component .service__item .service-card__buttons .y-button-secondary {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 36px !important;
  max-height: 44px !important;
  padding: 6px 10px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}
@media screen and (min-width: 768px) {
  .service.service--home .service-card h3.service-card__title.third-title {
    font-size: 19px !important;
  }
  .service--home .service__list--component .service__item .service-card__buttons .y-button-primary,
  .service--home .service__list--component .service__item .service-card__buttons .y-button-secondary {
    min-height: 38px !important;
    max-height: 46px !important;
    font-size: 14px !important;
    padding: 7px 12px !important;
  }
}
@media screen and (min-width: 1024px) {
  .service.service--home .service-card h3.service-card__title.third-title {
    font-size: 20px !important;
  }
  .service--home .service__list--component .service__item .service-card__buttons a,
  .service--home .service__list--component .service__item .service-card__buttons button {
    font-size: 15px !important;
  }
  .service--home .service__list--component .service__item .service-card__buttons .y-button-primary,
  .service--home .service__list--component .service__item .service-card__buttons .y-button-secondary {
    min-height: 40px !important;
    max-height: 48px !important;
    font-size: 15px !important;
    padding: 8px 14px !important;
  }
}

.service--home .service__item.swiper-slide {
  box-sizing: border-box;
  max-width: 100%;
}
.service--home .service-card__title-link {
  color: inherit;
  text-decoration: none;
  border: none;
  width: 100%;
  max-width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.service--home .service-card__title-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.service--home .service-card__excerpt {
  margin: 8px 0 6px;
  text-align: center;
  text-transform: none;
  font-size: 1.0625rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-weight: 400;
  flex: 1 1 auto;
  min-height: calc(1.0625rem * 1.45 * 3);
  width: 100%;
}
.service--home .service-card__excerpt-part {
  display: inline;
}
.service--home .service-card__excerpt-nowrap {
  white-space: nowrap;
}
@media screen and (max-width: 1023px) {
  .service--home .service-card__excerpt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
    max-height: none;
    min-height: calc(1.0625rem * 1.45 * 3 + 12px);
  }
  .service--home .service-card__excerpt-part {
    display: block;
    width: 100%;
  }
}
.service--home .service-card__price--home {
  margin: 8px 0 6px;
  text-align: center;
  text-transform: none;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

/* Мобильное меню: белый текст + одна колонка (перебивает кэш/старый flex-wrap) */
@media screen and (max-width: 1024px) {
  .header .nav .nav-list,
  .header .nav.active .nav-list {
    display: block !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  .header .nav .nav-list > .nav-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .header .nav .nav-item__dropdown-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .header .nav .nav-item__dropdown-head > .link {
    width: auto !important;
    max-width: 100% !important;
  }
  .header .nav .nav-submenu-toggle {
    position: relative !important;
    z-index: 3 !important;
    width: 48px !important;
    height: 48px !important;
  }
  .header .nav .nav-list .nav-item > a.link,
  .header .nav .nav-list .nav-item > a.link.active,
  .header .nav.active .nav-list .nav-item > a.link {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
  }
  .header .nav .nav-list .nav-item > a.link:link,
  .header .nav .nav-list .nav-item > a.link:visited,
  .header .nav .nav-list .nav-item > a.link:hover,
  .header .nav .nav-list .nav-item > a.link:focus,
  .header .nav .nav-list .nav-item > a.link:active,
  .header .nav .nav-list .nav-item > a.link:focus-visible {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
  }
}

.header__compare {
  display: flex;
  align-items: center;
}
.header__compare .link {
  cursor: pointer;
  display: flex;
  width: 30px;
  height: 100%;
  position: relative;
  align-items: center;
  color: #fff;
}
.header__compare .link svg {
  height: 35px;
}
.header__compare .counter {
  background-color: red;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  position: absolute;
  color: white;
  right: -10px;
  top: 0;
  text-align: center;
  padding: 5px;
  font-size: 12px;
  line-height: 1;
}
@media screen and (min-width: 1024px) {
  .header__compare .counter {
    min-width: 25px;
    height: 25px;
    font-size: 20px;
    line-height: 28px;
    top: -5px;
    font-family: "OSWALD", Arial, sans-serif;
  }
}

.compare-button.is-active,
.home-showcase__icon-btn.compare-button.is-active,
.product-card__icon-compare.is-active,
.popular__item-compare.is-active {
  color: #ff4d4d;
  border-color: #ff4d4d;
  background: rgba(255, 77, 77, 0.12);
}

.product-card__icon-compare,
.popular__item-compare {
  flex: 0 0 auto;
  width: 46px;
  min-width: 46px;
  min-height: 46px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}
.catalog-page .catalog__products .product-card__buttons .product-card__icon-compare {
  flex: 0 0 46px;
  min-width: 46px;
}

.popular__item-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.popular__item-compare {
  width: 42px;
  min-width: 42px;
  min-height: 42px;
}

.compare-section {
  padding-bottom: 40px;
}
.compare-page__note {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.75);
}
.compare-page__empty,
.compare-page__loading {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.8);
}
.compare-section__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.compare-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
}
.compare-table__row {
  display: grid;
  grid-template-columns: minmax(140px, 220px) repeat(var(--compare-cols, 2), minmax(180px, 1fr));
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.compare-table__row:last-child {
  border-bottom: none;
}
.compare-table__row--head {
  background: rgba(255, 255, 255, 0.04);
}
.compare-table__row--group {
  background: rgba(255, 255, 255, 0.03);
}
.compare-table__label,
.compare-table__value,
.compare-table__product,
.compare-table__actions,
.compare-table__group {
  padding: 14px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.compare-table__label:last-child,
.compare-table__value:last-child,
.compare-table__product:last-child,
.compare-table__actions:last-child {
  border-right: none;
}
.compare-table__label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}
.compare-table__label--corner {
  align-self: stretch;
}
.compare-table__product {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.compare-table__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.compare-table__image-link {
  display: block;
}
.compare-table__image {
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: #111;
}
.compare-table__title {
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.compare-table__title:hover {
  text-decoration: underline;
}
.compare-table__value {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}
.compare-table__yes {
  color: #5fd48a;
  font-weight: 700;
  font-size: 1.25rem;
}
.compare-table__no {
  color: rgba(255, 255, 255, 0.35);
}
.compare-table__group {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
}
.compare-table__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.compare-table__actions .button {
  width: 100%;
  min-width: 0;
  font-size: 14px;
}
.card-more__action-compare {
  min-width: 0;
}

