

/* Start:/local/templates/mkit/components/bitrix/catalog.element/mkit_catalog_element/style.css?177813992040211*/
.breadcrumbs + .product-section {
  margin-top: 30px;
}

.breadcrumbs {
  padding: 40px 0 20px;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
}

.breadcrumbs__sep {
  color: var(--color-gray);
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
}

.breadcrumbs__link {
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  color: var(--color-gray);
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

.breadcrumbs__link:hover {
  color: var(--color-text);
  opacity: 1;
}

.breadcrumbs__current {
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  color: var(--color-gray);
  letter-spacing: -0.3px;
}

.product-section {
  padding: 0 0 100px;
}

.product-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .product-layout {
    display: grid;
    grid-template-columns: minmax(380px, 1fr) minmax(0, 1220px);
    gap: 0 40px;
    align-items: start;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .product-layout {
    gap: 0 20px;
  }
}

/* Figma «Детальная страница товара 1500» (1:5216): левая колонка + 20 + галерея. */
@media (min-width: 1200px) and (max-width: 1599px) {
  .product-layout {
    grid-template-columns: 460px minmax(0, 1fr);
    gap: 0 20px;
  }

  .product-info {
    gap: 42px;
    max-width: 460px;
    width: 100%;
  }

  .product-info__lead {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
  }

  .product-info__title {
    font-size: 40px;
    line-height: 0.9;
    letter-spacing: -0.8px;
  }

  .product-info__desc {
    font-size: 17px;
    line-height: 1.1;
    letter-spacing: -0.5px;
  }

  .product-section .product-price-panel {
    background-color: transparent;
    border-radius: 0;
  }

  .product-section .product-price-panel .product-price__row {
    column-gap: 17px;
  }

  .product-section .product-price-panel .product-price__value {
    font-size: 42px;
    line-height: 0.85;
    letter-spacing: -0.84px;
  }

  .product-section .product-price-panel .product-price__announce {
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
  }

  .product-section .product-cta--panel {
    padding: 20px 40px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .product-gallery {
    position: sticky;
    top: 0;
    align-self: start;
    gap: 20px;
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .product-gallery__main {
    height: 548px;
    max-height: none;
    aspect-ratio: auto;
  }

  .product-gallery__arrow {
    width: 87px;
  }

  .product-gallery__thumb {
    flex: 0 0 220px;
    width: 220px;
    min-width: 0;
    height: 167px;
    aspect-ratio: auto;
    border-width: 3px;
  }

  .product-gallery__thumb--active {
    border-width: 3px;
  }
}

/* Figma «Детальная страница товара» 1920 (1:4956): 600 + 20 + 1220. */
@media (min-width: 1600px) {
  .product-layout {
    grid-template-columns: 600px minmax(0, 1220px);
    gap: 0 20px;
  }
}

@media (min-width: 1200px) {
  .product-gallery__arrow--prev {
    left: 30px;
  }
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 600px;
}

.product-info__lead,
.product-info__title,
.product-info__desc,
.product-price__label,
.product-section .product-price-panel .product-price__value,
.product-section .product-price-panel .product-price__announce {
  margin: 0;
}

@media (min-width: 1600px) {
  .product-info {
    gap: 50px;
    max-width: 600px;
    width: 100%;
  }

  .product-info__lead {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
  }
}

.product-info__title {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--color-text);
}

.product-info__desc {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: var(--color-gray);
}

@media (min-width: 1600px) {
  .product-info__title {
    font-size: 50px;
    line-height: 0.9;
    letter-spacing: -1px;
  }

  .product-info__desc {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.6px;
  }
}

.product-price-panel {
  background-color: #f4f4f4;
  border-radius: 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 1600px) {
  .product-section .product-price-panel {
    background-color: transparent;
    border-radius: 0;
  }
}

.product-price__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gray);
}

/* Две колонки: flex-элементы — обёртки .product-price__col, чтобы не было наложения как у table-cell */
.product-section .product-price-panel .product-price__row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  column-gap: 20px;
  width: 100%;
}

.product-section .product-price-panel .product-price__col--price {
  min-width: 0;
}

.product-section .product-price-panel .product-price__col--announce {
  min-width: 0;
}

.product-section .product-price-panel .product-price__value {
  margin: 0;
  padding: 0;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--color-text);
  white-space: nowrap;
}

