

/* Start:/local/templates/mkit/components/bitrix/catalog.element/mkit_project_element/style.css?177813993631845*/
.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: 40px 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;
  }
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 600px;
}

.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);
}

.product-price-panel {
  background-color: #f4f4f4;
  border-radius: 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-price__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gray);
}

.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;
}

.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;
}

.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;
}

.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;
}

.product-gallery__main {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1220 / 656;
  background-color: #e8e8e8;
  max-height: 656px;
}

.product-gallery__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  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;
  font-size: 40px;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.product-gallery__arrow:hover {
  opacity: 0.85;
}

.product-gallery__arrow--prev {
  left: 0;
}

.product-gallery__arrow--next {
  right: 0;
}

.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;
  aspect-ratio: 290 / 200;
  overflow: hidden;
  cursor: pointer;
  border: 4px solid transparent;
  transition: border-color 0.2s ease;
  padding: 0;
  background: none;
}

.product-gallery__thumb--active {
  border-color: var(--color-primary);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.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: 60px;
  font-weight: 500;
  line-height: 0.9;
  margin: 0 0 32px;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.why-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  background-color: #fff;
  border-radius: 12px;
  padding: 24px 22px 26px;
  min-height: 300px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.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: 20px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--color-text);
}

.why-card__text {
  margin: 0;
  color: var(--color-gray);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
}

.facades-section {
  padding: 0 0 100px;
}

.facades-section__title {
  font-size: 60px;
  font-weight: 500;
  line-height: 0.9;
  text-align: center;
  margin: 24px 0 60px 580px;
}

.facades-section__desc {
  color: var(--color-gray);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
  margin: 0;
}

.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;
}

.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;
}

@media (max-width: 1023px) {
  .facades-desc-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 12px;
    margin-bottom: 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: 56px 0;
}

.promos-section__title {
  font-size: 60px;
  font-weight: 500;
  line-height: 0.9;
  text-align: center;
  margin: 24px 420px 60px 0;
}

@media (max-width: 1023px) {
  .promos-section__title {
    font-size: 42px;
  }
}

.promos-slider {
  overflow: hidden;
  padding: 0;
}

.promos-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.promo-card {
  flex: 0 0 calc((100% - 20px) / 2);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .promo-card {
    flex: 0 0 calc((100% - 40px) / 3);
  }
}

.promo-card__img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.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: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.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;
}

.promos-nav__btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  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;
}

.promos-nav__btn:hover {
  border-color: var(--color-text);
  background-color: var(--color-text);
}

.promos-nav__btn:hover svg path {
  stroke: #fff;
}

@media (min-width: 1600px) {
  .product-layout {
    display: grid;
    grid-template-columns: 600px 1220px;
    gap: 20px;
    align-items: start;
  }

  .product-info {
    max-width: 600px;
    gap: 50px;
  }

  .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: transparent;
    border-radius: 0;
    gap: 10px;
  }

  .product-price__label {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .product-section .product-price-panel .product-price__row {
    column-gap: 20px;
  }

  .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 {
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0;
  }

  .product-cta {
    min-height: 54px;
    padding: 20px 40px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .product-gallery {
    width: 1220px;
    gap: 24px;
    margin-left: 0;
  }

  .product-gallery__main {
    height: 656px;
    max-height: none;
    aspect-ratio: auto;
  }

  .product-gallery__thumb {
    flex: 0 0 290px;
    min-width: 290px;
    height: 200px;
    aspect-ratio: auto;
  }

  .facades-section__title {
    font-size: 50px;
    line-height: 0.9;
    letter-spacing: -1px;
  }

  .facades-section__desc {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.6px;
  }

  .facades-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
  }

  .facades-item__img-wrap {
    aspect-ratio: 290 / 217.5;
  }

  .facades-item__name {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.6px;
    margin-top: 10px;
  }

  .facades-cta {
    min-height: 54px;
    font-size: 14px;
    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;
    font-size: 26px;
  }

  .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));
  }
}

.facades-section {
  padding: 0 0 70px;
}

.facades-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.facades-item__img-wrap {
  aspect-ratio: 1 / 0.76;
}

.facades-item__name {
  margin-top: 8px;
  font-size: 14px;
}

.facades-cta {
  min-height: 50px;
  padding: 14px 0;
}

.facades-section + .calc-section {
  padding: 0 0 100px;
}

