:root{--p:#1f4fd7;--d:#172033;--m:#667085;--b:#f4f6f9;--bd:#d9e0ea;--ok:#15803d;--w:#b45309}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--b);color:var(--d);line-height:1.45}.top{background:linear-gradient(135deg,#111827,#1f4fd7);color:#fff;position:sticky;top:0;z-index:10}.bar{max-width:1280px;margin:auto;padding:14px 18px;display:flex;justify-content:space-between;align-items:center}.logo{font-size:24px;font-weight:900}.logo small{display:block;font-size:12px;opacity:.8}.nav{display:flex;gap:18px;align-items:center}.nav a{cursor:pointer;font-weight:800}.cart{border:1px solid rgba(255,255,255,.35);padding:9px 13px;border-radius:12px;background:rgba(255,255,255,.1)}.cart b{background:#ef4444;border-radius:999px;padding:2px 7px}.hero{background:#fff;border-bottom:1px solid var(--bd)}.hero-in{max-width:1280px;margin:auto;padding:34px 18px;display:grid;grid-template-columns:1.7fr .9fr;gap:24px}.hero h1{font-size:36px;line-height:1.1;margin-bottom:12px}.hero p,.muted{color:var(--m)}.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.chip{background:#eef4ff;color:#173b8f;border:1px solid #c7d7fe;border-radius:999px;padding:8px 11px;font-weight:800;font-size:13px}.boxlite{background:#f8fafc;border:1px solid var(--bd);border-radius:18px;padding:18px}.container{max-width:1280px;margin:auto;padding:24px 18px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.stat{background:#fff;border:1px solid var(--bd);border-radius:14px;padding:16px}.stat div{color:var(--m);font-size:13px}.stat b{font-size:24px}.layout{display:grid;grid-template-columns:300px 1fr;gap:18px}.filters{background:#fff;border:1px solid var(--bd);border-radius:16px;padding:12px;position:sticky;top:76px;height:fit-content}.filters-head{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer}.filters-head h3{margin:0}.filter-count{font-size:12px;color:var(--m);font-weight:800}.filters.collapsed{padding:10px 12px}.filters.collapsed .filter-body{display:none}.filters.collapsed .filter-count{display:inline}.filters:not(.collapsed) .filter-count{display:none}.filter-toggle{border:1px solid var(--bd);background:#fff;border-radius:9px;padding:6px 9px;font-weight:900;cursor:pointer}.field{margin-bottom:12px}.field.hidden-filter{display:none!important}.field label{display:block;font-size:12px;color:var(--m);font-weight:900;margin-bottom:6px;text-transform:uppercase}.field input,.field select{width:100%;border:1px solid var(--bd);border-radius:10px;padding:10px;background:#fff}.pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.btn{border:none;background:var(--p);color:#fff;padding:11px 14px;border-radius:10px;font-weight:900;cursor:pointer}.btn.secondary{background:#eef2f7;color:#1f2937}.full{width:100%}.catalog-top{display:flex;justify-content:space-between;margin-bottom:12px}.view button,.pager button{border:1px solid var(--bd);background:#fff;border-radius:9px;padding:9px 11px;cursor:pointer;font-weight:800}.view button.active,.pager button.active{background:#111827;color:#fff}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:14px}.list{display:flex;flex-direction:column;gap:10px}.card{background:#fff;border:1px solid var(--bd);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:10px}.list .card{display:grid;grid-template-columns:1fr 165px}.tagrow{display:flex;flex-wrap:wrap;gap:6px}.tag{font-size:11px;font-weight:900;border-radius:999px;padding:4px 7px;background:#f1f5f9;color:#475569}.tag.ok{background:#dcfce7;color:#166534}.tag.warn{background:#fef3c7;color:#92400e}.name{font-weight:900;font-size:15px;min-height:42px;cursor:pointer}.article,.meta{color:var(--m);font-size:13px}.price{font-size:23px;font-weight:950;color:var(--p);white-space:nowrap}.actions{display:flex;gap:8px;margin-top:10px}.actions input{width:62px;border:1px solid var(--bd);border-radius:9px;padding:9px}.actions .btn{flex:1}.pager{display:flex;justify-content:center;gap:8px;margin:22px 0}.modal{display:none;position:fixed;inset:0;background:rgba(15,23,42,.62);z-index:50;align-items:center;justify-content:center;padding:18px}.modal.open{display:flex}.box{background:#fff;border-radius:18px;width:min(880px,100%);max-height:86vh;overflow:auto;padding:22px}.head{display:flex;justify-content:space-between;border-bottom:1px solid var(--bd);padding-bottom:14px;margin-bottom:14px}.close{font-size:30px;cursor:pointer;color:#667085}.specs{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:12px 0}.spec{background:#f8fafc;border:1px solid var(--bd);border-radius:10px;padding:10px}.spec small{display:block;color:var(--m);font-weight:900}.cart-item{display:grid;grid-template-columns:1fr 80px 120px 32px;gap:10px;align-items:center;border-bottom:1px solid var(--bd);padding:12px 0}.total{text-align:right;font-size:26px;font-weight:950;margin:18px 0}.empty{text-align:center;background:#fff;border:1px dashed var(--bd);border-radius:16px;padding:44px}.hidden{display:none!important}.footer{background:#111827;color:#fff;margin-top:30px}.footer-in{max-width:1280px;margin:auto;padding:28px 18px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px}
.leftcol{display:flex;flex-direction:column;gap:12px}.catalog-menu{background:#fff;border:1px solid var(--bd);border-radius:16px;padding:12px}.catalog-head{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer}.catalog-head h3{margin:0}.catalog-body{display:block;margin-top:10px;max-height:360px;overflow:auto}.catalog-menu.collapsed .catalog-body{display:none}.cat-section{border-top:1px solid #eef2f7;padding:8px 0}.cat-title{width:100%;display:flex;justify-content:space-between;gap:8px;border:0;background:transparent;text-align:left;font-weight:900;color:var(--d);padding:7px 2px;cursor:pointer}.cat-title small{color:var(--m);font-weight:800}.sub-list{display:none;padding:4px 0 4px 12px}.cat-section.open .sub-list{display:block}.sub-list button{display:block;width:100%;border:0;background:transparent;text-align:left;color:#475569;padding:6px 2px;cursor:pointer;border-radius:8px}.sub-list button:hover{background:#f1f5f9}.mobile-cart{display:none;border:1px solid rgba(255,255,255,.35);padding:8px 11px;border-radius:12px;background:rgba(255,255,255,.12);color:#fff;font-weight:900}.mobile-cart b{background:#ef4444;border-radius:999px;padding:2px 7px}.product-box{padding:0}.product-head{position:static!important;display:flex;gap:12px;align-items:flex-start;padding:16px 16px 10px;margin:0;border-bottom:1px solid var(--bd);background:#fff}.product-head h2{font-size:22px;line-height:1.22;margin-top:4px}.product-body{padding:14px 16px 18px}.compact-name{font-size:14px;color:var(--m);line-height:1.35;margin-top:6px}.avail{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 12px}

/* compact home + improved drawer */
.header-btn,.mobile-catalog{border:1px solid rgba(255,255,255,.35);padding:9px 13px;border-radius:12px;background:rgba(255,255,255,.12);color:#fff;font-weight:900;cursor:pointer}.mobile-actions{display:none;gap:8px;align-items:center}.hero-in.compact{grid-template-columns:1fr auto;align-items:center;padding:24px 18px}.hero-in.compact h1{font-size:32px;margin-bottom:8px}.hero-in.compact p{max-width:760px}.hero-catalog{white-space:nowrap;border-radius:14px;padding:14px 22px}.home-search{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:16px;max-width:780px}.home-search input{width:100%;border:1px solid var(--bd);border-radius:12px;padding:13px 14px;font-size:15px;background:#fff}.home-choose{padding:18px}.compact-cards{grid-template-columns:repeat(3,1fr);gap:10px}.compact-cards .home-card{text-align:left;cursor:pointer}.home-card span{display:block;color:var(--m);font-size:13px;margin-top:4px}.drawer{padding:14px;background:#f8fafc}.drawer-head{background:#fff;border:1px solid var(--bd);border-radius:16px;padding:14px;margin-bottom:12px}.drawer .cat-section{border:1px solid var(--bd);border-radius:14px;background:#fff;margin-bottom:9px;padding:0;overflow:hidden}.drawer .cat-title{padding:12px 13px;align-items:center}.drawer .cat-title span:before{content:'▸';display:inline-block;margin-right:7px;color:var(--p);transition:.2s}.drawer .cat-section.open .cat-title span:before{transform:rotate(90deg)}.drawer .cat-title small{background:#eef4ff;color:#173b8f;border-radius:999px;padding:3px 8px}.drawer .sub-list{padding:0 10px 10px 30px;background:#fbfdff}.drawer .sub-list button{padding:9px 10px;margin:3px 0;border-left:3px solid #dbeafe;background:#fff;border-radius:10px;color:#334155}.drawer .sub-list button:first-child{font-weight:900;color:#1f4fd7;border-left-color:#1f4fd7}.drawer .sub-list button:hover{background:#eef4ff}.catalog-menu .cat-section{border:1px solid #eef2f7;border-radius:12px;margin-bottom:7px;padding:0}.catalog-menu .cat-title{padding:9px 10px}.catalog-menu .sub-list{padding:0 8px 8px 22px}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:920px){.leftcol{gap:10px}.catalog-body{max-height:300px}.mobile-actions{display:flex}.mobile-cart,.mobile-catalog{display:block}.top .nav{display:none}.hero-in.compact{grid-template-columns:1fr;padding:18px}.hero-in.compact h1{font-size:28px}.hero-catalog{width:100%}.stats{grid-template-columns:repeat(2,1fr);gap:8px}.stat{padding:12px}.stat b{font-size:22px}.compact-cards{grid-template-columns:1fr}.home-search{grid-template-columns:1fr}.home-search .btn{width:100%}}
@media(max-width:520px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.grid .card{padding:10px;border-radius:14px}.grid .name{font-size:12px;line-height:1.25;min-height:48px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.grid .article,.grid .meta{font-size:11px}.grid .tag{font-size:10px}.grid .price{font-size:19px}.grid .actions{gap:6px}.grid .actions input{width:48px;padding:8px}.grid .actions .btn{padding:8px 6px;font-size:12px}.list .card{display:flex;flex-direction:column}.modal{padding:0;align-items:stretch;justify-content:stretch}.modal .box{width:100%;height:100vh;max-height:100vh;border-radius:0}.product-head{padding:14px 14px 8px}.product-head h2{font-size:20px;line-height:1.18}.product-body{padding:12px 14px 18px}.specs{grid-template-columns:1fr}.cart-item{grid-template-columns:1fr;align-items:stretch}.cart-item input{width:100%;padding:10px}}

/* compact home + improved drawer */
.header-btn,.mobile-catalog{border:1px solid rgba(255,255,255,.35);padding:9px 13px;border-radius:12px;background:rgba(255,255,255,.12);color:#fff;font-weight:900;cursor:pointer}.mobile-actions{display:none;gap:8px;align-items:center}.hero-in.compact{grid-template-columns:1fr auto;align-items:center;padding:24px 18px}.hero-in.compact h1{font-size:32px;margin-bottom:8px}.hero-in.compact p{max-width:760px}.hero-catalog{white-space:nowrap;border-radius:14px;padding:14px 22px}.home-search{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:16px;max-width:780px}.home-search input{width:100%;border:1px solid var(--bd);border-radius:12px;padding:13px 14px;font-size:15px;background:#fff}.home-choose{padding:18px}.compact-cards{grid-template-columns:repeat(3,1fr);gap:10px}.compact-cards .home-card{text-align:left;cursor:pointer}.home-card span{display:block;color:var(--m);font-size:13px;margin-top:4px}.drawer{padding:14px;background:#f8fafc}.drawer-head{background:#fff;border:1px solid var(--bd);border-radius:16px;padding:14px;margin-bottom:12px}.drawer .cat-section{border:1px solid var(--bd);border-radius:14px;background:#fff;margin-bottom:9px;padding:0;overflow:hidden}.drawer .cat-title{padding:12px 13px;align-items:center}.drawer .cat-title span:before{content:'▸';display:inline-block;margin-right:7px;color:var(--p);transition:.2s}.drawer .cat-section.open .cat-title span:before{transform:rotate(90deg)}.drawer .cat-title small{background:#eef4ff;color:#173b8f;border-radius:999px;padding:3px 8px}.drawer .sub-list{padding:0 10px 10px 30px;background:#fbfdff}.drawer .sub-list button{padding:9px 10px;margin:3px 0;border-left:3px solid #dbeafe;background:#fff;border-radius:10px;color:#334155}.drawer .sub-list button:first-child{font-weight:900;color:#1f4fd7;border-left-color:#1f4fd7}.drawer .sub-list button:hover{background:#eef4ff}.catalog-menu .cat-section{border:1px solid #eef2f7;border-radius:12px;margin-bottom:7px;padding:0}.catalog-menu .cat-title{padding:9px 10px}.catalog-menu .sub-list{padding:0 8px 8px 22px}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:920px){.hero-in{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.layout{grid-template-columns:1fr}.filters{position:static}.nav{display:none}.footer-in{grid-template-columns:1fr}.list .card{grid-template-columns:1fr}.cart-item{grid-template-columns:1fr 60px 100px 28px}}@media(max-width:520px){.hero h1{font-size:28px}.stats{grid-template-columns:1fr}.grid{grid-template-columns:1fr}.logo{font-size:20px}}@media(max-width:860px){.layout{grid-template-columns:1fr}.filters{position:static}.catalog-top{gap:10px;align-items:flex-start}.view{white-space:nowrap}}
/* ===== Исправление режимов отображения ===== */
#products.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
#products.list{display:flex;flex-direction:column;gap:12px}
#products.grid .card{padding:12px;gap:8px}
#products.grid .card .name{font-size:14px;line-height:1.28;min-height:auto;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#products.grid .card .article{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#products.grid .card .meta{font-size:12px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#products.grid .card .tagrow{gap:5px}
#products.grid .card .tag{font-size:10px;padding:3px 6px}
#products.grid .card .price{font-size:22px;margin-top:4px}
#products.grid .card .actions{margin-top:8px;gap:6px}
#products.grid .card .actions input{width:54px;padding:8px}
#products.grid .card .actions .btn{padding:9px 8px;font-size:13px}
#products.list .card{display:grid;grid-template-columns:1fr 170px;align-items:start;padding:14px}
#products.list .card .name{font-size:16px;line-height:1.35;min-height:auto}
#products.list .card .article,#products.list .card .meta{font-size:13px;line-height:1.45}
#products.list .card .price{font-size:24px}

/* compact home + improved drawer */
.header-btn,.mobile-catalog{border:1px solid rgba(255,255,255,.35);padding:9px 13px;border-radius:12px;background:rgba(255,255,255,.12);color:#fff;font-weight:900;cursor:pointer}.mobile-actions{display:none;gap:8px;align-items:center}.hero-in.compact{grid-template-columns:1fr auto;align-items:center;padding:24px 18px}.hero-in.compact h1{font-size:32px;margin-bottom:8px}.hero-in.compact p{max-width:760px}.hero-catalog{white-space:nowrap;border-radius:14px;padding:14px 22px}.home-search{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:16px;max-width:780px}.home-search input{width:100%;border:1px solid var(--bd);border-radius:12px;padding:13px 14px;font-size:15px;background:#fff}.home-choose{padding:18px}.compact-cards{grid-template-columns:repeat(3,1fr);gap:10px}.compact-cards .home-card{text-align:left;cursor:pointer}.home-card span{display:block;color:var(--m);font-size:13px;margin-top:4px}.drawer{padding:14px;background:#f8fafc}.drawer-head{background:#fff;border:1px solid var(--bd);border-radius:16px;padding:14px;margin-bottom:12px}.drawer .cat-section{border:1px solid var(--bd);border-radius:14px;background:#fff;margin-bottom:9px;padding:0;overflow:hidden}.drawer .cat-title{padding:12px 13px;align-items:center}.drawer .cat-title span:before{content:'▸';display:inline-block;margin-right:7px;color:var(--p);transition:.2s}.drawer .cat-section.open .cat-title span:before{transform:rotate(90deg)}.drawer .cat-title small{background:#eef4ff;color:#173b8f;border-radius:999px;padding:3px 8px}.drawer .sub-list{padding:0 10px 10px 30px;background:#fbfdff}.drawer .sub-list button{padding:9px 10px;margin:3px 0;border-left:3px solid #dbeafe;background:#fff;border-radius:10px;color:#334155}.drawer .sub-list button:first-child{font-weight:900;color:#1f4fd7;border-left-color:#1f4fd7}.drawer .sub-list button:hover{background:#eef4ff}.catalog-menu .cat-section{border:1px solid #eef2f7;border-radius:12px;margin-bottom:7px;padding:0}.catalog-menu .cat-title{padding:9px 10px}.catalog-menu .sub-list{padding:0 8px 8px 22px}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:920px){
  #products.list .card{grid-template-columns:1fr}
}
@media(max-width:520px){
  #products.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #products.grid .card{border-radius:14px;padding:10px}
  #products.grid .card .tagrow .tag:not(.ok):not(.warn){display:none}
  #products.grid .card .tag.ok,#products.grid .card .tag.warn{font-size:9px;padding:3px 5px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #products.grid .card .name{font-size:12.5px;line-height:1.25;-webkit-line-clamp:3}
  #products.grid .card .article{font-size:10.5px}
  #products.grid .card .meta{font-size:10.5px;-webkit-line-clamp:1}
  #products.grid .card .price{font-size:20px}
  #products.grid .card .actions{display:grid;grid-template-columns:44px 1fr;gap:5px}
  #products.grid .card .actions input{width:44px;padding:7px;text-align:center}
  #products.grid .card .actions .btn{font-size:12px;padding:8px 5px;border-radius:9px}
  #products.list{gap:14px}
  #products.list .card{display:flex;flex-direction:column;border-radius:16px;padding:14px}
  #products.list .card .name{font-size:16px;line-height:1.38}
  #products.list .card .article,#products.list .card .meta{font-size:13px}
  #products.list .card .actions input{width:62px}
}

/* FIX: mobile product page full screen and cleaner compact cards */
.avail{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
@media(max-width:720px){
  .modal{padding:0;align-items:stretch;justify-content:stretch}
  .box{width:100%;height:100dvh;max-height:none;border-radius:0;padding:18px;overflow:auto}
  .head{position:sticky;top:0;background:#fff;z-index:2}
  .specs{grid-template-columns:1fr 1fr}
}
@media(max-width:420px){.specs{grid-template-columns:1fr}}

/* ===== Новая структура: главная без товаров, выезжающий каталог, компактная корзина ===== */
.header-btn{border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.12);color:#fff;padding:9px 13px;border-radius:12px;font-weight:900;cursor:pointer}.home-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}.home-card{background:#fff;border:1px solid var(--bd);border-radius:16px;padding:18px}.shop-page.hidden{display:none!important}.catalog-title{font-size:26px;margin-bottom:4px}.drawer-backdrop{display:none;position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:80}.drawer-backdrop.open{display:block}.drawer{position:absolute;left:0;top:0;bottom:0;width:min(420px,92vw);background:#fff;box-shadow:20px 0 40px rgba(15,23,42,.25);padding:18px;overflow:auto}.drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border-bottom:1px solid var(--bd);padding-bottom:12px;margin-bottom:10px}.drawer .cat-section:first-child{border-top:0}.cart-modal-box{max-width:760px}.cart-list{display:flex;flex-direction:column;gap:10px}.cart-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;border:1px solid var(--bd);border-radius:14px;padding:12px;background:#fff}.cart-name{font-weight:900;font-size:14px}.cart-sub{color:var(--m);font-size:12px;margin-top:3px}.cart-controls{display:grid;grid-template-columns:84px 40px 100px 34px;gap:8px;align-items:center}.cart-controls input{width:84px;border:1px solid var(--bd);border-radius:10px;padding:9px;text-align:center;font-weight:900}.cart-unit{color:var(--m);font-size:12px;font-weight:900}.cart-sum{text-align:right;font-weight:950;color:var(--p);white-space:nowrap}.icon-btn{border:1px solid var(--bd);border-radius:10px;background:#f8fafc;color:#64748b;font-weight:950;cursor:pointer;height:38px}.empty-cart{border:1px dashed var(--bd);border-radius:14px;padding:24px;text-align:center;color:var(--m)}

/* compact home + improved drawer */
.header-btn,.mobile-catalog{border:1px solid rgba(255,255,255,.35);padding:9px 13px;border-radius:12px;background:rgba(255,255,255,.12);color:#fff;font-weight:900;cursor:pointer}.mobile-actions{display:none;gap:8px;align-items:center}.hero-in.compact{grid-template-columns:1fr auto;align-items:center;padding:24px 18px}.hero-in.compact h1{font-size:32px;margin-bottom:8px}.hero-in.compact p{max-width:760px}.hero-catalog{white-space:nowrap;border-radius:14px;padding:14px 22px}.home-search{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:16px;max-width:780px}.home-search input{width:100%;border:1px solid var(--bd);border-radius:12px;padding:13px 14px;font-size:15px;background:#fff}.home-choose{padding:18px}.compact-cards{grid-template-columns:repeat(3,1fr);gap:10px}.compact-cards .home-card{text-align:left;cursor:pointer}.home-card span{display:block;color:var(--m);font-size:13px;margin-top:4px}.drawer{padding:14px;background:#f8fafc}.drawer-head{background:#fff;border:1px solid var(--bd);border-radius:16px;padding:14px;margin-bottom:12px}.drawer .cat-section{border:1px solid var(--bd);border-radius:14px;background:#fff;margin-bottom:9px;padding:0;overflow:hidden}.drawer .cat-title{padding:12px 13px;align-items:center}.drawer .cat-title span:before{content:'▸';display:inline-block;margin-right:7px;color:var(--p);transition:.2s}.drawer .cat-section.open .cat-title span:before{transform:rotate(90deg)}.drawer .cat-title small{background:#eef4ff;color:#173b8f;border-radius:999px;padding:3px 8px}.drawer .sub-list{padding:0 10px 10px 30px;background:#fbfdff}.drawer .sub-list button{padding:9px 10px;margin:3px 0;border-left:3px solid #dbeafe;background:#fff;border-radius:10px;color:#334155}.drawer .sub-list button:first-child{font-weight:900;color:#1f4fd7;border-left-color:#1f4fd7}.drawer .sub-list button:hover{background:#eef4ff}.catalog-menu .cat-section{border:1px solid #eef2f7;border-radius:12px;margin-bottom:7px;padding:0}.catalog-menu .cat-title{padding:9px 10px}.catalog-menu .sub-list{padding:0 8px 8px 22px}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:920px){.nav{display:flex}.nav .cart{display:none}.nav a:not(.cart){display:none}.home-cards{grid-template-columns:1fr}.bar{gap:10px}.header-btn{padding:8px 10px}.cart-modal-box{height:100vh;max-height:100vh;border-radius:0}.cart-row{grid-template-columns:1fr}.cart-controls{grid-template-columns:78px 34px 1fr 34px}.cart-controls input{width:78px}.cart-sum{text-align:left}.catalog-title{font-size:22px}.hero-in{padding:24px 18px}}


/* ===== Финальная правка шапки, главного поиска и корзины ===== */
.top{z-index:60}.bar{gap:12px}.logo{flex:1;min-width:0}.logo small{white-space:normal}.nav{margin-left:auto}.header-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px}.cart,.mobile-cart{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid rgba(255,255,255,.35);border-radius:14px;background:rgba(255,255,255,.12);color:#fff;font-weight:900;text-decoration:none;cursor:pointer;padding:9px 13px}.cart b,.mobile-cart b{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;border-radius:999px;background:#ef4444;color:#fff;font-size:14px;padding:0 7px}.mobile-actions{margin-left:auto}.mobile-catalog{display:inline-flex!important;align-items:center;justify-content:center;min-height:42px}.hero-in.compact{grid-template-columns:1fr!important}.hero-catalog{display:none!important}.home-search{width:100%!important;max-width:none!important;grid-template-columns:minmax(0,1fr) auto!important}.home-search input{width:100%!important}.hero h1{margin-bottom:8px}.chips{margin-top:12px}
@media(max-width:920px){.bar{padding:10px 12px}.logo{font-size:20px;line-height:1.05}.logo small{font-size:11px;margin-top:4px}.mobile-actions{display:flex!important}.top .nav{display:none!important}.mobile-catalog,.mobile-cart{padding:8px 10px;border-radius:12px;font-size:13px}.mobile-cart b{min-width:22px;height:22px;font-size:12px}.hero-in.compact{padding:16px 14px!important}.home-search{grid-template-columns:1fr!important}.home-search .btn{width:100%}}
@media(max-width:420px){.bar{gap:8px}.logo{font-size:18px}.logo small{font-size:10px}.mobile-actions{gap:6px}.mobile-catalog,.mobile-cart{padding:8px 9px;font-size:12px}.mobile-cart{min-width:auto}.mobile-cart b{min-width:20px;height:20px;padding:0 6px}.home-search input{font-size:14px;padding:12px}}


/* === final UX fixes: modal over header, section pages, VAT labels === */
.modal{z-index:220!important}.drawer-backdrop{z-index:210!important}.top{z-index:80!important}
.product-box{width:100%!important;max-width:980px!important}.product-head{gap:10px!important;padding:14px 16px!important}.product-head h2{font-size:20px!important;line-height:1.18!important;margin:2px 0 0!important}.product-head .muted{font-size:13px!important}.product-body{padding-top:12px!important}.product-buy{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;background:#f8fafc;border:1px solid var(--bd);border-radius:16px;padding:12px;margin:0 0 12px}.product-buy .actions{margin:0}.price-note{font-size:12px;color:var(--m);font-weight:800;margin-top:2px}.price small{display:block;font-size:12px;color:var(--m);font-weight:800;margin-top:2px}.section-page{margin-bottom:18px}.section-hero{background:#fff;border:1px solid var(--bd);border-radius:18px;padding:18px;margin-bottom:14px}.section-hero h2{font-size:28px;line-height:1.15;margin-bottom:6px}.sub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}.sub-card{border:1px solid var(--bd);background:#fff;border-radius:16px;padding:14px;text-align:left;cursor:pointer;box-shadow:0 1px 0 rgba(15,23,42,.02)}.sub-card:hover{border-color:#9bb7ff;background:#f8fbff}.sub-card b{display:block;font-size:16px;margin-bottom:6px}.sub-card span{display:inline-flex;background:#eef4ff;color:#173b8f;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:900}.drawer .cat-section{box-shadow:0 1px 0 rgba(15,23,42,.04)}.drawer .cat-title span{font-size:16px}.drawer .sub-list button{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.drawer .sub-list button em{font-style:normal;background:#eef2f7;color:#475569;border-radius:999px;padding:2px 7px;font-size:12px;font-weight:900}.drawer .sub-list button.all-sub{border-left-color:#1f4fd7;background:#eef4ff;color:#173b8f;font-weight:950}.card .price-note{margin-top:-7px}.card .price{line-height:1.05}
@media(max-width:640px){.modal{align-items:stretch!important;padding:0!important}.product-box{height:100dvh!important;max-height:100dvh!important;border-radius:0!important;padding:0!important}.product-head{position:sticky!important;top:0!important;z-index:2!important;box-shadow:0 1px 0 var(--bd)}.product-head h2{font-size:17px!important}.compact-name{font-size:13px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-buy{grid-template-columns:1fr;gap:10px}.product-buy .actions{display:grid;grid-template-columns:120px 1fr}.section-hero h2{font-size:24px}.sub-grid{grid-template-columns:1fr}.drawer .sub-list{padding-left:18px!important}}


.product-title-only{
  margin:0;
  font-size:clamp(20px,4.8vw,30px);
  line-height:1.22;
  font-weight:800;
  color:#172033;
  padding-right:12px;
}
@media(max-width:600px){
  .product-title-only{font-size:21px;line-height:1.25}
}

.product-photo{
  width:100%;
  background:#fff;
  border:1px solid var(--bd);
  border-radius:18px;
  padding:10px;
  margin:0 0 14px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-photo img{
  display:block;
  width:100%;
  max-height:320px;
  object-fit:contain;
  border-radius:12px;
}
@media(max-width:640px){
  .product-photo img{max-height:260px}
}


/* Фото товара 7171c */
.card-img{
  width:100%;
  background:#fff;
  border:1px solid var(--bd);
  border-radius:16px;
  padding:8px;
  margin-bottom:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.card-img img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.grid .card-img{height:115px}
.list .card-img{height:190px}
.product-photo{
  width:100%;
  background:#fff;
  border:1px solid var(--bd);
  border-radius:18px;
  padding:10px;
  margin:0 0 14px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-photo img{
  display:block;
  width:100%;
  max-height:320px;
  object-fit:contain;
  border-radius:12px;
}
@media(max-width:640px){
  .grid .card-img{height:115px}
  .list .card-img{height:200px}
  .product-photo img{max-height:260px}
}

.home-search,.field{position:relative}.suggestions{position:absolute;left:0;right:0;top:calc(100% + 6px);background:#fff;border:1px solid var(--bd);border-radius:14px;box-shadow:0 18px 40px rgba(15,23,42,.18);z-index:90;overflow:hidden;max-height:360px;overflow-y:auto}.suggestions.hidden{display:none}.suggest-item{display:grid;grid-template-columns:1fr auto;gap:8px;padding:11px 13px;border-bottom:1px solid #eef2f7;cursor:pointer}.suggest-item:last-child{border-bottom:0}.suggest-item:hover{background:#f3f7ff}.suggest-main{font-weight:900;color:var(--d);font-size:14px;line-height:1.25}.suggest-sub{color:var(--m);font-size:12px;margin-top:3px}.suggest-price{font-weight:900;color:var(--p);white-space:nowrap}.qty-stepper{display:inline-flex;align-items:center;border:1px solid var(--bd);border-radius:12px;overflow:hidden;background:#fff;height:42px}.qty-stepper button{width:36px;height:42px;border:0;background:#f3f6fb;font-size:20px;font-weight:900;color:var(--d);cursor:pointer}.qty-stepper input{width:46px;height:42px;border:0;text-align:center;font-size:16px;font-weight:800;background:#fff}.qty-stepper input::-webkit-outer-spin-button,.qty-stepper input::-webkit-inner-spin-button{appearance:none;margin:0}.actions{gap:8px}.cart-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cart-controls .qty-stepper{height:38px}.cart-controls .qty-stepper button{height:38px;width:34px}.cart-controls .qty-stepper input{height:38px;width:44px}.cart-unit{font-size:13px;color:var(--m);font-weight:800}.cart-row{grid-template-columns:minmax(0,1fr);gap:10px}.cart-sum{font-weight:900;color:var(--d);min-width:90px;text-align:right}@media(max-width:520px){.suggestions{max-height:300px}.suggest-item{grid-template-columns:1fr}.suggest-price{text-align:left}.actions{display:grid;grid-template-columns:auto 1fr}.actions .btn{padding-left:10px;padding-right:10px}.cart-controls{justify-content:space-between}.cart-sum{text-align:left}}

/* === final UX fixes: modal over header, section pages, VAT labels === */
.modal{z-index:220!important}.drawer-backdrop{z-index:210!important}.top{z-index:80!important}
.product-box{width:100%!important;max-width:980px!important}.product-head{gap:10px!important;padding:14px 16px!important}.product-head h2{font-size:20px!important;line-height:1.18!important;margin:2px 0 0!important}.product-head .muted{font-size:13px!important}.product-body{padding-top:12px!important}.product-buy{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;background:#f8fafc;border:1px solid var(--bd);border-radius:16px;padding:12px;margin:0 0 12px}.product-buy .actions{margin:0}.price-note{font-size:12px;color:var(--m);font-weight:800;margin-top:2px}.price small{display:block;font-size:12px;color:var(--m);font-weight:800;margin-top:2px}.section-page{margin-bottom:18px}.section-hero{background:#fff;border:1px solid var(--bd);border-radius:18px;padding:18px;margin-bottom:14px}.section-hero h2{font-size:28px;line-height:1.15;margin-bottom:6px}.sub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}.sub-card{border:1px solid var(--bd);background:#fff;border-radius:16px;padding:14px;text-align:left;cursor:pointer;box-shadow:0 1px 0 rgba(15,23,42,.02)}.sub-card:hover{border-color:#9bb7ff;background:#f8fbff}.sub-card b{display:block;font-size:16px;margin-bottom:6px}.sub-card span{display:inline-flex;background:#eef4ff;color:#173b8f;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:900}.drawer .cat-section{box-shadow:0 1px 0 rgba(15,23,42,.04)}.drawer .cat-title span{font-size:16px}.drawer .sub-list button{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.drawer .sub-list button em{font-style:normal;background:#eef2f7;color:#475569;border-radius:999px;padding:2px 7px;font-size:12px;font-weight:900}.drawer .sub-list button.all-sub{border-left-color:#1f4fd7;background:#eef4ff;color:#173b8f;font-weight:950}.card .price-note{margin-top:-7px}.card .price{line-height:1.05}
@media(max-width:640px){.modal{align-items:stretch!important;padding:0!important}.product-box{height:100dvh!important;max-height:100dvh!important;border-radius:0!important;padding:0!important}.product-head{position:sticky!important;top:0!important;z-index:2!important;box-shadow:0 1px 0 var(--bd)}.product-head h2{font-size:17px!important}.compact-name{font-size:13px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-buy{grid-template-columns:1fr;gap:10px}.product-buy .actions{display:grid;grid-template-columns:120px 1fr}.section-hero h2{font-size:24px}.sub-grid{grid-template-columns:1fr}.drawer .sub-list{padding-left:18px!important}}

.price-block{display:flex;flex-direction:column;gap:2px;margin:8px 0}.price-caption{font-size:13px;color:#6b7280;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.price small{display:none}.qty-wrap{display:flex;align-items:center;gap:8px}.qty-unit,.cart-unit{font-weight:800;color:#6b7280}.btn:disabled,.qty-stepper button:disabled,.qty-stepper input:disabled{opacity:.45;cursor:not-allowed}.spec-title{margin:18px 0 10px;font-size:20px}.cart-stock{font-size:13px;color:#6b7280;margin-top:4px}@media(max-width:700px){.product-buy{gap:12px}.product-buy .actions{display:grid;grid-template-columns:1fr;gap:10px}.price-caption{font-size:12px}.cart-row{grid-template-columns:1fr}.cart-controls{justify-content:space-between;flex-wrap:wrap}}

/* === Аккуратная главная страница === */
.top{box-shadow:0 8px 24px rgba(15,23,42,.14)}
.bar{min-height:74px;gap:12px}.logo{line-height:1.05}.logo small{max-width:210px;line-height:1.15;margin-top:4px}.mobile-actions{margin-left:auto}.mobile-catalog,.mobile-cart,.header-btn,.cart{white-space:nowrap}
.hero{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
.hero-in.compact{display:block;max-width:980px;padding:28px 18px 22px}.hero-in.compact h1{font-size:40px;letter-spacing:-.03em;margin:0 0 8px}.hero-in.compact p{font-size:18px;line-height:1.48;max-width:860px;margin:0 0 16px}.home-search{max-width:none;width:100%;grid-template-columns:minmax(0,1fr) 132px;gap:10px;margin:14px 0 16px}.home-search input{height:56px;border-radius:16px;font-size:16px;padding:0 18px;box-shadow:0 1px 0 rgba(15,23,42,.03)}.home-search .btn{height:56px;border-radius:16px;font-size:16px}.chips{margin-top:0;gap:8px}.chip{padding:8px 12px;background:#f1f6ff}.container{padding-top:18px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.stat{min-height:92px;padding:15px 16px;display:flex;flex-direction:column;justify-content:center}.stat div{font-size:14px;line-height:1.25}.stat b{font-size:30px;letter-spacing:-.03em;line-height:1.05}.home-choose{display:none!important}.shop-page.hidden + #info,.layout.hidden + #info{margin-top:0!important}.filters{border-radius:20px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.filters-head{min-height:46px}.filters-head h3{font-size:22px}.filter-toggle{border-radius:12px;padding:9px 13px}.filter-count{font-size:13px}.filters>.field{margin:12px 0 0}.filters>.field input{height:48px;border-radius:14px;font-size:15px}.boxlite#info{display:none}
/* === Плитка: нормальный блок количества === */
#products.grid .card .actions{display:grid!important;grid-template-columns:1fr;gap:8px;align-items:stretch}.grid .qty-wrap{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center}.grid .qty-unit{font-size:12px}.grid .qty-stepper{width:100%;height:38px}.grid .qty-stepper button{height:38px;width:34px}.grid .qty-stepper input{height:38px;min-width:0;width:100%;font-size:15px}.grid .actions .btn{width:100%;min-height:42px;border-radius:12px}.list .actions{display:flex!important}.list .qty-wrap{display:flex}.list .actions .btn{width:auto}
@media(max-width:920px){.bar{min-height:72px;padding:10px 12px}.hero-in.compact{padding:22px 18px 18px}.hero-in.compact h1{font-size:34px}.hero-in.compact p{font-size:16px}.home-search{grid-template-columns:1fr}.home-search .btn{width:100%}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.stat{min-height:82px;padding:12px}.stat b{font-size:24px}.stat div{font-size:13px}.container{padding-left:14px;padding-right:14px}}
@media(max-width:640px){body{background:#f5f7fb}.bar{align-items:center}.logo{font-size:22px}.logo small{font-size:11px;max-width:150px}.mobile-actions{gap:8px}.mobile-catalog,.mobile-cart{height:44px;border-radius:14px;padding:0 12px;display:inline-flex!important;align-items:center;justify-content:center;font-size:14px}.mobile-cart b{margin-left:6px;background:#ef4444;border-radius:999px;padding:2px 8px}.hero-in.compact{padding:20px 14px 16px}.hero-in.compact h1{font-size:32px;line-height:1.05;margin-bottom:10px}.hero-in.compact p{font-size:15px;line-height:1.42;margin-bottom:14px}.home-search input,.home-search .btn{height:52px;border-radius:14px}.chips{display:grid;grid-template-columns:1fr 1fr;gap:8px}.chip{font-size:12px;text-align:center}.chip:last-child{grid-column:1/-1}.container{padding-top:14px}.stats{grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px}.stat{min-height:76px;border-radius:16px;padding:10px 8px;text-align:center}.stat div{font-size:12px;min-height:30px;display:flex;align-items:center;justify-content:center}.stat b{font-size:22px}.filters{border-radius:18px;padding:12px;margin-bottom:14px}.filters-head{gap:8px}.filters-head h3{font-size:22px}.filter-toggle{padding:8px 11px}.filter-count{font-size:12px}.filters>.field label{font-size:12px}.catalog-title{font-size:30px;line-height:1.12;margin-top:8px}.catalog-top{align-items:center}.view button{padding:10px 12px;border-radius:13px}.grid .price-caption{font-size:11px}.grid .price{font-size:22px}.grid .qty-wrap{grid-template-columns:1fr auto}.grid .actions .btn{font-size:13px;padding:10px 8px}}
@media(max-width:390px){.logo small{display:none}.mobile-catalog,.mobile-cart{font-size:13px;padding:0 10px}.hero-in.compact h1{font-size:29px}.stats{gap:6px}.stat{padding:9px 5px}.stat div{font-size:11px}.stat b{font-size:20px}.chips{grid-template-columns:1fr}.chip:last-child{grid-column:auto}}
/* === Итоговые правки === */

/* Главная: товары не показываются */
body.home-mode #shopPage,
body.home-mode #products,
body.home-mode #pager,
body.home-mode #empty{
  display:none!important;
}

/* Главная: убран заголовок "Каталог Cabeus", текст сделан акцентным */
.hero-accent{
  font-size:clamp(24px,5.8vw,44px)!important;
  line-height:1.12!important;
  font-weight:950!important;
  color:#172033!important;
  max-width:980px!important;
  margin:0 0 16px!important;
}

/* Страница товара: шапка/название не закреплены */
.product-head,
.modal .head{
  position:static!important;
  top:auto!important;
  z-index:auto!important;
}

/* Фото товара */
.product-card-photo{
  width:100%;
  height:150px;
  background:#fff;
  border:1px solid var(--bd);
  border-radius:14px;
  padding:8px;
  margin-bottom:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.product-card-photo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
#products.grid .product-card-photo{height:120px}
#products.list .product-card-photo{height:190px}

.product-detail-photo{
  width:100%;
  background:#fff;
  border:1px solid var(--bd);
  border-radius:18px;
  padding:10px;
  margin:0 0 14px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-detail-photo img{
  display:block;
  width:100%;
  max-height:320px;
  object-fit:contain;
  border-radius:12px;
}

@media(max-width:640px){
  .hero-accent{font-size:31px!important}
  #products.grid .product-card-photo{height:115px}
  #products.list .product-card-photo{height:210px}
  .product-detail-photo img{max-height:260px}
}


/* === Cart toast notification === */
.cart-toast{
  position:fixed;
  left:50%;
  bottom:24px;
  transform:translate(-50%,20px);
  background:#111827;
  color:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  font-size:14px;
  box-shadow:0 14px 35px rgba(15,23,42,.28);
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease, transform .22s ease;
  z-index:9999;
  white-space:nowrap;
}
.cart-toast.show{
  opacity:1;
  transform:translate(-50%,0);
}
@media(max-width:640px){
  .cart-toast{
    bottom:18px;
    max-width:calc(100vw - 28px);
    white-space:normal;
    text-align:center;
  }
}

/* === Search results must be separate page, not home === */
body.search-mode .hero,
body.search-mode .stats,
body.search-mode #homeLanding{
  display:none!important;
}
body.search-mode #shopPage{
  display:block!important;
}
.search-page-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
}
.search-back-btn{
  border:1px solid var(--bd);
  background:#fff;
  color:var(--d);
  border-radius:12px;
  padding:10px 13px;
  font-weight:900;
  cursor:pointer;
}
.search-title-label{
  color:var(--m);
  font-size:13px;
  font-weight:900;
  margin-bottom:4px;
}
@media(max-width:640px){
  .search-page-header{
    align-items:flex-start;
    flex-direction:column;
  }
  .search-back-btn{
    width:100%;
  }
}


/* === Catalog section/subsection as separate page === */
body.catalog-mode .hero,
body.catalog-mode .stats,
body.catalog-mode #homeLanding{
  display:none!important;
}
body.catalog-mode #shopPage{
  display:block!important;
}
.catalog-page-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0 0 14px;
}
.catalog-back-btn{
  border:1px solid var(--bd);
  background:#fff;
  color:var(--d);
  border-radius:12px;
  padding:10px 13px;
  font-weight:900;
  cursor:pointer;
}
.catalog-title-label{
  color:var(--m);
  font-size:13px;
  font-weight:900;
  margin-bottom:4px;
}
@media(max-width:640px){
  .catalog-page-header{
    align-items:flex-start;
    flex-direction:column;
  }
  .catalog-back-btn{
    width:100%;
  }
}

/* === Smart dynamic filters === */
.field.smart-hidden{
  display:none!important;
}
.filter-section-note{
  font-size:12px;
  color:var(--m);
  font-weight:800;
  margin:6px 0 12px;
}


/* === Fixed cart toast === */
.cart-toast{
  position:fixed;
  left:50%;
  bottom:24px;
  transform:translate(-50%,20px);
  background:#111827;
  color:#fff;
  border-radius:999px;
  padding:12px 18px;
  font-weight:900;
  font-size:14px;
  box-shadow:0 14px 35px rgba(15,23,42,.28);
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease, transform .22s ease;
  z-index:99999;
  white-space:nowrap;
}
.cart-toast.show{
  opacity:1;
  transform:translate(-50%,0);
}
@media(max-width:640px){
  .cart-toast{
    bottom:18px;
    max-width:calc(100vw - 28px);
    white-space:normal;
    text-align:center;
  }
}

/* === Filter label fixes === */
.field.smart-hidden{display:none!important}
#portsFilter option:first-child,
#uFilter option:first-child{
  color:#667085;
}

/* === patchcord filter fixes === */
#lengthField.smart-hidden{display:none!important}
.patchcord-active #lengthField,
.patchcord-active #catFilter,
.patchcord-active #shieldFilter,
.patchcord-active #colorFilter{
  display:block!important;
}

/* === category-aware filters v2 === */
.field.smart-hidden{display:none!important}
#lengthField.smart-hidden{display:none!important}
.filter-section-note{
  font-size:12px;
  color:var(--m);
  font-weight:800;
  margin:6px 0 12px;
}