@media (min-width: 1600px) {
  .product-section .product-price-panel .product-price__value {
    font-size: 50px;
    line-height: 0.85;
    letter-spacing: -1px;
  }
}

.product-section .product-price-panel .product-price__announce {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.25px;
  color: var(--color-gray);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media (min-width: 1600px) {
  .product-section .product-price-panel .product-price__announce {
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
  }
}

.product-cta--panel {
  width: 100%;
  margin-top: 0;
}

.product-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 20px 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

@media (min-width: 1600px) {
  .product-section .product-cta--panel {
    margin-top: 40px;
    padding: 20px 40px;
    letter-spacing: 0;
    font-size: 14px;
  }
}

.product-cta:hover {
  opacity: 0.85;
  color: var(--color-white);
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(100%, 1220px);
  margin-left: auto;
}

@media (min-width: 1600px) {
  .product-gallery {
    position: sticky;
    top: 0;
    align-self: start;
  }
}

.product-gallery__main {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1220 / 656;
  background-color: #e8e8e8;
  max-height: 656px;
}

@media (min-width: 1600px) {
  .product-gallery__main {
    height: 656px;
    max-height: none;
    aspect-ratio: auto;
  }
}

.product-gallery__main-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
  cursor: zoom-in;
}

.product-gallery__arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 104px;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 80%, rgba(0, 0, 0, 0.5) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  z-index: 2;
  color: #fff;
  padding: 0;
  transition: opacity 0.2s ease;
}

.product-gallery__arrow-icon {
  display: block;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

.product-gallery__arrow:hover {
  opacity: 0.85;
}

.product-gallery__arrow--prev {
  left: 0;
}

.product-gallery__arrow--next {
  right: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.05) 80%, rgba(0, 0, 0, 0.5) 100%);
}

.product-gallery__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.product-gallery__thumb {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 220px;
  position: relative;
  aspect-ratio: 290 / 200;
  overflow: hidden;
  cursor: pointer;
  border: 4px solid transparent;
  transition: border-color 0.2s ease;
  padding: 0;
  background: none;
}

@media (min-width: 1600px) {
  .product-gallery__thumb {
    flex: 0 0 290px;
    width: 290px;
    min-width: 0;
    height: 200px;
    aspect-ratio: auto;
  }
}

.product-gallery__thumb--active {
  border-color: var(--color-primary);
}

.product-gallery__thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
}

.product-gallery__lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-gallery__lightbox[hidden] {
  display: none;
}

.product-gallery__lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.product-gallery__lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  max-height: calc(100vh - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 40px);
  object-fit: contain;
}

.product-gallery__lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.product-gallery__lightbox-nav--prev {
  left: 16px;
}

.product-gallery__lightbox-nav--next {
  right: 16px;
}

.product-gallery__lightbox-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}


.why-section {
  padding: 0 0 80px;
}

.why-section__title {
  font-size: 42px;
  font-weight: 500;
  line-height: 0.9;
  margin: 0 0 24px;
  text-align: left;
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .why-section__title {
    font-size: 50px;
    margin-bottom: 30px;
    padding-left: 480px;
  }
}

@media (min-width: 1600px) {
  .why-section__title {
    font-size: 50px;
    margin-bottom: 30px;
    padding-left: 620px;
  }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  background-color: transparent;
  border-radius: 12px;
  padding: 24px 22px 26px;
  min-height: 300px;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  mask:
    linear-gradient(to right, transparent 20px, black 20px, black calc(100% - 20px), transparent calc(100% - 20px)),
    linear-gradient(to bottom, transparent 20px, black 20px, black calc(100% - 20px), transparent calc(100% - 20px));
  mask-composite: add;
  -webkit-mask:
    linear-gradient(to right, transparent 20px, black 20px, black calc(100% - 20px), transparent calc(100% - 20px)),
    linear-gradient(to bottom, transparent 20px, black 20px, black calc(100% - 20px), transparent calc(100% - 20px));
  -webkit-mask-composite: source-over;
  pointer-events: none;
}

.why-card__media {
  width: 100%;
  max-width: 88px;
  height: 72px;
  flex: 0 0 auto;
  margin-bottom: auto;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.why-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-card__title {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--color-text);
}

.why-card__text {
  margin: 0;
  color: var(--color-gray);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.2;
}