@media (max-width: 1023px) {
  .facades-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Facades (UF_TEXT_TOP / UF_TEXT_TOP_RIGHT) - figma layout */
.facades-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.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--top > :nth-child(1) {
  grid-column: 3 / span 2;
}

.facades-desc-grid--top > :nth-child(2) {
  grid-column: 5 / span 2;
}

.facades-item__img-wrap {
  aspect-ratio: 1 / 1.2;
  overflow: hidden;
  background: #ececec;
}

.facades-section__desc p {
  margin: 0;
}

@media (max-width: 1023px) {
  .facades-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 30px;
  }

  .facades-desc-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 12px;
    margin-bottom: 0;
  }

  .facades-desc-grid--top > :nth-child(1),
  .facades-desc-grid--top > :nth-child(2) {
    grid-column: auto;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .product-layout {
    grid-template-columns: minmax(420px, 460px) minmax(0, 1fr);
    gap: 20px;
  }

  .product-info {
    max-width: 460px;
    gap: 42px;
  }

  .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.5px;
  }

  .product-price-panel {
    background: transparent;
    border-radius: 0;
    gap: 8px;
  }

  /* Distance from price row to CTA button (figma) */
  .product-price-panel .product-cta--panel {
    margin-top: 42px;
  }

  .product-price__label {
    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: 16px;
  }

  .product-section .product-price-panel .product-price__value {
    font-size: 42px;
    line-height: 0.85;
    letter-spacing: -0.8px;
  }

  .product-section .product-price-panel .product-price__announce {
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0;
  }

  .product-price-panel .product-cta--panel {
    margin-top: 42px;
  }

  .product-cta {
    min-height: 50px;
    padding: 16px 32px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .product-gallery {
    width: 100%;
    max-width: 940px;
    gap: 20px;
  }

  .product-gallery__main {
    height: auto;
    max-height: none;
    aspect-ratio: 940 / 548;
  }

  .product-gallery__arrow {
    width: 87px;
    font-size: 0;
    color: transparent;
  }

  .product-gallery__arrow::before {
    content: "";
    width: 16px;
    height: 16px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    display: block;
  }

  .product-gallery__arrow--prev {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.05) 100%);
  }

  .product-gallery__arrow--prev::before {
    transform: rotate(-135deg);
  }

  .product-gallery__arrow--next {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.05) 100%);
  }

  .product-gallery__arrow--next::before {
    transform: rotate(45deg);
  }

  .product-gallery__thumb {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    height: auto;
    aspect-ratio: 220 / 167;
  }

  .facades-section__title {
    margin: 0 0 50px 480px;
    text-align: left;
  }

  .facades-grid {
    gap: 20px;
    margin-bottom: 30px;
  }

  .facades-item__img-wrap {
    aspect-ratio: auto !important;
    overflow: visible;
    background: transparent;
  }

  .facades-item__img-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .facades-item__name {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.6px;
  }

  .facades-cta {
    min-height: 50px;
    font-size: 14px;
    letter-spacing: 0;
  }
}

/* Final desktop overrides for project detail (figma-aligned) */
@media (min-width: 1600px) {
  /* 1) Distance between price block and CTA */
  .product-price-panel .product-cta--panel {
    margin-top: 42px;
  }

  /* 2) Gallery arrows visual style */
  .product-gallery__arrow {
    font-size: 0;
    color: transparent;
  }

  .product-gallery__arrow::before {
    content: "";
    width: 18px;
    height: 18px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    display: block;
  }

  .product-gallery__arrow--prev {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.05) 100%);
  }

  .product-gallery__arrow--prev::before {
    transform: rotate(-135deg);
  }

  .product-gallery__arrow--next {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.05) 100%);
  }

  .product-gallery__arrow--next::before {
    transform: rotate(45deg);
  }

  /* 3) Left offset for facades title */
  .facades-section__title {
    margin: 0 0 50px 620px;
    text-align: left;
  }

  /* 4) Do not crop facade images on desktop */
  .facades-item__img-wrap {
    aspect-ratio: auto !important;
    overflow: visible;
    background: transparent;
  }

  .facades-item__img-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* Final 900px breakpoint overrides for project detail (figma 1:5646) */
