/* Transferred promo component: shared foundations scoped to this block. */
.promo-block, #promoModal { --navy: #013695; --purple-a: #C558FF; --purple-b: #642397; color: #252525; font-size: 16px; line-height: normal; }
.promo-block .h2 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: 0; color: #0c0c0c; text-align: left; }
.promo-block .h2 .accent { color: var(--navy); }
.promo-block .pill--inline { min-height: 0; text-align: left; }
.promo-block svg, #promoModal svg { display: block; max-width: 100%; }
.promo-block__note { line-height: normal; }
.promo-block {
  position: relative;
  margin-top: 44px;
  padding-top: 2px;
  background: #ffffff;
  overflow: hidden;
}

/* бегущая строка */
.promo-block__ticker {
  overflow: hidden;
  padding: 4px 0;
  background: #013695;
}

.promo-block__track {
  display: flex;
  width: max-content;
  animation: promo-marquee 16s linear infinite;
}

.promo-block__group {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
}

.promo-block__group span {
  color: #F9F9F9;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.promo-block__group i {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F9F9F9;
}

@keyframes promo-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* размытые световые пятна */
.promo-block__blur {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 273px;
  height: 273px;
  opacity: .5;
}

.promo-block__blur--1 {
  top: 40px;
  right: -110px;
}

.promo-block__blur--2 {
  bottom: 60px;
  left: -110px;
}

.promo-block__blur--3 {
  top: -42px;
  right: -21px;
  opacity: .4;
}

.promo-block__inner {
  position: relative;
  z-index: 1;
  padding: 30px 24px 32px;
  text-align: left;
}

.promo-block__lead {
  margin: 14px 0 0;
  color: #0C0C0C;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}

.promo-block .pill--inline {
  display: inline-block;
  margin: 0;
  padding: 0 16px;
  border-radius: 24px;
  background: linear-gradient(90deg, #C2F2FE, #86DFFD);
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.promo-block__img {
  display: block;
  width: 375px;
  max-width: calc(100% + 48px);
  height: auto;
  margin: 6px auto 0;
  border-radius: 0;
}

/* кнопка «Получить промокод» — стили из старого лендинга (v68) */
.promo-block__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  margin-top: 0;
  padding: 16px 32px;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: #F9F9F9;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s;
}

.promo-block__cta:active {
  transform: scale(.98);
}

.promo-block__cta img {
  flex: none;
  width: 24px;
  height: 24px;
}

/* плитки: артикул + скидка — стили из старого лендинга (v68) */
.promo-block__tiles {
  position: relative;
  display: grid;
  grid-template-columns: 209fr 118fr;
  gap: 8px;
  margin-top: 16px;
}

.promo-block__blur--tiles {
  top: -80px;
  left: -140px;
}

.promo-block__sku {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 113px;
  padding: 8px;
  background: #CCD8F7;
  border-radius: 8px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s;
}

.promo-block__sku:active {
  transform: scale(.98);
}

.promo-block__dash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.promo-block__dash rect {
  width: calc(100% - 1px);
  height: calc(100% - 1px);
  fill: none;
  stroke: #060C1E;
  stroke-width: 1;
  stroke-dasharray: 10 10;
}

.promo-block__sku-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.promo-block__sku-press {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: #3D5CA8;
  text-decoration: underline;
}

.promo-block__sku-order {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: #1c1c1c;
}

.promo-block__sku-label {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #1c1c1c;
}

.promo-block__sku-num {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  color: #1F1F1F;
  letter-spacing: 0;
}

.promo-block__discount {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 113px;
  padding: 8px 4px;
  margin: 0;
  border-radius: 8px;
  background: #FA002C;
  color: #FEFEFE;
  text-align: center;
  font-weight: 500;
  line-height: 1.2;
}

.promo-block__discount b {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
}

.promo-block__discount span {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 374px) {
  .promo-block__sku-label { font-size: 14px; }
  .promo-block__sku-num { font-size: 17px; }
  .promo-block__sku-press { font-size: 14px; }
  .promo-block__sku-order { font-size: 15px; }
  .promo-block__discount b { font-size: 28px; }
  .promo-block__discount span { font-size: 13px; }
  .promo-block__cta { padding: 16px 12px; gap: 8px; }
}

.promo-block__note {
  margin: 18px 0 0;
  color: #1c1c1c;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 20, 60, .6);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 327px;
  padding: 16px 8px 16px;
  border-radius: 22px;
  background:
    radial-gradient(90% 55% at 88% 0%, rgba(83, 130, 246, .55) 0%, rgba(38, 101, 226, 0) 60%),
    radial-gradient(90% 55% at 0% 100%, rgba(83, 130, 246, .45) 0%, rgba(38, 101, 226, 0) 55%),
    linear-gradient(180deg, #ffffff 0%, #F3F8FF 100%);
  box-shadow: 0 24px 60px rgba(1, 20, 70, .45);
  text-align: center;
  animation: modal-in .25s ease;
}

@keyframes modal-in {
  from { transform: translateY(14px) scale(.96); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(1, 54, 149, .08);
  cursor: pointer;
}

.modal__close svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.modal__check {
  width: 56px;
  height: 56px;
  margin: 0 auto;
}

.modal__copied {
  display: table;
  margin: 4px auto 0;
  padding: 2px 12px;
  border-radius: 24px;
  background: #99FF96;
  color: #005F00;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: lowercase;
}

.modal__title {
  margin: 16px 0 0;
  color: #0C0C0C;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.modal__steps {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 4px;
}

.modal__step {
  flex: 1;
  min-width: 0;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 4px 6px;
  border: 1px solid #D5F1F8;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFFFFF 0%, #E6F0FA 100%);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, .05);
  text-align: center;
}

.modal__step img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.modal__step--promo img {
  width: 65px;
  height: 36px;
}

.modal__step p {
  margin: 0;
  color: #013695;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.modal__step--promo p {
  font-size: 11px;
}

.modal__step:last-child p {
  max-width: 60px;
  margin-inline: auto;
}

.modal__step b {
  color: #013695;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.04em;
}

.modal__step-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid #D5F1F8;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFFFFF 0%, #E6F0FA 100%);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, .05);
}

.modal__step-arrow:nth-of-type(1) {
  left: calc((100% - 16px) / 3 - 5px);
}

.modal__step-arrow:nth-of-type(2) {
  left: calc((100% - 16px) / 3 * 2 + 3px);
}

.modal__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  margin-top: 16px;
  padding: 0 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--purple-a) 0%, var(--purple-b) 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(0, 15, 60, .25);
}

.modal__btn:active {
  transform: translateY(1px);
}

.modal__btn img {
  flex: none;
  width: 22px;
  height: 21px;
}

.modal__btn span {
  flex: none;
  white-space: nowrap;
}

.modal__btn-arrow {
  flex: none;
  width: 22px;
  height: 16px;
}


@media (prefers-reduced-motion: reduce) { .promo-block__track, .modal__card { animation: none; } }
