/* room.css */
/* Стили только для экрана "Комната возможностей" */

/* ===============================
   5. ЭКРАН "КОМНАТА" (Комната возможностей)
   =============================== */

#screen-room .subtitle {
  font-size:13px;
  color:#d0d0d0;
}

/* Общая обёртка только для Room */
#screen-room {
  padding: 0;
  color: #fff;
  background: #0F0F10;
  overflow-y: auto;
}

/* ВЕРСИЯ ДО ПОКУПКИ */

.room-before {
  width: 100%;
}

.room-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0px 0px 100px;
}

/* Шапка */

.room-header-with-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}


.room-info-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #F164B3;
  background: transparent;
  color: #F164B3;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .2s ease;
}

.room-info-btn:hover {
  background: #F164B3;
  color: #000;
}


/* Бейджи */

.room-top-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px;
}

.room-top-badge {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(242,99,179,.35);
  background: rgba(242,99,179,.14);
  color: #fff;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

/* HERO */

.room-hero {
  margin-top: 4px;
}

.room-intro-card {
  border-radius: 16px;
  padding: 10px 14px;
  border: 1px dashed rgba(242,99,179,.6);
  margin-bottom: 12px;
}

.room-brand-chip {
  display: inline-block;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #F164B3;
  margin-bottom: 8px;
}

.room-hero-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,.9);
}

.room-video-box {
  margin-top: 4px;
  border-radius: 16px;
  overflow: hidden;
  background: #0C0D0F;
  aspect-ratio: 16 / 9;
}

.room-video-box video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* HERO CTA полка */

.room-hero-rail {
  margin: 10px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.room-hero-dash,
.room-hero-head {
  stroke: #F164B3;
  stroke-width: 3;
  stroke-linecap: round;
  fill: none;
}

.room-hero-dash {
  stroke-dasharray: 10 6;
}

.room-cta {
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  background: #F164B3;
  color: #000;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

/* Бенефиты */

.room-benefits-title {
  margin: 18px 0 8px;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #F6EFAE;
}

.room-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.room-benefit {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #141517;
  border: 1px solid rgba(255,255,255,.08);
}

.room-benefit-heart {
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  color: #F164B3;
}

.room-benefit-heart svg {
  width: 22px;
  height: 22px;
}

.room-benefit-text {
  font-size: 14px;
  line-height: 1.45;
  color: #fff;
}

.room-benefit-text b {
  color: #F6EFAE;
  font-weight: 800;
}

/* Разделители */

.room-divider {
  width: 70px;
  margin: 24px auto;
  border-top: 2px dashed #EAA9FF;
  opacity: .9;
}

/* ДО/ПОСЛЕ карточки */

.room-reviews-title {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 12px;
}

.room-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
}

.room-review {
  position: relative;
  padding: 8px;
  border-radius: 16px;
  background: #F6EFAE;
  color: #111;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(0,0,0,.06);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.room-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.room-review-state {
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.room-switch-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Основной свитч */

.room-switch {
  width: 42px;
  height: 22px;
  border-radius: 999px;
  background: #B9BDC1;
  display: flex;
  align-items: center;
  padding: 2px;
  cursor: pointer;
  position: relative;
  transition: background .2s ease;
}

.room-switch::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
  transform: translateX(0);
  transition: transform .2s ease;
}

.room-switch.on {
  background: #F164B3;
}

.room-switch.on::after {
  transform: translateX(18px);
}

/* Тренерная таблетка */

.room-switch-trainer {
  min-width: 46px;
  height: 24px;
  border-radius: 999px;
  background: #F164B3;
  border: 1px solid rgba(0,0,0,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  cursor: pointer;
}

.room-switch-trainer-label {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 600;
  font-size: 10px;
  color: #fff;
}

.hidden {
  display: none !important;
}

.room-review-text {
  font-size: 13px;
  line-height: 1.4;
}

/* Соцдоказ */

.room-plans-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 22px 0 8px;
}

.room-plans-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #EAA9FF;
  color: #000;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.room-plans-chip .icon {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
}

/* Тарифы */

.room-plans-head {
  display: flex;

}

.room-plan-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.room-plan {
  flex: 0 0 60%;
  scroll-snap-align: center;
  padding: 12px;
  border-radius: 16px;
  background: #0C0D10;
  border: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
}

.room-plan-price {
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #F6EFAE;
  margin-bottom: 4px;
}

