/* SBS-FIX v3 etap 1+2. Не главная: файл не подключается на is_front_page.
   D — десктоп по макету, только 15 категорий. M — мобильная как на главной.
   Квиз ангаров (48px) не трогать. */

/* D: десктоп по макету */
@media (min-width: 768px) {
  :is(
    .hero-fs_pagoda,
    .hero-fs_membrannye,
    .hero-fs_zonty,
    .hero-fs_tentovye-angary,
    .hero-fs_klassicheskie-bolshie-dlya-meropriyatij,
    .hero-fs_arochnye-dlya-kafe-restorana,
    .hero-fs_derevyannye-shatry,
    .hero-fs_sfericheskie-kupolnye,
    .hero-fs_sfericheskij-shater-derevjannyj,
    .hero-fs_glemping,
    .hero-fs_mobilnye,
    .hero-fs_shestigrannye,
    .hero-fs_natyazhnye,
    .hero-fs_kaskadnye-shatry,
    .hero-fs_tipa-zvezda
  ) .breadcrumbs {
    font-size: 15px;
  }

  body:is(
    :has(.hero-fs_pagoda),
    :has(.hero-fs_membrannye),
    :has(.hero-fs_zonty),
    :has(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij),
    :has(.hero-fs_arochnye-dlya-kafe-restorana),
    :has(.hero-fs_derevyannye-shatry),
    :has(.hero-fs_sfericheskie-kupolnye),
    :has(.hero-fs_sfericheskij-shater-derevjannyj),
    :has(.hero-fs_natyazhnye),
    :has(.hero-fs_kaskadnye-shatry),
    :has(.hero-fs_tipa-zvezda),
    :has(.hero-fs_glemping)
  ) .tents-catalog :is(
    h2.section-13__garant-title,
    h3.section-13__service-title,
    h2.secgost__title
  ) {
    font-size: 50px;
    letter-spacing: 0;
  }

  body:is(:has(.hero-fs_mobilnye), :has(.hero-fs_shestigrannye)) .tents-catalog :is(
    .section-quiz__title._section-title,
    h2.secgost__title,
    h2.section-13__garant-title,
    h3.section-13__service-title
  ) {
    letter-spacing: 0;
  }

  body:is(
    :has(.hero-fs_pagoda),
    :has(.hero-fs_membrannye),
    :has(.hero-fs_zonty),
    :has(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij),
    :has(.hero-fs_arochnye-dlya-kafe-restorana),
    :has(.hero-fs_derevyannye-shatry),
    :has(.hero-fs_sfericheskie-kupolnye),
    :has(.hero-fs_sfericheskij-shater-derevjannyj),
    :has(.hero-fs_glemping),
    :has(.hero-fs_mobilnye),
    :has(.hero-fs_shestigrannye),
    :has(.hero-fs_natyazhnye),
    :has(.hero-fs_kaskadnye-shatry),
    :has(.hero-fs_tipa-zvezda)
  ) .section-quiz__title {
    font-size: 50px;
    letter-spacing: 0;
  }

  body:is(
    :has(.hero-fs_pagoda),
    :has(.hero-fs_membrannye),
    :has(.hero-fs_zonty),
    :has(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij),
    :has(.hero-fs_arochnye-dlya-kafe-restorana),
    :has(.hero-fs_derevyannye-shatry),
    :has(.hero-fs_sfericheskie-kupolnye),
    :has(.hero-fs_sfericheskij-shater-derevjannyj),
    :has(.hero-fs_glemping),
    :has(.hero-fs_mobilnye),
    :has(.hero-fs_shestigrannye),
    :has(.hero-fs_natyazhnye),
    :has(.hero-fs_kaskadnye-shatry),
    :has(.hero-fs_tipa-zvezda)
  ) .tents-catalog .quality-fs__cert-caption {
    color: #282828;
  }

  body:is(
    :has(.hero-fs_pagoda),
    :has(.hero-fs_membrannye),
    :has(.hero-fs_zonty),
    :has(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij),
    :has(.hero-fs_arochnye-dlya-kafe-restorana),
    :has(.hero-fs_derevyannye-shatry),
    :has(.hero-fs_sfericheskie-kupolnye),
    :has(.hero-fs_sfericheskij-shater-derevjannyj),
    :has(.hero-fs_glemping),
    :has(.hero-fs_mobilnye),
    :has(.hero-fs_shestigrannye),
    :has(.hero-fs_natyazhnye),
    :has(.hero-fs_kaskadnye-shatry),
    :has(.hero-fs_tipa-zvezda)
  ) .tents-catalog .quality-fs__cert:last-child .quality-fs__cert-caption {
    font-weight: 700;
  }

  body:is(
    :has(.hero-fs_pagoda),
    :has(.hero-fs_membrannye),
    :has(.hero-fs_zonty),
    :has(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij),
    :has(.hero-fs_arochnye-dlya-kafe-restorana),
    :has(.hero-fs_derevyannye-shatry),
    :has(.hero-fs_sfericheskie-kupolnye),
    :has(.hero-fs_sfericheskij-shater-derevjannyj),
    :has(.hero-fs_natyazhnye),
    :has(.hero-fs_kaskadnye-shatry),
    :has(.hero-fs_tipa-zvezda),
    :has(.hero-fs_glemping)
  ) .tents-catalog .secgost__item:nth-child(1) .secgost__text,
  body:is(
    :has(.hero-fs_pagoda),
    :has(.hero-fs_membrannye),
    :has(.hero-fs_zonty),
    :has(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij),
    :has(.hero-fs_arochnye-dlya-kafe-restorana),
    :has(.hero-fs_derevyannye-shatry),
    :has(.hero-fs_sfericheskie-kupolnye),
    :has(.hero-fs_sfericheskij-shater-derevjannyj),
    :has(.hero-fs_natyazhnye),
    :has(.hero-fs_kaskadnye-shatry),
    :has(.hero-fs_tipa-zvezda),
    :has(.hero-fs_glemping)
  ) .tents-catalog .secgost__item:nth-child(3) .secgost__text {
    color: #000000;
  }

  body:is(:has(.hero-fs_mobilnye), :has(.hero-fs_shestigrannye)) .tents-catalog .secgost__item:nth-child(2) .secgost__text {
    color: #282828;
  }

  body:is(
    :has(.hero-fs_pagoda),
    :has(.hero-fs_glemping),
    :has(.hero-fs_mobilnye),
    :has(.hero-fs_shestigrannye)
  ) .tents-catalog :is(.quality-fs__docs-title, .section-6__title, .quality-fs__feature-title) {
    letter-spacing: -2.45px;
  }

  body:is(:has(.hero-fs_mobilnye), :has(.hero-fs_shestigrannye)) .tents-catalog .prod-industries .section-2__title {
    letter-spacing: -2.45px;
  }

  body:is(
    :has(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij),
    :has(.hero-fs_arochnye-dlya-kafe-restorana),
    :has(.hero-fs_derevyannye-shatry),
    :has(.hero-fs_sfericheskie-kupolnye),
    :has(.hero-fs_sfericheskij-shater-derevjannyj)
  ) .tents-catalog .section-8__lead {
    font-size: 22px;
  }
}

