/* HI 03.12.2026 (ГД): ТЕЛЕФОН (файл подключён в include/invis-counter.php) — подразделы каталога сеткой карточек вместо ленты вправо. Только max-width:767px, ПК не меняется. Откат: убрать этот блок. */
@media (max-width:767px){
body.site_HI .sections-list__inner.mobile-scrolled{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;overflow:visible!important;margin:0!important;padding:0!important;scroll-snap-type:none!important}
body.site_HI .sections-list__inner.mobile-scrolled>.sections-list__wrapper{width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;flex:none!important}
body.site_HI .sections-list__inner.mobile-scrolled .sections-list__item{border-radius:12px!important;border:1px solid #e6e8ea!important;box-shadow:0 2px 8px rgba(31,41,51,.06)}
body.site_HI .sections-list__inner.mobile-scrolled .sections-list__item-inner{flex-direction:column!important;align-items:flex-start!important;gap:8px!important;padding:12px!important;height:100%;box-sizing:border-box}
body.site_HI .sections-list__inner.mobile-scrolled .sections-list__item-image-wrapper{width:44px!important;height:44px!important;min-width:44px!important;flex:0 0 44px!important;justify-content:flex-start!important}
body.site_HI .sections-list__inner.mobile-scrolled .sections-list__item-image{width:44px!important;height:44px!important}
body.site_HI .sections-list__inner.mobile-scrolled .sections-list__item-text{font-size:14px!important;line-height:1.3!important;-webkit-line-clamp:4!important;color:#1f2933;word-break:normal!important;overflow-wrap:normal!important;hyphens:auto;-webkit-hyphens:auto}
body.site_HI .sections-list__inner.mobile-scrolled .sections-list__item-inner::after{content:"Смотреть →";margin-top:auto;font-size:13px;font-weight:600;color:#0f6b5c}
/* подбор — во всю ширину, выделен */
body.site_HI .sections-list__inner.mobile-scrolled>.sections-list__wrapper:has(a[href$="/podbor-nastila/"]){grid-column:1/-1}
body.site_HI .sections-list__inner.mobile-scrolled a[href$="/podbor-nastila/"]{background:#fffbef}
body.site_HI .sections-list__inner.mobile-scrolled .sections-list__item:has(a[href$="/podbor-nastila/"]){border:2px solid #f3c75e!important;background:#fffbef}
body.site_HI .sections-list__inner.mobile-scrolled a[href$="/podbor-nastila/"] .sections-list__item-inner{flex-direction:row!important;align-items:center!important;flex-wrap:wrap}
body.site_HI .sections-list__inner.mobile-scrolled a[href$="/podbor-nastila/"] .sections-list__item-inner>.flexbox{flex:1;min-width:0}
body.site_HI .sections-list__inner.mobile-scrolled a[href$="/podbor-nastila/"] .sections-list__item-inner::after{content:"Подобрать настил за 6 шагов →";flex-basis:100%;width:100%;box-sizing:border-box;margin-top:4px;padding:11px 12px;background:#0f6b5c;color:#fff;border-radius:6px;text-align:center}
/* значки, которых нет в разделе */
body.site_HI .sections-list__inner.mobile-scrolled a[href$="/podbor-nastila/"] .sections-list__item-image-wrapper{background:url(/include/mob/ico_podbor_nastila.png) center/contain no-repeat!important}
body.site_HI .sections-list__inner.mobile-scrolled a[href$="/standartnye-karty/"] .sections-list__item-image-wrapper{background:url(/include/mob/ico_standartnye_karty.png) center/contain no-repeat!important}
body.site_HI .sections-list__inner.mobile-scrolled a[href$="/podbor-nastila/"] .sections-list__item-image,body.site_HI .sections-list__inner.mobile-scrolled a[href$="/standartnye-karty/"] .sections-list__item-image{opacity:0!important}
}


/* заголовок-«витрина» раздела на телефоне (блок .hi-mh в описании раздела) */
.hi-mh{display:none}
@media (max-width:767px){
.hi-mh{display:block;margin:22px 0 18px;padding:16px;background:#fff;border:1px solid #e6e8ea;border-radius:12px}
.hi-mh-t{font-size:20px;line-height:1.25;font-weight:600;color:#1f2933;margin:0 0 12px}
.hi-mh-b{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 14px;padding:0;list-style:none}
.hi-mh-b li{display:flex;align-items:center;gap:8px;background:#f6f6f4;border-radius:10px;padding:10px;font-size:13px;line-height:1.3;color:#1f2933;margin:0}
.hi-mh-b li:before{display:none!important}
.hi-mh-b svg{flex:none}
.hi-mh-a{display:grid;grid-template-columns:1.4fr 1fr;gap:8px}
.hi-mh-a a{display:block;text-align:center;padding:12px 8px;border-radius:8px;font-weight:600;font-size:15px;text-decoration:none!important}
.hi-mh-a .m{background:#fbdb8e;color:#333336!important}.hi-mh-a .s{border:1px solid #333336;color:#333336!important}
.hi-mg{grid-column:1/-1;font-size:16px;font-weight:600;color:#1f2933;margin:12px 0 0;padding:0 2px}
.hi-mg span{display:block;font-size:13px;font-weight:400;color:#6b7680;margin-top:2px}
}
/* 03.12 (ГД «не понятно, что это каталог, глаз не цепляет», картинки не менять): карточки как витрина — значок крупно по центру, название под ним */
@media (max-width:767px){
body.site_HI .sections-list__inner.mobile-scrolled a:not([href$="/podbor-nastila/"]) .sections-list__item-inner{align-items:center!important;text-align:center!important;padding:14px 8px 12px!important}
body.site_HI .sections-list__inner.mobile-scrolled a:not([href$="/podbor-nastila/"]) .sections-list__item-image-wrapper{width:84px!important;height:84px!important;min-width:84px!important;flex:0 0 84px!important;justify-content:center!important;margin:0 auto!important}
body.site_HI .sections-list__inner.mobile-scrolled a:not([href$="/podbor-nastila/"]) .sections-list__item-image{width:84px!important;height:84px!important;max-width:84px!important;max-height:84px!important;object-fit:contain}
body.site_HI .sections-list__inner.mobile-scrolled a:not([href$="/podbor-nastila/"]) .flexbox{align-items:center!important;text-align:center!important;width:100%}
body.site_HI .sections-list__inner.mobile-scrolled a:not([href$="/podbor-nastila/"]) .sections-list__item-text{font-size:14.5px!important;font-weight:600!important}
body.site_HI .sections-list__inner.mobile-scrolled a:not([href$="/podbor-nastila/"]) .sections-list__item-inner::after{content:"Смотреть →"!important;font-size:14px;font-weight:600;color:#0f6b5c;margin-top:auto;padding-top:6px}
body.site_HI .sections-list__inner.mobile-scrolled a[href$="/standartnye-karty/"] .sections-list__item-image-wrapper{background-size:84px 84px!important}
.hi-mc{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;margin:6px 0 -2px;padding:0 2px;font-size:19px;font-weight:700;color:#1f2933}
.hi-mc span{font-size:13px;font-weight:400;color:#6b7680}
body.site_HI .sections-list__inner.mobile-scrolled a .sections-list__item-image-wrapper,body.site_HI .sections-list__inner.mobile-scrolled a .sections-list__item-image-wrapper *{border-radius:0!important;overflow:visible!important;background-color:transparent!important;box-shadow:none!important}
body.site_HI .sections-list__inner.mobile-scrolled a .sections-list__item-image-wrapper::before,body.site_HI .sections-list__inner.mobile-scrolled a .sections-list__item-image-wrapper::after{display:none!important}
body.site_HI .sections-list__inner.mobile-scrolled .sections-list__item:not(:has(a[href$="/podbor-nastila/"])),body.site_HI .sections-list__inner.mobile-scrolled .sections-list__item:not(:has(a[href$="/podbor-nastila/"])) a,body.site_HI .sections-list__inner.mobile-scrolled .sections-list__item:not(:has(a[href$="/podbor-nastila/"])) .sections-list__item-inner{background:#fff!important}
}
/* 03.12 ГД: на телефоне не показывать «К сожалению, раздел пуст / нет активных товаров» (и пустые фильтры над ним) */
@media (max-width:767px){
body.site_HI .no_goods{display:none!important}
body.site_HI .js_wrapper_items:has(.no_goods) .filter-panel{display:none!important}
}
@media (max-width:767px){
body.site_HI .sections-list__inner.mobile-scrolled a[href$="/standartnye-karty-kupit-onlayn/"] .sections-list__item-image-wrapper{background:url(/include/mob/ico_standartnye_karty.png) center/84px 84px no-repeat!important}
body.site_HI .sections-list__inner.mobile-scrolled a[href$="/standartnye-karty-kupit-onlayn/"] .sections-list__item-image{opacity:0!important}
}

/* 03.12 ГД «давай попробуем»: на телефоне 5 плашек помощи — компактный список «Нужна помощь?», вся строка нажимается */
@media (max-width:767px){
body.site_HI .igc-help{display:block!important;margin:28px 0 8px!important;border:1px solid #e6e8ea;border-radius:12px;overflow:hidden;background:#fff}
body.site_HI .igc-help::before{content:"Нужна помощь?";display:block;padding:14px 16px 10px;font-size:18px;font-weight:600;color:#1f2933}
body.site_HI .igc-help>div{position:relative;display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;border:0!important;border-top:1px solid #eef0f1!important;border-radius:0!important;padding:13px 16px 13px 54px!important;min-height:0!important;background-repeat:no-repeat!important;background-position:16px center!important;background-size:26px 26px!important}
body.site_HI .igc-help>div>div:first-child{font-size:15.5px!important;font-weight:500!important;flex:1!important}
body.site_HI .igc-help>div>div:nth-child(2){display:none!important}
body.site_HI .igc-help>div>a{position:static!important;font-size:0!important;padding:0!important;border:0!important;color:#0f6b5c!important;align-self:center!important}
body.site_HI .igc-help>div>a::after{content:"→";font-size:20px;font-weight:600}
body.site_HI .igc-help>div>a::before{content:"";position:absolute;inset:0}
body.site_HI .igc-help>div:nth-child(1){background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2028%2028%22%20fill%3D%22none%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%206h20v13H12l-5%204v-4H4z%22%20stroke%3D%22%23373435%22/%3E%3Cpath%20d%3D%22M9%2011h10M9%2015h6%22%20stroke%3D%22%23d9a14c%22/%3E%3C/svg%3E")!important}
body.site_HI .igc-help>div:nth-child(2){background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2028%2028%22%20fill%3D%22none%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%209l10-5%2010%205v11l-10%205-10-5z%22%20stroke%3D%22%23373435%22/%3E%3Cpath%20d%3D%22M4%209l10%205%2010-5M14%2014v11%22%20stroke%3D%22%23d9a14c%22/%3E%3C/svg%3E")!important}
body.site_HI .igc-help>div:nth-child(3){background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2028%2028%22%20fill%3D%22none%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203h10l5%205v17H7z%22%20stroke%3D%22%23373435%22/%3E%3Cpath%20d%3D%22M11%2013h7M11%2017h7M11%2021h4%22%20stroke%3D%22%23d9a14c%22/%3E%3C/svg%3E")!important}
body.site_HI .igc-help>div:nth-child(4){background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2028%2028%22%20fill%3D%22none%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2025V12l7%204v-4l7%204v-4l7%204v9z%22%20stroke%3D%22%23373435%22/%3E%3Cpath%20d%3D%22M8%2021h3M15%2021h3%22%20stroke%3D%22%23d9a14c%22/%3E%3C/svg%3E")!important}
body.site_HI .igc-help>div:nth-child(5){background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2028%2028%22%20fill%3D%22none%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2011l12-6%2012%206-12%206z%22%20stroke%3D%22%23373435%22/%3E%3Cpath%20d%3D%22M7%2014v6c4%203%2010%203%2014%200v-6M26%2011v7%22%20stroke%3D%22%23d9a14c%22/%3E%3C/svg%3E")!important}

.hi-faq{border-top:1px solid #e6e8ea;margin:0}
.hi-faq:last-of-type{border-bottom:1px solid #e6e8ea}
.hi-faq summary{list-style:none;cursor:pointer;padding:14px 30px 14px 0;font-weight:600;font-size:15.5px;line-height:1.35;color:#1f2933;position:relative}
.hi-faq summary::-webkit-details-marker{display:none}
.hi-faq summary::after{content:"+";position:absolute;right:4px;top:10px;font-size:24px;font-weight:400;color:#0f6b5c}
.hi-faq[open] summary::after{content:"−"}
.hi-faq div{padding:0 0 14px;font-size:15px;line-height:1.5;color:#444}
}
/* 03.12 ГД «в каталоге кроме картинок ничего не падает в глаза — сделай продаваемым»: корень /catalog/ на телефоне (класс hi-catroot ставит hi-mob.js) */
@media (max-width:767px){
.hi-catroot .sections-list-full__items{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
.hi-catroot .sections-list-full__item{position:relative;background:#fff;border:1px solid #e6e8ea;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.05);padding:14px 8px 12px!important;gap:8px!important;align-items:center!important;text-align:center;margin:0!important}
.hi-catroot .sections-list-full__item-image-wrapper{width:84px!important;height:84px!important;min-height:0!important;padding:0!important;margin:0 auto!important;flex:none!important;border-radius:0!important;background:transparent!important}
.hi-catroot .sections-list-full__item-image-wrapper:before{display:none!important}
.hi-catroot .sections-list-full__item-image{object-fit:contain!important}
.hi-catroot .sections-list-full__item-info{align-items:center!important;gap:4px!important;width:100%;flex:1}
.hi-catroot .sections-list-full__item-info>.line-block__item:first-child .sections-list-full__item-text{font-size:15px!important;font-weight:600!important;line-height:1.3;color:#1f2933}
.hi-catroot .sections-list-full__item-info>.line-block__item:first-child a{text-decoration:none!important}
.hi-catroot .sections-list-full__item-info>.line-block__item:first-child a::after{content:"";position:absolute;inset:0;z-index:1}
.hi-catroot .sections-list-full__submenu{display:none!important}
.hi-catroot .hi-cnt{font-size:12.5px;color:#6b7680}
.hi-catroot .hi-go{margin-top:auto;padding-top:6px;font-size:14px;font-weight:600;color:#0f6b5c}
.hi-catroot .sections-list-full__item.hi-wide{grid-column:1/-1;flex-direction:row!important;text-align:left;padding:12px 14px!important;gap:14px!important}
.hi-catroot .sections-list-full__item.hi-wide .sections-list-full__item-image-wrapper{width:64px!important;height:64px!important;margin:0!important}
.hi-catroot .sections-list-full__item.hi-wide .sections-list-full__item-info{align-items:flex-start!important}
.hi-cat-top{display:flex;flex-wrap:wrap;gap:6px;margin:-6px 0 16px}
.hi-cat-top span{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:#1f2933;background:#f6f6f4;border-radius:14px;padding:5px 10px}
.hi-cat-top span:before{content:"✓";color:#0f6b5c;font-weight:700}
.hi-cat-bot{margin:24px 0 8px;padding:16px;border:1px solid #e6e8ea;border-radius:12px;background:#fff}
.hi-cat-bot b{display:block;font-size:18px;line-height:1.3;margin:0 0 6px;color:#1f2933}
.hi-cat-bot p{font-size:14px;color:#555;margin:0 0 12px;line-height:1.45}
.hi-cat-bot .a{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hi-cat-bot .a a{display:block;text-align:center;padding:12px 6px;border-radius:8px;font-weight:600;font-size:15px;text-decoration:none!important}
.hi-cat-bot .a .m{background:#fbdb8e;color:#333336!important}.hi-cat-bot .a .s{border:1px solid #333336;color:#333336!important}
}
@media (max-width:767px){.hi-catroot .sections-list-full__item-info>.line-block__item:first-child>span.font_12{display:none!important}}
