/* SNET: «Пояснення передплати» + економія на промо-тарифах (v2). */

/* ---- Mega: last full-width item «* Чому передплата за рік?» (same glass as «Усі тарифи», not sticky) ---- */
html body #header .nav-menu .snet-mega > ul.snet-mega__panel > li.snet-mega__all.snet-mega__prepay,
html body #header .nav-menu li.snet-mega__all.snet-mega__prepay,
html body > ul.snet-dd-panel > li.snet-mega__all.snet-mega__prepay,
html body .mobile-nav .snet-mega > ul.snet-mega__panel > li.snet-mega__all.snet-mega__prepay,
html body .mobile-nav li.snet-mega__all.snet-mega__prepay,
html body .snet-fly__sheet > a.snet-mega__all.snet-mega__prepay {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  grid-column: 1 / -1 !important;
  margin: 6px 0 0 !important;
  min-height: 0 !important;
  height: auto !important;
}
html body #header .nav-menu li.snet-mega__all.snet-mega__prepay > a,
html body > ul.snet-dd-panel > li.snet-mega__all.snet-mega__prepay > a,
html body .mobile-nav li.snet-mega__all.snet-mega__prepay > a,
html body .snet-fly__sheet > a.snet-mega__all.snet-mega__prepay {
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  white-space: normal !important;
  text-align: center !important;
  justify-content: center !important;
}

/* ---- Mega tile: savings line under the price ---- */
html body .snet-mega__tile span.snet-mega__save,
html[data-theme] body #header .nav-menu a.snet-mega__tile span.snet-mega__save,
html[data-theme] body > ul.snet-dd-panel a.snet-mega__tile span.snet-mega__save,
html[data-theme] body > ul.snet-dd-panel.snet-mega__panel a.snet-mega__tile span.snet-mega__save,
html[data-theme] body .mobile-nav a.snet-mega__tile span.snet-mega__save,
html[data-theme] body .snet-fly__sheet a.snet-mega__tile span.snet-mega__save,
html[data-theme] .snet-mega__panel a.snet-mega__tile span.snet-mega__save {
  display: block !important;
  margin-top: 2px !important;
  font-size: 0.7rem !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  color: #86efac !important;
  -webkit-text-fill-color: #86efac !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  white-space: normal !important;
}

/* ---- /tariffs: «Чому?» next to «передплата на рік» ---- */
html body .snet-tariff-comment .snet-tariff-comment__verse a.snet-prepay-why {
  display: inline-block !important;
  margin-left: 4px !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-style: dotted !important;
  text-underline-offset: 3px !important;
  white-space: nowrap !important;
  cursor: pointer;
}
html body .snet-tariff-comment .snet-tariff-comment__verse a.snet-prepay-why:hover,
html body .snet-tariff-comment .snet-tariff-comment__verse a.snet-prepay-why:focus-visible {
  text-decoration-style: solid !important;
}

/* ---- /tariffs: savings line on promo cards ---- */
html body #main .snet-tariff-card .snet-tariff-save {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  align-self: center !important;
  margin: 2px auto 0 !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  font-size: 0.9rem !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  text-align: center !important;
  color: #86efac !important;
  -webkit-text-fill-color: #86efac !important;
  background: rgba(34, 197, 94, 0.12) !important;
  border: 1px solid rgba(134, 239, 172, 0.35) !important;
}
html body #main .snet-tariff-card .snet-tariff-save strong {
  font-weight: 800 !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}
html body #main .snet-tariff-card .snet-tariff-save i {
  font-size: 1.05rem !important;
  color: inherit !important;
}
html[data-theme="day"] body #main .snet-tariff-card .snet-tariff-save {
  color: #137a3a !important;
  -webkit-text-fill-color: #137a3a !important;
  background: rgba(22, 163, 74, 0.1) !important;
  border-color: rgba(22, 163, 74, 0.38) !important;
}

/* ---- /tariffs: #prepay block ---- */
html body #main .snet-prepay-row {
  margin-top: 8px;
}
html body #main .snet-tariff-card.snet-prepay {
  text-align: left !important;
}
html body #main .snet-tariff-card.snet-prepay .snet-tariff-card__head {
  justify-content: flex-start;
}
html body #main .snet-tariff-card.snet-prepay .snet-prepay__title {
  margin: 0 !important;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem) !important;
  line-height: 1.3 !important;
}
html body #main .snet-prepay__body {
  max-width: 46em;
}
html body #main .snet-prepay__body p {
  margin: 0 0 12px !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
  text-align: left !important;
  color: #cfe6f6 !important;
  -webkit-text-fill-color: #cfe6f6 !important;
}
html body #main .snet-prepay__body p:last-child {
  margin-bottom: 0 !important;
}
html[data-theme="day"] body #main .snet-prepay__body p {
  color: #16384f !important;
  -webkit-text-fill-color: #16384f !important;
}

/* ---- /tariffs: legal entities card, prepay paragraph ---- */
html body #main .snet-bizdeal__prepay {
  max-width: 30em;
  margin: 2px auto 0 !important;
  padding-top: 10px !important;
  border-top: 1px solid rgba(125, 211, 252, 0.22);
}
html body #main .snet-bizdeal__prepay p {
  margin: 0 0 6px !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  color: #9ec9e0 !important;
  -webkit-text-fill-color: #9ec9e0 !important;
}
html body #main .snet-bizdeal__prepay p:last-child {
  margin-bottom: 0 !important;
}
html[data-theme="day"] body #main .snet-bizdeal__prepay p {
  color: #3d647c !important;
  -webkit-text-fill-color: #3d647c !important;
}

@media (max-width: 575.98px) {
  html body #main .snet-prepay__body p { font-size: 0.95rem !important; }
  html body #main .snet-tariff-card .snet-tariff-save { font-size: 0.85rem !important; }
}
