/* 12.11.2026 — правки Михаила (docx): телефон и одинаковая ширина текста. Подключается последним во все страницы (tb_fix1112b.py). */

/* п.15: на компьютере — одна ширина текстовых блоков */
@media (min-width:1024px){
  html body .article_section.pools_catalog,
  html body .article:not(.rl-skip),
  html body .blog.article,
  html body .poolPage_content{max-width:920px!important;width:auto!important;margin-left:50px!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
  html body .article_section.pools_catalog p{margin-left:0!important;margin-right:0!important}
  html body .article_section.pools_catalog{margin-left:65px!important}
  html body .product__tabs-tab .article{margin-left:0!important}
}

@media (max-width:1023px){
  /* п.10: модели серий Aquabiography на телефоне */
  html body .series-list .center-wrap.mobile--hide.mobile--hide.mobile--hide{display:block!important}
  html body .series-list .mobile--hide.mobile--hide.mobile--hide.series__modelsList{display:grid!important;grid-template-columns:1fr;gap:26px}
  html body .series__model,html body .series__model *{white-space:normal}
  html body .series__model [class*=price],html body .series__model [class*=Price]{white-space:nowrap!important}
  html body .series__model{width:100%!important;max-width:100%!important}
  html body .series__itemGallery .swiper-slide img{height:230px!important}
  html body .series__item{margin-bottom:28px}
}

@media (max-width:767px){
  /* п.12, 15: текст на всю ширину, одинаковые поля 15 px */
  html body .article_section,
  html body .article,
  html body .blog.article,
  html body .poolPage_content,
  html body .product__info2-description{margin-left:0!important;margin-right:0!important;padding-left:15px!important;padding-right:15px!important;max-width:100%!important;width:auto!important;box-sizing:border-box}
  html body .center-wrap .article,html body .center-wrap .article_section,html body .product__tabs-tab .article{padding-left:0!important;padding-right:0!important}
  html body .article_section p,html body .article p{margin-left:0!important;margin-right:0!important;max-width:100%!important}
  html body .services__list,html body .services__item,html body .services__info{display:block!important;width:100%!important;max-width:100%!important;padding-left:0!important;padding-right:0!important;margin-left:0!important}
  html body .services__title,html body .services__text{width:100%!important;max-width:100%!important;padding:0!important;margin:0 0 8px!important}
  html body .services__text,html body .services__text p{font-family:Montserrat,sans-serif!important;font-size:15px!important;line-height:1.5!important}
  html body .services__item{margin-bottom:18px!important}

  /* п.11: контакты — данные полностью, карта под ними на всю ширину */
  html body .contactStore__previews{position:static!important;width:100%!important}
  html body .contactStores.desktop--hide{height:auto!important;max-height:none!important;overflow:visible!important}
  html body .contactStore__preview{display:flex!important;flex-wrap:wrap!important;flex-direction:column!important;align-items:stretch!important;padding-left:15px!important;padding-right:15px!important}
  html body .contactStore__preview .contactStore__info{width:100%!important;max-width:100%!important}
  html body .contactStore__preview .contactStore__show:empty{display:none!important}
  html body .contactStore__preview .rl-map-mob{width:100%!important;order:9;margin:14px 0 4px!important}
  html body .contactStore__preview .rl-map-mob iframe{width:100%!important;display:block}
  html body .rl-cdata p{margin:6px 0!important}
  html body .rl-cdata a{color:inherit}

  /* п.13: подвал */
  html body .footer__wrap{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:10px!important}
  html body .footer__address{display:flex!important;flex-direction:column!important;align-items:center!important;gap:2px;width:100%}
  html body .footer__address .footer__address-city.mobile--hide.mobile--hide.mobile--hide{display:block!important}
  html body .footer__center{display:flex!important;flex-direction:column!important;align-items:center!important;gap:6px;width:100%}
  html body .footer__center a.mobile--hide.mobile--hide.mobile--hide{display:block!important}
  html body .footer__copyright{margin:0!important;width:100%;text-align:center!important}

  /* п.14: услуги — ровная сетка в две колонки (картинок у услуг нет) */
  html body .news .news_page{display:grid!important;grid-template-columns:1fr 1fr;gap:22px 14px;margin:0!important;width:100%!important}
  html body .news .blog-main__section{width:auto!important;padding:0!important;margin:0!important;justify-content:flex-start!important}
  html body .news .blog-main__img[style*="hidden"]{display:none!important}
  html body .news .blog-main__title{margin:0!important;font-size:15px!important;line-height:1.35!important}
  html body .news{margin-bottom:32px!important;height:auto!important}
  html body .news .news_page{height:auto!important}
}

/* 12.11 (видео «глюк», павильоны на телефоне): слайдер ровно по полям, текст описания на всю ширину */
@media (max-width:1023px){
  html body .product__wrap > .product__slider{position:relative!important;left:0!important;right:auto!important;margin-left:0!important;margin-right:0!important;width:100%!important;max-width:100%!important;transform:none!important}
  html body .product__wrap > .product__slider .swiper-container{margin:0!important;width:100%!important}
  html body .product__wrap.toogles__wrap{display:block!important}
  html body .product__wrap > .toogles__list{display:none!important}   /* большие картинки на телефоне скрыты, но пустой столбец 40 px сдвигал слайдер */
  html body .product__wrap > .product__slider .swiper-slide img{width:100%!important;height:auto!important;display:block}
}
@media (max-width:767px){
  html body .product__tabs.toogles__wrap{padding-left:0!important;padding-right:0!important}
  html body .product__tabs .toogles__item-content{padding-left:0!important;padding-right:0!important}
  html body .product__tabs .article,html body .product__tabs .article p,html body .product__tabs .article li{font-family:Montserrat,sans-serif!important;font-size:15px!important;line-height:1.6!important}
}