@media (min-width: 900px) and (max-width: 1199px) {
  .product-section {
    padding: 40px 0 100px;
  }

  .product-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .product-info {
    max-width: none;
    gap: 30px;
  }

  .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.5px;
  }

  .product-price-panel {
    background: transparent;
    border-radius: 0;
    gap: 8px;
  }

  .product-price__label {
    font-size: 17px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
  }

  .product-section .product-price-panel .product-price__row {
    grid-template-columns: max-content minmax(0, 281px);
    column-gap: 16px;
    justify-content: flex-start;
    align-items: start;
  }

  .product-section .product-price-panel .product-price__col--announce {
    max-width: 281px;
  }

  .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: 11px;
    line-height: 1;
    letter-spacing: 0;
    max-width: 281px;
    white-space: normal;
  }

  .product-section .product-price-panel .product-cta--panel {
    margin-top: 42px;
  }

  .product-cta {
    min-height: 50px;
    padding: 16px 34px;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
  }

  .product-gallery {
    width: 100%;
    max-width: none;
    gap: 20px;
    margin-left: 0;
  }

  .product-gallery__main {
    aspect-ratio: 820 / 548;
  }

  .product-gallery__arrow {
    width: 87px;
    font-size: 0;
    color: transparent;
  }

  .product-gallery__arrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    display: block;
  }

  .product-gallery__arrow--prev {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.05) 100%);
  }

  .product-gallery__arrow--prev::before {
    transform: rotate(-135deg);
  }

  .product-gallery__arrow--next {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.05) 100%);
  }

  .product-gallery__arrow--next::before {
    transform: rotate(45deg);
  }

  .product-gallery__thumbs {
    gap: 20px;
    overflow: hidden;
  }

  .product-gallery__thumb {
    flex: 1 1 0;
    min-width: 0;
    border-width: 3px;
    aspect-ratio: 260 / 167;
  }

  .facades-section {
    padding: 0 0 100px;
  }

  .facades-section__title {
    margin: 0 0 50px;
    text-align: left;
    font-size: 50px;
    line-height: 0.9;
    letter-spacing: -1px;
  }

  .facades-desc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 0;
    margin-bottom: 20px;
  }

  .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-section__desc {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.6px;
  }

  .facades-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
  }

  /* Show only first 3 facade cards on 900px breakpoint */
  .facades-grid .facades-item:nth-child(n + 4) {
    display: none;
  }

  .facades-item__img-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ececec;
  }

  .facades-item__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .facades-item__name {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.54px;
  }

  .facades-cta {
    min-height: 58px;
    padding: 20px 40px;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
  }
}

/* Final 600px breakpoint overrides for project detail (figma 1:5882) */
@media (min-width: 600px) and (max-width: 899px) {
  .product-price__label {
    font-size: 17px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
  }

  .product-section .product-price-panel .product-price__row {
    grid-template-columns: max-content minmax(0, 320px);
    column-gap: 16px;
    justify-content: flex-start;
  }

  .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 .product-price__value {
    font-size: 40px;
    line-height: 0.85;
    letter-spacing: -1px;
  }

  .product-section .product-price-panel .product-price__announce {
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0;
    max-width: 320px;
    white-space: normal;
  }

  .product-section .product-price-panel .product-price__col--announce {
    max-width: 320px;
  }

  .product-section .product-price-panel .product-cta--panel {
    margin-top: 42px;
  }

  /* Main gallery proportions for 600px */
  .product-gallery__main {
    aspect-ratio: 820 / 548;
  }

  .product-gallery__thumb {
    flex-basis: calc((100% - 28px) / 3);
    min-width: 0;
    border-width: 3px;
    aspect-ratio: 260 / 167;
  }

  .facades-section__title {
    margin: 0 0 40px;
    text-align: left;
    font-size: 40px;
    line-height: 0.9;
    letter-spacing: -0.8px;
  }

  .facades-section__desc {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }

  .facades-desc-grid {
    margin-bottom: 30px;
  }

  /* Show only first 2 facade cards on 600px breakpoint */
  .facades-grid .facades-item:nth-child(n + 3) {
    display: none;
  }

  .facades-grid {
    gap: 20px;
  }

  .facades-item__img-wrap {
    aspect-ratio: auto !important;
    overflow: hidden;
    background: transparent;
  }

  .facades-item__img-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .facades-item__name {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.48px;
    margin-top: 8px;
  }
}

