/* Дополнительные стили для sticky-позиционирования */

@media (min-width: 992px) {
  .row {
    align-items: flex-start;
  }

  .col-md-5:first-child {
    position: sticky;
    top: 20px;
    height: fit-content;
    align-self: flex-start;
    z-index: 10;
  }
}

@media (max-width: 991px) {
  .col-md-5:first-child {
    margin-bottom: 26px;
  }
}



/* Стили для кнопок покупки */

.bx-catalog-element .btns
{
  gap: 8px !important;
  flex-direction: column;
}

.btns .btn {
  width: 100%;
  padding: 17px;
  margin: 0;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.1s ease;
}
.btn-1{
  width:100%;
  margin-bottom:8px;
  border: 1px solid transparent !important;
}
.btns .btn-1 {
  background-color: #E00590;
   color: #fff;
}
.btns .btn-1:hover {
  background-color: #B00473 !important;
  border-color: #B00473 !important;
  color: #fff !important;
}

.btns .btn-2 {
  background: #000;
  color: #fff;
}
.btns .btn-2:hover {
  border-color: #000 !important;
  background: black !important;
}

.btns .btn-3{
  background-color: white;
  color:#E00590;
  border:#E00590 1px solid;
}

/* Стили для цветовых вариантов */
.bx-catalog-element .prop_value.prop_value_color {
  display: flex;
  gap: 12px;
  align-items: center;
}

.prop_value .color {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  background-color: transparent !important;
  background: transparent !important;
  color: transparent;
  position: relative;
  transition: border-color .2s ease;
}

.prop_value .color::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.prop_value .color.active {
  border-color: #E00590;
}

.prop_value .color:hover:not(.active) {
  border-color: #ddd;
}
.prop_value .color.active:hover {
  border-color: #B00473;
}

/* Цвета для разных вариантов через псевдоэлементы */
.prop_value .color.color-blue::before {
  background-color: blue;
}
.prop_value .color.color-green::before {
  background-color: green;
}
.prop_value .color.color-yellow::before {
  background-color: yellow;
}
.prop_value .color.color-graphite::before {
  background-color: #FAFAFAFA;
  border: 1px solid #E0E0E0;
}

.prop_value .color.color-black::before {
  background-color: #3A3A3A;
}

.prop_value .color.color-mint::before {
  background-color: #11FF00;
}

.prop_value .color.color-brown::before {
  background-color: #ABA69B;
}

.prop_value .color.color-gray::before {
  background-color: #C6BFB5;
}

.prop_value .color.color-white::before {
  background-color: #F5F5F5;
  border: 1px solid #E0E0E0;
}

.prop_value .color.color-pink::before {
  background-color: #FF69B4;
}

.prop_value .color.color-teal::before {
  background-color: #008080;
}

.prop_value .color.color-ultramarine::before {
  background-color: #1E3A8A;
}

.bx-catalog-element h1 {
  font-weight: 600;
  margin-bottom: 42px;
}

/* Общие стили кнопко вариативности товара */

.bx-catalog-element .prop {
  gap: 12px;
  margin: 22px 0;
}

.bx-catalog-element .prop_name {
  min-width: 110px;
}

.prop_value a {
  border-width: 2px !important;
}

.bx-catalog-element .prop_value a:not(.prop_value_color .color) {
  border-radius: 4px;
  cursor: pointer;
}

.bx-catalog-element .prop_value a.active:not(.prop_value_color .color.active) {
  color: #333333;
  background: transparent;
  border-color: #E00590;
}

.bx-catalog-element .prop_value a.active:hover:not(.prop_value_color .color.active:hover) {
  background: transparent !important;
  cursor: text;
}

.bx-catalog-element .prop_value a:hover:not(.prop_value_color .color:hover) {
  background: #ddd !important;
}

.bx-catalog-element .prop_value {
  gap: 8px;
}

/* Стили для контейнера покупки */
.buying_container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px;
  border-radius: 12px;
  margin-top: 50px;
  background-color: #F6F6F6;
}

.buying_container .buying_container_text {
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 500;
  color: #A7A7A7;
}

.bx-catalog-element .price,
.product-item-detail-info-container {
  margin: 0;
}

.product-item-detail-info-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-item-price-old {
  position: static !important;
  margin-top: 0 !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #A7A7A7 !important;
}

/* Стили для блока наличия товара */
.availability-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 16px;
}

.availability-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #5EA802;
  flex-shrink: 0;
}