@media (min-width: 1200px) {
  .why-card {
    min-height: 400px;
    border-radius: 30px;
    padding: 20px;
  }

  .why-card::after {
    border-radius: 30px;
  }

  .why-card__text {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.6px;
  }

  .facades-item__name {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.6px;
    margin-top: 10px;
  }

  .facades-item__img-wrap {
    aspect-ratio: 400 / 639;
  }
}

.facades-section {
  padding: 0 0 100px;
}

.facades-section__title {
  font-size: 42px;
  font-weight: 500;
  line-height: 0.9;
  text-align: left;
  margin: 0 0 30px;
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .facades-section__title {
    font-size: 50px;
    padding-left: 480px;
    margin-bottom: 30px;
  }
}

@media (min-width: 1600px) {
  .facades-section__title {
    font-size: 50px;
    padding-left: 620px;
    margin-bottom: 30px;
  }
}

.facades-section__desc {
  color: var(--color-gray);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.4;
  margin: 0;
}

@media (min-width: 1200px) {
  .facades-section__desc {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }
}

.facades-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.facades-section__desc p {
  margin: 0;
}

.facades-desc-grid {
  display: grid;
  /* Текстовые колонки должны совпадать по ширине/позиции с серединой сетки фасадов */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 0;
  margin-bottom: 22px;
}

.facades-desc-grid--top {
  margin-bottom: 26px;
}

.facades-desc-grid--bottom {
  margin-bottom: 18px;
}

/* Раскладка по макету: 1-й текстовый блок под колонки 3-4, 2-й — под 5-6 */
.facades-desc-grid--top > :nth-child(1),
.facades-desc-grid--bottom > :nth-child(1) {
  grid-column: 3 / span 2;
}

.facades-desc-grid--top > :nth-child(2),
.facades-desc-grid--bottom > :nth-child(2) {
  grid-column: 5 / span 2;
}

/* Десктоп: как в Figma — две колонки текста в одном отступе с заголовком (480 / 620). */
@media (min-width: 1200px) and (max-width: 1599px) {
  .facades-desc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    padding-left: 480px;
    margin-bottom: 30px;
  }

  .facades-desc-grid--top > :nth-child(1),
  .facades-desc-grid--top > :nth-child(2),
  .facades-desc-grid--bottom > :nth-child(1),
  .facades-desc-grid--bottom > :nth-child(2) {
    grid-column: auto;
  }
}

@media (min-width: 1600px) {
  .facades-desc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    padding-left: 620px;
    margin-bottom: 30px;
  }

  .facades-desc-grid--top > :nth-child(1),
  .facades-desc-grid--top > :nth-child(2),
  .facades-desc-grid--bottom > :nth-child(1),
  .facades-desc-grid--bottom > :nth-child(2) {
    grid-column: auto;
  }
}

@media (max-width: 1023px) {
  .facades-desc-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 12px;
    margin-bottom: 0;
    padding-left: 0;
  }

  .facades-desc-grid--top > :nth-child(1),
  .facades-desc-grid--top > :nth-child(2),
  .facades-desc-grid--bottom > :nth-child(1),
  .facades-desc-grid--bottom > :nth-child(2) {
    grid-column: auto;
  }
}

.facades-item__img-wrap {
  aspect-ratio: 1 / 1.2;
  overflow: hidden;
  background: #ececec;
}

.facades-item__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facades-item__name {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.15;
  margin-top: 12px;
}

.facades-cta {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 16px 0;
  background: var(--color-primary);
  color: var(--color-white);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 0;
}

.facades-section__desc--bottom {
  margin-top: 0;
  margin-bottom: 18px;
}

/* Слайдер акций (опционально на детальной) */
.promos-section {
  padding: 0 0 56px;
}

.promos-section__title {
  font-size: 42px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -1px;
  text-align: left;
  margin: 0 0 30px;
}

@media (min-width: 1200px) {
  .promos-section__title {
    font-size: 50px;
  }
}

.promos-slider {
  overflow: hidden;
  padding: 0;
}

@media (min-width: 1840px) {
  /* без доп. внутренних отступов: ширина карточек считается от контейнера */
}

.promos-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.promo-card {
  /* На небольших экранах показываем 2 карточки в ряд */
  flex: 0 0 calc((100% - 20px) / 2);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  color: inherit;
  text-decoration: none;
  /* Figma stock: внутренний отступ от рамки (p-[10px]) */
  padding: 10px;
  gap: 20px;
}

