/* ArterShop desktop v2 catalogue toolbar v2 — native controls only.
   Desktop-only styling. Never mutates the catalogue HTML. */
@media(min-width:769px){
html.as-desktop-v2 body:not(.as-new-home) #products-wrap{
 --as-cat-ink:#244b3a;--as-cat-muted:#687e72;
 --as-cat-panel:rgba(248,253,250,.85);
 --as-cat-border:rgba(60,125,94,.22);
 --as-cat-choice:rgba(255,255,255,.55);
 --as-cat-active:#217653;--as-cat-on-active:#fff;
}
html.as-desktop-v2[data-as-glass-theme="dark"] body:not(.as-new-home) #products-wrap{
 --as-cat-ink:#e0f3e9;--as-cat-muted:#a0bfb0;
 --as-cat-panel:rgba(28,45,38,.85);--as-cat-border:rgba(158,207,181,.24);
 --as-cat-choice:rgba(255,255,255,.07);
 --as-cat-active:#94dcb0;--as-cat-on-active:#183c2b;
}
html.as-desktop-v2[data-as-glass-theme="pink"] body:not(.as-new-home) #products-wrap{
 --as-cat-ink:#5c3550;--as-cat-muted:#916c80;
 --as-cat-panel:rgba(255,246,251,.85);--as-cat-border:rgba(176,100,147,.25);
 --as-cat-choice:rgba(255,255,255,.55);
 --as-cat-active:#ab487c;--as-cat-on-active:#fff;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:10px 12px!important;flex-wrap:wrap!important;
 min-width:0!important;max-width:100%!important;
 margin:12px 0 16px!important;padding:10px 12px!important;
 background:var(--as-cat-panel)!important;color:var(--as-cat-ink)!important;
 border:1px solid var(--as-cat-border)!important;border-radius:15px!important;
 box-shadow:0 6px 20px rgba(13,50,31,.045)!important;box-sizing:border-box!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap:not(:has(.idsearch)) .ht-product-tab>.nav{
 display:inline-flex!important;align-items:center!important;
 visibility:visible!important;opacity:1!important;gap:4px!important;
 flex:0 0 auto!important;min-width:0!important;
 margin:0!important;padding:4px!important;
 border:1px solid var(--as-cat-border)!important;border-radius:11px!important;
 background:var(--as-cat-choice)!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab .btn-change-view{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 gap:7px!important;min-height:38px!important;width:auto!important;min-width:40px!important;
 flex:0 0 auto!important;margin:0!important;padding:0 11px!important;
 border:1px solid transparent!important;border-radius:9px!important;
 box-shadow:none!important;background:transparent!important;
 color:var(--as-cat-muted)!important;text-decoration:none!important;
 font:650 13px/1.1 Inter,'Segoe UI',sans-serif!important;
 opacity:1!important;cursor:pointer!important;pointer-events:auto!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab .btn-change-view i{
 color:inherit!important;font-size:16px!important;line-height:1!important;
 position:static!important;margin:0!important;float:none!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab .btn-change-view.grid::after{content:"Плитка"}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab .btn-change-view.list::after{content:"Листинг"}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab .btn-change-view:is(:hover,:focus-visible){
 color:var(--as-cat-ink)!important;background:var(--as-cat-choice)!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab .btn-change-view.active{
 color:var(--as-cat-on-active)!important;background:var(--as-cat-active)!important;
 box-shadow:0 2px 6px rgba(0,0,0,.1)!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab .list-img{display:none!important}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab .shop-content-wrapper{
 display:flex!important;align-items:center!important;justify-content:flex-end!important;
 flex:1 1 270px!important;flex-wrap:wrap!important;gap:8px!important;
 max-width:100%!important;min-width:0!important;
 margin:0!important;padding:0!important;background:transparent!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab .shop-results{
 min-width:0!important;max-width:100%!important;display:flex!important;
 align-items:center!important;flex-wrap:wrap!important;gap:6px!important;
 margin:0!important;padding:0!important;background:none!important;
 color:var(--as-cat-muted)!important;
 font:500 13px/1.35 Inter,'Segoe UI',sans-serif!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab .shop-results>span{
 display:inline-flex!important;flex-wrap:wrap!important;
 align-items:center!important;justify-content:flex-end!important;gap:5px!important;
 color:var(--as-cat-muted)!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab .shop-results a{
 display:inline-flex!important;align-items:center!important;
 min-height:32px!important;margin:0!important;padding:6px 9px!important;
 background:var(--as-cat-choice)!important;border:1px solid var(--as-cat-border)!important;
 color:var(--as-cat-ink)!important;border-radius:9px!important;
 text-decoration:none!important;box-shadow:none!important;line-height:1.3!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab .shop-results a:is(:hover,:focus-visible){
 border-color:var(--as-cat-active)!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab .shop-results :is(.active,.current,[aria-current],b,strong){
 font-weight:750!important;color:var(--as-cat-active)!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab .shop-results a:is(.active,.current,[aria-current]){
 background:var(--as-cat-active)!important;color:var(--as-cat-on-active)!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab :is(a,button,select,input):focus-visible{
 outline:2px solid var(--as-cat-active)!important;outline-offset:3px!important;
}
/* Native uCoz filter output, if the system supplies one for a category. */
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .as-v2-catalog-filters{
 flex:0 0 auto;order:4;min-width:0;color:var(--as-cat-ink);
 font:500 13px/1.4 Inter,'Segoe UI',sans-serif;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .as-v2-catalog-filters:not(:has(input,select,button,form,a[href])){
 display:none!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .as-v2-catalog-filters>summary{
 display:flex;align-items:center;justify-content:center;gap:8px;
 min-height:42px;padding:7px 15px;box-sizing:border-box;
 border:1px solid var(--as-cat-border);border-radius:11px;
 background:var(--as-cat-choice);color:var(--as-cat-ink);
 font-weight:700;cursor:pointer;list-style:none;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .as-v2-catalog-filters>summary::-webkit-details-marker{display:none}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .as-v2-catalog-filters>summary::before{
 content:"";display:inline-block;width:14px;height:14px;flex:0 0 14px;
 background:currentColor;
 clip-path:polygon(0 10%,100% 10%,65% 52%,65% 90%,40% 100%,40% 52%);
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .as-v2-catalog-filters[open]{
 flex:0 0 100%;width:100%;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .as-v2-catalog-filters[open]>summary{
 background:var(--as-cat-active);color:var(--as-cat-on-active);width:max-content;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .as-v2-filter-content{
 width:100%;margin-top:10px;padding:14px;min-width:0;box-sizing:border-box;
 border:1px solid var(--as-cat-border);border-radius:13px;
 background:var(--as-cat-choice);color:var(--as-cat-ink);
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .as-v2-filter-content :is(input,select,button){
 font:500 14px/1.4 Inter,'Segoe UI',sans-serif;
 min-height:36px;max-width:100%;box-sizing:border-box;border-radius:8px;
 border:1px solid var(--as-cat-border);padding:5px 9px;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap .as-v2-filter-content :is(input[type="checkbox"],input[type="radio"]){
 min-height:0;accent-color:var(--as-cat-active);
}
/* Existing color backgrounds on .listing-view are preserved. */
html.as-desktop-v2 body:not(.as-new-home) #products-wrap.list #goods_cont>.goods-list{
 display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
 gap:10px!important;width:100%!important;max-width:none!important;
 min-width:0!important;height:auto!important;margin:0!important;padding:0!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap.list #goods_cont>.goods-list>.list-item{
 display:block!important;float:none!important;flex:0 0 auto!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 height:auto!important;margin:0!important;padding:0!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap.list #goods_cont>.goods-list>.list-item>.product-item{
 display:none!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap.list #grid #goods_cont .goods-list>.list-item>.listing-view{
 display:flex!important;visibility:visible!important;align-items:center!important;
 justify-content:space-between!important;flex-wrap:wrap!important;gap:10px 15px!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 min-height:76px!important;height:auto!important;
 margin:0!important;padding:14px 18px!important;
 border-radius:14px!important;box-sizing:border-box!important;
 overflow:hidden!important;box-shadow:0 2px 9px rgba(19,38,27,.07)!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap.list #grid .listing-view a{
 color:inherit!important;text-decoration:none!important;font-weight:650!important;line-height:1.45!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap.list #grid .listing-view.as-v2-ink-light,
html.as-desktop-v2 body:not(.as-new-home) #products-wrap.list #grid .listing-view.product-light-text{
 color:#fff!important;text-shadow:0 1px 3px rgba(0,0,0,.42)!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap.list #grid .listing-view.as-v2-ink-dark,
html.as-desktop-v2 body:not(.as-new-home) #products-wrap.list #grid .listing-view.product-dark-text{
 color:#17382b!important;text-shadow:none!important;
}
html.as-desktop-v2 body:not(.as-new-home) #products-wrap.list #grid .listing-view.as-wg-listing-no-color-v1{
 color:#17382b!important;text-shadow:none!important;
 background-color:#fff!important;border-color:var(--as-cat-border)!important;
}
@media(max-width:1100px){
 html.as-desktop-v2 body:not(.as-new-home) #products-wrap .ht-product-tab .shop-content-wrapper{
  flex:1 1 100%!important;justify-content:flex-start!important;
 }
}
}