.availability-dot.not-av{
  background-color:grey;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.availability-text.not-av {
  font-size: 14px;
  font-weight: 400;
  color: grey;
  line-height: 1.2;
}

.availability-text {
  font-size: 14px;
  font-weight: 400;
  color: #5EA802;
  line-height: 1.2;
}

/* Стили для блока рассрочки */
.installment-offer {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  margin-bottom: 8px;
}

.installment-offer svg {
  flex-shrink: 0;
}

.installment-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.installment-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  line-height: 1.2;
}

.installment-subtitle {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  line-height: 1.2;
  opacity: 0.54;
}

/* Стили для блоков доставки и самовывоза */
.delivery-options {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Инфа по доставке под блоком купить */
.delivery-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background-color: #fff;
}

.delivery-text {
  display: flex;
  gap: 8px;
}

.delivery-title {
  font-size: 14px;
  font-weight: 500;
  color: #E00590;
  line-height: 1.2;
}

.delivery-location {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  color: #666;
  line-height: 1.2;
}

.delivery-free {
  font-size: 12px;
  font-weight: 400;
  color: #666;
  line-height: 1.2;
  align-self: flex-start;
}

/* ===== PREVIEW GALLERY ===== */

.product-main-swiper-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
  margin-bottom: 20px;
  border-radius: 12px;
  background-color: #F8F8F8;
  overflow: hidden;
}

.product-main-swiper-wrapper .tns-outer,
.product-main-swiper-wrapper .tns-ovh,
.product-main-slider {
  width: 100%;
  height: 100%;
}

.product-main-swiper-wrapper .tns-outer {
  position: absolute;
  inset: 0;
}

.product-main-slider {
  background-color: #F8F8F8;
}

.product-main-slider__slide,
.product-main-slider__slide.tns-item {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 12px;
  background-color: #F8F8F8;
  overflow: hidden;
}

.product-main-slider__slide img {
  display: block;
  margin: 0 auto;
  height: 100%;
  padding: 10%;
  box-sizing: border-box;
  object-fit: contain;
  border-radius: 0;
}

#product-page-gallery-iw {
  height: 100%;
  max-height: 100%;
  position: relative;
}

.product-main-slider__button {
  position: absolute;
  top: calc(50% - 20px);
  color: #E00590;
  background-color: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 0;
  z-index: 10;
  cursor: pointer;
}

.product-main-slider__button--prev {
  left: 16px;
}

.product-main-slider__button--next {
  right: 16px;
}

.product-main-swiper-wrapper:hover .product-main-slider__button {
  opacity: 1;
}

.product-main-slider__button:hover {
  background-color: #E00590;
  color: white;
}

