/*! ARTNEST · Stránka kategorie · v1.0.0 (11/2026) – párový styl k artnest-kategorie.js (nahrazuje artnest-category.css)
 *  Vše se zapíná až třídou body.an-cat-on (přidá ji skript, když je stránka hotová) → při chybě zůstane Shoptet.
 *  Jazyk shodný s homepage a produktovou stránkou: krémové plátno, Bricolage Grotesque + Inter, korálová tlačítka.
 */
body.an-cat-on .ak, body.an-cat-on .ak-panel, body.an-cat-on .ak-fdim {
  --an-bg: #FBF8F3; --an-paper: #FFFFFF; --an-cream: #F4EDE2; --an-cream2: #EFE6D8;
  --an-ink: #1E1B19; --an-ink2: #5A534B; --an-ink3: #756D62;
  --an-line: #ECE4D8; --an-line2: #DCD0BE;
  --an-coral: #ED4D6E; --an-coral-d: #D43658; --an-coral-h: #BC2A4B; --an-coral-t: #C42F51; --an-coral-soft: #FCE4E9;
  --an-ok: #1F7A50; --an-warn: #8A5A16;
  --an-disp: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --an-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --an-ease: cubic-bezier(.2, .7, .2, 1);
  --an-gutter: clamp(16px, 3.2vw, 40px);
}

/* ==================================================================
 * 0) RÁMEC STRÁNKY – světlé plátno, nativní výpis Shoptetu schovaný (zůstává ve stránce)
 * ================================================================== */
