/* ArtNest — CATEGORY CSS — 1:1 port of design-reference/category.html
 * Scoped to #artnest-category-root / .artnest-cat-host.
 *
 * All sizes, colors and proportions match the reference exactly (16px root,
 * 1200px container, light cream page, 260px filter sidebar, 3-column grid).
 * The root font-size is pinned to 16px on category pages
 * (html[data-an-category="1"]) so the px-based Shoptet theme can never
 * inflate/deflate the rem scale here. Dimension + font rules carry !important
 * so Shoptet never wins a specificity battle.
 *
 * NOTE: filter column uses .cat-sidebar (NOT .sidebar) — the Xiaomi theme has
 * `body.xm-enhanced .sidebar{display:none}`.
 */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700&family=Inter:wght@400;500;600&display=swap');

/* ===== DESIGN TOKENS ======================================================= */
:root{
  --bg:#FBF8F3;--surface:#fff;--surface-2:#F4EEE5;
  --ink:#1E1B19;--ink-2:#5E574E;--ink-3:#938A7E;
  --coral:#ED4D6E;--coral-press:#D43658;--coral-soft:#FCE4E9;
  --cobalt:#2E6BFF;--cobalt-soft:#E4ECFF;
  --amber:#E8973A;--amber-soft:#FBEBD9;
  --line:#ECE4D8;--line-strong:#DDD2C2;
  --success:#1F8A5B;--success-soft:#E0F2E9;
  --fd:"Bricolage Grotesque",sans-serif;--fb:"Inter",system-ui,sans-serif;
  /* Šířka + gutter lícují s hlavičkou Xiaomi theme (--xm-container/--xm-gutter),
     aby obsah kategorie začínal přesně pod logem. Vlastní název (--an-container)
     kvůli kolizi s --container v tokens.css. */
  --an-container:1440px;--ease:cubic-bezier(.2,.7,.3,1);
}

/* ===== ROOT FONT SCALE (category pages only) =============================== */
html[data-an-category="1"]{ font-size:16px !important; }

/* ===== SAFETY NET: hide Shoptet category-shell remnants ==================== */
.artnest-cat-host > #category-header,
.artnest-cat-host > #products.products-page,
.artnest-cat-host > .category-top,
.artnest-cat-host > .category-perex,
.artnest-cat-host > .category-content-wrapper,
.artnest-cat-host > .products-top-wrapper,
.artnest-cat-host > .listingControls,
.artnest-cat-host > .pagination,
.artnest-cat-host > #filters,
.artnest-cat-host > #filters-wrapper,
.artnest-cat-host > .box-filters,
.artnest-cat-host > .category-empty,
.artnest-cat-host > .no-items,
.artnest-cat-host > .category-description,
.artnest-cat-host > .category-bottom-description,
.artnest-cat-host > aside.sidebar,
.artnest-cat-host > #sidebar-position,
.artnest-cat-host > .sidebar-position{ display:none !important; }

html[data-an-category="1"] .breadcrumbs-wrapper,
html[data-an-category="1"] .breadcrumbs{ display:none !important; }

/* ===== LIGHT PAGE (reference) + neutralize theme's white content card ====== */
html[data-an-category="1"] body{
  background:var(--bg) !important;
  min-height:100vh;
}
html[data-an-category="1"] body.xm-enhanced #content-wrapper,
html[data-an-category="1"] body.xm-enhanced .content-wrapper,
html[data-an-category="1"] body.xm-enhanced #content{
  background:transparent !important;
  box-shadow:none !important;
  border:none !important;
  border-radius:0 !important;
  padding:0 !important;
  max-width:none !important;
  width:100% !important;
  margin:0 !important;
}

/* ===== ROOT = plain centered container (reference .wrap) ==================== */
#artnest-category-root.artnest-cat{
  font-family:var(--fb);
  color:var(--ink);
  background:transparent;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  width:100%;
  max-width:var(--an-container) !important;
  margin:0 auto !important;
  padding:0 24px 32px !important;
  box-sizing:border-box;
}
#artnest-category-root *,
#artnest-category-root *::before,
#artnest-category-root *::after{ box-sizing:border-box; }
#artnest-category-root img,
#artnest-category-root svg{ display:block; max-width:100%; }
#artnest-category-root a{ color:inherit; text-decoration:none; }
#artnest-category-root ul{ list-style:none; padding:0; margin:0; }
#artnest-category-root h1,
#artnest-category-root h2,
#artnest-category-root h3{ font-family:var(--fd); font-weight:700; letter-spacing:-.015em; margin:0; }
#artnest-category-root button{ font-family:var(--fb); }