.product-main-slider__button::after {
  display: block;
  width: 12px;
  height: 18px;
  content: "";
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.product-main-slider__button--prev::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M8 1 2 8l6 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M8 1 2 8l6 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.product-main-slider__button--next::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M2 1l6 7-6 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16'%3E%3Cpath d='M2 1l6 7-6 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.product-main-slider__button[disabled] {
  opacity: 0 !important;
  pointer-events: none;
}

.product-thumbs-nav {
  width: 100%;
  margin-top: 10px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.product-thumbs-nav::-webkit-scrollbar {
  display: none;
}

.product-thumbs-nav__item {
  width: 116px;
  min-width: 116px;
  height: 118px;
  padding: 0;
  background-color: #F8F8F8;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}

.product-thumbs-nav__item.tns-nav-active {
  border-color: #ddd;
}

.product-thumbs-nav__item img {
  width: 100%;
  height: 100%;
  padding: 10%;
  object-fit: contain;
  border-radius: 0;
}

@media (max-width: 768px) {
  .product-main-swiper-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
  }

  .product-thumbs-nav {
    gap: 8px;
  }

  .product-thumbs-nav__item {
    width: 100px;
    min-width: 100px;
    height: 100px;
  }

  .product-main-slider__button {
    width: 35px;
    height: 35px;
  }

  .product-main-slider__button::after {
    width: 10px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .product-main-swiper-wrapper {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
  }

  .product-thumbs-nav__item {
    width: 80px;
    min-width: 80px;
    height: 80px;
  }
}

/* новые стили для правок по задаче */

/* Небольшая тень вокруг каждой кнопки-опции */
.prop_value .color::before {
  box-shadow: inset 0px 1px 3px -1px #0000003d;
}

/* ===== ИСПРАВЛЕНИЯ ДЛЯ СЛАЙДЕРА ПРЕИМУЩЕСТВА ===== */

.slider-container {
  padding-top: 75px !important;
}

@media (max-width: 1023px) {
  .slider-container {
    padding-top: 50px !important;
    padding-bottom: 75px !important;
  }

  .video-swiper__card {
    height: 60vh !important;
  }
}
.action-price-wrapper {
  display: flex;
  border: solid 1px #E00590;
  padding: 8px;
  border-radius:4px;
}
.action-price {
  margin-left:8px;
  font-size: 14px;
  background-color: #E00590;
  color:white;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 4px;
}
.notification-price {
  font-size: 12px;
  padding: 20px;
}

.product-proof {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background: #ffffff;
  color: #242726;
  font-size: 14px;
  line-height: 1.35;
}

.product-proof__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-proof__line {
  display: none;
}

.product-proof__check {
  position: relative;
  order: -1;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.product-proof__check::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 7px;
  height: 13px;
  border: solid #8b8b90;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.product-messengers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.product-messengers__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background: #ffffff;
  color: #242726;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}

.product-messengers__link:hover {
  border-color: #E00590;
  color: #242726;
  text-decoration: none;
}

.product-messengers__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
}

.product-messengers__icon--max {
  padding: 2px;
  border-radius: 4px;
}

@media (max-width: 575px) {
  .product-proof {
    padding: 14px;
    font-size: 13px;
  }

  .product-proof__item {
    gap: 8px;
  }

  .product-messengers {
    grid-template-columns: 1fr;
  }

  .product-messengers__link {
    min-height: 46px;
    font-size: 14px;
  }
}

/* ===== ТАБЫ ИНФОРМАЦИИ О ТОВАРЕ ===== */

.product-info-tabs-section {
  --product-info-tabs-accent: #E00590;
  padding: 72px 0 88px;
  background: #fff;
  clear:both;
}

.product-info-tabs__nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.product-info-tabs__tab {
  appearance: none;
  flex: 0 0 auto;
  min-width: 160px;
  padding: 14px 20px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background: #fff;
  color: #6f6f73;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.product-info-tabs__tab:not(.is-active):hover {
  color: #6f6f73;
  border-color: #cfcfd4;
}

.product-info-tabs__tab:focus-visible {
  outline: 2px solid var(--product-info-tabs-accent);
  outline-offset: 2px;
}

.product-info-tabs__tab.is-active {
  color: #252525;
  border-color: var(--product-info-tabs-accent);
}

.product-info-tabs__mobile-trigger {
  display: none;
}

.product-info-tabs__content {
  margin-top: 28px;
}

.product-info-tabs__panel {
  display: none;
  padding: 34px 38px;
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  background: #fff;
}

.product-info-tabs__panel.is-active {
  display: block;
}

.product-info-tabs__specs {
  display: grid;
  max-width: 760px;
}

.product-info-tabs__spec-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding-top:15px;
}

.product-info-tabs__spec-name,
.product-info-tabs__spec-value,
.product-info-tabs__text,
.product-info-tabs__review p,
.product-info-tabs__card p,
.product-info-tabs__step p {
  font-size: 14px;
  line-height: 1.55;
}

.product-info-tabs__spec-name {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-end;
  min-width: 0;
  color: #7a7a7a;
}

.product-info-tabs__spec-name::after {
  content: "";
  flex: 1 1 auto;
  margin: 0 0 3px 10px;
  border-bottom: 1px dotted #d7d7db;
}

.product-info-tabs__spec-value {
  flex: 0 0 200px;
  color: #2a2a2a;
}

.product-info-tabs__text {
  color: black; /*#5e5e62;*/
}

.product-info-tabs__text p:last-child,
.product-info-tabs__review p:last-child,
.product-info-tabs__card p:last-child,
.product-info-tabs__step p:last-child {
  margin-bottom: 0;
}

.product-info-tabs__lead {
  margin-bottom: 14px;
  color: #2a2a2a;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

.product-info-tabs__text a {
  color: #2a2a2a;
  text-decoration: none;
}

.product-info-tabs__reviews,
.product-info-tabs__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-info-tabs__review,
.product-info-tabs__card {
  padding: 26px 28px;
  border: 1px solid #efefef;
  border-radius: 8px;
  background: #fafafa;
}

.product-info-tabs__review-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.product-info-tabs__review-name,
.product-info-tabs__card h3,
.product-info-tabs__step h3 {
  color: #2a2a2a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.product-info-tabs__review-date {
  color: #8b8b90;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}

.product-info-tabs__steps {
  display: grid;
  gap: 24px;
}

.product-info-tabs__step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.product-info-tabs__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--product-info-tabs-accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 1023px) {
  .product-info-tabs-section {
    padding: 56px 0 72px;
  }

  .product-info-tabs__tab {
    min-width: 146px;
    padding: 13px 18px;
    font-size: 13px;
  }

  .product-info-tabs__content {
    margin-top: 24px;
  }

  .product-info-tabs__panel {
    padding: 26px 22px;
  }

  .product-info-tabs__spec-row,
  .product-info-tabs__reviews,
  .product-info-tabs__cards {
    grid-template-columns: 1fr;
  }

  .product-info-tabs__spec-value {
    flex-basis: 180px;
  }
}

@media (max-width: 767px) {
  .product-info-tabs-section {
    padding: 40px 0 56px;
  }

  .product-info-tabs__nav {
    display: none;
  }

  .product-info-tabs__content {
    margin-top: 0;
  }

  .product-info-tabs__item {
    border-bottom: 1px solid #e9e9e9;
  }

  .product-info-tabs__item:first-child {
    border-top: 1px solid #e9e9e9;
  }

  .product-info-tabs__mobile-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 15px 44px 15px 0;
    color: #5d5d61;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    border: 0;
    background: transparent;
  }

  .product-info-tabs__mobile-trigger::before,
  .product-info-tabs__mobile-trigger::after {
    position: absolute;
    top: 50%;
    right: 6px;
    width: 16px;
    height: 2px;
    background: #b9bbc0;
    content: "";
    transform: translateY(-50%);
  }

  .product-info-tabs__mobile-trigger::after {
    transform: translateY(-50%) rotate(90deg);
  }

  .product-info-tabs__item.is-active .product-info-tabs__mobile-trigger::after {
    opacity: 0;
  }

  .product-info-tabs__panel {
    margin: 10px 0 16px;
    padding: 22px 16px;
    border: 1px solid #e9e9e9;
    border-radius: 4px;
    background: #fff;
  }

  .product-info-tabs__specs {
    gap: 18px;
    max-width: none;
  }

  .product-info-tabs__spec-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .product-info-tabs__spec-name,
  .product-info-tabs__spec-value,
  .product-info-tabs__text,
  .product-info-tabs__review p,
  .product-info-tabs__card p,
  .product-info-tabs__step p {
    font-size: 13px;
  }

  .product-info-tabs__spec-name {
    display: block;
  }

  .product-info-tabs__spec-name::after {
    display: none;
  }

  .product-info-tabs__spec-value {
    flex-basis: auto;
  }

  .product-info-tabs__lead,
  .product-info-tabs__review-name,
  .product-info-tabs__card h3,
  .product-info-tabs__step h3 {
    font-size: 15px;
  }

  .product-info-tabs__review,
  .product-info-tabs__card {
    padding: 20px 18px;
  }

  .product-info-tabs__review-head {
    flex-direction: column;
    gap: 6px;
  }

  .product-info-tabs__step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }

  .product-info-tabs__step-number {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
}
body.instalment-popup-open {
  overflow: hidden;
}

.instalment-popup {
  position: fixed;
  top:50%;
  left:0;
  right:0;
  transform: translateY(-50%);
  z-index: 5000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.instalment-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.instalment-popup__overlay {
  position: fixed;
  top: -150%;
  bottom:0;
  right:0;
  left:0;
  background: rgba(0, 0, 0, 0.62);
  height:calc(100vh + 150%);
}

.instalment-popup__content {
  position: relative;
  width: min(96vw, 920px);
  margin: 8vh auto 0;
  background: white;/*radial-gradient(80% 90% at 20% 92%, rgba(255, 255, 255, 0.18), transparent 65%), radial-gradient(70% 90% at 70% 90%, rgba(255, 255, 255, 0.16), transparent 70%), #030303;*/
  border: none;
  border-radius: 6px;
  padding: 44px 34px 34px 42px;
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 30px;
  color: #000;
}

.instalment-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.instalment-popup__close:before,
.instalment-popup__close:after {
  content: "";
  position: absolute;
  left: 11px;
  top: 1px;
  width: 1px;
  height: 22px;
  background: #000;
}

.instalment-popup__close:before {
  transform: rotate(45deg);
}

.instalment-popup__close:after {
  transform: rotate(-45deg);
}

.instalment-popup__title {
  margin: 0 0 34px;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 500;
}

.instalment-popup__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: #f0f0f0;
}

.instalment-popup__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.instalment-popup__subtitle {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 12px;
}

.instalment-popup .result .success {
  color: #57d957;
  font-size: 14px;
  margin-top: 8px;
}

@media (max-width: 980px) {
  .instalment-popup__content {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 32px 18px 22px;
    margin-top: 3vh;
  }

  .instalment-popup__title {
    font-size: 34px;
    margin-bottom: 12px;
  }

  .instalment-popup__desc {
    font-size: 14px;
  }
}