html body.an-cat-on { background: #FBF8F3 !important; }
html body.an-cat-on .xm-page-video { display: none !important; }
html body.an-cat-on .overall-wrapper { background: #FBF8F3 !important; }
html body.an-cat-on #content-wrapper,
html body.an-cat-on .content-wrapper,
html body.an-cat-on .content-wrapper-in,
html body.an-cat-on main#content {
  max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important;
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; float: none !important;
}
html body.an-cat-on main#content > .category-top,
html body.an-cat-on main#content > .category-content-wrapper,
html body.an-cat-on main#content > .category__secondDescription,
html body.an-cat-on main#content > .category-bottom-description,
html body.an-cat-on aside.sidebar,
html body.an-cat-on .sidebar-left { display: none !important; }
/* drobečková navigace (stejně jako na detailu produktu) */
html body.an-cat-on .breadcrumbs-wrapper .breadcrumbs,
html body.an-cat-on .breadcrumbs {
  display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 2px;
  max-width: 1360px !important; margin: 0 auto !important; padding: 22px clamp(16px, 3.2vw, 40px) 0 !important;
  background: none !important; border: 0 !important; font: 500 13px/1.4 "Inter", -apple-system, BlinkMacSystemFont, sans-serif !important; color: #756D62 !important;
}
html body.an-cat-on .breadcrumbs > span { display: inline-flex !important; align-items: center; gap: 2px; }
html body.an-cat-on .breadcrumbs a { color: #5A534B !important; text-decoration: none !important; }
html body.an-cat-on .breadcrumbs a:hover { color: #C42F51 !important; }
html body.an-cat-on .breadcrumbs-wrapper .breadcrumbs a.navigation-home-icon, html body.an-cat-on .breadcrumbs .navigation-home-icon { display: inline-flex !important; width: 18px !important; height: 18px; margin: 0 !important; padding: 0 !important; background: none !important; }
html body.an-cat-on .breadcrumbs .navigation-home-icon::before {
  content: ""; display: block; width: 16px; height: 16px; margin: 1px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 4l9 7M5 10v10h14V10'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 4l9 7M5 10v10h14V10'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body.an-cat-on .breadcrumbs .navigation-bullet { display: inline-block !important; width: 16px; overflow: hidden; color: transparent !important; position: relative; }
html body.an-cat-on .breadcrumbs .navigation-bullet::after { content: "›"; position: absolute; inset: 0; color: #756D62; text-align: center; }
html body.an-cat-on .breadcrumbs > span:last-child { color: #1E1B19; font-weight: 600; }
html body.an-cat-on .breadcrumbs::before, html body.an-cat-on .breadcrumbs::after { content: none !important; }
html body.an-cat-on .breadcrumbs a:not(.navigation-home-icon)::before,
html body.an-cat-on .breadcrumbs a::after { content: none !important; display: none !important; }
html body.an-cat-on .breadcrumbs-wrapper { max-width: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }

/* ==================================================================
 * 1) ZÁKLAD
 * ================================================================== */
body.an-cat-on .ak { position: relative; max-width: 1360px; margin: 0 auto; padding: 0 var(--an-gutter) 32px; color: var(--an-ink); font: 400 16px/1.55 var(--an-body); letter-spacing: 0; text-align: left; -webkit-font-smoothing: antialiased; }
body.an-cat-on .ak-panel { color: var(--an-ink); font: 400 16px/1.55 var(--an-body); -webkit-font-smoothing: antialiased; }
body.an-cat-on .ak *, body.an-cat-on .ak *::before, body.an-cat-on .ak *::after,
body.an-cat-on .ak-panel *, body.an-cat-on .ak-panel *::before, body.an-cat-on .ak-panel *::after { box-sizing: border-box; }
html body.an-cat-on :is(.ak, .ak-panel) :is(p, a, li, span, div, button, label, b, strong, s, input, i, h3) { font-family: inherit; }
body.an-cat-on :is(.ak, .ak-panel) :is(h1, h2, h3) { margin: 0; padding: 0; font-family: var(--an-disp); font-weight: 700; color: var(--an-ink); text-transform: none; letter-spacing: -.02em; border: 0; background: none; }
body.an-cat-on :is(.ak, .ak-panel) p { margin: 0; }
body.an-cat-on :is(.ak, .ak-panel) ul { margin: 0; padding: 0; list-style: none; }
body.an-cat-on :is(.ak, .ak-panel) li { margin: 0; padding: 0; background: none; }
body.an-cat-on :is(.ak, .ak-panel) li::before { content: none; }
body.an-cat-on :is(.ak, .ak-panel) a { color: inherit; }
body.an-cat-on :is(.ak, .ak-panel) img { max-width: 100%; }
body.an-cat-on :is(.ak, .ak-panel) button { margin: 0; font: inherit; color: inherit; cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none; -webkit-tap-highlight-color: transparent; }
body.an-cat-on :is(.ak, .ak-panel) button:disabled { cursor: not-allowed; }
body.an-cat-on :is(.ak, .ak-panel) [hidden], body.an-cat-on .ak-panel[hidden] { display: none !important; }
body.an-cat-on :is(.ak, .ak-panel) :focus-visible { outline: 2.5px solid var(--an-ink); outline-offset: 3px; border-radius: 12px; }
body.an-cat-on .ak-i { display: block; width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.an-cat-on .ak-nw { white-space: nowrap; }
body.an-cat-on .ak-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body.an-cat-on.ak-lock { overflow: hidden; }

/* tlačítka */
body.an-cat-on :is(.ak, .ak-panel) .ak-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  font: 700 15px/1 var(--an-body); text-decoration: none; white-space: nowrap; transition: background .2s, transform .15s var(--an-ease), opacity .2s;
}
body.an-cat-on :is(.ak, .ak-panel) .ak-btn:active { transform: scale(.98); }
body.an-cat-on :is(.ak, .ak-panel) .ak-btn--dark { background: var(--an-ink); color: #fff; }
body.an-cat-on :is(.ak, .ak-panel) .ak-btn--dark:hover { background: #000; color: #fff; }
body.an-cat-on :is(.ak, .ak-panel) .ak-btn--coral { background: var(--an-coral-d); color: #fff; }
body.an-cat-on :is(.ak, .ak-panel) .ak-btn--coral:hover { background: var(--an-coral-h); }
body.an-cat-on :is(.ak, .ak-panel) .ak-link { padding: 8px 4px; border: 0; background: none; font: 600 14px/1 var(--an-body); color: var(--an-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; white-space: nowrap; }
body.an-cat-on :is(.ak, .ak-panel) .ak-link:hover { color: var(--an-coral-t); }
body.an-cat-on :is(.ak, .ak-panel) .ak-x { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--an-cream); color: var(--an-ink); transition: background .2s; }
body.an-cat-on :is(.ak, .ak-panel) .ak-x:hover { background: var(--an-cream2); }

/* ==================================================================
 * 2) ÚVOD KATEGORIE
 * ================================================================== */
body.an-cat-on .ak-hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: stretch;
  min-height: 272px; margin-top: 16px; overflow: hidden; isolation: isolate; border: 1px solid var(--an-line); border-radius: 32px;
  background: radial-gradient(130% 150% at 0% 0%, #FFFFFF 0%, #F8F2E9 45%, var(--an-cream) 100%);
}
body.an-cat-on .ak-hero--solo { grid-template-columns: minmax(0, 1fr); min-height: 0; }
body.an-cat-on .ak-hero__txt { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(26px, 3.2vw, 46px) clamp(26px, 3.6vw, 52px); }
body.an-cat-on .ak-hero--solo .ak-hero__txt { max-width: 880px; }
body.an-cat-on .ak .ak-hero__kicker { font: 700 12px/1 var(--an-body); letter-spacing: .16em; text-transform: uppercase; color: var(--an-coral-t); }
body.an-cat-on .ak .ak-hero__h { font: 700 clamp(34px, 3.9vw, 56px)/1 var(--an-disp); letter-spacing: -.035em; text-wrap: balance; overflow-wrap: anywhere; }
body.an-cat-on .ak .ak-hero__meta { font: 600 14px/1.4 var(--an-body); color: var(--an-ink2); }
body.an-cat-on .ak .ak-hero__lead { max-width: 52ch; font: 400 17px/1.55 var(--an-body); color: var(--an-ink2); }
body.an-cat-on .ak-hero__perex-in {
  max-width: 62ch; font: 400 16px/1.6 var(--an-body); color: var(--an-ink2);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
body.an-cat-on .ak-hero__perex-in p { margin: 0 0 .6em; }
body.an-cat-on .ak-hero__perex-in p:last-child { margin-bottom: 0; }
body.an-cat-on .ak-hero__perex.is-open .ak-hero__perex-in { display: block; -webkit-line-clamp: unset; }
body.an-cat-on .ak .ak-hero__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; margin-top: -6px; padding: 4px 0; border: 0; background: none; font: 600 14px/1 var(--an-body); color: var(--an-ink); text-decoration: underline; text-underline-offset: 3px; }
body.an-cat-on .ak-hero__more .ak-i { width: 16px; height: 16px; transition: transform .2s; }
body.an-cat-on .ak-hero__more[aria-expanded="true"] .ak-i { transform: rotate(180deg); }
body.an-cat-on .ak-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 6px !important; }
body.an-cat-on .ak-hero__facts li { display: inline-flex; align-items: center; gap: 8px; font: 500 13.5px/1.3 var(--an-body); color: var(--an-ink2); }
body.an-cat-on .ak-hero__facts .ak-i { color: var(--an-coral-d); }

body.an-cat-on .ak-hero__vis { position: relative; min-height: 100%; }
/* fotka kategorie */
body.an-cat-on .ak-hero__vis--photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  animation: ak-zoom 1.4s var(--an-ease) both;
}
/* koláž produktů */
/* koláž (contain: size) nepřispívá k výšce → výšku úvodu určuje text, koláž jen vyplní sloupec */
body.an-cat-on .ak-hero__vis--col { position: relative; contain: size; display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 20px 20px 20px 0; }
body.an-cat-on .ak-col--2 { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr); }
body.an-cat-on .ak-tile {
  position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; isolation: isolate; border-radius: 24px; background: #fff;
  box-shadow: 0 1px 2px rgba(30, 27, 25, .04), 0 18px 40px -26px rgba(30, 27, 25, .35); transition: transform .35s var(--an-ease), box-shadow .35s;
  animation: ak-rise .7s var(--an-ease) both;
}
body.an-cat-on .ak-tile--1 { grid-row: 1 / span 2; }
body.an-cat-on .ak-col--2 .ak-tile--1 { grid-row: auto; }
body.an-cat-on .ak-tile--2 { animation-delay: .08s; }
body.an-cat-on .ak-tile--3 { animation-delay: .16s; }
body.an-cat-on .ak-tile img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 9%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--an-ease); }
body.an-cat-on .ak-tile:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(30, 27, 25, .04), 0 26px 48px -26px rgba(30, 27, 25, .45); }
body.an-cat-on .ak-tile:hover img { transform: scale(1.04); }
/* gravírování: tmavá břidlice */
body.an-cat-on .ak-hero--slate { border-color: #2C2723; background: radial-gradient(120% 140% at 100% 0%, #3A332E 0%, #24201D 55%, #1A1715 100%); }
body.an-cat-on .ak .ak-hero--slate .ak-hero__h { color: #fff; }
body.an-cat-on .ak .ak-hero--slate :is(.ak-hero__lead, .ak-hero__meta, .ak-hero__perex-in) { color: rgba(255, 255, 255, .78); }
body.an-cat-on .ak .ak-hero--slate .ak-hero__kicker { color: #FF8DA5; }
body.an-cat-on .ak-hero--slate .ak-hero__facts li { color: rgba(255, 255, 255, .85); }
body.an-cat-on .ak-hero--slate .ak-hero__facts .ak-i { color: #FF8DA5; }
body.an-cat-on .ak .ak-hero--slate .ak-hero__more { color: #fff; }
body.an-cat-on .ak-hero__vis--cut { display: grid; place-items: center; padding: 24px; }
body.an-cat-on .ak-hero__vis--cut img { width: auto; height: auto; max-width: min(78%, 360px); max-height: 236px; transform: rotate(-5deg); filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .55)); animation: ak-rise .8s var(--an-ease) both; }
/* 24h akce: korálová */
body.an-cat-on .ak-hero--hot { border-color: #D43658; background: radial-gradient(120% 150% at 0% 0%, #FF7790 0%, #ED4D6E 45%, #C42F51 100%); }
body.an-cat-on .ak .ak-hero--hot :is(.ak-hero__h, .ak-hero__kicker) { color: #fff; }
body.an-cat-on .ak .ak-hero--hot :is(.ak-hero__lead, .ak-hero__meta, .ak-hero__perex-in) { color: rgba(255, 255, 255, .9); }
body.an-cat-on .ak-hero--hot .ak-hero__facts li, body.an-cat-on .ak-hero--hot .ak-hero__facts .ak-i { color: #fff; }
body.an-cat-on .ak .ak-hero--hot .ak-hero__more { color: #fff; }

/* ==================================================================
 * 3) PODKATEGORIE / SOUROZENCI
 * ================================================================== */
body.an-cat-on .ak-subs { margin-top: 16px; }
body.an-cat-on .ak-subs__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
body.an-cat-on .ak .ak-sub {
  display: flex; align-items: center; gap: 12px; height: 100%; min-height: 70px; padding: 8px 14px 8px 8px; border: 1px solid var(--an-line); border-radius: 20px;
  background: #fff; text-decoration: none; color: var(--an-ink); transition: border-color .2s, transform .25s var(--an-ease), box-shadow .25s;
}
body.an-cat-on .ak .ak-sub:hover { border-color: var(--an-line2); transform: translateY(-2px); box-shadow: 0 18px 34px -26px rgba(30, 27, 25, .45); }
body.an-cat-on .ak-sub__img { display: grid; place-items: center; flex: none; width: 60px; height: 52px; overflow: hidden; isolation: isolate; border-radius: 14px; background: var(--an-cream); color: var(--an-ink3); }
body.an-cat-on .ak-sub__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
body.an-cat-on .ak-sub__n { flex: 1; min-width: 0; font: 600 14.5px/1.25 var(--an-body); }
body.an-cat-on .ak-sub__go { color: var(--an-ink3); transition: transform .25s var(--an-ease), color .2s; }
body.an-cat-on .ak .ak-sub:hover .ak-sub__go { color: var(--an-coral-d); transform: translateX(3px); }
body.an-cat-on .ak-subs--pills .ak-subs__list { display: flex; flex-wrap: wrap; gap: 8px; }
body.an-cat-on .ak .ak-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border: 1px solid var(--an-line2); border-radius: 999px;
  background: #fff; font: 600 14px/1 var(--an-body); color: var(--an-ink); text-decoration: none; white-space: nowrap; transition: border-color .2s, background .2s;
}
body.an-cat-on .ak .ak-pill:hover { border-color: var(--an-ink); }
body.an-cat-on .ak .ak-pill.is-on { border-color: var(--an-ink); background: var(--an-ink); color: #fff; }
body.an-cat-on .ak .ak-pill--up { border-color: transparent; background: var(--an-cream); }
body.an-cat-on .ak-pill .ak-i { width: 16px; height: 16px; }

/* ==================================================================
 * 4) LIŠTA S FILTRY A ŘAZENÍM (přilepená)
 * ================================================================== */
body.an-cat-on .ak-sent { height: 1px; margin-top: 22px; }
body.an-cat-on .ak--nolist .ak-bar { display: none; }
body.an-cat-on .ak-bar { position: sticky; top: var(--xm-header-h, 0px); z-index: 40; margin: 0 calc(-1 * var(--an-gutter)); padding: 10px var(--an-gutter); transition: padding .2s var(--an-ease); }
body.an-cat-on .ak-bar.is-stuck { padding-top: 8px; padding-bottom: 8px; }
body.an-cat-on .ak-bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; border-bottom: 1px solid var(--an-line);
  background: rgba(251, 248, 243, .88); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 14px 30px -26px rgba(30, 27, 25, .5); transition: opacity .2s;
}
body.an-cat-on .ak-bar.is-stuck::before { opacity: 1; }
body.an-cat-on .ak-bar__in { position: relative; display: flex; align-items: center; gap: 10px; }
body.an-cat-on .ak .ak-fbtn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none; height: 44px; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--an-ink); color: #fff; font: 600 14px/1 var(--an-body); transition: background .2s;
}
body.an-cat-on .ak .ak-fbtn:hover { background: #000; }
body.an-cat-on .ak-fbtn__n { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--an-coral); color: #fff; font: 700 11px/1 var(--an-body); }
body.an-cat-on .ak-bar__chips {
  display: flex; flex: 1 1 auto; gap: 8px; min-width: 0; margin: -2px 0; padding: 4px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
/* zeslabení okraje jen když se volby nevejdou a dá se posunout dál */
body.an-cat-on .ak-bar__chips.is-over { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
body.an-cat-on .ak .ak-chip:focus-visible { outline-width: 2px; outline-offset: 1px; }
body.an-cat-on .ak-bar__chips::-webkit-scrollbar { display: none; }
body.an-cat-on .ak .ak-chip {
  display: inline-flex; align-items: center; gap: 6px; flex: none; height: 40px; padding: 0 14px; border: 1px solid var(--an-line2); border-radius: 999px;
  background: #fff; font: 600 13.5px/1 var(--an-body); color: var(--an-ink); white-space: nowrap; transition: border-color .2s, background .2s, color .2s;
}
body.an-cat-on .ak .ak-chip:hover { border-color: var(--an-ink); }
body.an-cat-on .ak .ak-chip.is-on { border-color: var(--an-coral); background: var(--an-coral-soft); color: var(--an-coral-h); }
body.an-cat-on .ak .ak-chip:disabled { opacity: .45; }
body.an-cat-on .ak-chip__ok { display: none; width: 15px !important; height: 15px !important; stroke-width: 2.4 !important; }
body.an-cat-on .ak-chip.is-on .ak-chip__ok { display: block; }
body.an-cat-on .ak-chip__n { font-weight: 600; font-size: 12px; color: var(--an-ink3); }
body.an-cat-on .ak-dd { width: 16px !important; height: 16px !important; transition: transform .2s; }
body.an-cat-on [aria-expanded="true"] > .ak-dd { transform: rotate(180deg); }
body.an-cat-on .ak-bar__end { display: flex; align-items: center; gap: 14px; flex: none; margin-left: auto; }
body.an-cat-on .ak .ak-count { font: 500 14px/1 var(--an-body); color: var(--an-ink2); white-space: nowrap; }
body.an-cat-on .ak .ak-count b { color: var(--an-ink); font-weight: 700; }
body.an-cat-on .ak .ak-sortbtn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--an-line2); border-radius: 999px;
  background: #fff; font: 500 14px/1 var(--an-body); color: var(--an-ink2); white-space: nowrap; transition: border-color .2s;
}
body.an-cat-on .ak .ak-sortbtn:hover { border-color: var(--an-ink); }
body.an-cat-on .ak .ak-sortbtn b { color: var(--an-ink); font-weight: 700; }
body.an-cat-on .ak-actives { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
body.an-cat-on .ak .ak-act {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 14px; border: 0; border-radius: 999px;
  background: var(--an-ink); color: #fff; font: 600 13px/1 var(--an-body); transition: background .2s;
}
body.an-cat-on .ak .ak-act:hover { background: var(--an-coral-d); }
body.an-cat-on .ak-act .ak-i { width: 15px; height: 15px; stroke-width: 2.2; }
body.an-cat-on .ak-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; overflow: hidden; opacity: 0; transition: opacity .2s; pointer-events: none; }
body.an-cat-on .ak-prog::after { content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%; border-radius: 2px; background: var(--an-coral); animation: ak-prog 1s ease-in-out infinite; }
body.an-cat-on .ak-bar.is-busy .ak-prog { opacity: 1; }

/* plovoucí nabídka (cena, značky, řazení) */
body.an-cat-on .ak-float {
  position: absolute; z-index: 5; top: 60px; left: 0; width: 340px; max-width: calc(100vw - 32px); padding-top: 4px; overflow: hidden;
  border: 1px solid var(--an-line); border-radius: 22px; background: #fff;
  box-shadow: 0 2px 6px rgba(30, 27, 25, .06), 0 34px 60px -30px rgba(30, 27, 25, .5); animation: ak-pop .18s var(--an-ease);
}
body.an-cat-on .ak-float--sort { width: 270px; }
body.an-cat-on .ak-float--price { width: 380px; }
body.an-cat-on .ak-float__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 6px 20px; }
body.an-cat-on .ak-float__head b { font: 700 16px/1 var(--an-disp); letter-spacing: -.01em; }
body.an-cat-on .ak .ak-float__head .ak-x { width: 34px; height: 34px; }
body.an-cat-on .ak-float__body { max-height: min(440px, 62vh); overflow: auto; padding: 4px 10px 12px; overscroll-behavior: contain; }
body.an-cat-on .ak-fdim { display: none; }

/* volby (zaškrtávací) */
body.an-cat-on .ak-opts { display: flex; flex-direction: column; gap: 2px; }
body.an-cat-on :is(.ak, .ak-panel) .ak-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 12px;
  background: none; text-align: left; font: 500 14.5px/1.3 var(--an-body); color: var(--an-ink); transition: background .15s;
}
body.an-cat-on :is(.ak, .ak-panel) .ak-opt:hover { background: var(--an-cream); }
body.an-cat-on :is(.ak, .ak-panel) .ak-opt:disabled { opacity: .4; background: none; }
body.an-cat-on .ak-opt__box { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 1.5px solid var(--an-line2); border-radius: 7px; background: #fff; transition: background .15s, border-color .15s; }
body.an-cat-on .ak-opt__box .ak-i { width: 15px; height: 15px; stroke-width: 2.6; color: #fff; opacity: 0; transition: opacity .15s; }
body.an-cat-on .ak-opt.is-on .ak-opt__box { border-color: var(--an-ink); background: var(--an-ink); }
body.an-cat-on .ak-opt.is-on .ak-opt__box .ak-i { opacity: 1; }
body.an-cat-on .ak-opt__t { flex: 1; min-width: 0; }
body.an-cat-on .ak-opt.is-on .ak-opt__t { font-weight: 700; }
body.an-cat-on .ak-opt__n { padding: 4px 8px; border-radius: 999px; background: var(--an-cream); font: 600 12px/1 var(--an-body); color: var(--an-ink3); }
body.an-cat-on .ak-sorts { display: flex; flex-direction: column; gap: 2px; }
body.an-cat-on :is(.ak, .ak-panel) .ak-sopt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 12px;
  background: none; text-align: left; font: 500 14.5px/1.3 var(--an-body); color: var(--an-ink); transition: background .15s;
}
body.an-cat-on :is(.ak, .ak-panel) .ak-sopt:hover { background: var(--an-cream); }
body.an-cat-on :is(.ak, .ak-panel) .ak-sopt.is-on { font-weight: 700; }
body.an-cat-on .ak-sopt__ok { color: var(--an-coral-d); stroke-width: 2.4 !important; opacity: 0; }
body.an-cat-on .ak-sopt.is-on .ak-sopt__ok { opacity: 1; }
body.an-cat-on .ak-search { display: flex; align-items: center; gap: 8px; height: 42px; margin: 0 0 8px; padding: 0 12px; border: 1px solid var(--an-line); border-radius: 12px; background: var(--an-bg); color: var(--an-ink3); }
body.an-cat-on .ak-search:focus-within { border-color: var(--an-ink); }
html body.an-cat-on .ak-search input { flex: 1; min-width: 0; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; outline: none !important; background: none !important; box-shadow: none !important; font: 500 14px/1 var(--an-body) !important; color: var(--an-ink) !important; }

/* cena */
body.an-cat-on .ak-price { padding: 6px 8px 4px; }
body.an-cat-on .ak-price__vals { display: flex; align-items: center; gap: 10px; }
body.an-cat-on .ak-price__dash { color: var(--an-ink3); }
body.an-cat-on .ak-price__f { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; height: 50px; margin: 0; padding: 0 12px; border: 1px solid var(--an-line2); border-radius: 14px; background: #fff; transition: border-color .2s; cursor: text; }
body.an-cat-on .ak-price__f:focus-within { border-color: var(--an-ink); }
body.an-cat-on .ak-price__f span { font: 600 11px/1 var(--an-body); letter-spacing: .08em; text-transform: uppercase; color: var(--an-ink3); }
html body.an-cat-on .ak-price__f input {
  flex: 1; width: 100%; min-width: 0; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; outline: none !important; background: none !important; box-shadow: none !important;
  font: 700 16px/1 var(--an-body) !important; color: var(--an-ink) !important; text-align: right; -moz-appearance: textfield; appearance: textfield;
}
html body.an-cat-on .ak-price__f input::-webkit-inner-spin-button, html body.an-cat-on .ak-price__f input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
body.an-cat-on .ak-price__f i { font: 600 13px/1 var(--an-body); font-style: normal; color: var(--an-ink2); }
body.an-cat-on .ak-price__track { position: relative; height: 28px; margin: 18px 4px 4px; }
body.an-cat-on .ak-price__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--an-line); }
body.an-cat-on .ak-price__fill { position: absolute; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--an-ink); }
html body.an-cat-on .ak-price__track input[type="range"] {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2; width: 100%; height: 28px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none;
  -webkit-appearance: none; appearance: none; pointer-events: none; outline: none;
}
html body.an-cat-on .ak-price__track input[type="range"]::-webkit-slider-runnable-track { height: 28px; background: transparent; border: 0; }
html body.an-cat-on .ak-price__track input[type="range"]::-moz-range-track { height: 28px; background: transparent; border: 0; }
html body.an-cat-on .ak-price__track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; pointer-events: auto; width: 26px; height: 26px; margin-top: 1px; border: 2px solid var(--an-ink); border-radius: 50%; background: #fff;
  box-shadow: 0 4px 12px -4px rgba(30, 27, 25, .45); cursor: grab; transition: transform .15s;
}
html body.an-cat-on .ak-price__track input[type="range"]::-moz-range-thumb {
  pointer-events: auto; width: 22px; height: 22px; border: 2px solid var(--an-ink); border-radius: 50%; background: #fff; box-shadow: 0 4px 12px -4px rgba(30, 27, 25, .45); cursor: grab;
}
html body.an-cat-on .ak-price__track input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); cursor: grabbing; }
html body.an-cat-on .ak-price__track input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2.5px solid var(--an-coral); outline-offset: 2px; }
body.an-cat-on .ak-price__lims { display: flex; justify-content: space-between; font: 500 12px/1 var(--an-body); color: var(--an-ink3); }
body.an-cat-on .ak-price__act { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
body.an-cat-on :is(.ak, .ak-panel) .ak-price__act .ak-btn { height: 44px; padding: 0 22px; }

/* ==================================================================
 * 5) MŘÍŽKA PRODUKTŮ
 * ================================================================== */
body.an-cat-on .ak-list { margin-top: 14px; }
body.an-cat-on .ak-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 20px; transition: opacity .25s; }
body.an-cat-on .ak.is-busy .ak-grid { opacity: .42; pointer-events: none; }
body.an-cat-on .ak-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
body.an-cat-on .ak-grid.is-anim > .ak-card, body.an-cat-on .ak-grid.is-anim > .ak-promo { animation: ak-in .55s var(--an-ease) both; animation-delay: calc(var(--k, 0) * 32ms); }
body.an-cat-on .ak-card__media {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; isolation: isolate; border-radius: 24px; background: var(--an-cream);
  transition: box-shadow .35s var(--an-ease), transform .35s var(--an-ease);
}
body.an-cat-on .ak-card__img, body.an-cat-on .ak-card__img2 {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; padding: 7%; object-fit: contain; mix-blend-mode: multiply;
  transition: opacity .45s var(--an-ease), transform .8s var(--an-ease);
}
body.an-cat-on .ak-card__img2 { opacity: 0; }
body.an-cat-on .ak-card--no .ak-card__img { opacity: .55; filter: grayscale(.4); }
body.an-cat-on .ak-card__noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--an-line2); }
body.an-cat-on .ak-card__noimg .ak-i { width: 44px; height: 44px; }
body.an-cat-on .ak-card__badges { position: absolute; z-index: 2; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
body.an-cat-on .ak-bdg {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; background: #fff; color: var(--an-ink);
  font: 700 11.5px/1 var(--an-body); letter-spacing: .01em; white-space: nowrap; box-shadow: 0 6px 14px -10px rgba(30, 27, 25, .55);
}
body.an-cat-on .ak-bdg .ak-i { width: 13px; height: 13px; color: var(--an-coral-d); stroke-width: 2.2; }
body.an-cat-on .ak-bdg--sale { background: var(--an-coral-d); color: #fff; }
body.an-cat-on .ak-bdg--new { background: var(--an-ink); color: #fff; }
body.an-cat-on .ak-bdg--tip { background: #FBF0DC; color: #7A4E10; }
body.an-cat-on .ak-bdg--action { background: var(--an-coral-soft); color: var(--an-coral-h); }
body.an-cat-on .ak-card__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 14px 4px 0; }
body.an-cat-on .ak .ak-card__name { font: 600 15px/1.35 var(--an-body); letter-spacing: -.005em; }
body.an-cat-on .ak .ak-card__a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--an-ink); text-decoration: none; }
body.an-cat-on .ak-card__a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 24px; }
body.an-cat-on .ak .ak-card__a:focus-visible { outline: none; }
body.an-cat-on .ak .ak-card__a:focus-visible::after { outline: 2.5px solid var(--an-ink); outline-offset: 4px; }
body.an-cat-on .ak-card__params { display: flex; flex-wrap: wrap; gap: 2px 10px; font: 500 12.5px/1.4 var(--an-body); color: var(--an-ink3); }
body.an-cat-on .ak .ak-card__av { display: flex; align-items: center; gap: 7px; font: 600 12.5px/1.3 var(--an-body); }
body.an-cat-on .ak-card__av i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #C9C1B6; }
body.an-cat-on .ak .ak-av--ok { color: var(--an-ok); }
body.an-cat-on .ak-av--ok i { background: #2BA36B; box-shadow: 0 0 0 3px rgba(43, 163, 107, .16); }
body.an-cat-on .ak .ak-av--later { color: var(--an-warn); }
body.an-cat-on .ak-av--later i { background: #E0A13A; box-shadow: 0 0 0 3px rgba(224, 161, 58, .18); }
body.an-cat-on .ak .ak-av--ask, body.an-cat-on .ak .ak-av--no { color: var(--an-ink3); }
body.an-cat-on .ak-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
body.an-cat-on .ak-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
body.an-cat-on .ak .ak-card__price b { font: 700 19px/1.1 var(--an-disp); letter-spacing: -.02em; color: var(--an-ink); white-space: nowrap; }
body.an-cat-on .ak .ak-card__price:has(s) b { color: var(--an-coral-t); }
body.an-cat-on .ak .ak-card__price s { font: 500 13px/1.1 var(--an-body); color: var(--an-ink3); white-space: nowrap; }
body.an-cat-on .ak .ak-add {
  position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; flex: none; gap: 0; height: 44px; min-width: 44px; padding: 0 12px;
  border: 0; border-radius: 999px; background: var(--an-coral-d); color: #fff; font: 700 13.5px/1 var(--an-body); white-space: nowrap; overflow: hidden;
  transition: background .2s, transform .15s var(--an-ease), padding .3s var(--an-ease), gap .3s var(--an-ease);
}
body.an-cat-on .ak .ak-add:hover { background: var(--an-coral-h); }
body.an-cat-on .ak .ak-add:active { transform: scale(.95); }
body.an-cat-on .ak-add .ak-i { width: 19px; height: 19px; }
body.an-cat-on .ak-add__l { display: inline-block; max-width: 0; opacity: 0; transition: max-width .3s var(--an-ease), opacity .2s; }
body.an-cat-on .ak-add__ok { display: none !important; }
body.an-cat-on .ak .ak-add.is-done { gap: 6px; padding: 0 14px; background: var(--an-ok); }
body.an-cat-on .ak-add.is-done .ak-add__c { display: none; }
body.an-cat-on .ak-add.is-done .ak-add__ok { display: block !important; stroke-width: 2.4; }
body.an-cat-on .ak-add.is-done .ak-add__l { max-width: 120px; opacity: 1; }
body.an-cat-on .ak .ak-add--go { border: 1.5px solid var(--an-line2); background: #fff; color: var(--an-ink); pointer-events: none; }
@media (hover: hover) and (min-width: 1024px) {
  body.an-cat-on .ak-card:hover .ak-card__media { transform: translateY(-3px); box-shadow: 0 26px 44px -30px rgba(30, 27, 25, .55); }
  body.an-cat-on .ak-card:hover .ak-card__img { transform: scale(1.045); }
  body.an-cat-on .ak-card.has-2:hover .ak-card__img { opacity: 0; }
  body.an-cat-on .ak-card.has-2:hover .ak-card__img2 { opacity: 1; transform: scale(1.02); }
  body.an-cat-on .ak .ak-card:hover .ak-add, body.an-cat-on .ak .ak-add:focus-visible { gap: 8px; padding: 0 16px; }
  body.an-cat-on .ak-card:hover .ak-add__l, body.an-cat-on .ak-add:focus-visible .ak-add__l { max-width: 120px; opacity: 1; }
  body.an-cat-on .ak .ak-card:hover .ak-add--go { border-color: var(--an-ink); }
  body.an-cat-on .ak .ak-card:hover .ak-card__a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
}

/* dlaždice gravírování v mřížce */
body.an-cat-on .ak .ak-promo {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 100%; padding: 26px; overflow: hidden; isolation: isolate; border-radius: 24px;
  background: radial-gradient(120% 110% at 100% 0%, #3A332E 0%, #24201D 55%, #1A1715 100%); color: #fff; text-decoration: none;
}
body.an-cat-on .ak-promo__k { display: inline-flex; align-items: center; gap: 8px; font: 700 11.5px/1 var(--an-body); letter-spacing: .14em; text-transform: uppercase; color: #FF8DA5; }
body.an-cat-on .ak-promo__k .ak-i { width: 15px; height: 15px; }
body.an-cat-on .ak-promo__t { font: 700 27px/1.04 var(--an-disp); letter-spacing: -.025em; max-width: 11ch; color: #fff; }
body.an-cat-on .ak-promo__d { max-width: 24ch; font: 400 14px/1.5 var(--an-body); color: rgba(255, 255, 255, .74); }
body.an-cat-on .ak-promo__img { position: absolute; z-index: -1; right: -12%; bottom: 64px; width: 72%; max-width: 280px; transform: rotate(-7deg); filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .55)); transition: transform .7s var(--an-ease); }
body.an-cat-on .ak .ak-promo:hover .ak-promo__img { transform: rotate(-3deg) scale(1.05); }
body.an-cat-on .ak-promo__cta { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; height: 44px; margin-top: auto; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--an-ink); font: 700 14px/1 var(--an-body); transition: gap .25s var(--an-ease); }
body.an-cat-on .ak .ak-promo:hover .ak-promo__cta { gap: 12px; }

/* prázdný výsledek */
body.an-cat-on .ak-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 520px; margin: 30px auto 10px; padding: 44px 28px; border: 1px dashed var(--an-line2); border-radius: 28px; text-align: center; background: #fff; }
body.an-cat-on .ak-empty__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--an-cream); color: var(--an-ink2); }
body.an-cat-on .ak-empty__ic .ak-i { width: 28px; height: 28px; }
body.an-cat-on .ak .ak-empty h3 { font-size: 24px; line-height: 1.15; }
body.an-cat-on .ak .ak-empty p { color: var(--an-ink2); }
body.an-cat-on .ak-empty .ak-btn { margin-top: 6px; }

/* konec výpisu: počet, Načíst další, stránky */
body.an-cat-on .ak-foot { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 48px; text-align: center; }
body.an-cat-on .ak .ak-foot__stat p { font: 500 14px/1.3 var(--an-body); color: var(--an-ink2); }
body.an-cat-on .ak .ak-foot__stat b { color: var(--an-ink); }
body.an-cat-on .ak-foot__bar { display: block; width: 220px; height: 4px; margin: 12px auto 0; overflow: hidden; border-radius: 4px; background: var(--an-line); }
body.an-cat-on .ak-foot__bar i { display: block; height: 100%; border-radius: 4px; background: var(--an-ink); transition: width .6s var(--an-ease); }
body.an-cat-on .ak .ak-foot__more { min-width: 260px; height: 52px; }
body.an-cat-on .ak-foot__more .ak-i { width: 18px; height: 18px; }
body.an-cat-on .ak .ak-foot__more.is-busy { opacity: .7; pointer-events: none; }
body.an-cat-on .ak-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
body.an-cat-on .ak .ak-pager__a {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border: 1px solid transparent; border-radius: 12px;
  font: 600 14px/1 var(--an-body); color: var(--an-ink2); text-decoration: none; transition: border-color .2s, color .2s;
}
body.an-cat-on .ak .ak-pager__a:hover { border-color: var(--an-line2); color: var(--an-ink); }
body.an-cat-on .ak .ak-pager__a.is-on { border-color: var(--an-line2); background: #fff; color: var(--an-ink); }
body.an-cat-on .ak-pager__a .ak-i { width: 18px; height: 18px; }
body.an-cat-on .ak-pager__gap { padding: 0 4px; color: var(--an-ink3); }

/* ==================================================================
 * 6) DOLNÍ ČÁST: naposledy prohlížené, popis, fakta
 * ================================================================== */
body.an-cat-on .ak-sec { margin-top: 72px; }
body.an-cat-on .ak .ak-h2 { margin-bottom: 18px; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.1; letter-spacing: -.025em; }
body.an-cat-on .ak-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 172px; gap: 14px; padding-bottom: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
body.an-cat-on .ak .ak-seen__i { display: flex; flex-direction: column; gap: 8px; scroll-snap-align: start; color: var(--an-ink); text-decoration: none; }
body.an-cat-on .ak-seen__img { display: block; aspect-ratio: 1 / 1; overflow: hidden; isolation: isolate; border-radius: 18px; background: var(--an-cream); }
body.an-cat-on .ak-seen__img img { width: 100%; height: 100%; padding: 8%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--an-ease); }
body.an-cat-on .ak .ak-seen__i:hover .ak-seen__img img { transform: scale(1.05); }
body.an-cat-on .ak-seen__n { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font: 500 13px/1.35 var(--an-body); }
body.an-cat-on .ak-desc__in { max-width: 820px; font: 400 15.5px/1.7 var(--an-body); color: var(--an-ink2); }
body.an-cat-on .ak-desc__in :is(h2, h3) { margin: 1.2em 0 .5em; font-family: var(--an-disp); color: var(--an-ink); }
body.an-cat-on .ak-desc__in p { margin: 0 0 1em; }
body.an-cat-on .ak-trust { margin-top: 64px; }
body.an-cat-on .ak .ak-trust__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 20px 26px; border: 1px solid var(--an-line); border-radius: 24px; background: #fff; }
body.an-cat-on .ak-trust__list li, body.an-cat-on .ak .ak-trust__list a { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1.3 var(--an-body); color: var(--an-ink); text-decoration: none; }
body.an-cat-on .ak-trust__list .ak-i { color: var(--an-coral-d); }
body.an-cat-on .ak .ak-trust__list a:hover { color: var(--an-coral-t); }
body.an-cat-on .ak-trust__go { width: 16px !important; height: 16px !important; color: var(--an-ink3) !important; }

/* ==================================================================
 * 7) PANEL „FILTRY A ŘAZENÍ“
 * ================================================================== */
body.an-cat-on .ak-panel { position: fixed; inset: 0; z-index: 2147483000; }
body.an-cat-on .ak-panel__dim { position: absolute; inset: 0; background: rgba(30, 27, 25, .42); opacity: 0; transition: opacity .3s; }
body.an-cat-on .ak-panel.is-open .ak-panel__dim { opacity: 1; }
body.an-cat-on .ak-panel__box {
  position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(440px, 100vw); background: var(--an-bg);
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .35); transform: translateX(100%); transition: transform .32s var(--an-ease);
}
body.an-cat-on .ak-panel.is-open .ak-panel__box { transform: none; }
body.an-cat-on .ak-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 14px 24px; border-bottom: 1px solid var(--an-line); }
body.an-cat-on .ak-panel .ak-panel__head h2 { font-size: 22px; line-height: 1.1; }
body.an-cat-on .ak-panel__body { flex: 1; overflow: auto; padding: 4px 14px 24px; overscroll-behavior: contain; }
body.an-cat-on .ak-fs { padding: 18px 8px; border-bottom: 1px solid var(--an-line); }
body.an-cat-on .ak-fs:last-child { border-bottom: 0; }
body.an-cat-on .ak-panel .ak-fs__h { margin-bottom: 10px; font: 700 12px/1 var(--an-body); letter-spacing: .12em; text-transform: uppercase; color: var(--an-ink3); }
body.an-cat-on .ak-panel__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--an-line); background: #fff; }
body.an-cat-on .ak-panel .ak-panel__foot .ak-btn { flex: 0 1 auto; min-width: 200px; }

