/* ФОНТЫ */
@font-face {
  font-family: 'Stolzl';
  src: url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Light.eot');
  src: local('Stolzl Light'), local('Stolzl-Light'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Light.eot?#iefix') format('embedded-opentype'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Light.woff2') format('woff2'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Light.woff') format('woff'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Stolzlthin';
  src: url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Thin.eot');
  src: local('Stolzl Thin'), local('Stolzl-Thin'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Thin.eot?#iefix') format('embedded-opentype'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Thin.woff2') format('woff2'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Thin.woff') format('woff'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Thin.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Stolzl Book';
  src: url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Book.eot');
  src: local('Stolzl Book'), local('Stolzl-Book'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Book.eot?#iefix') format('embedded-opentype'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Book.woff2') format('woff2'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Book.woff') format('woff'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Book.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Stolzlregular';
  src: url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Regular.eot');
  src: local('Stolzl Regular'), local('Stolzl-Regular'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Regular.eot?#iefix') format('embedded-opentype'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Regular.woff2') format('woff2'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Regular.woff') format('woff'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Stolzlbold';
  src: url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Bold.eot');
  src: local('Stolzl Bold'), local('Stolzl-Bold'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Bold.eot?#iefix') format('embedded-opentype'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Bold.woff2') format('woff2'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Bold.woff') format('woff'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Bold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Stolzlmedium';
  src: url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Medium.eot');
  src: local('Stolzl Medium'), local('Stolzl-Medium'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Medium.eot?#iefix') format('embedded-opentype'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Medium.woff2') format('woff2'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Medium.woff') format('woff'),
  url('/bitrix/templates/dresscodeV2/fonts/stolzl/Stolzl-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

.star-rating {
  --stars: 5; /* всего звёзд */
  --star-size: 24px; /* размер одной звезды */
  --fill-color: #FF8000; /* цвет заполненных */
  --empty-color: #CCC; /* цвет пустых */
  --rating: 3.5; /* ваш рейтинг */

  width: calc(var(--star-size) * var(--stars));
  height: var(--star-size);
  /* градиент под маской: часть оранжевая, часть серая */
  background: linear-gradient(
          90deg,
          var(--fill-color) calc((var(--rating) / var(--stars)) * 100%),
          var(--empty-color) calc((var(--rating) / var(--stars)) * 100%)
  );
  /* подключаем SVG-маску */
  -webkit-mask: var(--svg-star) repeat-x;
  mask: var(--svg-star) repeat-x;
  -webkit-mask-size: var(--star-size) var(--star-size);
  mask-size: var(--star-size) var(--star-size);
  mask-repeat: repeat-x;
}

.star-rating {
  --svg-star: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMidYMid meet'> <path  d='M12 17.27L18.18 21L16.54 13.97L22 9.24L14.81 8.63L12 2L9.19 8.63L2 9.24L7.46 13.97L5.82 21Z' fill='black' stroke='black' stroke-width='2' vector-effect='non-scaling-stroke' stroke-linejoin='round' stroke-linecap='round'/></svg>");
}

/* Глобальные стили */
* {
  box-sizing: border-box;
}

html {
  /* Свойство из спецификации CSS Scrollbars Level 1 */
  scrollbar-gutter: stable;
}


html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}


/* h1 {
  font-family: 'StolzlMedium', 'Arial';
  font-size: 24px;
} */

h4 {
  font-family: 'StolzlMedium';
  font-size: 22px;
  color: #4A4A49;

  @media (min-width: 767px) {
    font-size: 30px;
  }

  @media (min-width: 1199px) {
    font-size: 40px;
  }
}

/* фиксированный контейнер в правом верхнем углу */
#js-popup-container {
  position: fixed;
  width: 350px;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.js-basket-popup {
  position: relative;
  pointer-events: all;
  /* max-width: 550px; */
  background: #fff;
  border: 1px solid #ccc;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #333;
  opacity: 0;
  margin-bottom: 15px;
  /* анимируем opacity, height и margin-bottom */
  transition: opacity 0.2s ease,
  height 0.2s ease,
  margin-bottom 0.2s ease;
}

.js-basket-popup.error {
  border-color: #ff4d4f;
  color: #a60000;
}

.js-basket-popup button.close {
  position: absolute;
  top: 5px;
  right: 5px;
  border: none;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  color: inherit;
}

/* DESKTOP */

.main-flex {
  display: flex;
  gap: 20px;
}

a {
  text-decoration: none !important;
}


@media (min-width: 767px) {

  body.sticky .header__upper {
    padding-bottom: 100px;
  }

  body.sticky .header__down {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffffcf;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}


/** Header **/
.header {
  padding-top: 32px;
  margin-bottom: 60px;
  z-index: 510 !important;
  @media (max-width: 565px) {
    margin-bottom: 32px;
  }

  /* Верхняя часть шапки */

  .header__upper {
    display: flex;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid #EBEBEB;
    margin-bottom: 24px;

    @media (max-width: 565px) {
      border-bottom: none;
      padding-bottom: initial;
    }
  }

  .header__upper-item {
    display: flex;
    align-items: center;
    gap: 64px;

    .header__upper-item__logo {
      @media (max-width: 565px) {
        width: 70%;
      }
    }
  }

  .header__upper-item__nav {
    display: flex;
    align-items: center;
    gap: 10px;

    @media (max-width: 1199px) {
      display: none;
    }
  }

  .header__upper-item__nav-link {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #4A4A49;
    text-decoration: none;
    cursor: pointer;

    li {
      padding: 0 0.5vw;
      text-align: center;
      font-size: calc((100vw / 250) + 8px);
      font-weight: 600;
      list-style: none;

      @media (min-width: 1920px) {
        font-size: 16px;
      }
    }
  }

  .header__upper-item__city {
    position: relative;
    bottom: 3px;
    cursor: pointer;
  }

  .header__upper-item__city-suptext {
    text-align: right;
    font-size: 12px;
    font-weight: 300;
    line-height: 140%;
    color: #878785;
  }

  .header__upper-item__city-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    text-align: right;
    color: #EA5B0C;
    cursor: pointer;
  }

  .header__down {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;

    @media (max-width: 1200px) {
      gap: 8px;
    }

    .header__down-mobile__menu {
      max-width: 60px;
      width: 100%;
      height: 60px;
      background-color: #EBEBEB;
      display: none;

      @media (max-width: 900px) {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 40px;
        height: 40px;
        margin-left: 4px;
      }

      @media (max-width: 545px) {
        margin-left: initial;
        width: 40px;
      }
    }
  }

  .header__down-item:first-child {
    display: flex;
    gap: 20px;
    width: 100%;

    @media (min-width: 1199px) {
      width: 60%;
    }

    @media (max-width: 1199px) {
      gap: 8px;
    }
  }

  .header__down-item:last-child {
    display: flex;
    gap: 16px;


    @media (min-width: 565px) {
      display: flex !important;
    }

    @media (max-width: 1200px) {
      gap: 4px;
    }
  }

  .header__down-item__catalog {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: #EA5B0C;
    height: 60px;
    padding: 0 2.5vw;
    gap: 10px;
    color: #fff;
    transition: 0.2s;

    @media (max-width: 1199px) {
      padding: 0px;
      width: 60px;
    }

    @media (max-width: 900px) {
      max-width: 40px;
      width: 100%;
      height: 40px;
      padding: initial;
    }

    .header__down-item__catalog-text {
      @media (max-width: 1199px) {
        display: none;
      }
    }
  }

  .header__down-item__catalog:hover {
    background-color: #EA3C0C;
    color: #fff !important;
  }

  .header__down-item__catalog:focus {
    background-color: #292929;
    color: #fff !important;
  }

  .header__down-item__form {
    position: relative;
    display: flex;
    /* width: 90%; */

    @media (max-width: 900px) {
      height: 40px;
    }
  }

  .header__down-item__form-search {
    position: absolute;
    top: 20px;
    left: 20.5px;

    @media (max-width: 900px) {
      left: 12.5px;
      top: 11.5px;
    }
  }

  .header__down-item__form-input {
    width: 90%;
    border: 1px solid #f2f2f2;
    padding-left: 46px !important;

    @media (max-width: 768px) {
      width: 100%;
      padding-left: 40px !important;
    }
  }

  .header__down-item__form-input:focus,
  .header__down-item__form-input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }

  .form-control:focus,
  .form-control:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }

  .header__down-item__form-input::placeholder {
    font-weight: 400;
    font-size: 18px;
    font-family: 'Stolzl';
    font-style: normal;
    line-height: 140%;
    color: #878785;
    position: relative;

    @media (max-width: 1199px) {
      font-size: 14px;
      top: -1px;
    }

    @media (max-width: 565px) {
      font-size: 12px;
      font-weight: 600;
    }
  }

  .header__down-item__form-btn {
    width: 139px;
    height: 60px;
    background: #292929;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;

    @media (max-width: 768px) {
      display: none;
    }

    @media (max-width: 900px) {
      height: 40px;
    }
  }

  .header__down-item__link {
    height: 60px;
    width: 60px;
    background-color: #EBEBEB;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: .2s;

    @media (max-width: 900px) {
      width: 40px;
      height: 40px;
    }
  }

  .header__down-item__link-count {
    position: absolute;
    top: 0;
    right: 0;
    height: 16px;
    width: 16px;
    background-color: #EA5B0C;
    font-size: 11px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.mobile__menu-popup__bg {
  position: fixed;
  top: 120px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 150;

  @media (max-width: 565px) {
    top: 100px;
  }
}

.mobile__menu-popup {
  position: fixed;
  top: 120px;
  right: -100%;
  width: 100%;
  background: #fff;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 151;
  overflow-y: auto;

  @media (max-width: 565px) {
    top: 100px;
  }
}

.mobile__menu-popup__bg.active {
  opacity: 1;
  visibility: visible;
}

.mobile__menu-popup.active {
  right: 0;
  opacity: 1;
  visibility: visible;
}

.mobile__menu-popup__close {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 1px solid #EBEBEB;
  border-bottom: 1px solid #EBEBEB;
}

.mobile__menu-popup__close > p {
  font-weight: 600;
  font-size: 14px;
  line-height: 140%;
  color: #4A4A49;
  position: relative;
  top: 1px;
}

.mobile__menu-popup > .container > ul {
  list-style: none;
}

.mobile__menu-popup > .container > ul > a,
.mobile__menu-popup > .container > ul > p {
  padding-top: 16px;
  padding-bottom: 16px;
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #4A4A49;
}

@media (max-width: 900px) {
  .header__down-item__link > svg {
    width: 55%;
  }

  .header__down-item__form-btn > p {
    font-weight: 600;
    font-size: 14px;
  }
}

@media (max-width: 545px) {
  .header__down-item__link {
    display: none !important;
  }
}

.header__down-item__link-svg {
  transition: .2s;
  @media (max-width: 900px) {
    width: 20px;
    height: 20px;
  }
}

.header__down-item__link:hover {
  background-color: #4A4A49;
}

.header__down-item__link:hover .fill-svg > path {
  fill: #fff;
}

.header__down-item__link:hover .stroke-svg > path {
  stroke: #fff;
}

.header__down-item__link:active {
  background-color: #292929;
}

/** Footer **/
/* .footer {
  background-color: #292929;
  padding: 100px 0;

  .footer__flex {
    display: flex;
    gap: 68px;

    @media(max-width: 1600px) {
      flex-wrap: wrap;
      justify-content: end;
      position: relative;
    }
  }

  .footer__info {
    display: flex;
    gap: 20px;
    padding-right: 68px;
    border-right: 1px solid #878787;

    @media(max-width: 1600px) {
      width: 100%;
      padding-right: 0px;
      border-right: none;
      justify-content: space-between;
    }

    .footer__info-company {
      .footer__info-company__upper-logo {
        margin-bottom: 20px;
      }

      .footer__info-company__upper-text {
        width: 467px;
        font-weight: 400;
        font-size: 12px;
        line-height: 140%;
        color: #4F4F4F;
        margin-bottom: 81px;

        @media(max-width: 1600px) {
          max-width: 467px;
        }
      }

      .footer__info-company__down {
        color: #878785;

        @media(max-width:1600px) {
          position: absolute;
          bottom: 0px;
          width: 37%;
        }

        .footer__info-company__down-title {
          font-weight: 600;
          font-size: 12px;
          line-height: 140%;
          margin-bottom: 6px;
        } */

/* Применяется и к параграфам внутри .footer__info-company__down */
/* font-weight: 300;
        font-size: 12px;
        line-height: 140%; */
/* Если следующий элемент */
/* Добавляем отступ сверху, если не первый */
/* margin-top: 6px; */
/* Если последний */
/* Можно задать ширину для последнего, если нужно */
/* } */

/* .footer__info-company__down-div {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 6px;
      }
    }

    .footer__info-catalog {
      width: 345px;

      .footer__info-catalog__title {
        color: #fff;
        margin-bottom: 20px;
      }

      .footer__info-catalog__link {
        display: block;
        text-decoration: none;
        color: #878785;
        font-weight: 400;
        font-size: 12px;
        line-height: 140%;
        margin-top: 8px;
      }
    }

    .footer__info-other {
      width: 233px;

      @media(max-width: 1600px) {
        text-align: right;
      }

      .footer__info-other__item {
        .footer__info-other__item-title {
          color: #fff;
          margin-bottom: 20px;
        }

        .footer__info-other__item-link {
          display: block;
          text-decoration: none;
          color: #878785;
          font-weight: 400;
          font-size: 12px;
          line-height: 140%;
          margin-top: 8px;
        }

        &:first-child {
          margin-bottom: 40px;
        }
      }
    }
  }

  .footer__contacts {
    width: 220px;
    text-align: right;

    .footer__contacts-title {
      font-weight: 400;
      font-size: 12px;
      line-height: 140%;
      color: #878785;
      margin-bottom: 4px;
    }

    .footer__contacts-number {
      font-weight: 500;
      font-size: 18px;
      line-height: 140%;
      color: #FFF;
      margin-bottom: 4px;
    }

    .footer__contacts-email {
      font-weight: 500;
      font-size: 18px;
      line-height: 140%;
      color: #FFF;
      margin-bottom: 110px;
    }

    .footer__contacts-subnumber {
      font-weight: 400;
      font-size: 12px;
      line-height: 140%;
      color: #FFF;
      margin-bottom: 32px;
    }

    .footer__contacts-links {
      display: flex;
      gap: 16px;
    }

    .footer__contacts-link {
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #212120;
      width: 60px;
      height: 60px;
      cursor: pointer;
    }
  }
} */

.footer {
  background: #292929;
  padding: 4rem 0rem;
  color: #878785;
  font-size: 0.75rem;
  line-height: 1.4;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 0 auto;
}

.footer__brand,
.footer__nav,
.footer__services,
.footer__contacts {
  display: grid;
  gap: 1rem;
  align-content: start;
}

/* .footer__services {
  border-right: 1px solid #4F4F4F;
} */

.footer__contacts {
  text-align: right;
}

.footer__title {
  color: white;
  font-weight: 600;
  margin: 0;
}

.footer__link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer__link:hover {
  opacity: 0.7;
}

.footer__brand {
  grid-column: 1 / -1;
}

.footer__logo {
  max-width: 200px;
  margin-bottom: 1rem;
}

.footer__disclaimer {
  margin-bottom: 2rem;
}

.footer__legal {
  display: grid;
  gap: 0.5rem;
}

.footer__company {
  font-weight: 600;
}

.footer__details {
  display: flex;
  gap: 1rem;
}

.footer__contacts {
  color: white;
}

.footer__number {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0.5rem 0;
}

.footer__mailto {
  font-weight: 500;
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: end;
}

.social-link {
  background: #212120;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

@media (max-width: 1023px) {
  .footer__contacts {
    text-align: initial !important;

    .footer__social {
      justify-content: initial !important;
    }
  }
}

@media (min-width: 768px) {
  .footer__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__contacts {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .footer__container {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
  }

  .footer__contacts {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .footer__details {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer__social {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .footer__container {
  }
}

.mobile__footer-menu {
  display: none;
}

.mobile__footer-menu__item {
  width: 25%;
  text-align: center;
  background-color: #EBEBEB;
}

.mobile__footer-menu__item > p {
  font-weight: 400;
  font-size: 8px;
  line-height: 140%;
  color: #292929;
  margin-bottom: 4px;
}

.mobile__footer-menu__item > svg {
  margin-bottom: 7.5px;
  margin-top: 5px;
}

.favorite-item {
  position: relative;
}

.favorite-badge {
  position: absolute;
  top: 0;
  right: 0; /* всегда от правого края кнопки */
  background: #EA5B0C;
  color: #fff;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  /* .footer {
    margin-bottom: 50px;
  }

  .mobile__footer-menu {
    display: flex !important;
    position: fixed;
    bottom: 0px;
    height: 52px;
    align-items: center;
    background-color: #fff;
    width: 100%;
    gap: 2px;
    justify-content: center;
    z-index: 150;
  } */
  .slick-prev, .slick-next {
    position: inherit !important;
  }

}

/** Временные стили (О нас) **/
.main-about {
  margin-bottom: 120px;
  display: flex;

  .main-about__flex-item__title {
    font-family: 'Stolzlbold';
    font-size: 30px;

    @media (min-width: 1199px) {
      font-size: 40px;
    }

    line-height: 130%;
    color: #4A4A49;
    margin-bottom: 24px;
  }

  .main-about__flex-item__hr {
    margin-bottom: 90px;
    background-color: #ff5200;
  }

  .main-about__flex-item__text {
    font-weight: 200;
    font-size: 18px;
    line-height: 140%;
    color: #4A4A49;
    margin-top: 16px;
  }

  .image {
    img {
      width: 100%;
    }
  }

  /*
    .main-about__flex {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;

      .main-about__flex-item {

      }
    } */
}

/** Модальные окна и всплывающие блоки **/
.question-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.5s all;
  z-index: 400;

  /* Добавьте эти свойства */
  overflow-y: auto; /* Включаем скролл на фоне */
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Меняем с center на flex-start */
  padding: 20px; /* Отступы по краям */

  &.active {
    opacity: 1;
    pointer-events: all;
    transition: 0.5s all;
    z-index: 500;
  }
}

.question {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  background: #fff;
  max-width: 1196px;
  width: 100%;
  max-height: none;
  height: auto;
  margin: 40px auto;
  transition: 0.5s all;

  &.active {
    transform: none; /* Убираем transform */
    transition: 0.5s all;
  }

  .question-wrapper {
    display: flex;
    height: auto;
    min-height: min-content;
  }

  .close-popup {
    cursor: pointer;
    position: absolute;
    top: 21px;
    right: 20px;
    z-index: 501;
  }

  .question-inner {
    flex: 1;
    min-width: 0;
  }

  .question-inner {
    .question-inner__title {
      font-weight: 600;
      font-size: 32px;
      line-height: 130%;
      color: #4A4A49;
      margin-bottom: 16px;
      width: 670px;
    }

    .question-inner__subtitle {
      font-weight: 600;
      font-size: 24px;
      line-height: 140%;
      color: #4A4A49;
      width: 524px;
      margin-bottom: 32px;
    }

    .question-inner__input {
      width: 325px;
      height: 57px;
      border: 1px solid #EBEBEB !important;
      outline: none !important;
      font-weight: 400;
      font-size: 18px;
      line-height: 140%;
      color: #4A4A49;

      &::placeholder {
        font-weight: 400;
        font-size: 18px;
        line-height: 140%;
        color: #878785;
      }
    }

    .question-inner__flex {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      width: 688px;
    }

    .question-inner__textarea {
      max-width: 670px;
      max-height: 118px;
      width: 100%;
      height: 118px !important;
      font-weight: 400;
      font-size: 18px;
      line-height: 140%;
      color: #4A4A49;
      outline: none !important;
      margin-bottom: 74px;
      border: 1px solid #EBEBEB;

      &::placeholder {
        font-weight: 400;
        font-size: 18px;
        line-height: 140%;
        color: #878785;
      }
    }

    > button {
      width: 260px;
      height: 60px;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #EA5B0C;
      font-weight: 600;
      font-size: 18px;
      line-height: 140%;
      color: #FFFFFF;
      text-transform: none;
      outline: none;
      border: none;
    }
  }

  .question-image {
    flex: 0 0 44%;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: cover;
    display: block;
  }
}

.city-popup__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.5s all;
  z-index: 400;

  &.active {
    opacity: 1;
    pointer-events: all;
    transition: 0.5s all;
    z-index: 500;
  }
}

.city-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: #fff;
  max-width: 600px;
  width: 100%;
  max-height: 611px;
  height: 100%;
  padding: 40px;
  transition: 0.5s all;

  &.active {
    transform: translate(-50%, -50%) scale(1);
    transition: 0.5s all;
  }
}

.city-close-popup {
  cursor: pointer;
  position: absolute;
  top: 21px;
  right: 20px;
  z-index: 501;
}

.container {
  max-width: 100% !important;
  /* Установите нужное значение */
}

@media (min-width: 576px) {
  .container {
    max-width: 85% !important;
    /* Установите нужное значение */
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 90% !important;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1440px !important;
  }
}

@media (max-width: 576px) {
  .bx-breadcrumb {
    display: none;
  }
}

.row {
  --bs-gutter-x: 1rem;
}

.container .slick-track {
  margin-left: inherit;
  margin-right: inherit;
}

@media (max-width: 1330px) {
  .question {
    max-width: 1140px;
  }

  .question-image {
    flex: 0 0 45%;
  }
}

@media (max-width: 1199px) {
  .question__mobile-header {
    display: block;
  }

  .question {
    max-width: 840px;

    .question-image {
      max-height: 500px;
      padding: 0 20px 0 0;
    }
  }
}

@media (max-width: 960px) {
  .question {
    max-width: 800px;
  }
}

@media (max-width: 860px) {
  .question {
    max-width: 440px;
  }
}

@media (max-width: 500px) {
  .question {
    max-width: 350px;
  }
}