@media (min-width: 1200px) {
  .hero-fs_pagoda .hero-fs__video-text {
    width: 110px;
    max-width: 110px;
  }

  .hero-fs_tentovye-angary .hero-fs__video-text {
    width: 171px;
    max-width: 171px;
  }

  .hero-fs_klassicheskie-bolshie-dlya-meropriyatij .hero-fs__video-text {
    width: 130px;
    max-width: 130px;
  }

  .hero-fs_klassicheskie-bolshie-dlya-meropriyatij .hero-fs__video-text br {
    display: none;
  }

  :is(.hero-fs_derevyannye-shatry) .hero-fs__video-text {
    width: 140px;
    max-width: 140px;
  }

  .hero-fs_sfericheskij-shater-derevjannyj .hero-fs__video-text {
    width: 210px;
    max-width: 210px;
  }

  :is(.hero-fs_derevyannye-shatry, .hero-fs_sfericheskij-shater-derevjannyj) .hero-fs__video-text br {
    display: none;
  }

  body:has(.hero-fs_tentovye-angary) h1.hero-fs__title { top: 170px; }
  body:has(.hero-fs_tentovye-angary) .hero-fs__slogan { top: 300px; }
  body:has(.hero-fs_tentovye-angary) .section-1__subtitle { top: 526px; }

  body:has(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) h1.hero-fs__title { top: 171px; }
  body:has(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .hero-fs__slogan { top: 303px; }
  body:has(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .section-1__subtitle { top: 524px; }

  body:has(.hero-fs_arochnye-dlya-kafe-restorana) .hero-fs__features { top: 418px; }
  body:is(
    :has(.hero-fs_derevyannye-shatry),
    :has(.hero-fs_sfericheskie-kupolnye)
  ) .hero-fs__features { top: 418px; }
  body:is(
    :has(.hero-fs_arochnye-dlya-kafe-restorana),
    :has(.hero-fs_derevyannye-shatry),
    :has(.hero-fs_sfericheskie-kupolnye)
  ) .hero-fs__slogan { top: 252px; }
  body:is(
    :has(.hero-fs_arochnye-dlya-kafe-restorana),
    :has(.hero-fs_derevyannye-shatry),
    :has(.hero-fs_sfericheskie-kupolnye)
  ) .section-1__subtitle { top: 479px; }

  body:has(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .quality-fs__docs-subtitle {
    max-width: 640px;
  }

  body:has(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .quality-fs__feature:nth-child(3) .quality-fs__feature-title {
    max-width: 220px;
  }

  body:has(.hero-fs_sfericheskie-kupolnye) .prod-industries .section-2__title br,
  body:has(.hero-fs_sfericheskij-shater-derevjannyj) .prod-industries .section-2__title br {
    display: none;
  }

  body:has(.hero-fs_sfericheskie-kupolnye) .prod-industries .section-2__title span,
  body:has(.hero-fs_sfericheskij-shater-derevjannyj) .prod-industries .section-2__title span {
    display: block;
  }

  body:has(.hero-fs_natyazhnye) .prod-faq .section-9__title {
    max-width: 1100px;
  }

  body:has(.hero-fs_sfericheskij-shater-derevjannyj) .prod-faq .section-9__title {
    max-width: none;
    white-space: nowrap;
  }
}

/* M: мобильная как на главной */
@media (max-width: 767.98px) {
  main.tents-catalog .hero-fs .section-1__subtitle {
    display: none;
  }

  main.tents-catalog h2._section-title {
    font-size: 32.6px;
    line-height: 32.6px;
    letter-spacing: 0;
    font-weight: 500;
  }

  main.tents-catalog :is(.hero-fs .section-1__button, .section-8__btn, .section-6__btn) {
    min-height: 75px;
    height: auto;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
  }

  :is(
    .hero-fs_pagoda,
    .hero-fs_membrannye,
    .hero-fs_zonty,
    .hero-fs_tentovye-angary,
    .hero-fs_klassicheskie-bolshie-dlya-meropriyatij
  ).hero-fs {
    padding: 8px 15px 20px;
  }

  :is(
    .hero-fs_pagoda,
    .hero-fs_membrannye,
    .hero-fs_zonty,
    .hero-fs_tentovye-angary,
    .hero-fs_klassicheskie-bolshie-dlya-meropriyatij
  ).hero-fs::before {
    background: linear-gradient(rgba(12, 12, 12, 0.55) 0%, rgba(12, 12, 12, 0.28) 100%);
  }

  :is(
    .hero-fs_pagoda,
    .hero-fs_membrannye,
    .hero-fs_zonty,
    .hero-fs_tentovye-angary,
    .hero-fs_klassicheskie-bolshie-dlya-meropriyatij
  ) .hero-fs__grid {
    grid-template-columns: minmax(0, 1fr) 64px;
    grid-template-areas:
      "title video"
      "slogan slogan"
      "buttons buttons"
      "features features";
    column-gap: 8px;
    row-gap: 10px;
  }

  :is(
    .hero-fs_pagoda,
    .hero-fs_membrannye,
    .hero-fs_zonty,
    .hero-fs_tentovye-angary,
    .hero-fs_klassicheskie-bolshie-dlya-meropriyatij
  ) h1.hero-fs__title,
  :is(
    .hero-fs_pagoda,
    .hero-fs_membrannye,
    .hero-fs_zonty,
    .hero-fs_tentovye-angary,
    .hero-fs_klassicheskie-bolshie-dlya-meropriyatij
  ) .hero-fs__slogan {
    font-size: 28px;
    line-height: 32.2px;
    letter-spacing: -1.12px;
    color: #fff;
  }

  :is(
    .hero-fs_pagoda,
    .hero-fs_membrannye,
    .hero-fs_zonty,
    .hero-fs_tentovye-angary,
    .hero-fs_klassicheskie-bolshie-dlya-meropriyatij
  ) h1.hero-fs__title span {
    color: #fff;
  }

  :is(
    .hero-fs_pagoda,
    .hero-fs_membrannye,
    .hero-fs_zonty,
    .hero-fs_tentovye-angary,
    .hero-fs_klassicheskie-bolshie-dlya-meropriyatij
  ) .hero-fs__slogan span {
    color: #fc4c02;
  }

  :is(
    .hero-fs_pagoda,
    .hero-fs_membrannye,
    .hero-fs_zonty,
    .hero-fs_tentovye-angary,
    .hero-fs_klassicheskie-bolshie-dlya-meropriyatij
  ) .hero-fs__video {
    align-self: start;
    margin-top: 20px;
  }

  :is(
    .hero-fs_pagoda,
    .hero-fs_membrannye,
    .hero-fs_zonty,
    .hero-fs_tentovye-angary,
    .hero-fs_klassicheskie-bolshie-dlya-meropriyatij
  ) .hero-fs__play {
    background: rgba(255, 255, 255, 0.45);
  }

  :is(
    .hero-fs_pagoda,
    .hero-fs_membrannye,
    .hero-fs_zonty,
    .hero-fs_tentovye-angary,
    .hero-fs_klassicheskie-bolshie-dlya-meropriyatij
  ) .section-1__button {
    width: 100%;
    min-height: 75px;
    height: auto;
  }

  :is(
    .hero-fs_pagoda,
    .hero-fs_membrannye,
    .hero-fs_zonty,
    .hero-fs_tentovye-angary,
    .hero-fs_klassicheskie-bolshie-dlya-meropriyatij
  ) .section-1__button._black-btn.hero-fs__consult {
    background: #282828;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  :is(
    .hero-fs_pagoda,
    .hero-fs_membrannye,
    .hero-fs_zonty,
    .hero-fs_tentovye-angary,
    .hero-fs_klassicheskie-bolshie-dlya-meropriyatij
  ) .hero-fs__feature-text {
    color: #1c1c1c;
  }

  body:has(.hero-fs_tentovye-angary) h1.hero-fs__title,
  body:has(.hero-fs_tentovye-angary) .hero-fs__title.hero-fs__title--long + .hero-fs__slogan {
    font-size: 28px;
    line-height: 32.2px;
    letter-spacing: -1.12px;
    color: #fff;
    width: auto;
    max-width: 100%;
  }

  body:has(.hero-fs_tentovye-angary) h1.hero-fs__title span {
    color: #fff;
  }

  body:has(.hero-fs_tentovye-angary) .hero-fs__slogan span {
    color: #fc4c02;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) {
    padding: 8px 15px 20px;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .hero-fs__container {
    padding: 0;
    height: auto;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .hero-fs__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px;
    grid-template-areas:
      "title video"
      "slogan slogan"
      "buttons buttons"
      "features features";
    gap: 10px 8px;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) :is(h1.hero-fs__title, .hero-fs__slogan) {
    position: static;
    width: auto;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    font-size: 28px;
    line-height: 32.2px;
    letter-spacing: -1.12px;
    color: #fff;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) h1.hero-fs__title span {
    color: #fff;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .hero-fs__slogan span {
    color: #fc4c02;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .hero-fs__video {
    position: relative;
    top: auto;
    left: auto;
    grid-area: video;
    width: 64px;
    max-width: 64px;
    margin: 20px 0 0;
    justify-self: end;
    align-self: start;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .hero-fs__play {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.45);
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .hero-fs__play::before {
    width: 46px;
    height: 46px;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .hero-fs__play::after {
    border-width: 7px 0 7px 12px;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .hero-fs__video-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .hero-fs__buttons {
    grid-area: buttons;
    flex-direction: column;
    width: 100%;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .section-1__button {
    width: 100%;
    max-width: none;
    min-height: 75px;
    height: auto;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .section-1__button._black-btn,
  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .section-1__button._black-btn.hero-fs__consult {
    background: #282828;
    border: 0;
    box-shadow: none;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .hero-fs__features {
    grid-area: features;
    position: static;
    width: 100%;
    max-width: none;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .hero-fs__feature {
    width: 100%;
    height: auto;
    min-height: 48px;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .hero-fs__feature-text {
    width: auto;
    max-width: 100%;
    color: #1c1c1c;
    font-weight: 600;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .hero-fs__doc {
    display: none;
  }

  main.tents-catalog .hero-fs_catalog:not(.hero-fs_pagoda):not(.hero-fs_membrannye):not(.hero-fs_zonty):not(.hero-fs_tentovye-angary):not(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij) .section-1__button._main-btn {
    background: #fc4c02;
    background-image: none;
    color: #fff;
  }

  .section-1.section-1--mod h1.section-1__title {
    font-size: 28px;
    line-height: 32.2px;
    letter-spacing: -1.12px;
    font-weight: 600;
    color: #fff;
  }

  .section-28.section-28_katalog h1.section-28__title {
    font-size: 28px;
    line-height: 32.2px;
    letter-spacing: -1.12px;
    font-weight: 600;
    color: #fff;
  }

}

/* D: etap 2 residual (letter-spacing cycle/cases, quality color #282828) */
@media (min-width: 768px) {
  body:is(
    :has(.hero-fs_pagoda),
    :has(.hero-fs_glemping),
    :has(.hero-fs_mobilnye),
    :has(.hero-fs_shestigrannye)
  ) main.tents-catalog h2.section-4__title._section-title,
  body:is(
    :has(.hero-fs_pagoda),
    :has(.hero-fs_glemping),
    :has(.hero-fs_mobilnye),
    :has(.hero-fs_shestigrannye)
  ) main.tents-catalog h2.section-6__title._section-title._section-title_48 {
    letter-spacing: -2.45px;
  }

  body:is(
    :has(.hero-fs_pagoda),
    :has(.hero-fs_membrannye),
    :has(.hero-fs_zonty),
    :has(.hero-fs_tentovye-angary),
    :has(.hero-fs_klassicheskie-bolshie-dlya-meropriyatij),
    :has(.hero-fs_arochnye-dlya-kafe-restorana),
    :has(.hero-fs_derevyannye-shatry),
    :has(.hero-fs_sfericheskie-kupolnye),
    :has(.hero-fs_sfericheskij-shater-derevjannyj),
    :has(.hero-fs_glemping),
    :has(.hero-fs_mobilnye),
    :has(.hero-fs_shestigrannye),
    :has(.hero-fs_natyazhnye),
    :has(.hero-fs_kaskadnye-shatry),
    :has(.hero-fs_tipa-zvezda)
  ) main.tents-catalog .quality-fs :is(
    .quality-fs__feature-title,
    .quality-fs__feature-text,
    .quality-fs__docs-title,
    .quality-fs__docs-subtitle,
    .quality-fs__docs-text,
    .quality-fs__cert-caption,
    p,
    strong
  ) {
    color: #282828;
  }
}

/* M: etap 2 — M3 новые страницы + M4 услуги (файл на главной не подключается) */
@media (max-width: 767.98px) {
  h1.section-28__title._grand-title {
    font-size: 28px;
    line-height: 32.2px;
    letter-spacing: -1.12px;
    font-weight: 600;
    text-wrap: pretty;
  }

  /* Скоуп M3/M4: не трогаем категории (файл на них уже подключается с этапа 1). */
  body:has(h1.section-28__title._grand-title) :is(h1, h2, h3),
  body:has(main.page-transformer) :is(h1, h2, h3),
  body:has(h1.sale-why__title) :is(h1, h2, h3) {
    text-wrap: pretty;
  }

  body:has(h1.section-28__title._grand-title) h2._section-title {
    font-size: 32.6px;
    line-height: 32.6px;
    letter-spacing: 0;
    font-weight: 500;
  }

  body:has(h1.section-28__title._grand-title) .section-28__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  body:has(h1.section-28__title._grand-title) .section-28__button {
    width: 100%;
    max-width: 360px;
    min-height: 75px;
    height: auto;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
  }

  body:has(.section-28_service) .section-52__link._main-btn {
    min-height: 75px;
    height: auto;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
  }

  body:has(h1.section-28__title._grand-title) main p,
  body:has(h1.section-28__title._grand-title) main li {
    font-size: 16px;
    line-height: 22px;
  }

  /* M3: купол от БПЛА — не удваивать padding inner+actions */
  main.kupol-bpla .kupol-hero__inner {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    width: 100%;
  }
  main.kupol-bpla .kupol-hero__actions {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
  }
  main.page-transformer.kupol-bpla a.kupol-btn,
  main.kupol-bpla .kupol-btn {
    width: 100%;
    max-width: 360px;
    min-height: 75px;
    height: auto;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    border-radius: 12px;
    text-transform: uppercase;
    box-sizing: border-box;
  }
  main.kupol-bpla h1.kupol-hero__title {
    font-size: 28px;
    line-height: 32.2px;
    letter-spacing: -1.12px;
    font-weight: 600;
    text-wrap: pretty;
  }

  /* M3: трансформер */
  main.page-transformer a.front-transformer__btn,
  main.page-transformer .front-transformer__btn {
    width: 100%;
    max-width: 360px;
    min-height: 75px;
    height: auto;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    box-sizing: border-box;
  }
  main.page-transformer h1.front-transformer__title {
    font-size: 28px;
    line-height: 32.2px;
    letter-spacing: -1.12px;
    font-weight: 600;
    text-wrap: pretty;
  }

  /* M3: НЛО — селектор сильнее темы */
  main.page-transformer.page-transformer_nlo .nlo-hero a.nlo-hero__btn,
  main.page-transformer.page-transformer_nlo a.nlo-hero__btn,
  main.page-transformer_nlo .nlo-hero a.nlo-hero__btn,
  main.page-transformer_nlo .nlo-hero__btn {
    width: 360px;
    max-width: 360px;
    min-height: 75px;
    height: 75px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    border-radius: 12px;
    box-sizing: border-box;
  }
  main.page-transformer.page-transformer_nlo .nlo-hero h1.nlo-hero__title,
  main.page-transformer_nlo h1.nlo-hero__title {
    font-size: 28px;
    line-height: 32.2px;
    letter-spacing: -1.12px;
    font-weight: 600;
    text-wrap: pretty;
  }

  /* M4: лизинг (H1 sale-why, CTA нет) */
  h1.sale-why__title {
    font-size: 28px;
    line-height: 32.2px;
    letter-spacing: -1.12px;
    font-weight: 600;
    text-wrap: pretty;
  }
}