/* ==================================================================
 * 8) RESPONZIVITA
 * ================================================================== */
@media (max-width: 1199px) {
  body.an-cat-on .ak-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  body.an-cat-on .ak-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); min-height: 300px; }
  body.an-cat-on .ak .ak-count { display: none; }
}
@media (max-width: 767px) {
  body.an-cat-on .ak { padding-bottom: 20px; }
  body.an-cat-on .ak-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; margin-top: 12px; border-radius: 26px; }
  body.an-cat-on .ak-hero__txt { gap: 12px; padding: 24px 22px; }
  body.an-cat-on .ak .ak-hero__h { font-size: clamp(30px, 8.6vw, 40px); }
  body.an-cat-on .ak-hero__perex-in { -webkit-line-clamp: 2; font-size: 15px; }
  body.an-cat-on .ak-hero__facts { gap: 6px 14px; }
  body.an-cat-on .ak-hero__facts li { font-size: 12.5px; }
  body.an-cat-on .ak-hero__facts li:nth-child(3) { display: none; }
  body.an-cat-on .ak-hero__vis { order: -1; min-height: 0; }
  body.an-cat-on .ak-hero__vis--photo { height: 168px; }
  body.an-cat-on .ak-hero__vis--photo img { -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 40%); mask-image: linear-gradient(0deg, transparent 0, #000 40%); }
  body.an-cat-on .ak-hero__vis--col { display: none; }
  body.an-cat-on .ak-hero__vis--cut { height: 150px; padding: 18px 0 0; }
  body.an-cat-on .ak-hero__vis--cut img { max-height: 124px; }
  body.an-cat-on .ak-subs { margin: 14px calc(-1 * var(--an-gutter)) 0; }
  body.an-cat-on .ak-subs .ak-subs__list,
  body.an-cat-on .ak-subs--pills .ak-subs__list { display: flex; flex-wrap: nowrap; gap: 10px; padding: 2px var(--an-gutter); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  body.an-cat-on .ak-subs__list::-webkit-scrollbar { display: none; }
  body.an-cat-on .ak-subs__list > li { flex: none; scroll-snap-align: start; }
  body.an-cat-on .ak .ak-sub { width: 208px; min-height: 68px; padding: 8px 12px 8px 8px; border-radius: 18px; }
  body.an-cat-on .ak-sub__img { width: 54px; height: 48px; border-radius: 12px; }
  body.an-cat-on .ak-sub__n { font-size: 14px; }
  body.an-cat-on .ak-sent { margin-top: 14px; }
  body.an-cat-on .ak-bar { padding: 8px var(--an-gutter); }
  body.an-cat-on .ak-bar__in { flex-wrap: wrap; gap: 8px; }
  body.an-cat-on .ak .ak-fbtn { order: 1; height: 42px; padding: 0 16px; }
  body.an-cat-on .ak-bar__end { order: 2; flex: 1 1 auto; justify-content: flex-end; gap: 10px; margin-left: 0; }
  body.an-cat-on .ak .ak-sortbtn { height: 42px; padding: 0 14px; }
  body.an-cat-on .ak-sortbtn__l, body.an-cat-on .ak-sortbtn > .ak-i:first-child { display: none !important; }
  body.an-cat-on .ak-bar__chips, body.an-cat-on .ak-bar__chips.is-over { order: 3; flex: 0 0 auto; width: calc(100% + 2 * var(--an-gutter)); margin: 0 calc(-1 * var(--an-gutter)); padding: 4px var(--an-gutter); -webkit-mask-image: none; mask-image: none; }
  body.an-cat-on .ak .ak-chip { height: 36px; padding: 0 12px; font-size: 13px; }
  body.an-cat-on .ak-bar.is-stuck .ak-bar__chips { display: none; }
  body.an-cat-on .ak-actives { flex-wrap: nowrap; margin: 8px calc(-1 * var(--an-gutter)) 0; padding: 0 var(--an-gutter); overflow-x: auto; scrollbar-width: none; }
  body.an-cat-on .ak-actives > * { flex: none; }
  body.an-cat-on .ak-bar.is-stuck .ak-actives { display: none; }
  body.an-cat-on .ak-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  body.an-cat-on .ak-card__media { border-radius: 18px; }
  body.an-cat-on .ak-card__a::after { border-radius: 18px; }
  body.an-cat-on .ak-card__badges { top: 8px; left: 8px; right: 8px; gap: 4px; }
  body.an-cat-on .ak-bdg { height: 22px; padding: 0 8px; font-size: 10.5px; }
  body.an-cat-on .ak-card__body { padding-top: 10px; gap: 5px; }
  body.an-cat-on .ak .ak-card__name { font-size: 13.5px; }
  body.an-cat-on .ak .ak-card__av, body.an-cat-on .ak-card__params { font-size: 11.5px; }
  body.an-cat-on .ak .ak-card__price b { font-size: 16.5px; }
  body.an-cat-on .ak .ak-card__price s { font-size: 12px; }
  body.an-cat-on .ak .ak-add { height: 40px; min-width: 40px; padding: 0 10px; }
  body.an-cat-on .ak .ak-promo { padding: 18px; }
  body.an-cat-on .ak-promo__t { font-size: 21px; }
  body.an-cat-on .ak-promo__d { font-size: 12.5px; }
  body.an-cat-on .ak-promo__img { right: -16%; bottom: 62px; width: 78%; }
  body.an-cat-on .ak-promo__cta { height: auto; min-height: 38px; padding: 8px 14px; border-radius: 14px; font-size: 12.5px; line-height: 1.2; white-space: normal; }
  body.an-cat-on .ak-promo__cta .ak-i { display: none; }
  body.an-cat-on .ak .ak-foot__more { width: 100%; min-width: 0; }
  body.an-cat-on .ak-sec { margin-top: 52px; }
  body.an-cat-on .ak-rail { grid-auto-columns: 138px; margin: 0 calc(-1 * var(--an-gutter)); padding: 0 var(--an-gutter) 8px; scroll-padding: 0 var(--an-gutter); }
  body.an-cat-on .ak .ak-trust__list { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
  /* plovoucí nabídka → spodní list */
  body.an-cat-on.ak-float-open .ak-bar { z-index: 2147482001; }
  body.an-cat-on.ak-float-open .ak-fdim { display: block; position: fixed; inset: 0; z-index: 2147482000; background: rgba(30, 27, 25, .42); animation: ak-fade .2s both; }
  body.an-cat-on .ak-float, body.an-cat-on .ak-float--sort, body.an-cat-on .ak-float--price {
    position: fixed; top: auto !important; left: 0 !important; right: 0; bottom: 0; width: auto; max-width: none; padding-bottom: env(safe-area-inset-bottom);
    border-radius: 26px 26px 0 0; animation: ak-sheet .28s var(--an-ease);
  }
  body.an-cat-on .ak-float__body { max-height: 70vh; }
  /* panel → spodní list */
  body.an-cat-on .ak-panel__box { top: auto; left: 0; width: 100%; height: 92vh; height: 92dvh; border-radius: 26px 26px 0 0; transform: translateY(100%); }
  body.an-cat-on .ak-panel .ak-panel__foot .ak-btn { flex: 1; min-width: 0; }
}
@media (max-width: 440px) {
  body.an-cat-on .ak-promo__d { display: none; }
}
@media (max-width: 380px) {
  body.an-cat-on .ak-grid { gap: 20px 8px; }
  body.an-cat-on .ak .ak-add { width: 38px; height: 38px; min-width: 38px; padding: 0; }
  body.an-cat-on .ak .ak-add.is-done { width: auto; padding: 0 10px; }
}

/* ==================================================================
 * 9) POHYB
 * ================================================================== */
@keyframes ak-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ak-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes ak-zoom { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes ak-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ak-sheet { from { transform: translateY(100%); } to { transform: none; } }
@keyframes ak-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ak-prog { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (prefers-reduced-motion: reduce) {
  body.an-cat-on .ak *, body.an-cat-on .ak-panel *, body.an-cat-on .ak-panel__box { animation: none !important; transition: none !important; }
}
