/* ============================================================================
   options.css — PROMO-БЛОК (акційні сторінки опцій), версія 2 · 22.09.2026
   ----------------------------------------------------------------------------
   ЯК ВСТАВИТИ:
   1. Якщо в кінці /css/options.css уже є попередній promo-блок (починається з
      коментаря «options.css — ДОПОВНЕННЯ: акційні модифікатори (promo)») —
      видаліть його повністю, від цього коментаря до кінця файлу.
   2. Вставте цей блок у самий кінець options.css.
   3. Підніміть версію в шаблоні: options.css?v=1.8 і скиньте кеш PageSpeed.

   Використовується у: Торгсофт-Ультра −10% (23–25.09.2026).
   Червоний #D30000 — лише знижка й економія; градієнт — лише декоративна смуга.
   ========================================================================== */
/* >>> PROMO START */

/* ---- Hero ---------------------------------------------------------------- */
.ts-option .ts-option__hero--promo {
  position: relative; overflow: hidden;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.75fr);
  gap: 40px; align-items: center;
  padding: 40px 36px 36px;
  border-color: #F2E3A6;
  background: linear-gradient(160deg, #FFF7D1 0%, #FFFDF3 45%, #FFFFFF 100%);
}
.ts-option .ts-option__hero--promo::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, #D30000 0%, #FAC739 100%);
}
.ts-option .ts-option__hero--promo .ts-option__eyebrow { background: #FFFFFF; border: 1px solid #F2E3A6; }
.ts-option .ts-option__hero--promo h2 { margin: 0 0 12px; font-size: 32px; line-height: 1.2; }
.ts-option .ts-option__hero--promo .ts-option__subtext { margin: 0; }
.ts-option .ts-option__hero--promo .ts-option__hero-media img { width: 100%; max-width: 400px; border-radius: 18px; box-shadow: 0 16px 40px rgba(40, 40, 43, 0.14); }

/* ---- Цінова картка ------------------------------------------------------- */
.ts-option .ts-option__deal {
  margin: 22px 0 0; border: 1px solid #EADFAE; border-radius: 16px;
  background: #FFFFFF; box-shadow: 0 4px 18px rgba(40, 40, 43, 0.06);
  overflow: hidden;
}
.ts-option .ts-option__deal-main { padding: 18px 22px 16px; }
.ts-option .ts-option__deal-label {
  display: block; margin: 0 0 6px;
  font-size: 13px; line-height: 1.3; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ts-muted);
}
.ts-option .ts-option__deal-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.ts-option .ts-option__deal-old {
  font-size: 20px; line-height: 1.2; font-weight: 500; color: var(--ts-muted);
  text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(211, 0, 0, 0.7);
  white-space: nowrap;
}
.ts-option .ts-option__deal-new {
  font-family: "Rubik", "Segoe UI", sans-serif;
  font-size: 40px; line-height: 1; font-weight: 900; letter-spacing: -0.02em;
  color: var(--ts-graphite); white-space: nowrap;
}
.ts-option .ts-option__deal-save {
  display: inline-flex; align-items: center; min-height: 28px; padding: 4px 12px;
  border-radius: 999px; background: var(--ts-red); color: #FFFFFF;
  font-size: 14px; line-height: 1.2; font-weight: 700; white-space: nowrap;
}
.ts-option .ts-option__deal-note { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--ts-muted); }

