/* 13.11.2026 — правки Михаила «правки бассейны версия 2.docx». Подключается последним во все страницы (tb_fix1113.py). */

/* п.8: видеоблог/блог — все карточки одного размера (картинки 16:9, обрезка по центру) */
html body .news_page .blog-main__img:not([style*="hidden"]){width:100%!important;height:auto!important;aspect-ratio:16/9;object-fit:cover!important;display:block}

@media (max-width:767px){
  /* п.3, 4: текст на телефоне — без выравнивания по ширине, обычный шрифт */
  html body .article p,html body .article span,html body .article li,
  html body .product__info2-description,html body .product__info2-description p,
  html body .poolPage_content p,html body .article_section p{text-align:left!important;font-family:Montserrat,sans-serif!important;font-size:15px!important;line-height:1.6!important;text-indent:0!important;word-spacing:normal!important}
  html body [style*="justify"]{text-align:left!important}

  /* п.4, 5: страницы моделей Aquabiography — блоки друг под другом: заголовок → цены → описание */
  html body .product__main{flex-direction:column!important;flex-wrap:nowrap!important}
  html body .product__main > .product__info2{display:contents!important}
  html body .product__main > .product__modelDropdowns{order:0}
  html body .product__main .product__info2-model{order:1;width:100%!important;max-width:100%!important;display:flex!important;align-items:flex-start;gap:12px}
  html body .product__main .product__info2-model > div:first-child{flex:1 1 auto;min-width:0}
  html body .product__main .product__info2-model h1{width:auto!important;max-width:100%!important;height:auto!important;font-size:19px!important;line-height:1.25!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;margin:4px 0 0!important}
  html body .product__main .product__info2-scheme{flex:0 0 70px;width:70px!important;height:auto!important}
  html body .product__main .product__info2-model,html body .product__main .product__info2-model > div{height:auto!important;min-height:0!important;margin-bottom:0!important}
  html body .product__main .product__info2-model h1 a.toggle_modelsDropdown{font-size:22px!important;line-height:1.25!important}
  html body .product__main .product__info2-scheme{align-self:center;top:auto!important}
  html body .product__main .product__info2-scheme img{width:100%!important;height:auto!important;position:static!important}
  html body .product__main > .product__purchase{order:2;width:100%!important;max-width:100%!important;margin:16px 0 8px!important;padding:0!important}
  html body .product__main .product__purchase-prices{display:flex!important;gap:24px;flex-wrap:wrap}
  html body .product__main .product__purchase-links{display:flex!important;align-items:center;gap:18px;flex-wrap:wrap;margin-top:12px}
  html body .product__main .product__info2-description{order:3;width:100%!important;max-width:100%!important;padding-left:0!important;padding-right:0!important;margin-top:10px!important}

  /* п.2: Mr.Spa — блоки друг под другом: крошки → заголовок → фото → описание → цена */
  html body .gidropool__container{display:flex!important;flex-direction:column!important;padding-left:15px!important;padding-right:15px!important;box-sizing:border-box}
  html body .gidropool__info{display:contents!important}
  html body .gidropool__info > *{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box}
  html body .gidropool__info .breadcrumbs{order:1}
  html body .gidropool__info .breadcrumbs__item{display:inline!important;width:auto!important;font-size:11px!important;line-height:1.6}
  html body .gidropool__title{order:2;font-size:26px!important;line-height:1.2!important;margin:14px 0 10px!important}
  html body .gidropool__view{order:3;height:auto!important;min-height:0!important;width:100%!important;max-width:100%!important;margin:0 0 16px!important;padding:16px 0!important;text-align:center;box-sizing:border-box}
  html body .gidropool__view img{max-width:75%!important;height:auto!important}
  html body .gidropool__size{order:4}
  html body .gidropool__description{order:5;font-size:15px!important;line-height:1.6!important}
  html body .gidropool__variants{order:6;margin-top:14px!important}
  html body .gidropool__variant{padding-left:0!important;margin-left:0!important}
  html body .gidropool__size,html body .gidropool__description{margin-top:0!important;padding-top:0!important;height:auto!important}
  html body .gidropool__video{width:100%!important}
}