@media (min-width: 768px) {
  .promo-card {
    /* На десктопе показываем 3 карточки в ряд */
    flex: 0 0 calc((100% - 40px) / 3);
  }
}

/* Для больших экранов логика сохраняется: 3 карточки в ряд по контейнеру */

.promo-card__img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.promo-card__img-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.promo-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.promo-card:hover .promo-card__img-wrap img {
  transform: scale(1.04);
}

.promo-card__body {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

.promo-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text);
}

@media (min-width: 1024px) {
  .promo-card__title {
    font-size: 20px;
  }
}

.promo-card__desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-gray);
  line-height: 1.4;
}

.promo-card__expiry {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-primary);
  margin-top: auto;
  padding-top: 5px;
}

.promos-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  padding: 0;
}

@media (min-width: 1200px) {
  .promos-section {
    padding-top: 0;
    padding-bottom: 100px;
  }

  .promos-slider {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .promos-nav {
    justify-content: flex-start;
    gap: 20px;
    margin-top: 0;
  }

  .promos-nav__btn {
    width: 60px;
    height: 60px;
    border-width: 2px;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .promos-section__title {
    padding-left: 480px;
    margin-bottom: 30px;
  }

  .promos-nav {
    padding-left: 480px;
  }
}

@media (min-width: 1600px) {
  .promos-section__title {
    padding-left: 620px;
    margin-bottom: 30px;
  }

  .promos-nav {
    padding-left: 620px;
  }
}

.promos-nav__btn {
  width: 42px;
  height: 42px;
  box-sizing: border-box;
  border: 2px solid #010117;
  color: #010117;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.promos-nav__icon {
  display: block;
}

.promos-nav__btn:hover {
  border-color: #010117;
  background-color: #010117;
  color: #fff;
}

/*
 * Финальная фиксация шрифтов цены для 1500.
 * Эти правила стоят ниже базовых, чтобы их не перебивало каскадом.
 */
@media (min-width: 1200px) and (max-width: 1599px) {
  .product-section .product-price-panel {
    gap: 0;
  }

  .product-section .product-price-panel .product-price__label {
    margin-bottom: 8.5px;
  }

  .product-section .product-price-panel .product-price__row {
    margin-bottom: 42px;
  }

  .product-section .product-price-panel .product-price__value {
    font-size: 42px;
    font-weight: 500;
    line-height: 0.85;
    letter-spacing: -0.84px;
  }

  .product-section .product-price-panel .product-price__announce {
    font-size: 11px;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0;
  }
}

@media (max-width: 1023px) {
  .product-gallery {
    max-width: none;
    width: 100%;
    margin-left: 0;
    gap: 14px;
  }

  .product-gallery__main {
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .product-gallery__arrow {
    width: 56px;
  }

  .product-gallery__arrow-icon {
    width: 18px;
    height: 18px;
  }

  .product-gallery__thumbs {
    gap: 14px;
  }

  .product-gallery__thumb {
    flex-basis: calc((100% - 28px) / 3);
    min-width: 140px;
    border-width: 2px;
    aspect-ratio: 4 / 3;
  }

  .product-info__title {
    font-size: 36px;
  }

  .product-section .product-price-panel .product-price__value {
    font-size: 42px;
  }

  .why-section__title,
  .facades-section__title {
    font-size: 42px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .facades-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Figma «Детальная страница товара 900» (1:5471): точная типографика и интервалы. */
@media (min-width: 900px) and (max-width: 1199px) {
  .breadcrumbs {
    padding: 20px 0;
  }

  .breadcrumbs + .product-section {
    margin-top: 100px;
  }

  .product-section {
    padding: 0 0 100px;
  }

  .product-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .product-info {
    gap: 41.765px;
    max-width: none;
    width: 100%;
  }

  .product-info__lead {
    display: flex;
    flex-direction: column;
    gap: 25.059px;
    width: 100%;
  }

  .product-info__title {
    font-size: 40px;
    line-height: 0.9;
    letter-spacing: -0.8px;
  }

  .product-info__desc {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.5012px;
  }

  .product-section .product-price-panel {
    background-color: transparent;
    border-radius: 0;
    gap: 0;
  }

  .product-section .product-price-panel .product-price__label {
    margin-bottom: 8.353px;
    font-size: 17px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
  }

  .product-section .product-price-panel .product-price__row {
    column-gap: 16.706px;
    margin-bottom: 41.765px;
  }

  .product-section .product-price-panel .product-price__value {
    font-size: 41.765px;
    font-weight: 500;
    line-height: 0.85;
    letter-spacing: -0.8353px;
  }

  .product-section .product-price-panel .product-price__announce {
    width: 281px;
    max-width: 100%;
    font-size: 11.694px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
  }

  .product-section .product-cta--panel {
    padding: 16.706px 33.412px;
    font-size: 11.69px;
    line-height: 1;
    letter-spacing: 0;
  }

  .product-gallery {
    position: sticky;
    top: 0;
    align-self: start;
    width: 100%;
    max-width: none;
    margin-left: 0;
    gap: 20px;
  }

  .product-gallery__main {
    height: auto;
    max-height: none;
    aspect-ratio: 820 / 547.9529;
  }

  .product-gallery__arrow {
    width: 86.871px;
  }

  .product-gallery__thumb {
    flex: 0 0 calc((100% - 40px) / 3);
    width: auto;
    min-width: 0;
    height: auto;
    aspect-ratio: 260 / 167;
    border-width: 3px;
  }

  .product-gallery__thumb--active {
    border-width: 3px;
  }

  .why-section {
    padding: 0 0 100px;
  }

  .why-section__title {
    padding-left: 0;
    margin: 0 0 30px;
    text-align: left;
    font-size: 40px;
    line-height: 0.9;
    letter-spacing: -0.8px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-card {
    min-height: 180px;
    border-radius: 30px;
    padding: 20px;
  }

  .why-card::after {
    border-radius: 30px;
  }

  .why-card__title {
    font-size: 25px;
    line-height: 1;
  }

  .why-card__text {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }

  .facades-section {
    padding: 0 0 100px;
  }

  .facades-section__title {
    padding-left: 0;
    margin: 0 0 30px;
    text-align: left;
    font-size: 50px;
    line-height: 0.9;
    letter-spacing: -1px;
  }

  .facades-desc-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 20px;
    margin-bottom: 30px;
    padding-left: 0;
  }

  .facades-desc-grid--top > :nth-child(1),
  .facades-desc-grid--top > :nth-child(2),
  .facades-desc-grid--bottom > :nth-child(1),
  .facades-desc-grid--bottom > :nth-child(2) {
    grid-column: auto;
  }

  .facades-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
  }

  .facades-grid > :nth-child(n + 4) {
    display: none;
  }

  .facades-item__img-wrap {
    aspect-ratio: 400 / 639;
  }

  .facades-item__name {
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.6px;
  }

  .facades-cta {
    min-height: 56px;
    padding: 20px 0;
    font-size: 14px;
    letter-spacing: 0;
  }

  .promos-section {
    padding: 0 0 100px;
  }

  .promos-section__title {
    padding-left: 0;
    margin: 0 0 30px;
    font-size: 50px;
    line-height: 0.9;
    letter-spacing: -1px;
  }

  .promos-track {
    gap: 20px;
    flex-wrap: nowrap;
    flex-direction: column;
    transform: none !important;
    transition: none;
  }

  .promo-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    height: 500px;
    padding: 10px;
    gap: 20px;
  }

  .promo-card__body {
    gap: 20px;
  }

  .promo-card__title {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.6px;
  }

  .promo-card__desc {
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: -0.54px;
  }

  .promo-card__expiry {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.45px;
  }

  .promos-nav {
    justify-content: flex-start;
    gap: 20px;
    margin-top: 20px;
    padding-left: 0;
  }

  .promos-nav {
    display: none;
  }

  .promos-slider {
    overflow: visible;
  }

  .promos-nav__btn {
    width: 60px;
    height: 60px;
  }
}

/* Figma «Детальная страница товара 600» (1:5708): точная типографика и интервалы. */
@media (min-width: 600px) and (max-width: 899px) {
  .breadcrumbs {
    padding: 20px 0;
  }

  .breadcrumbs + .product-section {
    margin-top: 50px;
  }

  .product-section {
    padding: 0 0 100px;
  }

  .product-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .product-info {
    gap: 41.765px;
    max-width: none;
    width: 100%;
  }

  .product-info__lead {
    display: flex;
    flex-direction: column;
    gap: 25.059px;
    width: 100%;
  }

  .product-info__title {
    font-size: 40px;
    line-height: 0.9;
    letter-spacing: -0.8px;
  }

  .product-info__desc {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }

  .product-section .product-price-panel {
    background-color: transparent;
    border-radius: 0;
    gap: 0;
  }

  .product-section .product-price-panel .product-price__label {
    margin-bottom: 8.353px;
    font-size: 17px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
  }

  .product-section .product-price-panel .product-price__row {
    column-gap: 16.706px;
    margin-bottom: 41.765px;
  }

  .product-section .product-price-panel .product-price__value {
    font-size: 40px;
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.8px;
  }

  .product-section .product-price-panel .product-price__announce {
    font-size: 13px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
  }

  .product-section .product-cta--panel {
    padding: 16.706px 33.412px;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
  }

  .product-gallery {
    position: sticky;
    top: 0;
    align-self: start;
    width: 100%;
    max-width: none;
    margin-left: 0;
    gap: 20px;
  }

  .product-gallery__main {
    height: auto;
    max-height: none;
    aspect-ratio: 820 / 547.9529;
  }

  .product-gallery__arrow {
    width: 86.871px;
  }

  .product-gallery__arrow-icon {
    width: 20px;
    height: 20px;
  }

  .product-gallery__thumb {
    flex: 0 0 calc((100% - 40px) / 3);
    width: auto;
    min-width: 0;
    height: auto;
    aspect-ratio: 260 / 167;
    border-width: 3px;
  }

  .product-gallery__thumb--active {
    border-width: 3px;
  }

  .why-section {
    padding: 0 0 100px;
  }

  .why-section__title {
    padding-left: 0;
    margin: 0 0 30px;
    text-align: left;
    font-size: 40px;
    line-height: 0.9;
    letter-spacing: -0.8px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-card {
    min-height: 210px;
    border-radius: 30px;
    padding: 20px;
  }

  .why-card::after {
    border-radius: 30px;
  }

  .why-card__title {
    font-size: 25px;
    line-height: 1;
  }

  .why-card__text {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }

  .facades-section {
    padding: 0 0 100px;
  }

  .facades-section__title {
    padding-left: 0;
    margin: 0 0 30px;
    text-align: left;
    font-size: 40px;
    line-height: 0.9;
    letter-spacing: -0.8px;
  }

  .facades-section__desc,
  .facades-section__desc p {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }

  .facades-desc-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 20px;
    margin-bottom: 30px;
    padding-left: 0;
  }

  .facades-desc-grid--top > :nth-child(1),
  .facades-desc-grid--top > :nth-child(2),
  .facades-desc-grid--bottom > :nth-child(1),
  .facades-desc-grid--bottom > :nth-child(2) {
    grid-column: auto;
  }

  .facades-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
  }

  .facades-grid > :nth-child(n + 4) {
    display: none;
  }

  .facades-item__img-wrap {
    aspect-ratio: 400 / 639;
  }

  .facades-item__name {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }

  .facades-cta {
    min-height: 56px;
    padding: 20px 40px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .promos-section {
    padding: 0 0 100px;
  }

  .promos-section__title {
    padding-left: 0;
    margin: 0 0 30px;
    font-size: 40px;
    line-height: 0.9;
    letter-spacing: -0.8px;
  }

  .promos-track {
    gap: 20px;
    flex-wrap: nowrap;
    flex-direction: column;
    transform: none !important;
    transition: none;
  }

  .promo-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    height: 500px;
    padding: 10px;
    gap: 20px;
  }

  .promo-card__body {
    gap: 20px;
  }

  .promo-card__title {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .promo-card__desc {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }

  .promo-card__expiry {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }

  .promos-nav {
    display: none;
  }

  .promos-slider {
    overflow: visible;
  }
}

/* Unified gallery arrows style (match stocks-detail gallery) */
.product-gallery__arrow {
  border: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.product-gallery__arrow-icon {
  display: none;
}

.product-gallery__arrow--prev {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.product-gallery__arrow--next {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.product-gallery__arrow::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.product-gallery__arrow--prev::before {
  transform: rotate(-135deg);
}

.product-gallery__arrow--next::before {
  transform: rotate(45deg);
}

/* Figma «Детальная страница товара 375» (1:9985): точные размеры и количество карточек. */
@media (max-width: 599px) {
  .breadcrumbs {
    padding: 20px 0;
  }

  .breadcrumbs + .product-section {
    margin-top: 50px;
  }

  .product-section {
    padding: 0 0 70px;
  }

  .product-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .product-info {
    gap: 41.765px;
    max-width: none;
    width: 100%;
  }

  .product-info__lead {
    display: flex;
    flex-direction: column;
    gap: 25.059px;
    width: 100%;
  }

  .product-info__title {
    font-size: 32px;
    line-height: 0.9;
    letter-spacing: -0.64px;
  }

  .product-info__desc {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }

  .product-section .product-price-panel {
    background-color: transparent;
    border-radius: 0;
    gap: 0;
  }

  .product-section .product-price-panel .product-price__label {
    margin-bottom: 8.353px;
    font-size: 17px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
  }

  .product-section .product-price-panel .product-price__row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 41.765px;
  }

  .product-section .product-price-panel .product-price__value {
    font-size: 32px;
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.64px;
    white-space: nowrap;
  }

  .product-section .product-price-panel .product-price__announce {
    width: 100%;
    font-size: 13px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
  }

  .product-section .product-cta--panel {
    padding: 20px 40px;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
  }

  .product-gallery {
    width: 100%;
    max-width: none;
    margin-left: 0;
    gap: 20px;
  }

  .product-gallery__main {
    height: auto;
    max-height: none;
    aspect-ratio: 820 / 547.9529;
  }

  .product-gallery__arrow {
    width: 43.435px;
  }

  .product-gallery__arrow-icon {
    width: 16px;
    height: 16px;
  }

  .product-gallery__thumbs {
    gap: 20px;
  }

  .product-gallery__thumb {
    flex: 0 0 calc((100% - 20px) / 2);
    width: auto;
    min-width: 0;
    height: auto;
    aspect-ratio: 260 / 167;
    border-width: 3px;
  }

  .product-gallery__thumb--active {
    border-width: 3px;
  }

  .product-gallery__thumb:nth-child(n + 3) {
    display: none;
  }

  .why-section {
    padding: 0 0 70px;
  }

  .why-section__title {
    padding-left: 0;
    margin: 0 0 30px;
    text-align: left;
    font-size: 40px;
    line-height: 0.9;
    letter-spacing: -0.8px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-card {
    min-height: 240px;
    border-radius: 30px;
    padding: 20px;
  }

  .why-card::after {
    border-radius: 30px;
  }

  .why-card__title {
    font-size: 22px;
    line-height: 1;
  }

  .why-card__text {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }

  .facades-section {
    padding: 0 0 70px;
  }

  .facades-section__title {
    padding-left: 0;
    margin: 0 0 30px;
    text-align: left;
    font-size: 40px;
    line-height: 0.9;
    letter-spacing: -0.8px;
  }

  .facades-section__desc,
  .facades-section__desc p {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }

  .facades-desc-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 20px;
    margin-bottom: 30px;
    padding-left: 0;
  }

  .facades-desc-grid--top > :nth-child(1),
  .facades-desc-grid--top > :nth-child(2),
  .facades-desc-grid--bottom > :nth-child(1),
  .facades-desc-grid--bottom > :nth-child(2) {
    grid-column: auto;
  }

  .facades-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
  }

  .facades-grid > :nth-child(n + 3) {
    display: none;
  }

  .facades-item__img-wrap {
    aspect-ratio: 400 / 639;
  }

  .facades-item__name {
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.6px;
  }

  .facades-cta {
    min-height: 56px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .promos-section {
    padding: 0 0 70px;
  }

  .promos-section__title {
    padding-left: 0;
    margin: 0 0 30px;
    font-size: 40px;
    line-height: 0.9;
    letter-spacing: -0.8px;
  }

  .promos-track {
    gap: 20px;
    flex-wrap: nowrap;
    flex-direction: column;
    transform: none !important;
    transition: none;
  }

  .promo-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 335px;
    height: 500px;
    padding: 10px;
    gap: 20px;
  }

  .promo-card__body {
    gap: 20px;
  }

  .promo-card__title {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.6px;
  }

  .promo-card__desc {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }

  .promo-card__expiry {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }

  .promos-nav {
    display: none;
  }

  .promos-slider {
    overflow: visible;
  }
}

/* End */
/* /local/templates/mkit/components/bitrix/catalog.element/mkit_catalog_element/style.css?177813992040211 */