/* Final 375px breakpoint overrides for project detail (figma 1:10147) */
@media (max-width: 599px) {
  .product-section {
    padding: 20px 0 70px;
  }

  .product-layout {
    gap: 20px;
  }

  .product-info {
    gap: 30px;
  }

  .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-price__label {
    font-size: 17px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
  }

  .product-section .product-price-panel .product-price__row {
    grid-template-columns: 1fr;
    row-gap: 10px;
    column-gap: 0;
  }

  .product-section .product-price-panel .product-price__value {
    font-size: 32px;
    line-height: 0.9;
    letter-spacing: -0.64px;
    white-space: nowrap;
  }

  .product-section .product-price-panel .product-price__col--announce,
  .product-section .product-price-panel .product-price__announce {
    max-width: none;
    width: 100%;
  }

  .product-section .product-price-panel .product-price__announce {
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0;
    white-space: normal;
  }

  .product-section .product-price-panel .product-cta--panel {
    margin-top: 42px;
  }

  .product-cta {
    min-height: 50px;
    padding: 20px 40px;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
  }

  .product-gallery {
    gap: 20px;
  }

  .product-gallery__main {
    aspect-ratio: 820 / 548;
  }

  .product-gallery__arrow {
    width: 44px;
    font-size: 0;
    color: transparent;
  }

  .product-gallery__arrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    display: block;
  }

  .product-gallery__arrow--prev {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.05) 100%);
  }

  .product-gallery__arrow--prev::before {
    transform: rotate(-135deg);
  }

  .product-gallery__arrow--next {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.05) 100%);
  }

  .product-gallery__arrow--next::before {
    transform: rotate(45deg);
  }

  .product-gallery__thumbs {
    gap: 20px;
  }

  .product-gallery__thumb {
    flex: 0 0 calc((100% - 20px) / 2);
    min-width: 0;
    border-width: 3px;
    aspect-ratio: 260 / 167;
  }

  .product-gallery__thumb:nth-child(n + 3) {
    display: none;
  }

  .facades-section {
    padding: 0 0 70px;
  }

  .facades-section__title {
    margin: 0 0 30px;
    text-align: left;
    font-size: 32px;
    line-height: 0.9;
    letter-spacing: -0.64px;
  }

  .facades-desc-grid {
    margin-bottom: 20px;
  }

  .facades-section__desc {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }

  .facades-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 30px;
  }

  .facades-grid .facades-item:nth-child(n + 3) {
    display: none;
  }

  .facades-item__img-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ececec;
  }

  .facades-item__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .facades-item__name {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }

  .facades-cta {
    min-height: 50px;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
  }
}

/* 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--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);
}

/* End */


/* Start:/local/components/mkit/calc.project/templates/.default/style.css?178160536421174*/
.calc-section {
  padding: 0 0 100px;
}

.calc-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  max-width: var(--narrow-content-width, 740px);
  margin-left: auto;
  margin-right: auto;
}

.calc-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.calc-info__title {
  font-size: 32px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -1px;
  max-width: 740px;
  text-align: center;
}

