/* Свои стили сайта iz-gazobetona.ru. 25.10.2026 */

/* Ссылки на разделы каталога: кнопки вместо слипшегося текста */
.cat_modul_bani{display:inline-block;margin:0 7px 8px 0;padding:8px 13px;border:1px solid #cfe4f1;border-radius:20px;background:#f4fafd;color:#1d6d96;font-size:14px;line-height:1.15;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.cat_modul_bani:hover,.cat_modul_bani:focus{background:#40b1e2;border-color:#40b1e2;color:#fff;text-decoration:none}

/* Блок «Категории проектов» */
.gaz-cat{margin:0}
.gaz-cat__g{margin:0 0 18px}
.gaz-cat__g:last-child{margin-bottom:0}
.gaz-cat__h{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:17px;font-weight:700;color:#1f2d3a;text-decoration:none}
.gaz-cat__h:hover{color:#1d6d96;text-decoration:none}
.gaz-cat__h svg{flex:0 0 34px;width:34px;height:34px;padding:6px;border-radius:50%;background:#e8f6fd;color:#1d6d96}
.gaz-cat__t{display:flex;flex-wrap:wrap}
.gaz-cat__more{margin:2px 0 0}
.gaz-cat__more>summary{display:inline-block;cursor:pointer;padding:6px 0;color:#1d6d96;font-size:14px;list-style:none}
.gaz-cat__more>summary::-webkit-details-marker{display:none}
.gaz-cat__more>summary::before{content:"+ ";font-weight:700}
.gaz-cat__more[open]>summary::before{content:"- "}
.gaz-cat__more[open]>summary{margin-bottom:6px}

/* Блок «Каталог типовых проектов» в тексте страниц */
.gaz-kt{margin:24px 0;padding:18px;border:1px solid #e3edf3;border-radius:10px;background:#fbfdfe}
.gaz-kt__title{margin:0 0 4px;text-align:center}
.gaz-kt__all{display:block;margin:0 0 18px;text-align:center;font-weight:700}
.gaz-kt__row{display:flex;gap:18px;align-items:flex-start;padding:16px 0;border-top:1px solid #e3edf3}
.gaz-kt__row:first-of-type{border-top:0;padding-top:0}
.gaz-kt__pic{flex:0 0 190px;max-width:190px;text-align:center}
.gaz-kt__pic img{width:100%;max-width:200px;height:auto;aspect-ratio:1/1;border-radius:8px;display:block;margin:0 auto;object-fit:cover}
.gaz-kt__pic span{display:block;margin-top:8px;font-weight:700}
.gaz-kt__tags{flex:1 1 auto;display:flex;flex-wrap:wrap;align-content:flex-start}
@media (max-width:767px){
  .gaz-kt{padding:14px}
  .gaz-kt__row{flex-direction:column;gap:12px}
  .gaz-kt__pic{flex:0 0 auto;max-width:100%;width:100%}
}

/* Блок преимуществ со значками */
.gaz-pr{margin:20px 0;border:1px solid #cfe4f1;border-radius:10px;background:#c3eefe;overflow:hidden}
.gaz-pr h2{margin:0;padding:14px 16px;text-align:center;font-size:22px}
.gaz-pr__i{display:flex;align-items:center;gap:14px;padding:12px 16px;border-top:1px solid #dcecf5;background:#f2f2f2}
.gaz-pr__i:nth-child(odd){background:#eaf7fe}
.gaz-pr__i img{flex:0 0 70px;width:70px;height:70px}
.gaz-pr__i p{margin:0;font-weight:700;line-height:1.45}
@media (max-width:480px){
  .gaz-pr h2{font-size:19px}
  .gaz-pr__i{gap:11px;padding:11px 12px}
  .gaz-pr__i img{flex:0 0 54px;width:54px;height:54px}
  .gaz-pr__i p{font-size:15px}
}

/* Блок «Читайте также» в статьях */
.gaz-also{margin:26px 0 0;padding:16px 18px;border-left:4px solid #40b1e2;border-radius:0 8px 8px 0;background:#f4fafd}
.gaz-also b,.gaz-also strong{display:block;margin-bottom:8px}
.gaz-also ul{margin:0;padding-left:20px}
.gaz-also li{margin:0 0 6px}

/* Широкие таблицы прокручиваются, а не вылезают за край экрана */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 14px;max-width:100%}
.table-wrap>table{margin-bottom:0}
@media (max-width:767px){
  .table-wrap>table{min-width:520px}
}

/* Кнопка под блоком преимуществ */
.gaz-pr__b{padding:14px 16px;text-align:center;background:#f2f2f2;border-top:1px solid #dcecf5}
.gaz-pr__b a{display:inline-block;padding:11px 22px;border-radius:5px;border-bottom:2px solid #555;background:#ffe400;color:#000;font-weight:700;text-decoration:none}
.gaz-pr__b a:hover{background:#ffd400;color:#000;text-decoration:none}

/* Каталог проектов: карточки сеткой, а не в одну колонку */
#comjshop_list_product .row-fluid,#comjshop_list_category .row-fluid{display:flex;flex-wrap:wrap;margin-left:-10px;margin-right:-10px}
#comjshop_list_product .row-fluid>div,#comjshop_list_category .row-fluid>div{float:none!important;width:33.3333%;padding:0 10px;box-sizing:border-box;display:flex;flex-direction:column}
#comjshop_list_product .block_product,#comjshop_list_category .block_category{display:flex;flex-direction:column;height:100%;padding:14px;border:1px solid #e3edf3;border-radius:10px;background:#fff;margin-bottom:20px}
#comjshop_list_product .block_product:hover{box-shadow:0 3px 14px rgba(32,80,110,.13)}
#comjshop_list_product .image_block img,#comjshop_list_category .block_category img{max-width:100%;height:auto}
#comjshop_list_product .name{min-height:3em;font-weight:600}
#comjshop_list_product .buttons{margin-top:auto}
@media (max-width:991px){
  #comjshop_list_product .row-fluid>div,#comjshop_list_category .row-fluid>div{width:50%}
}
@media (max-width:575px){
  #comjshop_list_product .row-fluid>div,#comjshop_list_category .row-fluid>div{width:100%}
}

/* Карточки каталога: ровная высота картинки и названия */
#comjshop_list_product .image_block{display:flex;align-items:center;justify-content:center;min-height:200px}
#comjshop_list_product .image_block img{max-height:200px;object-fit:contain}
@media (max-width:575px){
  #comjshop_list_product .image_block{min-height:auto}
  #comjshop_list_product .image_block img{max-height:none}
}

/* Подвал: тёмная полоса, светлый текст */
#sp-section-6{background:#22323f;color:#e8eef3;padding:28px 0 16px;margin-top:30px}
#sp-section-6 .sp-module-title,#sp-section-6 h2,#sp-section-6 h3,#sp-section-6 p,#sp-section-6 td,#sp-section-6 div{color:#e8eef3}
#sp-section-6 a{color:#8fd4f5}
#sp-section-6 a:hover{color:#fff}
#sp-section-6 .table-wrap>table{min-width:0}
#sp-section-6 table,#sp-section-6 td{border:0}

/* Сертификаты в сайдбаре */
.gaz-sert{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}
.gaz-sert img{width:170px;height:auto;border:1px solid #e3edf3;border-radius:6px;display:block}
.gaz-sert a:hover img{border-color:#40b1e2}
.gaz-sert__note{margin:10px 0 0;font-size:14px;color:#6b7b88;text-align:center}

/* Галереи фото со стройки */
.gaz-gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;margin:10px 0}
.gaz-gal a{display:block;overflow:hidden;border-radius:6px;background:#eef4f8}
.gaz-gal img{width:100%;height:135px;object-fit:cover;display:block;transition:transform .2s}
.gaz-gal a:hover img{transform:scale(1.04)}
.gaz-lb{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;background:rgba(12,20,27,.92)}
.gaz-lb.is-open{display:flex}
.gaz-lb img{max-width:92vw;max-height:84vh;border-radius:6px}
.gaz-lb button{position:absolute;border:0;background:rgba(255,255,255,.14);color:#fff;font-size:30px;line-height:1;cursor:pointer;border-radius:6px;padding:8px 16px}
.gaz-lb__x{top:16px;right:16px;font-size:26px}
.gaz-lb__p{left:16px}
.gaz-lb__n{right:16px}
.gaz-lb button:hover{background:rgba(255,255,255,.28)}
.gaz-lb__c{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:#cfe0ea;font-size:14px}
@media (max-width:575px){
  .gaz-gal{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}
  .gaz-gal img{height:100px}
  .gaz-lb button{padding:6px 12px;font-size:24px}
}

/* Кнопка запроса расчёта вместо корзины */
.gaz-cta{margin:18px 0 6px}
.gaz-cta__btn{display:inline-block;padding:14px 26px;border-radius:6px;background:#40b1e2;color:#fff;font-weight:700;font-size:17px;text-decoration:none;border-bottom:3px solid #2b8cb8}
.gaz-cta__btn:hover,.gaz-cta__btn:focus{background:#2f9bcb;color:#fff;text-decoration:none}
.gaz-cta__note{display:block;margin-top:8px;font-size:14px;color:#6b7b88}
@media (max-width:575px){
  .gaz-cta__btn{display:block;text-align:center;padding:14px 16px}
}

/* Ловушка для роботов: поле не видно человеку */
.gaz-hp{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