.ts-option .ts-option__deal-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 22px; border-top: 1px solid #F1EAD0; background: #FFFCF0;
}
.ts-option .ts-option__deal-row-name { font-size: 16px; line-height: 1.35; font-weight: 700; color: var(--ts-graphite); }
.ts-option .ts-option__deal-row-label {
  display: block; margin: 0 0 2px;
  font-size: 12px; line-height: 1.3; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ts-muted);
}
.ts-option .ts-option__nowrap { white-space: nowrap; }
.ts-option .ts-option__deal-row .ts-option__deal-save { flex: none; min-height: 26px; padding: 3px 10px; font-size: 13px; background: #FFFFFF; color: var(--ts-red); box-shadow: inset 0 0 0 1.5px var(--ts-red); }

/* Дві кнопки поруч */
.ts-option .ts-option__actions--pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.ts-option .ts-option__actions--pair .demo_but { width: 100% !important; min-width: 0; padding: 0 16px !important; font-size: 15px !important; }

/* Червоний тег (перехід, CTA) */
.ts-option .ts-option__promo-tag {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 30px; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px;
  background: var(--ts-red); color: #FFFFFF;
  font-size: 14px; line-height: 1.2; font-weight: 700; white-space: nowrap;
}

/* ---- Перехід Старт → Ультра ---------------------------------------------- */
.ts-option .ts-option__upgrade { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: stretch; margin: 22px 0 18px; }
.ts-option .ts-option__upgrade-item {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: 96px; padding: 18px 22px; border-radius: 16px;
  border: 1px solid var(--ts-border); background: var(--ts-gray-soft);
}
.ts-option .ts-option__upgrade-item--to { border-color: #EACB5C; background: linear-gradient(135deg, #FFED7A 0%, #FAC739 100%); }
.ts-option .ts-option__upgrade-caption {
  display: block; margin: 0 0 4px; font-size: 12px; line-height: 1.3; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ts-muted);
}
.ts-option .ts-option__upgrade-item--to .ts-option__upgrade-caption { color: var(--ts-graphite); }
.ts-option .ts-option__upgrade-name { display: block; font-size: 22px; line-height: 1.2; font-weight: 700; color: var(--ts-graphite); }
.ts-option .ts-option__upgrade-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 8px 0 0; font-size: 15px; line-height: 1.3; color: var(--ts-graphite); }
.ts-option .ts-option__upgrade-price s { color: rgba(40, 40, 43, 0.6); text-decoration: line-through; text-decoration-color: rgba(211, 0, 0, 0.7); }
.ts-option .ts-option__upgrade-price b { font-size: 20px; font-weight: 900; }
.ts-option .ts-option__upgrade-item .ts-option__promo-tag { position: absolute; right: 16px; top: -14px; margin: 0; }
.ts-option .ts-option__upgrade-arrow { position: relative; }
.ts-option .ts-option__upgrade-arrow::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--ts-graphite);
}
.ts-option .ts-option__upgrade-arrow::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 10px; margin: -5px 0 0 -8px;
  border-top: 3px solid #FFFFFF; border-right: 3px solid #FFFFFF; transform: rotate(45deg);
}

/* ---- Умови акції --------------------------------------------------------- */
.ts-option .ts-option__promo-terms { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; align-items: center; padding: 24px 26px; }
.ts-option .ts-option__promo-terms-copy { min-width: 0; }
.ts-option .ts-option__promo-terms-copy ul { margin: 0 0 12px; }
.ts-option .ts-option__promo-terms-copy li { margin-bottom: 6px; font-family: "Rubik", "Segoe UI", sans-serif; }
.ts-option .ts-option__promo-terms-copy p { margin: 0; }
.ts-option .ts-option__promo-terms-copy p + p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ts-muted); }
.ts-option .ts-option__promo-terms-date { padding: 12px 18px; border-radius: 14px; background: #FFFFFF; text-align: center; }
.ts-option .ts-option__promo-terms-date b { display: block; font-size: 30px; line-height: 1.05; font-weight: 900; color: var(--ts-red); white-space: nowrap; }
.ts-option .ts-option__promo-terms-date span {
  display: block; font-size: 13px; line-height: 1.3; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ts-graphite);
}

/* ---- CTA ----------------------------------------------------------------- */
.ts-option .ts-option__cta--promo { position: relative; overflow: hidden; padding-top: 46px; }
.ts-option > .ts-option__cta--promo { margin-top: 56px; }
.ts-option .ts-option__cta--promo::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, #D30000 0%, #FAC739 100%);
}
.ts-option .ts-option__cta--promo .ts-option__promo-tag { min-height: 40px; margin: 0 0 16px; padding: 6px 18px; font-size: 20px; }
.ts-option .ts-option__cta--promo .ts-option__actions--pair { max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---- Адаптив ------------------------------------------------------------- */
@media (max-width: 900px) {
  .ts-option .ts-option__hero--promo { grid-template-columns: 1fr; gap: 24px; padding: 30px 24px 24px; }
  .ts-option .ts-option__hero--promo .ts-option__hero-media img { max-width: 360px; }
}
@media (max-width: 680px) {
  .ts-option .ts-option__hero--promo { padding: 26px 16px 18px; }
  .ts-option .ts-option__hero--promo h2 { font-size: 25px; }
  .ts-option .ts-option__deal-main { padding: 16px; }
  .ts-option .ts-option__deal-new { font-size: 34px; }
  .ts-option .ts-option__deal-row { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 16px; }
  .ts-option .ts-option__actions--pair { grid-template-columns: 1fr; }
  .ts-option .ts-option__upgrade { grid-template-columns: 1fr; grid-template-rows: auto 48px auto; }
  .ts-option .ts-option__upgrade-arrow::after { margin: -8px 0 0 -5px; transform: rotate(135deg); }
  .ts-option .ts-option__upgrade-name { font-size: 20px; }
  .ts-option .ts-option__promo-terms { grid-template-columns: 1fr; gap: 14px; padding: 20px 18px; }
  .ts-option .ts-option__promo-terms-date { justify-self: start; }
}

/* <<< PROMO END */