@media (min-width: 1024px) {
  .calc-info__title {
    font-size: 50px;
  }

  .calc-info__text {
    font-size: 20px;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .calc-grid {
    max-width: 100%;
    gap: 30px;
    align-items: flex-start;
  }

  .calc-info {
    align-items: flex-start;
    text-align: left;
  }

  .calc-info__title,
  .calc-info__text,
  .form {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .calc-info__title {
    text-align: left;
  }

  .calc-info__text {
    width: 100%;
    text-align: left;
  }

  .calc-info__title {
    font-size: 50px;
  }

  .form {
    gap: 40px;
  }

  .form__group--select .form__select:invalid {
    color: var(--color-text);
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .calc-grid {
    max-width: 100%;
    align-items: flex-start;
  }

  .calc-info {
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .calc-info__title {
    font-size: 40px;
    line-height: 0.9;
    letter-spacing: -2px;
    max-width: 100%;
    text-align: left;
  }

  .calc-info__text {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.48px;
    max-width: 100%;
    text-align: left;
  }

  .form {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    gap: 40px;
  }

  .form__input,
  .form__select,
  .form__custom-select-toggle {
    font-size: 16px;
    letter-spacing: -0.48px;
  }

  .form__consent-text {
    font-size: 16px;
  }

  .form__group--select .form__select:invalid {
    color: var(--color-text);
  }

  .form__submit {
    width: 100%;
    align-self: stretch;
  }
}

@media (max-width: 599px) {
  .calc-section {
    padding: 0 0 30px;
  }

  .calc-info__title {
    font-size: 32px;
    line-height: 0.9;
    letter-spacing: -0.64px;
  }

  .calc-info__text {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.48px;
  }

  .form__input,
  .form__select,
  .form__custom-select-toggle {
    font-size: 16px;
    letter-spacing: -0.48px;
  }

  .form__consent-text {
    font-size: 16px;
  }
}

.calc-info__text {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-gray);
  line-height: 1.1;
  letter-spacing: -0.6px;
  max-width: 740px;
  text-align: center;
}

.calc-form {
  width: 100%;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 740px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.form__group {
  display: flex;
  flex-direction: column;
}

.form__group--select {
  position: relative;
}

.form__input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-text);
  background: none;
  padding: 10px 0;
  font-size: 20px;
  font-family: inherit;
  font-weight: 300;
  color: var(--color-text);
  outline: none;
  letter-spacing: -0.6px;
}

.form__input::placeholder {
  color: var(--color-gray);
  font-weight: 300;
}

.form__select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-text);
  background: none;
  padding: 10px 30px 10px 0;
  font-size: 20px;
  font-family: inherit;
  font-weight: 300;
  color: var(--color-text);
  letter-spacing: -0.6px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.8012 5.73734C13.0663 6.00243 13.0662 6.43228 12.8012 6.69745L8.48006 11.0186C8.2149 11.2838 7.7851 11.2838 7.51994 11.0186L3.19877 6.69746C2.93381 6.43228 2.93368 6.00243 3.19877 5.73734C3.46386 5.47225 3.89371 5.47239 4.15888 5.73734L8 9.57846L11.8411 5.73734C12.1063 5.47239 12.5361 5.47225 12.8012 5.73734Z' fill='%23010117'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.form__select:invalid {
  color: var(--color-gray);
}

/* Placeholder "Представительство" should be black on all pages */
.form__group--select .form__select:invalid {
  color: var(--color-text) !important;
}

.form__select option {
  color: var(--color-text);
}

.form__select--native {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.form__custom-select {
  position: relative;
  width: 100%;
}

.form__custom-select-toggle {
  position: relative;
  width: 100%;
  min-height: 49px;
  border: 0;
  border-bottom: 1px solid var(--color-text);
  background: transparent;
  padding: 10px 34px 10px 0;
  color: var(--color-text);
  font-family: inherit;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.6px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.form__custom-select-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.8012 5.73734C13.0663 6.00243 13.0662 6.43228 12.8012 6.69745L8.48006 11.0186C8.2149 11.2838 7.7851 11.2838 7.51994 11.0186L3.19877 6.69746C2.93381 6.43228 2.93368 6.00243 3.19877 5.73734C3.46386 5.47225 3.89371 5.47239 4.15888 5.73734L8 9.57846L11.8411 5.73734C12.1063 5.47239 12.5361 5.47225 12.8012 5.73734Z' fill='%23010117'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.form__custom-select.is-open .form__custom-select-toggle::after {
  transform: translateY(-50%) rotate(180deg);
}

.form__custom-select:not(.has-value) .form__custom-select-value {
  color: var(--color-text);
}

.form__custom-select-value {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form__custom-select-toggle:focus-visible {
  outline: 2px solid rgba(212, 32, 113, 0.25);
  outline-offset: 4px;
}

.form__custom-select.is-invalid .form__custom-select-toggle {
  border-bottom-color: var(--color-primary);
}

.form__custom-select-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  max-height: 260px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(1, 1, 23, 0.14);
  padding: 6px;
}

.form__custom-select.is-open .form__custom-select-list {
  display: block;
}

.form__custom-select-option {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 12px 14px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.form__custom-select-option:hover,
.form__custom-select-option:focus-visible {
  outline: none;
  background: #f6f6f8;
}

.form__custom-select-option.is-selected {
  background: rgba(212, 32, 113, 0.08);
  color: var(--color-primary);
}

.form__file {
  position: relative;
  border: 0;
  --calc-file-dash-color: var(--color-text);
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  background: transparent;
  transition: box-shadow 0.2s ease;
}

.form__file::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, var(--calc-file-dash-color) 0 8px, transparent 8px 20px),
    repeating-linear-gradient(90deg, var(--calc-file-dash-color) 0 8px, transparent 8px 20px),
    repeating-linear-gradient(0deg, var(--calc-file-dash-color) 0 8px, transparent 8px 20px),
    repeating-linear-gradient(0deg, var(--calc-file-dash-color) 0 8px, transparent 8px 20px);
  background-size: 100% 1px, 100% 1px, 1px 100%, 1px 100%;
  background-position: top left, bottom left, top left, top right;
  background-repeat: no-repeat;
}

