/* Лендинг v2: шаги покупки, подписи под кнопками, плавающая кнопка «Купить билет» на телефоне. */

.hero-note { font-size: 12px; letter-spacing: 0.5px; color: #C8C8C8; text-align: center; }

.buy-steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.buy-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.buy-steps li > span {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid #DBA15D; color: #DBA15D;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', Arial, sans-serif; font-weight: 800; font-size: 16px;
}
.buy-steps li > div { font-size: 14px; line-height: 1.55; color: #9F9F9F; }
.buy-steps b { display: block; margin-bottom: 2px; font-family: 'Manrope', Arial, sans-serif; font-size: 16px; font-weight: 700; color: #FFFFFF; }

.buy-sticky { display: none; }

@media (max-width: 900px) {
  #top div > span.hero-note { font-size: 10.5px !important; letter-spacing: 0.3px !important; }
  .v2-photos { height: auto !important; }
  section .v2-photos img { height: 220px !important; }
  .v2-gallery { height: auto !important; margin-top: 0 !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; column-gap: 8px !important; }
  section .v2-gallery img { height: 110px !important; }
  #program img[src*="/img/v2/"] { height: 240px !important; }

  .buy-sticky {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 16px; right: 74px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50; height: 46px;
    border-radius: 100px; background: #DBA15D; color: #191615 !important;
    font-family: 'Manrope', Arial, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    opacity: 0; transform: translateY(80px); pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .buy-sticky.is-on { opacity: 1; transform: none; pointer-events: auto; }
  /* Пока видна кнопка «Назад» после перехода по меню, плавающую покупку прячем */
  body:has(.backpill.on) .buy-sticky { opacity: 0; transform: translateY(80px); pointer-events: none; }
  footer { padding-bottom: 96px !important; }
}

@media (max-width: 900px) {
  /* Три вопроса в «О форуме» на телефоне наезжали на абзац над ними */
  #about div[style*="margin-top: -32px"] { margin-top: 0 !important; }
}

/* Промокод: поле с кнопкой «Применить» и строка с ценой со скидкой */
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.promo-btn {
  flex-shrink: 0; height: 46px; padding: 0 18px; border-radius: 4px; cursor: pointer;
  border: 1px solid #DBA15D; background: transparent; color: #DBA15D;
  font-family: 'Manrope', Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.promo-btn:hover { background: #DBA15D; color: #191615; }
.promo-btn:disabled { opacity: 0.6; cursor: default; }
.promo-msg { margin: 2px 0 0; font-size: 13px; line-height: 1.5; color: #9F9F9F; }
.promo-msg.is-ok { color: #8FD19E; }
.promo-msg.is-err { color: #E8705F; }

/* Предупреждение о конце Early Bird в блоке покупки */
.eb-banner { box-sizing: border-box; padding: 16px 20px; border: 1px solid #DBA15D; border-radius: 4px; background: rgba(219,161,93,0.08); font-size: 15px; line-height: 1.6; color: #E8E0D6; }
.eb-banner b { color: #DBA15D; font-weight: 700; }
#eb-left { font-weight: 700; color: #FFFFFF; white-space: nowrap; }