/* ===== GLOBAL CHROME (namespaced, inert) =================================== */
.artnest-chrome .wrap{max-width:var(--an-container);margin:0 auto;padding:0 24px}
.artnest-chrome .utility{background:var(--ink);color:#F3EDE2;font-size:.8rem}
.artnest-chrome .utility .wrap{display:flex;justify-content:center;gap:1.5rem;padding:8px 24px;flex-wrap:wrap}
.artnest-chrome .utility b{color:var(--coral)}
.artnest-chrome .logo{font-family:var(--fd);font-size:1.65rem;font-weight:700;letter-spacing:-.02em}
.artnest-chrome .logo em{font-style:normal;color:var(--coral)}
.artnest-chrome .footer{background:var(--ink);color:#8c8378;padding:28px 0;font-size:.82rem;text-align:center;margin-top:56px}

/* ===========================================================================
   BREADCRUMB (reference .crumb)
   =========================================================================== */
#artnest-category-root .crumb{padding:16px 0;font-size:.82rem !important;color:var(--ink-3);display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
#artnest-category-root .crumb a:hover{color:var(--coral)}
#artnest-category-root .crumb svg{width:14px;height:14px;stroke:var(--ink-3);stroke-width:1.5;fill:none;flex-shrink:0}

/* ===========================================================================
   PAGE HEADER (reference .page-head)
   =========================================================================== */
#artnest-category-root .page-head{padding-bottom:24px}
#artnest-category-root .page-head h1{font-size:2rem !important;margin-bottom:.4rem;color:var(--ink)}
#artnest-category-root .page-head p{color:var(--ink-2);font-size:.95rem !important;max-width:52ch;margin:0}

/* ===========================================================================
   SUB-CATEGORY PILLS
   =========================================================================== */
#artnest-category-root .subcats-wrap{position:relative;margin-bottom:28px}
/* Mřížka dlaždic — 4 v řádku, další se zalomí pod ně (žádný horizontální
   scroll). Šipky .subnav zůstávají v markup kvůli JS, ale jsou skryté. */
#artnest-category-root .subcats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding-bottom:4px}
#artnest-category-root .subnav{display:none !important}
#artnest-category-root .subcat{display:flex;align-items:center;gap:10px;width:100%;min-width:0;padding:.6rem 1rem .6rem .7rem !important;background:var(--surface);border:1px solid var(--line);border-radius:12px;cursor:pointer;transition:.2s var(--ease);text-align:left}
#artnest-category-root .subcat:hover{border-color:var(--coral);box-shadow:0 4px 14px rgba(237,77,110,.1);transform:translateY(-1px)}
#artnest-category-root .subcat.active{border-color:var(--coral);background:var(--coral-soft)}
#artnest-category-root .subcat .dot{width:28px !important;height:28px !important;border-radius:8px;display:grid;place-items:center;flex-shrink:0}
#artnest-category-root .subcat .dot svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.8;fill:none}
#artnest-category-root .subcat span{font-weight:600;font-size:.88rem !important}
#artnest-category-root .subcat span:not(.dot):not(.arr){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#artnest-category-root .subcat .arr{margin-left:auto;color:var(--ink-3);display:inline-flex;flex:0 0 auto}
#artnest-category-root .subcat .arr svg{width:14px;height:14px;stroke:currentColor;stroke-width:2;fill:none}
#artnest-category-root .subcat.active .arr{color:var(--coral)}

/* ===========================================================================
   MAIN LAYOUT
   =========================================================================== */
#artnest-category-root .cat-layout{display:grid;grid-template-columns:260px 1fr !important;gap:32px !important;align-items:start;width:100%}

/* ===========================================================================
   SIDEBAR = single white filter card (reference .sidebar)
   =========================================================================== */
#artnest-category-root .cat-sidebar{position:sticky;top:24px;background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;display:block}
#artnest-category-root .sidebar-head{padding:16px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}
#artnest-category-root .sidebar-head b{font-size:.95rem !important}
#artnest-category-root .clear-all{font-size:.8rem !important;color:var(--coral);cursor:pointer;font-weight:600;background:none;border:none;padding:0}
#artnest-category-root .clear-all:hover{text-decoration:underline}
#artnest-category-root .filter-group{border-bottom:1px solid var(--line)}
#artnest-category-root .filter-group:last-child{border-bottom:none}
#artnest-category-root .fg-head{width:100%;background:none;border:none;display:flex;align-items:center;justify-content:space-between;padding:14px 20px;cursor:pointer;font-family:var(--fb);font-weight:600;font-size:.88rem !important;color:var(--ink);text-align:left}
#artnest-category-root .fg-head svg{width:16px;height:16px;stroke:var(--ink-3);stroke-width:2;fill:none;transition:transform .2s;flex-shrink:0}
#artnest-category-root .fg-head.open svg{transform:rotate(180deg)}
#artnest-category-root .fg-body{padding:6px 20px 14px;display:flex;flex-direction:column;gap:8px}
#artnest-category-root .fg-body.hidden{display:none}

/* Category links inside a filter group (Shoptet extra — reference-styled) */
#artnest-category-root .cat-link{display:flex;align-items:center;gap:10px;min-height:30px;font-size:.88rem !important;color:var(--ink-2);transition:color .15s}
#artnest-category-root .cat-link:hover{color:var(--ink)}
#artnest-category-root .cat-link.active{color:var(--coral);font-weight:600}
#artnest-category-root .cat-link .cat-dot{width:6px;height:6px;border-radius:999px;background:transparent;flex-shrink:0}
#artnest-category-root .cat-link.active .cat-dot{background:var(--coral)}

/* Custom checkboxes */
#artnest-category-root .chk-row{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:.88rem !important;color:var(--ink-2);user-select:none}
#artnest-category-root .chk-row:hover{color:var(--ink)}
#artnest-category-root .chk-box{width:18px !important;height:18px !important;border-radius:5px;border:2px solid var(--line-strong);display:grid;place-items:center;flex-shrink:0;transition:.15s}
#artnest-category-root .chk-row input{display:none}
#artnest-category-root .chk-row input:checked + .chk-box{background:var(--coral);border-color:var(--coral)}
#artnest-category-root .chk-row input:checked + .chk-box svg{display:block}
#artnest-category-root .chk-box svg{display:none;width:11px;height:11px;stroke:#fff;stroke-width:3;fill:none}
#artnest-category-root .chk-count{margin-left:auto;font-size:.75rem;color:var(--ink-3)}

/* Price range */
#artnest-category-root .price-inputs{display:flex;gap:8px;align-items:center;margin-top:4px}
#artnest-category-root .price-inputs input{width:100%;border:1px solid var(--line-strong);border-radius:8px;padding:.45rem .6rem;font-family:var(--fb);font-size:.82rem !important;color:var(--ink);background:var(--bg)}
#artnest-category-root .price-inputs input:focus{outline:none;border-color:var(--coral)}
#artnest-category-root .price-inputs span{font-size:.8rem;color:var(--ink-3);flex-shrink:0}

/* ===========================================================================
   PRODUCT AREA
   =========================================================================== */
#artnest-category-root .product-area{min-width:0;width:100%}

/* Active filter chips */
#artnest-category-root .active-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;min-height:0}
#artnest-category-root .chip{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .7rem;background:var(--coral-soft);border:1px solid var(--coral-soft);border-radius:999px;font-size:.78rem !important;font-weight:600;color:var(--coral-press);cursor:pointer}
#artnest-category-root .chip svg{width:12px;height:12px;stroke:currentColor;stroke-width:2.5;fill:none}
#artnest-category-root .chip:hover{background:var(--coral);color:#fff}

/* Top bar — count + view toggle + sort (reference) */
#artnest-category-root .top-bar{display:flex;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}
#artnest-category-root .count{font-size:.88rem !important;color:var(--ink-2)}
#artnest-category-root .count b{color:var(--ink);font-weight:600}
#artnest-category-root .view-toggle{display:flex;gap:4px;margin-left:auto}
#artnest-category-root .vbtn{width:36px !important;height:36px !important;border:1px solid var(--line-strong);background:var(--surface);border-radius:8px;display:grid;place-items:center;cursor:pointer;transition:.15s}
#artnest-category-root .vbtn:hover,
#artnest-category-root .vbtn.active{background:var(--ink);border-color:var(--ink)}
#artnest-category-root .vbtn svg{width:16px;height:16px;stroke:var(--ink-2);fill:none;stroke-width:1.6}
#artnest-category-root .vbtn:hover svg,
#artnest-category-root .vbtn.active svg{stroke:#fff}
#artnest-category-root .sort-wrap{position:relative}
#artnest-category-root .sort-wrap select{appearance:none;-webkit-appearance:none;border:1px solid var(--line-strong);background:var(--surface);border-radius:999px;padding:.5rem 2.2rem .5rem 1rem;font-family:var(--fb);font-size:.85rem !important;font-weight:500;color:var(--ink);cursor:pointer}
#artnest-category-root .sort-wrap select:focus{outline:none;border-color:var(--coral)}
#artnest-category-root .sort-wrap::after{content:"";position:absolute;right:.75rem;top:50%;transform:translateY(-50%);width:10px;height:6px;background:var(--ink-2);clip-path:polygon(0 0,100% 0,50% 100%);pointer-events:none}

/* ===========================================================================
   PRODUCT GRID + CARD
   Auto-fit: kolik karet se vejde (≥240px), tolik jich je vedle sebe a řádky
   jsou stejné → na širokém monitoru 4, na běžném desktopu 3. (Dřív napevno
   3 → na širokém monitoru zbytečně velké/řídké karty.) Tablet/mobil níže = 2.
   =========================================================================== */
#artnest-category-root .prod-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr)) !important;gap:18px !important}
#artnest-category-root .pcard{background:var(--surface);border:1px solid var(--line);border-radius:14px !important;overflow:hidden;display:flex;flex-direction:column;cursor:pointer;transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
#artnest-category-root .pcard:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(30,27,25,.1)}
#artnest-category-root .pcard-media{aspect-ratio:1;position:relative;background:var(--surface-2);display:grid;place-items:center;overflow:hidden}
#artnest-category-root .pcard-media .ph{width:64%}
#artnest-category-root .pcard-media img{width:100%;height:100%;object-fit:cover;padding:0}
#artnest-category-root .pcard-badges{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;gap:5px}
#artnest-category-root .badge{font-size:.6rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:4px 9px;border-radius:999px;width:fit-content;line-height:1.2}
#artnest-category-root .badge--bs{background:var(--amber-soft);color:var(--amber)}
#artnest-category-root .badge--new{background:var(--cobalt-soft);color:var(--cobalt)}
#artnest-category-root .badge--sale{background:var(--coral-soft);color:var(--coral-press)}
#artnest-category-root .fav{position:absolute;top:8px;right:8px;width:34px !important;height:34px !important;border-radius:999px;background:rgba(255,255,255,.92);border:none;display:grid;place-items:center;cursor:pointer;transition:.15s;z-index:2}
#artnest-category-root .fav:hover{background:#fff}
#artnest-category-root .fav svg{width:16px;height:16px;stroke:var(--ink-2);stroke-width:1.6;fill:none}
#artnest-category-root .fav.on svg,
#artnest-category-root .fav.is-active svg{fill:var(--coral);stroke:var(--coral)}
#artnest-category-root .pcard-body{padding:14px !important;display:flex;flex-direction:column;gap:5px !important;flex:1}
#artnest-category-root .pcard .kicker{font-size:.7rem;color:var(--ink-3);font-weight:600;text-transform:uppercase;letter-spacing:.04em}
#artnest-category-root .pcard .name{font-size:.9rem !important;font-weight:500;line-height:1.35;min-height:2.4em;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#artnest-category-root .stars-sm{color:var(--amber);font-size:.78rem;letter-spacing:1px}
#artnest-category-root .rate-sm{font-size:.78rem;color:var(--ink-2)}
#artnest-category-root .rate-sm b{color:var(--ink)}
#artnest-category-root .price-row{display:flex;align-items:baseline;gap:.5rem;margin-top:2px}
#artnest-category-root .price{font-size:1.15rem !important;font-weight:600 !important;color:var(--ink)}
#artnest-category-root .price-old{font-size:.82rem;color:var(--ink-3);text-decoration:line-through}
#artnest-category-root .avail{font-size:.78rem !important;color:var(--success);display:flex;align-items:center;gap:5px;margin-top:2px}
#artnest-category-root .avail::before{content:"";width:6px;height:6px;border-radius:999px;background:var(--success);flex-shrink:0}
#artnest-category-root .avail.out{color:var(--ink-3)}
#artnest-category-root .avail.out::before{background:var(--ink-3)}
#artnest-category-root .card-foot{display:flex;gap:8px;margin-top:10px}
#artnest-category-root .btn-add{flex:1;background:var(--coral);color:#fff;border:none;border-radius:999px;padding:.6rem !important;font-family:var(--fb);font-weight:600;font-size:.82rem !important;cursor:pointer;transition:.15s;line-height:1.2;text-align:center}
#artnest-category-root .btn-add:hover{background:var(--coral-press)}
#artnest-category-root .btn-add.btn-add--watch{background:var(--ink-3)}
#artnest-category-root .btn-add.btn-add--watch:hover{background:var(--ink-2)}
#artnest-category-root .btn-det{width:38px !important;height:38px !important;background:var(--surface-2);border:1px solid var(--line-strong);border-radius:999px;display:grid;place-items:center;cursor:pointer;transition:.15s;flex-shrink:0}
#artnest-category-root .btn-det:hover{background:var(--line-strong)}
#artnest-category-root .btn-det svg{width:15px;height:15px;stroke:var(--ink-2);stroke-width:1.8;fill:none}

/* ===========================================================================
   LIST VIEW
   =========================================================================== */
#artnest-category-root .prod-grid.list-view{grid-template-columns:1fr !important}
#artnest-category-root .list-view .pcard{flex-direction:row;gap:0}
#artnest-category-root .list-view .pcard-media{width:160px;min-width:160px;aspect-ratio:1;border-radius:0}
#artnest-category-root .list-view .pcard-body{padding:18px 20px !important;justify-content:center}
#artnest-category-root .list-view .pcard .name{min-height:0;font-size:1rem !important;-webkit-line-clamp:3}
#artnest-category-root .list-view .card-foot{margin-top:12px}
#artnest-category-root .list-view .price{font-size:1.3rem !important}

/* ===========================================================================
   LOAD MORE / pagination / empty
   =========================================================================== */
#artnest-category-root .load-more{margin:32px 0;text-align:center}
#artnest-category-root .btn-load{border:1.5px solid var(--line-strong);background:var(--surface);border-radius:999px;padding:.85rem 2rem !important;font-family:var(--fb);font-weight:600;font-size:.9rem !important;color:var(--ink-2);cursor:pointer;transition:.2s}
#artnest-category-root .btn-load:hover{border-color:var(--coral);color:var(--coral)}
#artnest-category-root .load-more .pagination{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
#artnest-category-root .load-more .pagination a,
#artnest-category-root .load-more .pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;border-radius:999px;border:1px solid var(--line-strong);background:var(--surface);color:var(--ink-2);font-size:.88rem;font-weight:600}
#artnest-category-root .load-more .pagination a:hover{border-color:var(--coral);color:var(--coral)}
#artnest-category-root .load-more .pagination .current,
#artnest-category-root .load-more .pagination [aria-current="page"]{background:var(--coral);color:#fff;border-color:var(--coral)}
#artnest-category-root .cat-empty{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:48px 24px;text-align:center}
#artnest-category-root .cat-empty__title{font-size:1rem;margin-bottom:14px;color:var(--ink-2)}
#artnest-category-root .cat-empty a{display:inline-block;background:var(--coral);color:#fff;padding:.75rem 1.5rem;border-radius:999px;font-weight:600;font-size:.9rem}

/* ===========================================================================
   TOAST
   =========================================================================== */
#artnest-category-root .toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:#fff;padding:.85rem 1.3rem;border-radius:999px;font-size:.88rem;opacity:0;visibility:hidden;transition:.3s;z-index:110;display:flex;align-items:center;gap:.6rem}
#artnest-category-root .toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}
#artnest-category-root .toast svg{width:16px;height:16px;stroke:#7CE0B0;stroke-width:2.5;fill:none}

/* ===========================================================================
   RESPONSIVE (reference breakpoints)
   =========================================================================== */
@media(max-width:1100px){
  #artnest-category-root .subcats{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:980px){
  #artnest-category-root .cat-layout{grid-template-columns:1fr !important}
  #artnest-category-root .cat-sidebar{position:static;border-radius:14px}
  #artnest-category-root .prod-grid{grid-template-columns:repeat(2,1fr) !important}
  #artnest-category-root .list-view .pcard-media{width:120px;min-width:120px}
}
@media(max-width:760px){
  #artnest-category-root .subcats{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
  #artnest-category-root .subcats{gap:8px}
  #artnest-category-root .subcat{padding:.5rem .7rem .5rem .6rem !important}
  #artnest-category-root .prod-grid{grid-template-columns:repeat(2,1fr) !important;gap:12px !important}
  #artnest-category-root .prod-grid.list-view{grid-template-columns:1fr !important}
  #artnest-category-root .page-head h1{font-size:1.6rem !important}
}

/* ===========================================================================
   MOBILNÍ ZÁSUVKA S FILTRY (finální vrstva — vyhrává pořadím)
   Na mobilu je sidebar skrytá zásuvka zleva; otevírá tlačítko „Filtrovat".
   =========================================================================== */
#artnest-category-root .an-filter-toggle{display:none}
#artnest-category-root .an-filter-close{display:none}

@media(max-width:980px){
  /* Tlačítko „Filtrovat" v topbaru */
  #artnest-category-root .an-filter-toggle{
    display:inline-flex;align-items:center;gap:8px;
    background:var(--surface);border:1px solid var(--line-strong);border-radius:999px;
    padding:.55rem 1.05rem;font-family:var(--fb);font-weight:600;font-size:.85rem;color:var(--ink);
    cursor:pointer;flex-shrink:0;line-height:1}
  #artnest-category-root .an-filter-toggle svg{width:17px;height:17px;stroke:var(--ink-2);stroke-width:2;fill:none}
  #artnest-category-root .an-filter-toggle:hover{border-color:var(--coral);color:var(--coral)}
  #artnest-category-root .an-filter-toggle:hover svg{stroke:var(--coral)}

  /* Topbar se na mobilu zalomí, ať se vše vejde */
  #artnest-category-root .top-bar{flex-wrap:wrap;gap:10px;align-items:center}

  /* Sidebar = vysouvací zásuvka zleva (mimo tok → produkty plná šířka) */
  #artnest-category-root .cat-layout{grid-template-columns:1fr !important}
  #artnest-category-root .cat-sidebar{
    position:fixed !important;top:0;left:0;bottom:0;
    width:min(330px,86vw);max-height:100%;overflow-y:auto;
    border:0;border-right:1px solid var(--line);border-radius:0;
    transform:translateX(-100%);transition:transform .28s var(--ease);
    z-index:1300;box-shadow:0 0 40px rgba(0,0,0,.28);-webkit-overflow-scrolling:touch}
  #artnest-category-root.an-filters-open .cat-sidebar{transform:translateX(0)}

  /* Tmavé pozadí za zásuvkou */
  #artnest-category-root .an-filter-backdrop{
    position:fixed;inset:0;background:rgba(0,0,0,.45);
    opacity:0;visibility:hidden;transition:opacity .28s;z-index:1290}
  #artnest-category-root.an-filters-open .an-filter-backdrop{opacity:1;visibility:visible}

  /* Křížek pro zavření v hlavičce zásuvky */
  #artnest-category-root .an-filter-close{
    display:grid;place-items:center;width:30px;height:30px;
    background:var(--surface-2);border:none;border-radius:999px;cursor:pointer;flex-shrink:0}
  #artnest-category-root .an-filter-close svg{width:16px;height:16px;stroke:var(--ink-2);stroke-width:2;fill:none}
}