.form__file.is-dragover {
  --calc-file-dash-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(212, 32, 113, 0.12);
}

.form__file-hint {
  font-size: 17px;
  font-weight: 300;
  line-height: 1;
  color: var(--color-gray);
  text-align: center;
}

.form__file-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.form__file-btn:hover {
  opacity: 0.8;
}

.form__file-input {
  display: none;
}

.form__file-status {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  padding: 9px 12px;
  border: 1px solid #dedee4;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.form__file-status.is-selected {
  border-color: var(--color-primary);
}

.form__file-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form__file-remove {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 599px) {
  .form__file {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form__checkbox-wrapper {
  padding-top: 5px;
}

.form__checkbox {
  width: 20px;
  height: 20px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form__checkbox:checked {
  border-color: var(--color-border);
  background-color: var(--color-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 13 13'%3E%3Crect x='0.5' y='0.5' width='12' height='12' rx='3' fill='%23D42071'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 13px;
}

.form__consent-text {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.6px;
}

@media (min-width: 1024px) {
  .form__consent-text {
    font-size: 20px;
  }
}

.form__submit {
  width: 100%;
  padding: 20px 40px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .form__submit {
    width: 288px;
    align-self: center;
  }
}

@media (min-width: 1200px) {
  .calc-grid {
    display: grid;
    grid-template-columns: minmax(0, 600px) minmax(0, 910px);
    column-gap: 20px;
    row-gap: 30px;
    align-items: start;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .calc-info,
  .calc-form {
    grid-column: 2;
  }

  .calc-info {
    gap: 30px;
    align-items: flex-start;
    text-align: left;
  }

  .calc-info__title,
  .calc-info__text,
  .form {
    max-width: 910px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .form {
    gap: 40px;
  }

  .form__submit {
    align-self: flex-start;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .calc-grid {
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  }

  .calc-info__title,
  .calc-info__text,
  .form {
    max-width: 940px;
  }
}

/* Popup drawer layout: ignore page-level calc grid columns */
.feedback-drawer .calc-section {
  padding: 0 !important;
}

.feedback-drawer .calc-grid {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 40px !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.feedback-drawer .calc-info,
.feedback-drawer .calc-form {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  grid-column: auto !important;
}

.feedback-drawer .calc-info {
  align-items: flex-start !important;
  text-align: left !important;
  gap: 30px !important;
}

.feedback-drawer .calc-info__title,
.feedback-drawer .calc-info__text,
.feedback-drawer .calc-form .form {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

.feedback-drawer .calc-info__text {
  display: none !important;
}

.feedback-drawer .form__submit {
  width: 100% !important;
  align-self: stretch !important;
}

.feedback-drawer .form__custom-select-list {
  max-height: min(260px, 42vh);
}

@media (max-width: 767px) {
  .feedback-drawer .calc-grid {
    gap: 30px !important;
  }

  .feedback-drawer .form__custom-select-list {
    max-height: min(240px, 38vh);
  }
}

.form__submit:hover {
  opacity: 0.85;
}

/* Late override for 900px breakpoint:
   base rules later in file limit width of calc-info__text to 740px */
@media (min-width: 900px) and (max-width: 1199px) {
  section.calc-section .calc-grid .calc-info .calc-info__text {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: stretch !important;
    display: block !important;
  }

  section.calc-section .calc-grid .calc-form {
    width: 100% !important;
  }

  section.calc-section .calc-grid .calc-form .form {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-items: stretch !important;
  }

  section.calc-section .calc-grid .calc-form .form__group {
    width: 100% !important;
  }

  section.calc-section .calc-grid .calc-form .form__input,
  section.calc-section .calc-grid .calc-form .form__select,
  section.calc-section .calc-grid .calc-form .form__custom-select-toggle {
    width: 100% !important;
    max-width: 100% !important;
  }

  section.calc-section .calc-grid .calc-info .calc-info__title {
    text-align: left !important;
  }

  .form__group--select .form__select:invalid {
    color: var(--color-text) !important;
  }
}

/* Late override for 375px breakpoint:
   keep figma typography and prevent base selector rewrites */
@media (max-width: 599px) {
  section.calc-section .calc-grid {
    gap: 30px !important;
    align-items: flex-start !important;
  }

  section.calc-section .calc-grid .calc-info {
    width: 100% !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  section.calc-section .calc-grid .calc-info .calc-info__title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 32px !important;
    line-height: 0.9 !important;
    letter-spacing: -0.64px !important;
    text-align: left !important;
  }

  section.calc-section .calc-grid .calc-info .calc-info__text {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.48px !important;
    text-align: left !important;
  }

  section.calc-section .calc-grid .calc-form {
    width: 100% !important;
  }

  section.calc-section .calc-grid .calc-form .form {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 40px !important;
    align-items: stretch !important;
  }

  section.calc-section .calc-grid .calc-form .form__input,
  section.calc-section .calc-grid .calc-form .form__select,
  section.calc-section .calc-grid .calc-form .form__custom-select-toggle {
    font-size: 16px !important;
    letter-spacing: -0.48px !important;
  }

  section.calc-section .calc-grid .calc-form .form__consent-text {
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.48px !important;
  }

  section.calc-section .calc-grid .calc-form .form__submit {
    width: 100% !important;
    align-self: stretch !important;
  }

  section.calc-section .calc-grid .calc-form .form__group--select .form__select:invalid {
    color: var(--color-text) !important;
  }
}

/* Late override for 600px breakpoint:
   base rules later in file limit width of calc-info__text/form */
@media (min-width: 600px) and (max-width: 899px) {
  section.calc-section .calc-grid .calc-form .form__consent-text {
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.48px !important;
  }

  section.calc-section .calc-grid .calc-info .calc-info__text {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  section.calc-section .calc-grid .calc-form {
    width: 100% !important;
  }

  section.calc-section .calc-grid .calc-form .form {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-items: stretch !important;
  }

  section.calc-section .calc-grid .calc-form .form__group {
    width: 100% !important;
  }

  section.calc-section .calc-grid .calc-form .form__input,
  section.calc-section .calc-grid .calc-form .form__select {
    width: 100% !important;
    max-width: 100% !important;
  }

  .form__group--select .form__select:invalid {
    color: var(--color-text) !important;
  }
}

/* Developer page (1200-1839): align "Сотрудничество" with 480px content guide */
@media (min-width: 1200px) and (max-width: 1839px) {
  .developer-page .calc-section .container.calc-grid {
    display: block !important;
    max-width: var(--container-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .developer-page .calc-section .container.calc-grid .calc-info,
  .developer-page .calc-section .container.calc-grid .calc-form {
    width: min(910px, calc(100% - 480px)) !important;
    max-width: 910px !important;
    margin-left: 480px !important;
    margin-right: 0 !important;
    grid-column: auto !important;
  }

  .developer-page .calc-section .container.calc-grid .calc-form {
    margin-top: 30px !important;
  }

  .developer-page .calc-section .container.calc-grid .calc-info .calc-info__title,
  .developer-page .calc-section .container.calc-grid .calc-info .calc-info__text,
  .developer-page .calc-section .container.calc-grid .calc-form .form {
    max-width: 910px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .developer-page .calc-section .container.calc-grid .calc-form .form__submit {
    align-self: flex-start !important;
  }
}

/* Full desktop 1920 layout: return to 620px guide */
@media (min-width: 1840px) {
  .developer-page .calc-section .container.calc-grid {
    display: block !important;
    max-width: var(--container-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .developer-page .calc-section .container.calc-grid .calc-info,
  .developer-page .calc-section .container.calc-grid .calc-form {
    max-width: 910px !important;
    width: min(910px, calc(100% - 620px)) !important;
    margin-left: 620px !important;
    margin-right: 0 !important;
    grid-column: auto !important;
  }

  .developer-page .calc-section .container.calc-grid .calc-form {
    margin-top: 30px !important;
  }

  .developer-page .calc-section .container.calc-grid .calc-info .calc-info__title,
  .developer-page .calc-section .container.calc-grid .calc-info .calc-info__text,
  .developer-page .calc-section .container.calc-grid .calc-form .form {
    max-width: 910px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .developer-page .calc-section .container.calc-grid .calc-form .form__submit {
    align-self: flex-start !important;
  }
}

/* End */
/* /local/templates/mkit/components/bitrix/catalog.element/mkit_project_element/style.css?177813993631845 */
/* /local/components/mkit/calc.project/templates/.default/style.css?178160536421174 */
