/* Shared tariff typography follows the existing traffic-service component.
   Only actual main-content tariff values: not navigation, case results,
   ad budgets, category choice cards, explanatory copy or separate unit spans. */
main :is(.m-price__value, .p-price__value, .ss-tariff__price, [data-service-start-price]):not([data-tariff-label]) {
  font-family: Montserrat, sans-serif;
  font-size: 60px;
  font-weight: 600;
  line-height: 60px;
  letter-spacing: -1.8px;
  max-inline-size: 100%;
  overflow-wrap: anywhere;
}

/* Keep the complete number and currency together; only its original prefix
   may move to a preceding line. Font metrics remain inherited unchanged. */
main [data-tariff-money] {
  display: inline-block;
  white-space: nowrap;
}

/* A quote status is not a monetary amount. Keep the original wording legible
   without turning a long word into a second oversized numeric line. */
main [data-tariff-label] {
  font-family: Montserrat, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 31.2px;
  letter-spacing: -0.6px;
  max-inline-size: 100%;
  overflow-wrap: normal;
}

@media screen and (max-width: 1856px) {
  main :is(.m-price__value, .p-price__value, .ss-tariff__price, [data-service-start-price]):not([data-tariff-label]) {
    font-size: 45px;
    line-height: 45px;
  }
}

@media screen and (max-width: 1023.98px) {
  main :is(.m-price__value, .p-price__value, .ss-tariff__price, [data-service-start-price]):not([data-tariff-label]) {
    font-size: 24px;
    line-height: 24px;
    letter-spacing: -0.96px;
  }
}

@media screen and (max-width: 767.98px) {
  main [data-tariff-label] {
    font-size: 22px;
    line-height: 28.6px;
  }
}

@media screen and (max-width: 479.98px) {
  main :is(.m-price__value, .p-price__value, .ss-tariff__price, [data-service-start-price]):not([data-tariff-label]) {
    font-size: 32px;
    line-height: 32px;
  }
}
