/* Spagalaxy_CatalogLayout v1: принятая вёрстка каталога (catalog-full.css) поверх живой разметки темы Mgs/amely.
   Все правила под html.sgcl-v1 (класс ставит assets.phtml до отрисовки). !important - только там, где !important ставит сама тема/модули.
   Каркас: .page-main.container - CSS-сетка; .row, .column.main, .toolbar-products и .page-title-wrapper получают display:contents,
   поэтому сортировка/вид (узлы тулбара, их нельзя переносить: их читает CatalogLoadMore) встают в одну строку с заголовком.
   Токены макета: --ink #000, --txt #555, --mute #ababab, --cnt #606862, --line #eee, --line2 #e0e0e0, --soft #f7f7f7. */
html.sgcl-v1{--sgcl-ink:#000;--sgcl-txt:#555;--sgcl-mute:#ababab;--sgcl-cnt:#606862;--sgcl-line:#eee;--sgcl-line2:#e0e0e0;--sgcl-soft:#f7f7f7;--sgcl-green:#4caf50;--sgcl-side:280px;--sgcl-name-fs:16px;--sgcl-name-lh:1.5}

/* ================= 1. каркас страницы ================= */
html.sgcl-v1 .page-main.container{display:grid;grid-template-columns:var(--sgcl-side) minmax(0,1fr) auto auto;grid-template-rows:repeat(7,auto) minmax(0,1fr);
  width:calc(100% - 170px);max-width:none;margin:0 auto;padding:0;column-gap:0;float:none}
html.sgcl-v1 .page-main > a#contentarea{position:absolute;width:0;height:0;overflow:hidden}
html.sgcl-v1 .page-main > .row,html.sgcl-v1 .page-main .column.main,html.sgcl-v1 .page-main .toolbar-products,html.sgcl-v1 .page-main > .page-title-wrapper{display:contents}
/* до работы JS (или без него) заголовок остаётся на своём месте: без бежевой полосы (inline-стиль темы), крошки над заголовком */
html.sgcl-v1 .page-title-wrapper{display:flex;flex-direction:column;box-sizing:border-box;width:calc(100% - 170px);max-width:none;margin:0 auto;padding:0;background:none!important}
html.sgcl-v1 .page-title-wrapper .breadcrumbs{order:-1}
html.sgcl-v1 .page-main > .page-title-wrapper{display:contents}
html.sgcl-v1 .page-main .column.main > input[type=hidden],html.sgcl-v1 .page-main .column.main > #authenticationPopup{display:none}

/* ================= 2. строка заголовка ================= */
html.sgcl-v1 .page-title-wrapper .breadcrumbs{grid-area:1/1/2/-1;margin:0;padding:14px 0 0;background:none;text-align:left;width:auto;max-width:none}
html.sgcl-v1 .page-title-wrapper .breadcrumbs .items{display:flex;flex-wrap:wrap;align-items:center;list-style:none;margin:0;padding:0;justify-content:flex-start}
html.sgcl-v1 .page-title-wrapper .breadcrumbs .item{display:inline-flex;align-items:center;float:none;margin:0;padding:0;font-size:12px;line-height:1.4;letter-spacing:.06em;text-transform:uppercase;font-weight:500;color:var(--sgcl-mute)}
html.sgcl-v1 .page-title-wrapper .breadcrumbs .item:before,html.sgcl-v1 .page-title-wrapper .breadcrumbs .item:after{content:none;display:none}
html.sgcl-v1 .page-title-wrapper .breadcrumbs .item + .item:before{content:"/";display:inline;margin:0 9px;color:var(--sgcl-mute)}
html.sgcl-v1 .page-title-wrapper .breadcrumbs .items .item a{color:var(--sgcl-mute)!important;font-size:12px!important;font-weight:500;text-decoration:none}
html.sgcl-v1 .page-title-wrapper .breadcrumbs .items .item a:hover{color:var(--sgcl-ink)!important}
html.sgcl-v1 .page-title-wrapper .breadcrumbs .items .item strong{color:var(--sgcl-ink);font-size:12px;font-weight:500}
html.sgcl-v1 .sgcl-titlerow,html.sgcl-v1 .page-title-wrapper > .page-title{grid-area:2/1/3/3;display:flex;align-items:center;gap:2px 16px;height:auto;min-height:56px;flex-wrap:wrap;margin:2px 0 0;padding:0;min-width:0}
html.sgcl-v1 .sgcl-titlerow .page-title,html.sgcl-v1 .page-title-wrapper > .page-title{font-size:26px;font-weight:400;line-height:1.1;margin:0;padding:0;text-align:left;text-transform:none;letter-spacing:0;color:var(--sgcl-ink);background:none}
html.sgcl-v1 .page-title .base{font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit}
html.sgcl-v1 .sgcl-count{font-size:14px;color:var(--sgcl-txt);padding-top:4px;white-space:nowrap}
html.sgcl-v1 .sgcl-titlerow .page-title,html.sgcl-v1 .page-title-wrapper > .page-title{white-space:normal;min-width:0;overflow-wrap:anywhere}

/* сортировка и вид: узлы первого тулбара, встают в строку заголовка (ряд 2) справа */
html.sgcl-v1 .toolbar-products .toolbar-sorter{grid-area:2/3/3/4;display:flex;align-items:center;gap:6px;align-self:center;margin:2px 0 0 10px;float:none;padding:0;width:auto}
html.sgcl-v1 .toolbar-products .modes{grid-area:2/4/3/5;display:flex;align-items:center;gap:10px;align-self:center;margin:2px 0 0 16px;float:none;padding:0;width:auto}
html.sgcl-v1 .toolbar-products .toolbar-sorter .form-item-select{display:block;margin:0;padding:0;position:relative;width:auto}
html.sgcl-v1 .toolbar-products .toolbar-sorter .form-item-select:before,html.sgcl-v1 .toolbar-products .toolbar-sorter .form-item-select:after,html.sgcl-v1 .toolbar-products .field.limiter .form-item-select:before,html.sgcl-v1 .toolbar-products .field.limiter .form-item-select:after{content:none;display:none}
html.sgcl-v1 .toolbar-products select#sorter,html.sgcl-v1 .toolbar-products select#limiter{-webkit-appearance:none;appearance:none;height:40px;width:auto;min-width:0;max-width:100%;margin:0;border:1px solid var(--sgcl-soft);border-radius:0;box-shadow:none;background:var(--sgcl-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 5z' fill='%23555'/%3E%3C/svg%3E") no-repeat right 16px center;padding:0 38px 0 16px;font:inherit;font-size:14px;line-height:38px;color:var(--sgcl-ink);cursor:pointer;text-transform:none;transition:background-color .15s,border-color .15s}
html.sgcl-v1 .toolbar-products select#sorter:hover,html.sgcl-v1 .toolbar-products select#limiter:hover{background-color:#f0f0f0;border-color:#f0f0f0}
html.sgcl-v1 .toolbar-products select#sorter:focus-visible,html.sgcl-v1 .toolbar-products select#limiter:focus-visible{outline:2px solid var(--sgcl-ink);outline-offset:2px}
html.sgcl-v1 .toolbar-products a.sorter-action{display:block;position:relative;width:32px;height:32px;margin:0;padding:0;font-size:0;line-height:0;color:transparent;border:0;background:no-repeat center/18px 18px;opacity:.75;overflow:hidden}
html.sgcl-v1 .toolbar-products a.sorter-action:hover{opacity:1}
html.sgcl-v1 .toolbar-products a.sorter-action:before,html.sgcl-v1 .toolbar-products a.sorter-action:after{content:none;display:none}
html.sgcl-v1 .toolbar-products a.sorter-action.sort-asc{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E")}
html.sgcl-v1 .toolbar-products a.sorter-action.sort-desc{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E")}
html.sgcl-v1 .toolbar-products a.sorter-action span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
html.sgcl-v1 .toolbar-products .modes .modes-label{display:none}
html.sgcl-v1 .toolbar-products .modes-mode{display:block;position:relative;float:none;width:22px;height:22px;margin:0;padding:0;border:0;background:no-repeat center/22px 22px;font-size:0;line-height:0;color:transparent;overflow:hidden;cursor:pointer}
html.sgcl-v1 .toolbar-products .modes-mode:before,html.sgcl-v1 .toolbar-products .modes-mode:after{content:none;display:none}
html.sgcl-v1 .toolbar-products .modes-mode span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
html.sgcl-v1 .toolbar-products .modes-mode.mode-grid{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23bbb'%3E%3Cpath d='M3 3h5v5H3zM9.5 3h5v5h-5zM16 3h5v5h-5zM3 9.5h5v5H3zM9.5 9.5h5v5h-5zM16 9.5h5v5h-5zM3 16h5v5H3zM9.5 16h5v5h-5zM16 16h5v5h-5z'/%3E%3C/svg%3E")}
html.sgcl-v1 .toolbar-products .modes-mode.mode-list{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23bbb'%3E%3Cpath d='M3 4h5v5H3zM10 5h11v3H10zM3 10h5v5H3zM10 11h11v3H10zM3 16h5v5H3zM10 17h11v3H10z'/%3E%3C/svg%3E")}
html.sgcl-v1 .toolbar-products .modes-mode.mode-grid.active{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M3 3h5v5H3zM9.5 3h5v5h-5zM16 3h5v5h-5zM3 9.5h5v5H3zM9.5 9.5h5v5h-5zM16 9.5h5v5h-5zM3 16h5v5H3zM9.5 16h5v5h-5zM16 16h5v5h-5z'/%3E%3C/svg%3E")}
html.sgcl-v1 .toolbar-products .modes-mode.mode-list.active{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M3 4h5v5H3zM10 5h11v3H10zM3 10h5v5H3zM10 11h11v3H10zM3 16h5v5H3zM10 17h11v3H10z'/%3E%3C/svg%3E")}
html.sgcl-v1 .toolbar-products a.modes-mode:hover{background-color:rgba(0,0,0,.06)}
/* лишнее в верхнем тулбаре (десктоп): число и страницы уже в строке заголовка и внизу */
html.sgcl-v1 .toolbar-products .toolbar-amount,html.sgcl-v1 .toolbar-products > .pages,html.sgcl-v1 .toolbar-products > .limiter{display:none}
/* нижний тулбар: только страницы и размер страницы */
html.sgcl-v1 .products.wrapper ~ .toolbar-products .toolbar-sorter,html.sgcl-v1 .products.wrapper ~ .toolbar-products .modes,html.sgcl-v1 .products.wrapper ~ .toolbar-products .spg-filter-toggle{display:none}

/* до отработки JS сортировка и вид не показываем (стоят не на месте): скрипт ставит html.sgcl-ready; если скрипт не загрузился - через 2 с покажем сами; без JS класса sgcl-v1 нет вовсе */
html.sgcl-v1:not(.sgcl-ready) .toolbar-products .toolbar-sorter,html.sgcl-v1:not(.sgcl-ready) .toolbar-products .modes{visibility:hidden;animation:sgcl-show 0s linear 2s forwards}
@keyframes sgcl-show{to{visibility:visible}}
/* кнопка «Фільтри» (создаёт filters.js в первом тулбаре, видна ≤ 991) */
html.sgcl-v1 .spg-spa-catalog .spg-filter-toggle{grid-area:2/2/3/3;display:none;align-items:center;justify-content:center;gap:0;align-self:center;min-width:0;min-height:0;height:40px;margin:2px 0 0;padding:0 16px;border:1px solid var(--sgcl-ink);border-radius:0;background:#fff;color:var(--sgcl-ink);font:inherit;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .15s}
html.sgcl-v1 .spg-spa-catalog .spg-filter-toggle:hover{background:#f0f0f0}
html.sgcl-v1 .spg-spa-catalog .spg-filter-toggle::before{content:"";width:18px;height:18px;margin:0 8px 0 0;border:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h2M10 17h10'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='8' cy='17' r='2'/%3E%3C/svg%3E") no-repeat center/18px 18px}

/* чипы выбранных фильтров (JS клонирует ссылки .spg-selected-remove) */
html.sgcl-v1 .sgcl-selbar{grid-area:3/1/4/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 2px 4px}
html.sgcl-v1 .sgcl-chip{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 6px 0 12px;background:var(--sgcl-ink);color:#fff!important;font-size:13px;font-weight:500;text-decoration:none;transition:background-color .15s}
html.sgcl-v1 .sgcl-chip:hover{background:#4a4a4a;color:#fff!important}
html.sgcl-v1 .sgcl-chip span,html.sgcl-v1 .sgcl-chip strong{color:#fff!important}
html.sgcl-v1 .sgcl-chip strong{font-weight:400;opacity:.75}
html.sgcl-v1 .sgcl-chip i{font-style:normal;font-size:16px;line-height:1;width:18px;height:18px;display:flex;align-items:center;justify-content:center;opacity:.8;border-radius:50%}
html.sgcl-v1 .sgcl-chip:hover i{opacity:1;background:rgba(255,255,255,.22)}
html.sgcl-v1 .sgcl-clear{margin-left:6px;font-size:13px;color:var(--sgcl-ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:#9a9a9a}
html.sgcl-v1 .sgcl-clear:hover{text-decoration-color:var(--sgcl-ink)}

/* ================= 3. быстрые подборки (Spagalaxy_QuickLinks) ================= */
html.sgcl-v1 .page-main > .sg-quick-links{grid-area:4/1/5/-1;max-width:none;width:auto;margin:6px 0 0;border-top:1px solid var(--sgcl-line);border-bottom:1px solid var(--sgcl-line)}
html.sgcl-v1 .sg-quick-links .sg-quick-links__controls,html.sgcl-v1 .sg-quick-links .sg-quick-links__media,html.sgcl-v1 .sg-quick-links .sg-quick-links__intro{display:none!important}
html.sgcl-v1 .sg-quick-links .sg-quick-links__shell{background:none;border:0;border-radius:0;box-shadow:none;overflow:visible;padding:0}
html.sgcl-v1 .sg-quick-links .sg-quick-links__rail{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:0;overflow:visible;transform:none!important;margin:0;padding:0;scroll-snap-type:none}
html.sgcl-v1 .sg-quick-links .sg-quick-links__card{position:relative;isolation:isolate;display:block;min-height:0;margin:0 16px 0 0;padding:11px 16px 12px 0;background:none;border:0;border-right:1px solid var(--sgcl-line);border-radius:0;box-shadow:none;opacity:1;transform:none!important;animation:none!important;overflow:visible;scroll-snap-align:none;color:var(--sgcl-ink);text-decoration:none!important;min-width:0}
html.sgcl-v1 .sg-quick-links .sg-quick-links__card:last-child{border-right:0;margin-right:0}
html.sgcl-v1 .sg-quick-links .sg-quick-links__card{--sgcl-pl:-16px}
html.sgcl-v1 .sg-quick-links .sg-quick-links__card:first-child{--sgcl-pl:0px}
html.sgcl-v1 .sg-quick-links .sg-quick-links__card::after,html.sgcl-v1 .sg-quick-links .sg-quick-links__card:hover::after,html.sgcl-v1 .sg-quick-links .sg-quick-links__card:focus-visible::after{content:"";position:absolute;z-index:-1;left:var(--sgcl-pl);top:0;right:0;bottom:0;width:auto;height:auto;transform:none;background:rgba(0,0,0,0);transition:background-color .18s}
html.sgcl-v1 .sg-quick-links .sg-quick-links__kicker{display:block;margin:0;font-size:11px;font-weight:600;letter-spacing:.1em;line-height:14px;text-transform:uppercase;color:#777;transition:color .18s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.sgcl-v1 .sg-quick-links .sg-quick-links__title{display:flex;align-items:center;gap:8px;margin-top:3px;font-size:14px;font-weight:500;line-height:20px;color:var(--sgcl-ink);transition:color .18s}
html.sgcl-v1 .sg-quick-links .sg-quick-links__card.sgcl-stock .sg-quick-links__title:before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--sgcl-green)}
@media (hover:hover){
  html.sgcl-v1 .sg-quick-links .sg-quick-links__card:hover::after,html.sgcl-v1 .sg-quick-links .sg-quick-links__card:focus-visible::after{background:#000;left:var(--sgcl-pl)}
  html.sgcl-v1 .sg-quick-links .sg-quick-links__card:hover .sg-quick-links__kicker,html.sgcl-v1 .sg-quick-links .sg-quick-links__card:focus-visible .sg-quick-links__kicker{color:#bbb}
  html.sgcl-v1 .sg-quick-links .sg-quick-links__card:hover .sg-quick-links__title,html.sgcl-v1 .sg-quick-links .sg-quick-links__card:focus-visible .sg-quick-links__title{color:#fff}
}
html.sgcl-v1 .sg-quick-links .sg-quick-links__card:focus-visible{outline:2px solid var(--sgcl-ink);outline-offset:-2px}

/* ================= 4. сайдбар фильтров ================= */
/* сброс сайдбара темы - только когда он в потоке (>= 992); при <= 991 его паркует сама тема (off-canvas) или filters.js, легаси-фильтр темы (#navbar_sidebar, body.active-sidebar) не трогаем */
@media (min-width:992px){
html.sgcl-v1 .page-main > .row > .sidebar-main{grid-area:5/1/9/2;align-self:start;width:auto;max-width:none;min-width:0;float:none;flex:none;padding:0;margin:24px 0 0;position:static;left:auto;right:auto;top:auto;order:0;transform:none}
html.sgcl-v1 .sidebar-main .sidebar-mobile--title{display:none}
}
html.sgcl-v1 .page-main > .row > .sidebar-additional{grid-area:9/2/10/-1;margin:24px 0 0 32px;width:auto;max-width:none;float:none;padding:0}
html.sgcl-v1 .sidebar-additional .block-title strong,html.sgcl-v1 .sidebar-additional .block-title{font-size:15px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--sgcl-ink)}
html.sgcl-v1 .sidebar-additional .block{border-top:1px solid var(--sgcl-line);margin:0 0 16px;padding-top:12px}
html.sgcl-v1 .sidebar-additional .empty,html.sgcl-v1 .sidebar-additional .block-content{font-size:13px;color:var(--sgcl-txt)}
html.sgcl-v1 .spg-filters{color:var(--sgcl-ink);width:100%}
html.sgcl-v1 .spg-filters .spg-filter-header{display:flex;align-items:center;justify-content:space-between;gap:12px;height:36px;margin:0}
html.sgcl-v1 .spg-filters .spg-filter-header h2{font:inherit;font-size:15px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--sgcl-ink);margin:0}
html.sgcl-v1 .spg-filters .spg-filter-header .sgcl-head-clear{order:2;margin-left:auto;min-height:0;font-size:13px;color:var(--sgcl-ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:#9a9a9a}
html.sgcl-v1 .spg-filters .spg-filter-header .sgcl-head-clear:hover{text-decoration-color:var(--sgcl-ink)}
html.sgcl-v1 .spg-filters .spg-filter-total{display:none}
html.sgcl-v1 .spg-filters .spg-selected-list{display:none}
html.sgcl-v1 .spg-filters .spg-filter-scroll > .spg-filter-clear{display:none}
html.sgcl-v1 .spg-filters .spg-filter-scroll{padding:0}
html.sgcl-v1 .spg-filters .spg-filter-group{border-top:1px solid var(--sgcl-line)}
html.sgcl-v1 .spg-filters .spg-filter-heading{min-height:44px;padding:12px 0;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;line-height:1.4;color:var(--sgcl-ink)}
html.sgcl-v1 .spg-filters .spg-heading-label{gap:10px}
html.sgcl-v1 .spg-filters .spg-disclosure{color:#999}
html.sgcl-v1 .spg-filters .spg-disclosure::before{left:3px;top:8px;width:12px;height:1.5px}
html.sgcl-v1 .spg-filters .spg-disclosure::after{left:8.25px;top:3px;width:1.5px;height:12px}
html.sgcl-v1 .spg-filters .spg-filter-heading:hover .spg-disclosure{color:var(--sgcl-ink)}
html.sgcl-v1 .spg-filters .spg-filter-values{padding:0 0 18px}
html.sgcl-v1 .spg-filters .sgcl-ico{fill:none;stroke:#000;stroke-width:1.5;stroke-linejoin:round;flex:none;display:block;width:18px;height:18px}
html.sgcl-v1 .spg-filters .sgcl-ico *{vector-effect:non-scaling-stroke}

/* опции-чекбоксы: строка 30 px, квадрат 16 px, счётчик справа, вся строка = ссылка */
html.sgcl-v1 .spg-filters .spg-filter-items{gap:0}
html.sgcl-v1 .spg-filters .spg-filter-items > .spg-filter-option{margin:0 -6px}
html.sgcl-v1 .spg-filters .spg-option-link{position:static;display:flex!important;align-items:center;gap:10px;min-height:30px;padding:0 6px 0 32px;border:0;border-radius:0;background:none;color:var(--sgcl-ink);font-size:14px;line-height:1.35;transition:background-color .15s}
html.sgcl-v1 .spg-filters .spg-option-link::after{content:"";position:absolute;inset:0;z-index:1}
html.sgcl-v1 .spg-filters .spg-option-link:hover{background:var(--sgcl-soft);border:0;color:var(--sgcl-ink)}
html.sgcl-v1 .spg-filters .spg-option-label{min-width:0;font-weight:400}
html.sgcl-v1 .spg-filters .spg-option-count{margin:0 0 0 auto;font-size:13px;color:var(--sgcl-cnt)}
html.sgcl-v1 .spg-filters .spg-option-check{display:none}
html.sgcl-v1 .spg-filters .mgs-filter-item-checkbox{pointer-events:none}
html.sgcl-v1 .spg-filters .mgs-filter-item-checkbox .mgs-content{left:6px;width:16px;height:16px;border:1px solid var(--sgcl-mute);border-radius:0;background:#fff;transition:background-color .15s,border-color .15s}
html.sgcl-v1 .spg-filters .spg-filter-option:hover .mgs-filter-item-checkbox .mgs-content{border-color:var(--sgcl-ink)}
html.sgcl-v1 .spg-filters .is-selected .spg-option-link{background:none;border:0;color:var(--sgcl-ink)}
html.sgcl-v1 .spg-filters .is-selected .spg-option-link:hover{background:var(--sgcl-soft)}
html.sgcl-v1 .spg-filters .is-selected .mgs-filter-item-checkbox .mgs-content{background:var(--sgcl-ink);border-color:var(--sgcl-ink)}
html.sgcl-v1 .spg-filters .is-selected .mgs-content::after{left:5px;top:1px;width:4px;height:9px}
html.sgcl-v1 .spg-filters .spg-filter-option:focus-within{outline:2px solid var(--sgcl-ink);outline-offset:-2px}
/* наличие */
html.sgcl-v1 .spg-filters [data-spg-filter="spg_availability"] .spg-filter-items{grid-template-columns:1fr}
html.sgcl-v1 .spg-filters .sgcl-dot{flex:none;position:relative;width:18px;height:18px}
html.sgcl-v1 .spg-filters .sgcl-dot::after{content:"";position:absolute;left:4px;top:4px;width:10px;height:10px;border-radius:50%;background:var(--sgcl-green)}
html.sgcl-v1 .spg-filters .sgcl-clock{width:18px;height:18px}

/* плитки (места, лежаки): 3 в ряд, 86 px */
html.sgcl-v1 .spg-filters .spg-filter-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
html.sgcl-v1 .spg-filters .spg-filter-tiles > .spg-filter-option{margin:0}
html.sgcl-v1 .spg-filters .spg-filter-tiles .spg-option-link{flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:86px;height:86px;padding:0 4px;border:1px solid var(--sgcl-line2);border-radius:0;background:#fff;text-align:center;transition:border-color .15s,background-color .15s,color .15s}
html.sgcl-v1 .spg-filters .spg-filter-tiles .spg-option-link:hover{background:#fff;border-color:var(--sgcl-ink)}
html.sgcl-v1 .spg-filters .spg-filter-tiles .sgcl-tub{width:40px;height:40px;stroke-width:1.6}
html.sgcl-v1 .spg-filters .spg-filter-tiles .spg-option-icon{display:none}
html.sgcl-v1 .spg-filters .spg-filter-tiles .spg-option-label{min-height:0;font-size:12px;font-weight:600;line-height:14px;white-space:nowrap}
html.sgcl-v1 .spg-filters .spg-filter-tiles .spg-option-count{margin:0;font-size:11px;line-height:1.3;color:var(--sgcl-cnt)}
html.sgcl-v1 .spg-filters .spg-filter-tiles .mgs-filter-item-checkbox{display:none}
html.sgcl-v1 .spg-filters .spg-filter-tiles .is-selected .spg-option-link{background:var(--sgcl-ink);border-color:var(--sgcl-ink);color:#fff!important;box-shadow:none}
html.sgcl-v1 .spg-filters .spg-filter-tiles .is-selected .spg-option-label{color:#fff!important}
html.sgcl-v1 .spg-filters .spg-filter-tiles .is-selected .sgcl-ico{stroke:#fff}
html.sgcl-v1 .spg-filters .is-selected .spg-option-link .sgcl-ico{stroke:#fff}
html.sgcl-v1 .spg-filters .spg-filter-tiles .is-selected .spg-option-count{color:#ddd}
html.sgcl-v1 .spg-filters .spg-option-subheading{margin:10px 0 0;font-size:12px;color:var(--sgcl-cnt)}
/* «інша кількість» и сидячі місця: чипы 32 px */
html.sgcl-v1 .spg-filters .spg-filter-numbers{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
html.sgcl-v1 .spg-filters .spg-filter-numbers > .spg-filter-option{margin:0}
html.sgcl-v1 .spg-filters .spg-filter-numbers .spg-option-link{height:32px;min-height:32px;padding:0 10px;gap:6px;border:1px solid var(--sgcl-line2);background:#fff;font-size:13px;font-weight:500;transition:border-color .15s,background-color .15s,color .15s}
html.sgcl-v1 .spg-filters .spg-filter-numbers .spg-option-link:hover{background:#fff;border-color:var(--sgcl-ink)}
html.sgcl-v1 .spg-filters .spg-filter-numbers .spg-option-count{margin:0;font-size:11px;font-weight:400}
html.sgcl-v1 .spg-filters .spg-filter-numbers .spg-option-count::before,html.sgcl-v1 .spg-filters .spg-filter-numbers .spg-option-count::after{content:none!important}
html.sgcl-v1 .spg-filters .spg-filter-numbers .mgs-filter-item-checkbox{display:none}
html.sgcl-v1 .spg-filters .spg-filter-numbers .is-selected .spg-option-link{background:var(--sgcl-ink);border-color:var(--sgcl-ink);color:#fff!important}
html.sgcl-v1 .spg-filters .spg-filter-numbers .is-selected .spg-option-label{color:#fff!important}
html.sgcl-v1 .spg-filters .spg-filter-numbers .is-selected .spg-option-count{color:#ddd}
/* форма SPA: строки 36 px с контуром */
html.sgcl-v1 .spg-filters .spg-filter-shapes{grid-template-columns:1fr;gap:6px}
html.sgcl-v1 .spg-filters .spg-filter-shapes .spg-option-link{display:flex!important;flex-direction:row;align-items:center;gap:10px;height:36px;min-height:36px;padding:0 10px;border:1px solid var(--sgcl-line2);background:#fff;font-size:13px;font-weight:500;text-align:left;transition:border-color .15s,background-color .15s,color .15s}
html.sgcl-v1 .spg-filters .spg-filter-shapes .spg-option-link:hover{background:#fff;border-color:var(--sgcl-ink)}
html.sgcl-v1 .spg-filters .spg-filter-shapes .spg-option-label{min-height:0}
html.sgcl-v1 .spg-filters .spg-filter-shapes .spg-option-count{margin:0 0 0 auto;font-size:11px;font-weight:400}
html.sgcl-v1 .spg-filters .spg-filter-shapes .mgs-filter-item-checkbox{display:none}
html.sgcl-v1 .spg-filters .spg-filter-shapes .is-selected .spg-option-link{background:var(--sgcl-ink);border-color:var(--sgcl-ink);color:#fff!important}
html.sgcl-v1 .spg-filters .spg-filter-shapes .is-selected .spg-option-label{color:#fff!important}
html.sgcl-v1 .spg-filters .spg-filter-shapes .is-selected .sgcl-ico{stroke:#fff}
html.sgcl-v1 .spg-filters .spg-filter-shapes .is-selected .spg-option-count{color:#ddd}
html.sgcl-v1 .spg-filters .spg-filter-shapes .spg-option-icon{display:none}
/* поиск бренда и «усі»: .search и .more макета */
html.sgcl-v1 .spg-filters .spg-brand-tools{margin:0 0 8px}
html.sgcl-v1 .spg-filters .spg-brand-tools label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html.sgcl-v1 .spg-filters .spg-brand-tools input{height:40px;padding:0 12px;border:1px solid var(--sgcl-soft);border-radius:0;background:var(--sgcl-soft);font-size:14px;color:var(--sgcl-ink);-webkit-appearance:none;appearance:none}
html.sgcl-v1 .spg-filters .spg-brand-tools input::placeholder{color:#8a8a8a}
html.sgcl-v1 .spg-filters .spg-brand-tools input:focus{border-color:var(--sgcl-ink);background:#fff;outline:0}
html.sgcl-v1 .spg-filters .spg-brand-more,html.sgcl-v1 .spg-filters .sgcl-more{display:inline-block;width:auto;min-height:0;margin-top:6px;padding:0;border:0;background:none;font:inherit;font-size:13px;color:var(--sgcl-ink);text-decoration:underline;text-underline-offset:4px;text-decoration-color:#9a9a9a;cursor:pointer}
html.sgcl-v1 .spg-filters .spg-brand-more:hover,html.sgcl-v1 .spg-filters .sgcl-more:hover{text-decoration-color:var(--sgcl-ink)}
html.sgcl-v1 .spg-filters .spg-brand-more[hidden]{display:none!important}
html.sgcl-v1 .spg-filters .spg-brand-empty{font-size:13px;color:var(--sgcl-cnt);padding:6px 0}
/* размеры: поля 36 px и маленькая outline-кнопка */
html.sgcl-v1 .spg-filters .sgcl-ruler{width:18px;height:18px}
html.sgcl-v1 .spg-filters .spg-range-fields{gap:6px;align-items:end}
html.sgcl-v1 .spg-filters .spg-range-fields label{font-size:13px;color:var(--sgcl-txt)}
html.sgcl-v1 .spg-filters .spg-range-fields label span{margin-bottom:4px}
html.sgcl-v1 .spg-filters .spg-range-fields input{height:36px;padding:0 8px;border:1px solid var(--sgcl-soft);border-radius:0;background:var(--sgcl-soft);font-size:13px;color:var(--sgcl-ink)}
html.sgcl-v1 .spg-filters .spg-range-fields input:focus{outline:1px solid var(--sgcl-ink);background:#fff}
html.sgcl-v1 .spg-filters .spg-range-dash{line-height:36px}
html.sgcl-v1 .spg-filters .spg-range-apply{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:0;height:32px;margin-top:10px;padding:0 16px;border:1px solid var(--sgcl-ink);border-radius:0;background:#fff;color:var(--sgcl-ink);font:inherit;font-size:13px;font-weight:500;cursor:pointer;transition:background-color .15s}
html.sgcl-v1 .spg-filters .spg-range-apply:hover{background:#f0f0f0;border-color:var(--sgcl-ink)}
/* цена: ionRangeSlider (MGS), чёрная заливка и круглые ручки */
html.sgcl-v1 .spg-filters [data-spg-filter="price"] .spg-filter-values{padding-right:14px;padding-left:2px}
html.sgcl-v1 .spg-filters .irs{height:40px}
html.sgcl-v1 .spg-filters .irs-line{height:2px;top:24px;background:#ccc;border:0;border-radius:0}
html.sgcl-v1 .spg-filters .irs-line-left,html.sgcl-v1 .spg-filters .irs-line-mid,html.sgcl-v1 .spg-filters .irs-line-right{background:none;height:2px}
html.sgcl-v1 .spg-filters .irs-bar{height:2px;top:24px;background:var(--sgcl-ink);border:0;border-radius:0}
html.sgcl-v1 .spg-filters .irs-bar-edge{display:none}
html.sgcl-v1 .spg-filters .irs-slider{top:18px;width:14px;height:14px;border:0;border-radius:50%;background:var(--sgcl-ink);box-shadow:none;cursor:pointer}
html.sgcl-v1 .spg-filters .irs-slider:before,html.sgcl-v1 .spg-filters .irs-slider:after{content:none}
html.sgcl-v1 .spg-filters .irs-from,html.sgcl-v1 .spg-filters .irs-to,html.sgcl-v1 .spg-filters .irs-single{top:0;border-radius:0;background:var(--sgcl-soft);color:var(--sgcl-ink)}
html.sgcl-v1 .spg-filters .irs-from:before,html.sgcl-v1 .spg-filters .irs-to:before,html.sgcl-v1 .spg-filters .irs-single:before{display:none}
html.sgcl-v1 .spg-filters .irs-min,html.sgcl-v1 .spg-filters .irs-max{top:auto;bottom:0;background:none;color:var(--sgcl-cnt);font-size:12px;visibility:visible}
html.sgcl-v1 .spg-filters .irs-grid{display:none}
/* подвал панели (мобильная) на десктопе не нужен */
html.sgcl-v1 .spg-filters .spg-filter-footer{display:none}

/* ================= 5. сетка карточек ================= */
html.sgcl-v1 .page-main .products.wrapper{grid-area:5/2/6/-1;margin:24px 0 0 32px;padding:0;min-width:0;width:auto;float:none}
html.sgcl-v1 .products.wrapper ol.product-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px;margin:0;padding:0;list-style:none;width:auto;max-width:none}
html.sgcl-v1 .products.wrapper ol.product-items > li.product-item{float:none;width:auto;max-width:none;flex:none;margin:0;padding:0;min-width:0;border:0;box-shadow:none}
html.sgcl-v1 .product-item-info{position:relative;margin:0;padding:0;border:0;background:none;box-shadow:none;width:auto;display:block}
html.sgcl-v1 .product-item-image{position:relative;overflow:hidden;aspect-ratio:1/1;margin:0;padding:0;background:#fff;width:100%}
html.sgcl-v1 .product-item-image a.product-item-photo{display:block;width:100%;height:100%;margin:0;padding:0}
html.sgcl-v1 .product-item-image img.product-image-photo{display:block;width:100%;height:100%;max-width:none;object-fit:contain;margin:0}
html.sgcl-v1 .product-item-image .action-wishlist,html.sgcl-v1 .product-item-image .actions-compare,html.sgcl-v1 .product-item-image .actions-quickview,html.sgcl-v1 .product-item .actions-secondary{display:none!important}
/* кнопка «Цікавить»: чёрная полоса 48 px выезжает снизу фото (клик перехватывает InterestModal) */
html.sgcl-v1 .product-item-image .product-item-actions{position:absolute;left:0;right:0;bottom:0;top:auto;z-index:6;display:block;margin:0;padding:0;opacity:1;visibility:visible;transform:translateY(100%);transition:transform .25s ease;background:none}
html.sgcl-v1 .product-item-image .actions-primary{display:block;margin:0;padding:0;width:100%}
html.sgcl-v1 .product-item-image .actions-primary form{margin:0;padding:0}
html.sgcl-v1 .product-item-image button.action.tocart{display:flex;align-items:center;justify-content:center;width:100%;height:48px;min-height:0;margin:0;padding:0 16px;border:0;border-radius:0;background:#000;color:#fff;font:inherit;font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;cursor:pointer;box-shadow:none;transition:background-color .15s}
html.sgcl-v1 .product-item-image button.action.tocart span{color:inherit;font:inherit;letter-spacing:inherit}
html.sgcl-v1 .product-item-image button.action.tocart:before,html.sgcl-v1 .product-item-image button.action.tocart:after{content:none}
html.sgcl-v1 .product-item-image button.action.tocart:hover{background:#4a4a4a;color:#fff}
html.sgcl-v1 .product-item-image button.action.tocart:focus-visible{background:#4a4a4a;outline:2px solid #fff;outline-offset:-5px}
@media (hover:hover){html.sgcl-v1 .product-item-image:hover .product-item-actions{transform:none}}
html.sgcl-v1 .product-item-image:focus-within .product-item-actions{transform:none}
@media (hover:none){html.sgcl-v1 .product-item-image .product-item-actions{transform:none}}
/* подпись и цена */
html.sgcl-v1 .product-item-details{margin:0;padding:0;text-align:left;width:auto;float:none}
html.sgcl-v1 .product-item-details .product-item-name{margin:16px 0 0;padding:0;font-weight:400;text-align:left;text-transform:none;letter-spacing:0}
html.sgcl-v1 .product-item-details .product-item-name,html.sgcl-v1 .product-item-details .product-item-name a{font-size:var(--sgcl-name-fs)!important;line-height:var(--sgcl-name-lh)!important;font-weight:400}
html.sgcl-v1 .product-item-details .product-item-name a{color:var(--sgcl-ink)}
html.sgcl-v1 .product-item-details .product-buy_info{margin:0;padding:0}
html.sgcl-v1 .product-item-details .price-box{display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:baseline;flex-wrap:wrap;gap:0 12px;margin:10px 0 0;padding:0;text-align:left}
html.sgcl-v1 .product-item-details .price-box .price-label{display:none}
html.sgcl-v1 .product-item-details .price-box .special-price,html.sgcl-v1 .product-item-details .price-box .old-price,html.sgcl-v1 .product-item-details .price-box .price-container{display:inline;margin:0;padding:0;float:none}
html.sgcl-v1 .product-item-details .price-box .special-price .price,html.sgcl-v1 .product-item-details .price-box > .price-container .price{font-size:28px;font-weight:700;letter-spacing:-.2px;color:var(--sgcl-ink);line-height:1.2}
html.sgcl-v1 .product-item-details .price-box .old-price .price{font-size:14px;font-weight:600;color:var(--sgcl-ink);text-decoration:line-through}

/* режим «список» (прод переключает .products-grid -> .products-list): фото 220 px слева */
html.sgcl-v1 .products.wrapper.products-list ol.product-items{grid-template-columns:1fr;gap:0}
html.sgcl-v1 .products.wrapper.products-list ol.product-items > li.product-item{padding:24px 0;margin:0;border-bottom:1px solid var(--sgcl-line)}
html.sgcl-v1 .products.wrapper.products-list ol.product-items > li.product-item:first-child{padding-top:0}
html.sgcl-v1 .products.wrapper.products-list .product-item-info{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start;margin:0}
html.sgcl-v1 .products.wrapper.products-list .product-item-image{width:220px;height:220px;max-width:none;padding:0;flex:none}
html.sgcl-v1 .products.wrapper.products-list .product-item-details{display:flex;flex-direction:column;align-self:stretch;min-width:0;max-width:none;padding:0;flex:none}
html.sgcl-v1 .products.wrapper.products-list .product-item-details .product-item-name{margin-top:2px;font-size:18px}
html.sgcl-v1 .products.wrapper.products-list .product-item-details .product-item-description{display:none}
html.sgcl-v1 .products.wrapper.products-list .product-item-details .product-buy_info{margin-top:auto}

/* ================= 6. низ списка ================= */
html.sgcl-v1 .spg-load-more{margin:36px 0 0;padding:0;text-align:center}
html.sgcl-v1 .spg-load-more .spg-load-more__button,html.sgcl-v1 .spg-load-more--filled .spg-load-more__button{height:48px;min-height:48px;min-width:0;padding:0 36px;border:1px solid var(--sgcl-ink);border-radius:0;background:#fff;color:var(--sgcl-ink);font-size:13px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;transition:background-color .15s,border-color .15s}
html.sgcl-v1 .spg-load-more .spg-load-more__button:hover,html.sgcl-v1 .spg-load-more--filled .spg-load-more__button:hover{background:#f0f0f0;color:var(--sgcl-ink)}
html.sgcl-v1 .products.wrapper ~ .toolbar-products > .pages{grid-area:6/2/7/-1;display:block;justify-self:center;margin:18px 0 0 32px;padding:0;float:none;width:auto}
html.sgcl-v1 .products.wrapper ~ .toolbar-products > .limiter{grid-area:7/2/8/-1;display:block;justify-self:center;margin:18px 0 0 32px;padding:0;float:none;width:auto}
html.sgcl-v1 .pages .pages-label,html.sgcl-v1 .pages .pages-item-previous .label,html.sgcl-v1 .pages .pages-item-next .label,html.sgcl-v1 .pages .page .label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html.sgcl-v1 .pages .pages-items{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:0;list-style:none}
html.sgcl-v1 .pages .pages-items .item{display:block;margin:0;padding:0;float:none;background:none;border:0}
html.sgcl-v1 .pages .pages-items .item .page,html.sgcl-v1 .pages .pages-items .item a.action{display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin:0;padding:0;border:0;border-radius:50%;background:none;color:var(--sgcl-ink);font-size:14px;font-weight:600;line-height:1;text-decoration:none;transition:background-color .15s,color .15s}
html.sgcl-v1 .pages .pages-items .item.current,html.sgcl-v1 .pages .pages-items .item.current .page{border:0;box-shadow:none;outline:0}
html.sgcl-v1 .pages .pages-items .item.current .page{background:#000;color:#fff}
html.sgcl-v1 .pages .pages-items .item.current .page .number-page{color:#fff}
html.sgcl-v1 .pages .pages-items .item a.page:hover,html.sgcl-v1 .pages .pages-items .item a.action:hover{background:#f0f0f0;color:var(--sgcl-ink)}
html.sgcl-v1 .pages .pages-items .item a.action:before,html.sgcl-v1 .pages .pages-items .item a.action:after{content:none}
html.sgcl-v1 .pages .pages-items .item .number-page{display:block;width:auto;height:auto;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;line-height:1}
html.sgcl-v1 .pages .pages-items .pages-item-next a.action > span:not(.label){font-size:14px}
html.sgcl-v1 .toolbar-products .field.limiter .form-item-select{margin:0;padding:0;width:auto}
html.sgcl-v1 .products.wrapper ~ .toolbar-products select#limiter{height:36px;font-size:13px;line-height:34px}
html.sgcl-v1 .page-main .column.main > .message{grid-area:5/2/6/-1;margin:24px 0 0 32px;min-width:0}
html.sgcl-v1 .page-main .category-view{grid-area:8/2/9/-1;margin:36px 0 0 32px;min-width:0;width:auto;float:none}

/* ================= 7. планшет 992-1199 ================= */
@media (max-width:1199px){
  html.sgcl-v1{--sgcl-side:240px;--sgcl-name-fs:14px}
  html.sgcl-v1 .sgcl-titlerow .page-title,html.sgcl-v1 .page-title-wrapper > .page-title{font-size:24px}
  html.sgcl-v1 .products.wrapper ol.product-items{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 16px}
  html.sgcl-v1 .product-item-details .price-box{gap:2px 10px}
  html.sgcl-v1 .product-item-details .price-box .special-price .price,html.sgcl-v1 .product-item-details .price-box > .price-container .price{font-size:20px;white-space:nowrap}
  html.sgcl-v1 .product-item-details .price-box .old-price .price{font-size:12px;white-space:nowrap}
  html.sgcl-v1 .sg-quick-links .sg-quick-links__rail{grid-template-columns:repeat(4,minmax(0,1fr))}
  html.sgcl-v1 .sg-quick-links .sg-quick-links__card:nth-child(4n){border-right:0;margin-right:0}
  html.sgcl-v1 .sg-quick-links .sg-quick-links__card:nth-child(-n+4){border-bottom:1px solid var(--sgcl-line)}
  html.sgcl-v1 .sg-quick-links .sg-quick-links__card:nth-child(5){--sgcl-pl:0px}
}

/* ================= 8. ≤ 991: панель фильтров (filters.js), 3 карточки ================= */
@media (max-width:991px){
  html.sgcl-v1 .page-main.container,html.sgcl-v1 .page-title-wrapper{width:calc(100% - 48px)}
  html.sgcl-v1 .page-main.container{grid-template-columns:minmax(0,1fr) auto auto auto}
  html.sgcl-v1 body.spg-spa-catalog .page-main > .row > .sidebar-main{display:none}
  html.sgcl-v1 .page-main > .row > .sidebar-additional{grid-column:1/-1;margin-left:0}
  html.sgcl-v1 .spg-spa-catalog .spg-filter-toggle{display:inline-flex;grid-area:2/2/3/3;margin-left:10px}
  html.sgcl-v1 .toolbar-products .toolbar-sorter{grid-area:2/3/3/4}
  html.sgcl-v1 .toolbar-products .modes{grid-area:2/4/3/5}
  html.sgcl-v1 .toolbar-products select#sorter{max-width:200px;text-overflow:ellipsis}
  html.sgcl-v1 .sgcl-titlerow,html.sgcl-v1 .page-title-wrapper > .page-title{grid-area:2/1/3/2}
  html.sgcl-v1 .page-main .products.wrapper{grid-column:1/-1;margin-left:0}
  html.sgcl-v1 .products.wrapper ol.product-items{gap:28px 16px}
  html.sgcl-v1 .products.wrapper ~ .toolbar-products > .pages,html.sgcl-v1 .products.wrapper ~ .toolbar-products > .limiter{grid-column:1/-1;margin-left:0}
  html.sgcl-v1 .page-main .category-view{grid-column:1/-1;margin-left:0}
  html.sgcl-v1 .page-main .column.main > .message{grid-column:1/-1;margin-left:0}
  html.sgcl-v1 .product-item-details .price-box .special-price .price,html.sgcl-v1 .product-item-details .price-box > .price-container .price{font-size:18px}
  /* панель: шапка 56 px, подвал «Скинути» + «Показати товари (N)» как .f-foot макета */
  html.sgcl-v1 .spg-filters-open .spg-filter-header{height:56px;padding:0 4px 0 16px}
  html.sgcl-v1 .spg-filters-open .spg-filter-header h2{font-size:16px}
  html.sgcl-v1 .spg-filters-open .spg-filter-header .sgcl-head-clear{display:none}
  html.sgcl-v1 .spg-filters-open .spg-filter-close{width:48px;height:48px;flex:0 0 48px;border-radius:0;background:none;font-size:28px;color:var(--sgcl-ink)}
  html.sgcl-v1 .spg-filters-open .spg-filter-scroll{padding:0 16px 24px}
  html.sgcl-v1 .spg-filters-open .spg-filters .spg-filter-total,html.sgcl-v1 .spg-filters-open .spg-filter-total{display:block;margin:12px 0 4px}
  html.sgcl-v1 .spg-filters-open .spg-selected-list{display:grid;gap:6px;margin:8px 0}
  html.sgcl-v1 .spg-filters-open .spg-selected-list > li{border:0;border-radius:0;background:var(--sgcl-ink);color:#fff;padding-left:12px;min-height:40px}
  html.sgcl-v1 .spg-filters-open .spg-selected-remove{color:#fff!important;flex-basis:40px;min-height:40px}
  html.sgcl-v1 .spg-filters-open .spg-filter-scroll > .spg-filter-clear{display:inline-flex}
  html.sgcl-v1 .spg-filters-open .spg-filter-footer{display:flex;gap:10px;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--sgcl-line)}
  html.sgcl-v1 .spg-filters-open .spg-filter-footer .spg-filter-clear{flex:0 0 auto;justify-content:center;height:48px;padding:0 20px;border:1px solid var(--sgcl-ink);background:#fff;color:var(--sgcl-ink);font-size:13px;font-weight:500;letter-spacing:.04em;text-decoration:none}
  html.sgcl-v1 .spg-filters-open .spg-filters .spg-filter-show{flex:1 1 0;min-width:0;height:48px;min-height:48px;border:1px solid var(--sgcl-ink);border-radius:0;background:var(--sgcl-ink);color:#fff;font-size:13px;font-weight:500;letter-spacing:.04em}
  html.sgcl-v1 .spg-filters-open .spg-filters .spg-filter-show:hover{background:#4a4a4a}
  html.sgcl-v1 .spg-filters-open .spg-filters .spg-filter-heading{min-height:48px}
  html.sgcl-v1 .spg-filters-open .spg-filters .spg-option-link{min-height:40px}
  html.sgcl-v1 .spg-filters-open .spg-filters .spg-filter-numbers .spg-option-link{height:40px;padding:0 14px}
  html.sgcl-v1 .spg-filters-open .spg-filters .spg-filter-shapes .spg-option-link{height:44px}
  html.sgcl-v1 .spg-filters-open .spg-filters .spg-brand-tools input,html.sgcl-v1 .spg-filters-open .spg-filters .spg-range-fields input{height:44px;font-size:16px}
  html.sgcl-v1 .spg-filters-open .spg-filters .spg-range-apply{height:44px}
  html.sgcl-v1 .spg-filters-open .spg-filters .spg-brand-more,html.sgcl-v1 .spg-filters-open .spg-filters .sgcl-more{min-height:44px;padding:10px 0}
}

/* ================= 9. телефон ≤ 767 ================= */
@media (max-width:767px){
  html.sgcl-v1 .page-main.container,html.sgcl-v1 .page-title-wrapper{width:calc(100% - 32px)}
  html.sgcl-v1 .page-main.container{grid-template-columns:auto minmax(0,1fr);grid-template-rows:repeat(9,auto)}
  html.sgcl-v1 .page-title-wrapper .breadcrumbs{display:block!important;padding-top:12px}
  html.sgcl-v1 .page-title-wrapper .breadcrumbs .item{font-size:11px;letter-spacing:.04em}
  html.sgcl-v1 .sgcl-titlerow,html.sgcl-v1 .page-title-wrapper > .page-title{grid-area:2/1/3/-1;min-height:0;align-items:baseline;gap:2px 12px;margin-top:6px}
  html.sgcl-v1 .sgcl-titlerow .page-title,html.sgcl-v1 .page-title-wrapper > .page-title{font-size:22px;line-height:1.2}
  html.sgcl-v1 .sgcl-count{font-size:13px;padding-top:0}
  html.sgcl-v1 .spg-spa-catalog .spg-filter-toggle{grid-area:3/1/4/2;margin:8px 0 0}
  html.sgcl-v1 .toolbar-products .toolbar-sorter{grid-area:3/2/4/3;margin:8px 0 0 8px;min-width:0}
  html.sgcl-v1 .toolbar-products .toolbar-sorter .form-item-select{flex:1 1 auto;min-width:0}
  html.sgcl-v1 .toolbar-products select#sorter{width:100%;padding:0 32px 0 12px;background-position:right 12px center;text-overflow:ellipsis}
  html.sgcl-v1 .toolbar-products .modes{display:none}
  html.sgcl-v1 .sgcl-selbar{grid-area:4/1/5/-1;padding:10px 2px 2px}
  html.sgcl-v1 .sgcl-chip{height:40px;padding:0 4px 0 12px}
  html.sgcl-v1 .sgcl-chip i{width:32px;height:32px;font-size:20px}
  html.sgcl-v1 .sgcl-clear{display:inline-flex;align-items:center;min-height:40px}
  /* подборки: лента чипов */
  html.sgcl-v1 .page-main > .sg-quick-links{grid-area:5/1/6/-1;margin:8px -16px 0;border:0;max-width:none}
  html.sgcl-v1 .sg-quick-links .sg-quick-links__rail{display:flex;gap:8px;overflow-x:auto;padding:0 16px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  html.sgcl-v1 .sg-quick-links .sg-quick-links__rail::-webkit-scrollbar{display:none}
  html.sgcl-v1 .sg-quick-links .sg-quick-links__card,html.sgcl-v1 .sg-quick-links .sg-quick-links__card:nth-child(4n),html.sgcl-v1 .sg-quick-links .sg-quick-links__card:last-child{flex:none;display:flex;align-items:center;height:36px;margin:0;padding:0 14px;border:1px solid var(--sgcl-line2)}
  html.sgcl-v1 .sg-quick-links .sg-quick-links__card:nth-child(-n+4){border-bottom:1px solid var(--sgcl-line2)}
  html.sgcl-v1 .sg-quick-links .sg-quick-links__card::after{display:none}
  html.sgcl-v1 .sg-quick-links .sg-quick-links__kicker{display:none}
  html.sgcl-v1 .sg-quick-links .sg-quick-links__title{margin:0;font-size:13px;white-space:nowrap}
  html.sgcl-v1 .sg-quick-links .sg-quick-links__card:active{background:#000;border-color:#000}
  html.sgcl-v1 .sg-quick-links .sg-quick-links__card:active .sg-quick-links__title{color:#fff}
  /* сетка: 2 колонки */
  html.sgcl-v1 .page-main .products.wrapper,html.sgcl-v1 .page-main .column.main > .message{grid-area:6/1/7/-1;margin-top:16px}
  html.sgcl-v1 .products.wrapper ol.product-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}
  html.sgcl-v1 .products.wrapper.products-list ol.product-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}
  html.sgcl-v1 .products.wrapper.products-list ol.product-items > li.product-item{padding:0;border:0}
  html.sgcl-v1 .products.wrapper.products-list .product-item-info{display:block}
  html.sgcl-v1 .products.wrapper.products-list .product-item-image{width:100%;height:auto}
  html.sgcl-v1 .products.wrapper.products-list .product-item-details{display:block}
  html.sgcl-v1{--sgcl-name-fs:13px;--sgcl-name-lh:1.4}
  html.sgcl-v1 .product-item-details .product-item-name{margin-top:10px}
  html.sgcl-v1 .product-item-details .price-box{margin-top:6px;gap:0 8px}
  html.sgcl-v1 .product-item-details .price-box .special-price .price,html.sgcl-v1 .product-item-details .price-box > .price-container .price{font-size:18px}
  html.sgcl-v1 .product-item-details .price-box .old-price .price{font-size:12px}
  html.sgcl-v1 .product-item-image button.action.tocart{height:40px;font-size:11px;letter-spacing:.06em}
  html.sgcl-v1 .product-item-image .product-item-actions{transform:none}
  /* низ */
  html.sgcl-v1 .spg-load-more{margin-top:28px}
  html.sgcl-v1 .spg-load-more .spg-load-more__button{width:100%;padding:0 16px}
  html.sgcl-v1 .products.wrapper ~ .toolbar-products > .pages{grid-area:7/1/8/-1;margin-top:14px}
  html.sgcl-v1 .products.wrapper ~ .toolbar-products > .limiter{display:none}
  html.sgcl-v1 .page-main .category-view{grid-area:9/1/10/-1;margin-top:28px}
  html.sgcl-v1 .page-main > .row > .sidebar-additional{grid-area:10/1/11/-1}
  html.sgcl-v1 .pages .pages-items{flex-wrap:wrap;gap:2px}
}

/* ================= 10. движение ================= */
@media (prefers-reduced-motion:reduce){
  html.sgcl-v1 *,html.sgcl-v1 *:before,html.sgcl-v1 *:after{transition-duration:.001ms!important;transition-delay:0s!important;animation-duration:.001ms!important}
}

/* === v2 part: common (ice pages, html.sgcl-v1.sgcl-ice) === */
/* подборки: одна строка при любом числе карточек (на /spa/chilltubs их 9) */
@media (min-width:1200px){
  html.sgcl-v1.sgcl-ice .sg-quick-links .sg-quick-links__rail{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
  /* 9 карточек: поля уже, чтобы подписи («НАЗНАЧЕННЯ», «Нержавіюча сталь») не обрезались многоточием */
  html.sgcl-v1.sgcl-ice .sg-quick-links .sg-quick-links__card{margin-right:8px;padding-right:8px;--sgcl-pl:-8px}
  html.sgcl-v1.sgcl-ice .sg-quick-links .sg-quick-links__card:first-child{--sgcl-pl:0px}
  html.sgcl-v1.sgcl-ice .sg-quick-links .sg-quick-links__card:last-child{margin-right:0}
  html.sgcl-v1.sgcl-ice .sg-quick-links .sg-quick-links__kicker{letter-spacing:.02em}
}
/* 1200-1599: кикер 10 px, чтобы «ДОСТАВКА ЗА 1 ДЕНЬ» помещалась на 1440 (на 1200 допустимо многоточие) */
@media (min-width:1200px) and (max-width:1599px){
  html.sgcl-v1.sgcl-ice .sg-quick-links .sg-quick-links__kicker{font-size:10px}
}
/* переключатель языка: у темы на десктопе он block, не помещается в .child-content (рядом поиск и корзина), переносится под шапку
   и ложится поверх вида/сортировки. Делаем как у темы на планшете/телефоне: в линию с иконками (float:right) */
@media (min-width:992px){
  html.sgcl-v1.sgcl-ice .middle-header-wrapper .child-content > .switcher-language{float:right;position:relative;width:auto;margin:0}
  html.sgcl-v1.sgcl-ice .middle-header-wrapper .child-content{width:max-content;flex:none}
}
/* заголовок + счётчик: счётчик в потоке строки сразу за текстом H1 (как на /spa). Под счётчик в конце текста заголовка (.base) резервируется
   padding-right 100 px (самый широкий счётчик), счётчик втягивается на него отрицательным margin: последнее слово и счётчик переносятся вместе,
   счётчик всегда в конце последней строки заголовка, а не отдельной строкой. Значения margin = 16/12 px зазора - 100 px резерва + пробел (~4 px).
   Отступ под крошками: от 768 как на /spa (текст на 14 px ниже верха строки при min-height 56), на телефоне - margin-top 6 из base */
html.sgcl-v1.sgcl-ice .sgcl-titlerow{display:block;box-sizing:border-box;text-align:left}
html.sgcl-v1.sgcl-ice .sgcl-titlerow .page-title{display:inline;text-align:left}
html.sgcl-v1.sgcl-ice .sgcl-titlerow .page-title .base{padding-right:100px}
html.sgcl-v1.sgcl-ice .sgcl-titlerow .sgcl-count{display:inline;margin-left:-92px;padding:0}
@media (min-width:768px){
  html.sgcl-v1.sgcl-ice .sgcl-titlerow{padding:14px 0}
  html.sgcl-v1.sgcl-ice .sgcl-titlerow .sgcl-count{margin-left:-88px}
}

/* === v2 part: ice-widget (ice pages, html.sgcl-v1.sgcl-ice) ===
   Сайдбар фильтров /spa/chilltubs (виджет SpaFilters spg-ice-*) в системе /spa: те же линии, заголовки, чекбоксы, плитки, поля, мобильная панель.
   Правила ледяного css прода стоят на #layered-filter-block.spg-ice-full (id), поэтому все правила тут с тем же id и классами html.sgcl-v1.sgcl-ice.
   Токены - из base.css (--sgcl-*). Разметку, тексты, href, name/value не меняем: новые пиктограммы подставляет ice-widget.js, старые эскизы только скрыты. */

/* ---------- каркас: 280 px колонки сетки, без рамки-карточки ---------- */
@media (min-width:992px){
  html.sgcl-v1.sgcl-ice body.spg-ice-catalog .page-main > .row > .sidebar-main.spg-filter-sidebar{width:auto!important;max-width:none!important;flex:none!important}
  html.sgcl-v1.sgcl-ice body.spg-ice-catalog .page-main .column.main{width:auto!important;max-width:none!important;flex:none!important}
}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full{overflow:visible;background:none;border:0;border-radius:0;color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-symbols{display:none}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-product-sketch,html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-package-sketch{display:none}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full :focus-visible{outline-color:var(--sgcl-ink)}

/* ---------- шапка ---------- */
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;height:36px;margin:0;padding:0}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-heading h2{flex:0 1 auto;margin:0;font-size:15px;font-weight:600;line-height:1.4;letter-spacing:.04em;text-transform:uppercase;color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-heading .spg-ice-reset{order:2;margin-left:auto;min-height:0;padding:0;font-size:13px;line-height:1.4;color:var(--sgcl-ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:#9a9a9a}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-heading .spg-ice-reset:hover{text-decoration-color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full[data-spg-selected="0"] .spg-ice-heading .spg-ice-reset{display:none!important}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-scroll{padding:0}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-caption{display:none}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-selected{display:none}

/* ---------- группы: линия, заголовок капсом, «−/+» ---------- */
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-filter-group{border-top:1px solid var(--sgcl-line)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-filter-summary{min-height:44px;padding:12px 0;font-size:13px;font-weight:600;line-height:1.4;letter-spacing:.06em;text-transform:uppercase;color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-toggle{color:#999}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-toggle::before{left:3px;top:8px;width:12px;height:1.5px}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-toggle::after{left:8.25px;top:3px;width:1.5px;height:12px}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-filter-summary:hover .spg-ice-toggle{color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-filter-values{padding:0 0 18px}

/* ---------- пиктограммы (ставит ice-widget.js) ---------- */
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-ico{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none;display:block;width:40px;height:40px}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-ico *{vector-effect:non-scaling-stroke}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-ico.sgcl-pack{width:58px}

/* ---------- списки с чекбоксами (как на /spa) ---------- */
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-filter-group .spg-ice-filter-items{grid-template-columns:1fr;column-gap:0;gap:0}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-filter-option,html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-option{position:relative;display:flex;align-items:center;gap:10px;width:auto;min-height:30px;margin:0 0 0 -6px;padding:0 0 0 6px;font-size:14px;line-height:1.35;color:var(--sgcl-ink);transition:background-color .15s}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-filter-option:hover,html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-option:hover{background:var(--sgcl-soft)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-filter-option.is-selected,html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-option.is-selected,html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-option:has(input:checked){color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-filter-option.is-selected .spg-ice-option-link{color:var(--sgcl-ink);font-weight:400}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-option-link{position:static;flex:1 1 auto;min-height:30px;gap:10px;padding:0;font-size:14px;line-height:1.35;color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-option-link::after{content:"";position:absolute;inset:0;z-index:1}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-option-label{font-size:14px;font-weight:400}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-option-count{margin:0 0 0 auto;font-size:13px;line-height:1.4;color:var(--sgcl-cnt)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .mgs-filter-item-checkbox{position:relative;display:block;width:16px;height:16px;flex:0 0 16px;pointer-events:none}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .mgs-filter-item-checkbox .mgs-layered-checkbox,html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-option > input{-webkit-appearance:none;appearance:none;position:static;display:block;opacity:1;width:16px;height:16px;flex:0 0 16px;margin:0;border:1px solid var(--sgcl-mute);border-radius:0;background:#fff;cursor:pointer;transition:background-color .15s,border-color .15s}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-filter-option:hover .mgs-layered-checkbox,html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-option:hover > input{border-color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .mgs-filter-item-checkbox .spg-ice-nav-box{display:block!important;width:16px!important;height:16px!important;box-sizing:border-box!important;border:1px solid var(--sgcl-mute)!important;border-radius:0!important;background:#fff!important;transition:border-color .15s}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-filter-option:hover .spg-ice-nav-box{border-color:var(--sgcl-ink)!important}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .mgs-filter-item-checkbox .mgs-layered-checkbox:checked,html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-option > input:checked{background:var(--sgcl-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.6 5.2l2.4 2.4 4.4-5' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center/10px 10px;border-color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-filter-option:has(:focus-visible),html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-option:has(:focus-visible){outline:2px solid var(--sgcl-ink);outline-offset:-2px}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-option:has(:focus-visible) > input{outline:0}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-dot{flex:none;position:relative;width:18px;height:18px}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-dot::after{content:"";position:absolute;left:4px;top:4px;width:10px;height:10px;border-radius:50%;background:var(--sgcl-green)}

/* ---------- плитки (тип, комплектация) ---------- */
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-types{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-cooling{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-tile,html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-cooling .spg-ice-tile{position:relative;flex-direction:column;justify-content:center;align-items:center;gap:2px;height:86px;min-height:86px;padding:0 4px;border:1px solid var(--sgcl-line2);border-radius:0;background:#fff;color:var(--sgcl-ink);box-shadow:none;font-size:12px;text-align:center;transition:border-color .15s,background-color .15s,color .15s}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-tile:hover{border-color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-tile > input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-tile:has(:focus-visible){outline:2px solid var(--sgcl-ink);outline-offset:-2px}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-tile .spg-ice-option-label{min-height:0;font-size:12px;font-weight:600;line-height:14px;white-space:nowrap}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-tile .spg-ice-option-count{margin:0;font-size:11px;line-height:1.3;color:var(--sgcl-cnt)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-tile.is-selected,html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-tile:has(input:checked){background:var(--sgcl-ink);border-color:var(--sgcl-ink);color:#fff;box-shadow:none}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-tile.is-selected .spg-ice-option-count,html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-tile:has(input:checked) .spg-ice-option-count{color:#ddd}

/* ---------- цена: двойной ползунок (ice-widget.js), поля «Від/До» и кнопка остаются в DOM, но скрыты ---------- */
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-has-range .spg-ice-filter-values{position:relative}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-has-range .spg-ice-price,html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-has-range .spg-ice-price-apply{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;border:0!important;white-space:nowrap!important}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-range{--th:14px;padding:0 0 2px}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-range-vals{display:flex;justify-content:space-between;gap:12px;font-size:12px;line-height:1.4;color:var(--sgcl-cnt);white-space:nowrap}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-range-track{position:relative;height:28px}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-range-track::before{content:"";position:absolute;left:0;right:0;top:13px;height:2px;background:#ccc}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-range-track::after{content:"";position:absolute;top:13px;height:2px;background:var(--sgcl-ink);left:calc(var(--th)/2 + (100% - var(--th))*var(--lo,0));width:calc((100% - var(--th))*(var(--hi,1) - var(--lo,0)))}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-range input[type=range]{-webkit-appearance:none;appearance:none;position:absolute;left:0;top:0;width:100%;height:28px;margin:0;padding:0;border:0;background:none;pointer-events:none;outline:0}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-range input[type=range]::-webkit-slider-runnable-track{height:28px;background:none;border:0}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-range input[type=range]::-moz-range-track{height:28px;background:none;border:0}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-range input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;pointer-events:auto;width:var(--th);height:var(--th);margin-top:calc((28px - var(--th))/2);border:0;border-radius:50%;background:var(--sgcl-ink);box-shadow:none;cursor:pointer}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-range input[type=range]::-moz-range-thumb{pointer-events:auto;box-sizing:border-box;width:var(--th);height:var(--th);border:0;border-radius:50%;background:var(--sgcl-ink);box-shadow:none;cursor:pointer}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-range input[type=range]:focus-visible::-webkit-slider-thumb{outline:2px solid var(--sgcl-ink);outline-offset:3px}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .sgcl-range input[type=range]:focus-visible::-moz-range-thumb{outline:2px solid var(--sgcl-ink);outline-offset:3px}

/* ---------- (запасной вариант без ползунка) поля «Від/До» и кнопка как длина/ширина на /spa ---------- */
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-price{grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr);gap:6px;align-items:end}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-price label{font-size:13px;line-height:1.5;color:var(--sgcl-txt)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-price input{height:36px;min-height:36px;margin:4px 0 0;padding:0 8px;border:1px solid var(--sgcl-soft);border-radius:0;background:var(--sgcl-soft);font-size:13px;color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-price input:focus{outline:1px solid var(--sgcl-ink);background:#fff}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-dash{line-height:36px}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-price-apply{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:0;height:32px;margin:10px 0 0;padding:0 16px;border:1px solid var(--sgcl-ink);border-radius:0;background:#fff;color:var(--sgcl-ink);font-size:13px;font-weight:500;line-height:1.2;transition:background-color .15s}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-price-apply:hover{background:#f0f0f0;border-color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice #layered-filter-block.spg-ice-full .spg-ice-price-error{font-size:13px}

/* ---------- ≤ 991: панель (кнопку и перенос узлов делает ice-mobile.js) ---------- */
@media (max-width:991px){
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full{background:#fff}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-ice-heading{height:auto;min-height:56px;padding:env(safe-area-inset-top,0px) 4px 0 16px;border-bottom:1px solid var(--sgcl-line)}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-ice-heading h2{font-size:16px}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-filter-close{width:48px;height:48px;flex:0 0 48px;border-radius:0;background:none;color:var(--sgcl-ink);font-size:28px}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-ice-scroll{padding:0 16px 24px}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-ice-caption{display:block;margin:12px 0 4px;font-size:13px;line-height:1.6;color:var(--sgcl-txt)}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-ice-selected{display:grid;gap:6px;margin:8px 0}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-ice-selected[hidden]{display:none!important}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-ice-chip{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:40px;padding:0 0 0 12px;border:0;border-radius:0;background:var(--sgcl-ink);color:#fff!important;font-size:13px;font-weight:500}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-ice-chip span{color:#fff!important}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-ice-chip b{flex:0 0 40px;text-align:center;font-size:20px;color:#fff}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-filter-footer{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--sgcl-line)}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-filter-footer .spg-ice-reset{flex:0 0 auto;display:inline-flex!important;align-items:center;justify-content:center;height:48px;min-height:48px;padding:0 20px;border:1px solid var(--sgcl-ink);background:#fff;color:var(--sgcl-ink);font-size:13px;font-weight:500;letter-spacing:.04em;text-decoration:none}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-filter-show{flex:1 1 0;min-width:0;height:48px;min-height:48px;padding:0 12px;border:1px solid var(--sgcl-ink);border-radius:0;background:var(--sgcl-ink);color:#fff;font-size:13px;font-weight:500;letter-spacing:.04em}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-filter-show:hover{background:#4a4a4a}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-ice-filter-summary{min-height:48px}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-ice-filter-option,html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-ice-option,html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-ice-option-link{min-height:40px}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .sgcl-range{--th:18px;padding:2px 0 6px}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .sgcl-range-vals{font-size:13px}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .sgcl-range input[type=range]{touch-action:pan-y}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-ice-price input{height:44px;min-height:44px;font-size:16px}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-ice-dash{line-height:44px}
  html.sgcl-v1.sgcl-ice .spg-filters-open #layered-filter-block.spg-ice-full .spg-ice-price-apply{height:44px}
}

/* ---------- чипы выбранного: контейнер .sgcl-ibar (ставит ice-widget.js; .sgcl-selbar база на ice-страницах удаляет) - вид как у .sgcl-selbar ---------- */
html.sgcl-v1.sgcl-ice .sgcl-ibar{grid-area:3/1/4/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 2px 4px}
@media (max-width:767px){
  html.sgcl-v1.sgcl-ice .sgcl-ibar{grid-area:4/1/5/-1;padding:10px 2px 2px}
}

/* === v2 part: theme-filter (ice pages, html.sgcl-v1.sgcl-ice): штатный слоистый фильтр темы Mgs (#layered-filter-block без .spg-ice-filters) ===
   Виджет ice (.spg-ice-filters, /spa/chilltubs) НЕ трогаем: везде .mgs-filter:not(.spg-ice-filters) или классы, которые ставит только theme-filter.js (sgcl-tf, sgcl-fhead, sgcl-tbar, sgcl-ftoggle, sgcl-ffoot). */

/* ---- шапка «Фільтри» + «Скинути все» (JS-узел; штатный заголовок «Магазин по» прячем, когда она готова) ---- */
html.sgcl-v1.sgcl-ice .mgs-filter .sgcl-fhead{display:flex;align-items:center;justify-content:space-between;gap:12px;height:36px;margin:0}
html.sgcl-v1.sgcl-ice .mgs-filter .sgcl-fhead h2{font:inherit;font-size:15px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--sgcl-ink);margin:0;padding:0}
html.sgcl-v1.sgcl-ice .mgs-filter .sgcl-fhead .filter-clear{order:2;margin:0 0 0 auto;padding:0;min-height:0;height:auto;border:0;background:none;box-shadow:none;font-size:13px;font-weight:400;line-height:1.4;color:var(--sgcl-ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:#9a9a9a}
html.sgcl-v1.sgcl-ice .mgs-filter .sgcl-fhead .filter-clear:hover{text-decoration-color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice .mgs-filter .sgcl-fhead .filter-clear span{font:inherit;color:inherit}
html.sgcl-v1.sgcl-ice .mgs-filter .sgcl-fhead .filter-clear.sgcl-off{display:none!important}
html.sgcl-v1.sgcl-ice.sgcl-tf .mgs-filter .filter-title,html.sgcl-v1.sgcl-ice.sgcl-tf .mgs-filter .filter-current{display:none}

/* ---- группы ---- */
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-content .container{width:auto;max-width:none;padding:0}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item{border-top:1px solid var(--sgcl-line);margin:0;padding:0}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item .filter-options-title{position:relative;display:flex;align-items:center;min-height:44px;margin:0;padding:12px 28px 12px 0;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;line-height:1.4;color:var(--sgcl-ink);cursor:pointer}
/* «−/+» как в v1: две тонкие линии; у раскрытой группы вертикальная скрыта */
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item .filter-options-title::before{content:"";display:block;position:absolute;left:auto;right:3px;top:50%;width:12px;height:1.5px;margin:-.75px 0 0;padding:0;background:#999;font:0/0 a;transform:none;color:#999}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item .filter-options-title::after{content:"";display:block;position:absolute;right:8.25px;top:50%;width:1.5px;height:12px;margin:-6px 0 0;background:#999}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item .filter-options-title.active::after{display:none}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item .filter-options-title:hover::before,html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item .filter-options-title:hover::after{background:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item .filter-options-content{padding:0 0 18px;margin:0}

/* ---- чекбокс-списки как на /spa: плоские строки, число справа серым без скобок ---- */
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item .filter-options-content .items{margin:0;padding:0;list-style:none}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item .filter-options-content .items > .item{position:relative;display:block;margin:0 -6px;padding:0;list-style:none}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item .filter-options-content .item a{position:static;display:flex!important;align-items:center;gap:10px;min-height:30px;padding:0 6px 0 32px;border:0;border-radius:0;background:none;color:var(--sgcl-ink);font-size:14px;font-weight:400;line-height:1.35;text-decoration:none;transition:background-color .15s}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item .filter-options-content .item a::after{content:"";position:absolute;inset:0;z-index:1}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item .filter-options-content .item a:hover{background:var(--sgcl-soft);color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options-item .items .item a .mgs-option-count{margin:0 0 0 auto;font-size:13px;font-weight:400;color:var(--sgcl-cnt)}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options-item .items .item a .mgs-option-count::before,html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options-item .items .item a .mgs-option-count::after{content:none!important}
/* квадратик: input остаётся в DOM (невидим), рисуем .mgs-content; клик ловит растянутая ссылка */
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options-item .items .item .mgs-filter-item-checkbox{position:absolute;left:6px;top:50%;display:block;width:16px;height:16px;margin:-8px 0 0;padding:0;pointer-events:none}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options-item .items .item .mgs-layered-checkbox{position:absolute;left:0;top:0;width:16px;height:16px;margin:0;opacity:0}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options-item .items .item .mgs-content{position:absolute;left:0;top:0;box-sizing:border-box;width:16px;height:16px;border:1px solid var(--sgcl-mute);border-radius:0;background:#fff;transition:background-color .15s,border-color .15s}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .item:hover .mgs-content{border-color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options-item .items .item .mgs-layered-checkbox:checked + .mgs-content{background:var(--sgcl-ink);border-color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options-item .items .item .mgs-layered-checkbox:checked + .mgs-content::after{content:"";position:absolute;display:block;left:4.5px;top:1px;width:4px;height:8px;border:solid #fff;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .item:focus-within{outline:2px solid var(--sgcl-ink);outline-offset:-2px}

/* ---- пиктограммы (JS кладёт svg.sgcl-ico первым в ссылку) ---- */
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .sgcl-ico{fill:none;stroke:#000;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none;display:block;width:18px;height:18px}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .sgcl-ico *{vector-effect:non-scaling-stroke}

/* плитки мест (К-ть місць / Сидячих / Лежачих) */
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-tiles .filter-options-content .items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-tiles .filter-options-content .items > .item{margin:0}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-tiles .filter-options-content .items .item a{flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:86px;height:86px;padding:0 4px;border:1px solid var(--sgcl-line2);background:#fff;font-size:13px;font-weight:600;line-height:14px;text-align:center;transition:border-color .15s,background-color .15s,color .15s}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-tiles .filter-options-content .items .item a:hover{background:#fff;border-color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-tiles .filter-options-content .items .item a .sgcl-tub{width:40px;height:40px;stroke-width:1.6}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-tiles .filter-options-content .items .item a .mgs-option-count{margin:0;font-size:11px;font-weight:400;line-height:1.3}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-tiles .filter-options-content .items .item .mgs-filter-item-checkbox,html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-shapes .filter-options-content .items .item .mgs-filter-item-checkbox{display:none}

/* формы: строки с пиктограммой, как .spg-filter-shapes */
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-shapes .filter-options-content .items{display:grid;grid-template-columns:1fr;gap:6px}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-shapes .filter-options-content .items > .item{margin:0}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-shapes .filter-options-content .items .item a{height:36px;min-height:36px;padding:0 10px;border:1px solid var(--sgcl-line2);background:#fff;font-size:13px;font-weight:500;transition:border-color .15s,background-color .15s,color .15s}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-shapes .filter-options-content .items .item a:hover{background:#fff;border-color:var(--sgcl-ink)}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-shapes .filter-options-content .items .item a .mgs-option-count{font-size:11px}

/* выбранные плитки и формы: чёрный фон, белый текст (тема красит a через !important) */
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-tiles .filter-options-content .items .item.sgcl-on a,html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-shapes .filter-options-content .items .item.sgcl-on a{background:var(--sgcl-ink);border-color:var(--sgcl-ink);color:#fff!important}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-tiles .filter-options-content .items .item.sgcl-on .sgcl-ico,html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-shapes .filter-options-content .items .item.sgcl-on .sgcl-ico{stroke:#fff}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-tiles .filter-options-content .items .item.sgcl-on a .mgs-option-count,html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-shapes .filter-options-content .items .item.sgcl-on a .mgs-option-count{color:#ddd}

/* ---- ползунок цены (ion.rangeSlider): тонкая линия, круглые ручки, подписи мин/макс над линией ---- */
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-price .filter-options-content{padding-left:14px;padding-right:14px}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs{height:44px}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-line{height:2px;top:30px;background:#ccc;border:0;border-radius:0}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-line-left,html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-line-mid,html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-line-right{background:none;height:2px}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-bar{height:2px;top:30px;background:var(--sgcl-ink);border:0;border-radius:0}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-bar-edge{display:none}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-slider{top:24px;width:14px;height:14px;border:0;border-radius:50%;background:var(--sgcl-ink) none;box-shadow:none;cursor:pointer}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-slider::before,html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-slider::after{content:none}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-from,html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-to,html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-single{top:6px;padding:0 2px;border-radius:0;background:none;color:var(--sgcl-cnt);font-size:12px;line-height:1.2;text-shadow:none}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-from::before,html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-to::before,html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-single::before,html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-from::after,html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-to::after,html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-single::after{display:none}
html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .irs-grid{display:none}

/* ---- чипы выбранных фильтров под заголовком страницы (JS, как .sgcl-selbar; ссылки клонируются из .filter-current) ---- */
html.sgcl-v1.sgcl-ice .sgcl-tbar{grid-area:3/1/4/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0 4px}
html.sgcl-v1.sgcl-ice .sgcl-tbar .sgcl-chip strong{font-weight:400;opacity:.75}
html.sgcl-v1.sgcl-ice .sgcl-tbar .sgcl-clear{margin-left:6px}

/* ---- кнопка «Фільтри», строка «Знайдено товарів», подвал панели (только ≤ 991; JS создаёт их на страницах с фильтром темы) ---- */
html.sgcl-v1.sgcl-ice .sgcl-ftoggle,html.sgcl-v1.sgcl-ice .sgcl-ffoot,html.sgcl-v1.sgcl-ice .sgcl-ftotal{display:none}

@media (max-width:991px){
  html.sgcl-v1.sgcl-ice.sgcl-tf .sgcl-ftoggle{grid-area:2/2/3/3;display:inline-flex;align-items:center;justify-content:center;align-self:center;min-width:0;min-height:0;height:40px;margin:2px 0 0 10px;padding:0 16px;border:1px solid var(--sgcl-ink);border-radius:0;background:#fff;color:var(--sgcl-ink);font:inherit;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .15s}
  html.sgcl-v1.sgcl-ice.sgcl-tf .sgcl-ftoggle:hover{background:#f0f0f0}
  html.sgcl-v1.sgcl-ice.sgcl-tf .sgcl-ftoggle::before{content:"";width:18px;height:18px;margin:0 8px 0 0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h10M18 7h2M4 17h2M10 17h10'/%3E%3Ccircle cx='16' cy='7' r='2'/%3E%3Ccircle cx='8' cy='17' r='2'/%3E%3C/svg%3E") no-repeat center/18px 18px}
  /* плавающую вкладку темы заменяет кнопка в строке заголовка (клик по ней программно жмёт #navbar_sidebar) */
  html.sgcl-v1.sgcl-ice.sgcl-tf .sidebar-action-mobile--left .navbar_sidebar{display:none!important}
  /* панель темы (off-canvas): на всю ширину; закрытая - visibility:hidden после анимации (Tab не заходит в невидимые ссылки) */
  html.sgcl-v1.sgcl-ice.sgcl-tf .sidebar-main{width:100%;max-width:420px!important;left:-110%;padding:0 16px;box-sizing:border-box;background:#fff;visibility:hidden;transition:left .3s,visibility 0s .3s}
  html.sgcl-v1.sgcl-ice.sgcl-tf body.active-sidebar .sidebar-main{left:0;visibility:visible;z-index:2147483647;transition:left .3s,visibility 0s}
  /* .page-main (position:relative; z-index:2) запирает панель в своём контексте наложения: пока панель открыта, контекст снимаем */
  html.sgcl-v1.sgcl-ice.sgcl-tf body.active-sidebar #maincontent.page-main{z-index:auto}
  /* подложка и её ::after ниже панели, но выше чат-виджета #sg-context-chat (z 10010) */
  html.sgcl-v1.sgcl-ice.sgcl-tf body.active-sidebar .sidebar-action-mobile--left{z-index:2147483646}
  html.sgcl-v1.sgcl-ice.sgcl-tf body.active-sidebar .sidebar-action-mobile--left::after{left:min(100%,420px);z-index:2147483646}
  /* шапка как на /spa: «ФІЛЬТРИ» 16/600 и «×» 28 px */
  html.sgcl-v1.sgcl-ice.sgcl-tf .sidebar-main .sidebar-mobile--title{display:block;box-sizing:border-box;width:calc(100% + 32px);height:56px;margin:0 -16px;padding:0 64px 0 16px;background:#fff;color:var(--sgcl-ink);border-bottom:1px solid var(--sgcl-line)}
  html.sgcl-v1.sgcl-ice.sgcl-tf .sidebar-main .sidebar-mobile--title h3{margin:0;font-size:0;line-height:56px;color:var(--sgcl-ink)}
  html.sgcl-v1.sgcl-ice.sgcl-tf .sidebar-main .sidebar-mobile--title h3::before{content:"Фільтри";font-size:16px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
  html.sgcl-v1.sgcl-ice.sgcl-tf:lang(ru) .sidebar-main .sidebar-mobile--title h3::before{content:"Фильтры"}
  html.sgcl-v1.sgcl-ice.sgcl-tf .sidebar-main .close-sidebar-action{position:absolute;left:auto;right:4px;top:4px;width:48px;height:48px;margin:0;padding:0;transform:none;background:none;border:0;border-radius:0;color:var(--sgcl-ink);display:flex;align-items:center;justify-content:center;font-family:inherit;font-size:28px;font-weight:400;line-height:1}
  html.sgcl-v1.sgcl-ice.sgcl-tf .sidebar-main .close-sidebar-action span{display:none}
  html.sgcl-v1.sgcl-ice.sgcl-tf .sidebar-main .close-sidebar-action::before{content:"\00d7"}
  /* «Знайдено товарів: N» под шапкой; ссылка очистки темы переезжает в подвал (шапка .sgcl-fhead - только для десктопа) */
  html.sgcl-v1.sgcl-ice.sgcl-tf .mgs-filter .sgcl-fhead{display:none}
  html.sgcl-v1.sgcl-ice.sgcl-tf .sgcl-ftotal{display:block;margin:12px 0 4px;font-size:13px;font-weight:400;line-height:1.5;color:var(--sgcl-cnt)}
  html.sgcl-v1.sgcl-ice.sgcl-tf .sgcl-ftotal:empty{display:none}
  html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item .filter-options-title{min-height:48px}
  html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item .filter-options-content .item a{min-height:40px}
  html.sgcl-v1.sgcl-ice .sidebar .mgs-filter.mgs-filter:not(.spg-ice-filters) .filter-options .filter-options-item.sgcl-shapes .filter-options-content .items .item a{height:44px}
  /* подвал панели: «Скинути все» слева, «Показати товари (N)» справа - как у /spa */
  html.sgcl-v1.sgcl-ice.sgcl-tf .sgcl-ffoot{display:flex;gap:10px;position:sticky;bottom:0;z-index:3;margin:0 -16px;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid var(--sgcl-line)}
  html.sgcl-v1.sgcl-ice .sgcl-ffoot .sgcl-freset{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:48px;padding:0 20px;border:1px solid var(--sgcl-ink);border-radius:0;background:#fff;color:var(--sgcl-ink)!important;font:inherit;font-size:13px;font-weight:500;letter-spacing:.04em;line-height:1.2;text-decoration:none;white-space:nowrap;cursor:pointer}
  html.sgcl-v1.sgcl-ice .sgcl-ffoot .sgcl-freset:hover{background:#f0f0f0}
  html.sgcl-v1.sgcl-ice .sgcl-ffoot .sgcl-fshow{flex:1 1 0;min-width:0;height:48px;border:1px solid var(--sgcl-ink);border-radius:0;background:var(--sgcl-ink);color:#fff;font:inherit;font-size:13px;font-weight:500;letter-spacing:.04em;cursor:pointer}
  html.sgcl-v1.sgcl-ice .sgcl-ffoot .sgcl-fshow:hover{background:#4a4a4a}
}
@media (max-width:767px){
  html.sgcl-v1.sgcl-ice.sgcl-tf .sgcl-ftoggle{grid-area:3/1/4/2;margin:8px 0 0}
  html.sgcl-v1.sgcl-ice .sgcl-tbar{grid-area:4/1/5/-1;padding:10px 0 2px}
}