.room-plan-btn {
  margin-top: 8px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 999px;
  border: none;
  background: #F164B3;
  color: #000;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

/* Pay info */

.room-pay-info {
  margin-top: 10px;
  padding: 10px 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  font-size: 12px;
  color: rgba(255,255,255,.92);
}

/* Для кого */

.room-fit-head {
  padding: 10px 12px;
  border-radius: 16px 16px 0 0;
  background: #F164B3;
  color: #000;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: 16px;
}

.room-fit-text {
  padding: 10px 12px 12px;
  border-radius: 0 0 16px 16px;
  background: #0F1012;
  border: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
}

/* FAQ */



.room-faq-head {
  padding: 10px 12px;
  background: #F164B3;
  color: #000;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.room-faq-list {
  padding: 6px 6px 10px;
}

.room-faq-item {

  border-radius: 16px;
  background: #0F1012;
  border: 1px solid rgba(255,255,255,.12);
  margin-bottom: 10px;
}

.room-faq-q {
  width: 100%;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.room-faq-plus {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #F164B3;
  color: #000;
  font-weight: 900;
}

.room-faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 12px;
  transition: max-height .25s ease, padding .25s ease;
}

.room-faq-a.open {
  padding: 0 12px 10px;
}

.room-faq-a p {
  margin: 8px 0 0;
  font-size: 12px;
  color: #D9DDE3;
}

/* CTA и подвал */

.room-cta-bottom {
  margin: 24px 0 8px;
  text-align: center;
}

.room-cta-primary {
  width: 100%;
  padding: 14px;
  border-radius: 24px;
  border: none;
  background: #F164B3;
  color: #000;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.room-footer {
  margin-top: 30px;
  padding: 10px 0 0;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 11px;
  opacity: .9;
}

.room-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.room-footer-links a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.35);
}

/* Мобилка */

@media (max-width: 600px) {
  .room-site-title {
    font-size: 28px;
  }
  .room-review-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

/* ============================
   СОСТОЯНИЕ ПОСЛЕ ПОКУПКИ
   (#room-after)
============================ */

.room-after {
  width: 100%;
}

.room-after-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0px 0px 100px;
}

/* HEADER */

.room-after-header {
  padding: 8px 0 6px;
  text-align: left;
}

#screen-room .page-title-room-after {
  /* базовый стиль — тот же, что у page-title */
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #ffffff;
  font-size: 22px; /* можно чуть отличаться по размеру для after-состояния */
}

.room-after-subtitle {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.75);
}

/* CTA: ОТКРЫТЬ ЧАТ */

.room-after-cta-chat {
  margin: 12px 0 14px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #F72024;
  color: #fff;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
}

.room-after-cta-icon {
  font-size: 14px;
}

/* GRID КАРТОЧЕК */

.room-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
  justify-items: center;
  margin: 4px 0 18px;
}

.room-after-card {
  position: relative;
  width: 100%;
  padding: 10px;
  border-radius: 16px;
  border: 2px solid #000;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .12s ease;
  min-height: 90px;
}

.room-after-card:active {
  transform: scale(.97);
  box-shadow: 0 4px 14px rgba(0,0,0,.5);
}

/* Цвета карточек */

.room-after-card-rose {
  background: #F164B3;
  color: #fff;
}

.room-after-card-sand {
  background: #F6EFAE;
  color: #000;
}

.room-after-card-violet {
  background: #EAA9FF;
  color: #000;
}

/* Бейдж сверху слева */

.room-after-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  border: 2px solid #000;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #000;
}

/* Подпись внизу */

.room-after-label {
  position: relative;
  z-index: 2;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: inherit;
}

/* Иллюстрация справа */

.room-after-ill {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* LOVE БЛОК */

.room-after-love {
  margin: 10px 0 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.room-after-love-bubble {
  padding: 8px 14px;
  border-radius: 14px;
  background: #F263B3;
  border: 2px solid #F6EFAE;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #F6EFAE;
  text-transform: uppercase;
  margin-bottom: -8px;
  z-index: 2;
}

.room-after-love-img {
  height: 160px;
  width: auto;
  display: block;
}

/* ACTION BUTTONS */

.room-after-actions {
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.room-after-btn {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 2px solid #000;
  font-family: 'Unbounded', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.room-after-btn-primary {
  background: #F72024;
  color: #fff;
}

.room-after-btn-secondary {
  background: #F6EFAE;
  color: #000;
}

/* Мобильные корректировки для after-состояния */

@media (max-width: 600px) {
  .room-after-title {
    font-size: 20px;
  }
  .room-after-grid {
    gap: 6px;
  }
  .room-after-card {
    min-height: 86px;
    padding: 8px;
  }
  .room-after-label {
    font-size: 11px;
  }
  .room-after-love-img {
    height: 150px;
  }
}