/* ============================================================
   KLIMA 365 — Category page redesign
   Namespace: .k365-cat-* (scoped under .k365-cat root)
   Pairs with: catalog/view/theme/Lighthouse/template/product/category.twig
   ============================================================ */

/* Scoped tokens — nevyžiarujú mimo .k365-cat */
.k365-cat {
  --k365-cat-navy: #1a1a2e;
  --k365-cat-navy-2: #1F1F4D;
  --k365-cat-navy-deep: #0f0f1f;
  --k365-cat-ink: #1a1a1a;
  --k365-cat-text: #333;
  --k365-cat-muted: #777;
  --k365-cat-line: #e5e5e5;
  --k365-cat-line-soft: #f0f0f0;
  --k365-cat-bg-gray: #f5f5f5;
  --k365-cat-bg-cool: #f3f5f8;
  --k365-cat-red: #e63946;
  --k365-cat-red-hover: #c5303d;
  --k365-cat-green: #2eb872;
  --k365-cat-amber: #f4b400;
  --k365-cat-energy-t1: #1f9d5b;
  --k365-cat-energy-t2: #4caf50;
  --k365-cat-max: 1240px;

  background: #fff;
  color: var(--k365-cat-text);
  font-family: 'Open Sans', system-ui, -apple-system, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.k365-cat * { box-sizing: border-box; }
.k365-cat a { color: inherit; text-decoration: none; }
.k365-cat h1, .k365-cat h2, .k365-cat h3, .k365-cat h4 { color: var(--k365-cat-ink); margin: 0; letter-spacing: -0.01em; }
.k365-cat button { font-family: inherit; }
.k365-cat img { display: block; max-width: 100%; }

.k365-cat-wrap { max-width: var(--k365-cat-max); margin: 0 auto; padding: 0 28px; }

/* ===== Hero strip ===== */
.k365-cat-hero { background: #fff; border-bottom: 1px solid var(--k365-cat-line); }
.k365-cat-hero .k365-cat-wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 22px; padding-bottom: 22px; }
.k365-cat-hero__crumb { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--k365-cat-muted); display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.k365-cat-hero__crumb a:hover { color: var(--k365-cat-ink); }
.k365-cat-hero__crumb .sep { opacity: 0.5; }
.k365-cat-hero__crumb .here { color: var(--k365-cat-ink); }
.k365-cat-hero__h1 { font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; color: var(--k365-cat-ink); margin: 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.k365-cat-hero__h1 .alt { color: var(--k365-cat-muted); font-weight: 400; font-size: 15px; letter-spacing: 0; }
.k365-cat-hero__metrics { display: flex; align-items: center; gap: 28px; flex-shrink: 0; }
.k365-cat-hero__metric { display: flex; flex-direction: column; align-items: flex-end; }
.k365-cat-hero__metric .v { font-size: 17px; font-weight: 800; color: var(--k365-cat-ink); line-height: 1.1; letter-spacing: -0.01em; white-space: nowrap; }
.k365-cat-hero__metric .v em { color: var(--k365-cat-red); font-style: normal; }
.k365-cat-hero__metric .k { font-size: 10px; font-weight: 700; color: var(--k365-cat-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 3px; }
.k365-cat-hero__div { width: 1px; height: 32px; background: var(--k365-cat-line); }

/* ===== Body shell + 2-column grid ===== */
.k365-cat-body { padding: 36px 0 64px; background: #fff; }
.k365-cat-grid { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }

/* ===== Sidebar ===== */
.k365-cat-side { font-size: 13px; }
.k365-cat-side__blk { padding: 22px 0; border-bottom: 1px solid var(--k365-cat-line); }
.k365-cat-side__blk:first-child { padding-top: 0; }
.k365-cat-side__h { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--k365-cat-ink); margin: 0 0 14px; }
.k365-cat-side__opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; }
.k365-cat-side__opt input { accent-color: var(--k365-cat-navy); width: 14px; height: 14px; }
.k365-cat-side__opt .name { color: var(--k365-cat-text); flex: 1; }
.k365-cat-side__opt .ct { font-size: 11px; color: var(--k365-cat-muted); }
.k365-cat-side__opt.is-checked .name { color: var(--k365-cat-ink); font-weight: 700; }

/* Price range */
.k365-cat-range { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.k365-cat-range input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--k365-cat-line); border-radius: 2px; font-family: inherit; font-size: 12px; }
/* old slider CSS removed — replaced by new block below */

/* Chip groups (kW, energy class) */
.k365-cat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.k365-cat-chip { font-size: 11px; padding: 6px 10px; border: 1px solid var(--k365-cat-line); cursor: pointer; background: #fff; color: var(--k365-cat-ink); }
.k365-cat-chip.is-on { background: var(--k365-cat-navy); color: #fff; border-color: var(--k365-cat-navy); }

/* Color swatches */
.k365-cat-sw-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.k365-cat-sw { aspect-ratio: 1/1; border-radius: 2px; cursor: pointer; position: relative; border: 1px solid var(--k365-cat-line); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 4px; }
.k365-cat-sw .lbl { font-size: 9px; color: rgba(255,255,255,0.95); font-weight: 700; letter-spacing: 0.06em; opacity: 0; transition: opacity .15s; }
.k365-cat-sw:hover .lbl, .k365-cat-sw.is-on .lbl { opacity: 1; }
.k365-cat-sw.is-on { outline: 2px solid var(--k365-cat-ink); outline-offset: 2px; }
.k365-cat-sw--white { background: #fff; border-color: var(--k365-cat-line); }
.k365-cat-sw--white .lbl { color: var(--k365-cat-ink); }
.k365-cat-sw--black { background: #111; }
.k365-cat-sw--silver { background: linear-gradient(135deg, #d6d8db 0%, #a9adb3 100%); }
.k365-cat-sw--beige { background: #c9b994; }
.k365-cat-sw--gold { background: linear-gradient(135deg, #d4b878 0%, #a88a4a 100%); }
.k365-cat-sw--wood { background: linear-gradient(135deg, #b89263 0%, #7a5a30 100%); }
.k365-cat-sw--matte { background: #2a2d33; }
.k365-cat-sw--bronze { background: linear-gradient(135deg, #8a6a3a 0%, #5c4220 100%); }

/* dB scale */
.k365-cat-db { display: flex; align-items: end; gap: 4px; height: 30px; margin-bottom: 12px; }
.k365-cat-db .bar { flex: 1; background: var(--k365-cat-line); border-radius: 1px; transition: background .15s; }
.k365-cat-db .bar.is-on { background: var(--k365-cat-navy); }
.k365-cat-db-legend { display: flex; justify-content: space-between; font-size: 10px; color: var(--k365-cat-muted); letter-spacing: 0.04em; }

/* Stock options with dot */
.k365-cat-stock-opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; }
.k365-cat-stock-opt input { accent-color: var(--k365-cat-navy); }
.k365-cat-stock-opt .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.k365-cat-stock-opt .dot.green { background: var(--k365-cat-green); box-shadow: 0 0 0 3px rgba(46,184,114,0.18); }
.k365-cat-stock-opt .dot.amber { background: var(--k365-cat-amber); box-shadow: 0 0 0 3px rgba(244,180,0,0.18); }
.k365-cat-stock-opt .dot.red { background: var(--k365-cat-red); box-shadow: 0 0 0 3px rgba(230,57,70,0.18); }
.k365-cat-stock-opt .name { flex: 1; color: var(--k365-cat-text); }
.k365-cat-stock-opt.is-checked .name { color: var(--k365-cat-ink); font-weight: 700; }
.k365-cat-stock-opt .ct { font-size: 11px; color: var(--k365-cat-muted); }

/* Clear filters button */
.k365-cat-clear-btn { width: 100%; margin-top: 18px; background: #fff; border: 1px solid var(--k365-cat-line); padding: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; color: var(--k365-cat-muted); font-family: inherit; }
.k365-cat-clear-btn:hover { color: var(--k365-cat-ink); border-color: var(--k365-cat-ink); }

/* "Pripravujeme" placeholder block — pre filtre ktoré ešte nemáme dáta */
.k365-cat-side__soon { opacity: 0.55; }
.k365-cat-side__soon .k365-cat-side__h::after { content: '· pripravujeme'; opacity: 0.7; font-weight: 600; letter-spacing: 0.06em; margin-left: 6px; }

/* ===== Toolbar ===== */
.k365-cat-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--k365-cat-line); margin-bottom: 24px; flex-wrap: wrap; }
.k365-cat-toolbar__count { font-size: 13px; color: var(--k365-cat-text); }
.k365-cat-toolbar__count strong { color: var(--k365-cat-ink); font-weight: 800; }
.k365-cat-toolbar__right { display: flex; align-items: center; gap: 14px; }
.k365-cat-toolbar select { font-family: inherit; font-size: 13px; padding: 10px 14px; border: 1px solid var(--k365-cat-line); background: #fff; color: var(--k365-cat-ink); cursor: pointer; }
.k365-cat-toolbar__view { display: inline-flex; gap: 4px; padding: 8px; border: 1px solid var(--k365-cat-line); }
.k365-cat-toolbar__view button { width: 28px; height: 28px; border: none; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--k365-cat-muted); }
.k365-cat-toolbar__view button.is-on { background: var(--k365-cat-ink); color: #fff; }
.k365-cat-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; flex-basis: 100%; }
.k365-cat-pill { font-size: 11px; font-weight: 600; padding: 5px 10px 5px 12px; background: var(--k365-cat-bg-cool); color: var(--k365-cat-navy); display: inline-flex; align-items: center; gap: 6px; border-radius: 2px; white-space: nowrap; }
.k365-cat-pill .x { cursor: pointer; opacity: 0.6; }
.k365-cat-pills__clear { font-size: 11px; font-weight: 700; color: var(--k365-cat-red); cursor: pointer; padding: 5px 8px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }

/* ===== Product grid + card ===== */
.k365-pcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.k365-pcard { background: #fff; border: 1px solid var(--k365-cat-line); display: flex; flex-direction: column; position: relative; transition: border-color .2s, box-shadow .2s, transform .2s; }
.k365-pcard:hover { border-color: var(--k365-cat-navy); box-shadow: 0 14px 32px rgba(15,15,31,0.08); transform: translateY(-2px); }

/* Photo area */
.k365-pcard__ph { position: relative; aspect-ratio: 4/3; background: linear-gradient(180deg, #f4f6f9 0%, #e7ecf2 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.k365-pcard__ph img { max-width: 75%; max-height: 75%; width: auto; height: auto; position: relative; z-index: 1; }

/* Placeholder AC unit (zobrazuje sa keď nie je obrázok) */
.k365-pcard__ac { position: absolute; left: 16%; right: 16%; top: 36%; height: 28%; background: linear-gradient(180deg, #ffffff 0%, #f3f5f8 100%); border-radius: 8px; box-shadow: 0 8px 24px rgba(15,15,31,0.10), inset 0 -1px 0 rgba(0,0,0,0.04); display: flex; flex-direction: column; justify-content: space-between; padding: 12% 10% 0; }
.k365-pcard__ac::before { content: ''; height: 3px; background: #cfd6df; border-radius: 2px; margin-top: auto; }
.k365-pcard__ac::after { content: ''; position: absolute; top: 22%; right: 10%; width: 6px; height: 6px; border-radius: 50%; background: var(--k365-cat-green); box-shadow: 0 0 0 2px rgba(46,184,114,0.18); }
.k365-pcard__floor { position: absolute; left: 24%; right: 24%; bottom: 18%; height: 6px; background: radial-gradient(ellipse at center, rgba(15,15,31,0.18) 0%, rgba(15,15,31,0) 70%); filter: blur(2px); }

/* Top-left badge stack */
.k365-pcard__badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 2; align-items: flex-start; }
.k365-pcard__badge { background: var(--k365-cat-red); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 9px; border-radius: 2px; }
.k365-pcard__badge--alt { background: var(--k365-cat-ink); }
.k365-pcard__badge--green { background: var(--k365-cat-green); }

/* Top-right quick actions */
.k365-pcard__qa { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.k365-pcard__qa button { width: 30px; height: 30px; background: #fff; border: 1px solid var(--k365-cat-line); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--k365-cat-ink); transition: background .15s, color .15s, border-color .15s; border-radius: 2px; padding: 0; }
.k365-pcard__qa button:hover { background: var(--k365-cat-navy); color: #fff; border-color: var(--k365-cat-navy); }
.k365-pcard__qa button.is-on { background: var(--k365-cat-red); color: #fff; border-color: var(--k365-cat-red); }
.k365-pcard__qa svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* Stock tag (bottom-left) */
.k365-pcard__stock { position: absolute; bottom: 12px; left: 12px; font-size: 11px; font-weight: 700; color: var(--k365-cat-ink); background: rgba(255,255,255,0.95); padding: 5px 10px; border-radius: 2px; display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0.04em; white-space: nowrap; z-index: 2; }
.k365-pcard__stock .dot { width: 7px; height: 7px; border-radius: 50%; }
.k365-pcard__stock--in .dot { background: var(--k365-cat-green); }
.k365-pcard__stock--low .dot { background: var(--k365-cat-amber); }
.k365-pcard__stock--out .dot { background: var(--k365-cat-red); }
.k365-pcard__stock--out { color: var(--k365-cat-red); }

/* Body */
.k365-pcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.k365-pcard__brand-row { display: flex; justify-content: space-between; align-items: center; }
.k365-pcard__brand { font-size: 11px; color: var(--k365-cat-muted); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; }
.k365-pcard__energy { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; color: #fff; background: var(--k365-cat-green); padding: 3px 8px; border-radius: 2px; letter-spacing: 0.04em; white-space: nowrap; }
.k365-pcard__energy--t1 { background: var(--k365-cat-energy-t1); }
.k365-pcard__energy--t2 { background: var(--k365-cat-energy-t2); }
.k365-pcard__energy--t3 { background: var(--k365-cat-amber); color: var(--k365-cat-ink); }

.k365-pcard__title { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--k365-cat-ink); margin: 8px 0 14px; min-height: 42px; }
.k365-pcard__title a { color: inherit; }
.k365-pcard__title a:hover { color: var(--k365-cat-navy); }

/* Spec row */
.k365-pcard__spec-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid var(--k365-cat-line-soft); border-bottom: 1px solid var(--k365-cat-line-soft); margin: 0 0 14px; }
.k365-pcard__spec .l { font-size: 10px; color: var(--k365-cat-muted); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.k365-pcard__spec .v { font-size: 14px; font-weight: 800; color: var(--k365-cat-ink); margin-top: 2px; }
.k365-pcard__spec .v small { font-weight: 600; color: var(--k365-cat-muted); font-size: 10px; margin-left: 1px; }

/* Feature chips */
.k365-pcard__feat-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; min-height: 24px; }
.k365-pcard__feat { font-size: 11px; font-weight: 700; color: var(--k365-cat-navy); background: var(--k365-cat-bg-cool); padding: 3px 9px; letter-spacing: 0.04em; border-radius: 2px; }
.k365-pcard__feat--wifi { background: #eaf3ff; color: #1857a8; }
.k365-pcard__feat--refr { background: #f5f0e8; color: #7a5a30; }

/* Color row */
.k365-pcard__color-row { display: flex; gap: 4px; align-items: center; margin-bottom: 14px; font-size: 11px; color: var(--k365-cat-muted); }
.k365-pcard__color-row .colors { display: flex; gap: 4px; }
.k365-pcard__color-row .c { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); }
.k365-pcard__color-row .c.white { background: #fff; }
.k365-pcard__color-row .c.black { background: #111; }
.k365-pcard__color-row .c.silver { background: #c5c7cb; }
.k365-pcard__color-row .c.matte { background: #2a2d33; }
.k365-pcard__color-row .c.gold { background: linear-gradient(135deg, #d4b878 0%, #a88a4a 100%); }
.k365-pcard__color-row .c.wood { background: linear-gradient(135deg, #b89263 0%, #7a5a30 100%); }
.k365-pcard__color-row .more { margin-left: 4px; }

/* Price + CTA */
.k365-pcard__price-cta { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; gap: 12px; }
.k365-pcard__price .strike { font-size: 13px; color: var(--k365-cat-muted); text-decoration: line-through; }
.k365-pcard__price .now { font-size: 24px; font-weight: 800; color: var(--k365-cat-ink); line-height: 1.1; display: block; }
.k365-pcard__price .now em { color: var(--k365-cat-red); font-style: normal; }
.k365-pcard__price .note { font-size: 11px; color: var(--k365-cat-muted); margin-top: 4px; }

.k365-pcard__buy { background: var(--k365-cat-ink); color: #fff; border: none; padding: 11px 16px; font-family: inherit; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; border-radius: 2px; transition: background .15s; }
.k365-pcard__buy:hover { background: var(--k365-cat-red); }
.k365-pcard__buy:disabled { background: var(--k365-cat-line); color: var(--k365-cat-muted); cursor: not-allowed; }
.k365-pcard__buy svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* Out of stock variant */
.k365-pcard.is-outofstock .k365-pcard__ph { opacity: 0.55; filter: grayscale(0.3); }

/* ===== Pagination ===== */
.k365-cat-pag { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.k365-cat-pag a, .k365-cat-pag span, .k365-cat-pag .b { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--k365-cat-ink); border: 1px solid var(--k365-cat-line); background: #fff; }
.k365-cat-pag .is-on, .k365-cat-pag .b.active { background: var(--k365-cat-navy); color: #fff; border-color: var(--k365-cat-navy); }
.k365-cat-pag .arrow { width: auto; padding: 0 14px; }
.k365-cat-pag-results { text-align: center; font-size: 12px; color: var(--k365-cat-muted); margin-top: 14px; }

/* ===== Knowledge Hub ===== */
.k365-hub { background: #fafaf7; border-top: 1px solid var(--k365-cat-line); padding: 72px 0; }
.k365-hub__head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 40px; }
.k365-hub__eyebrow { font-size: 11px; font-weight: 700; color: var(--k365-cat-navy); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; }
.k365-hub__h2 { font-size: 32px; font-weight: 800; color: var(--k365-cat-ink); letter-spacing: -0.015em; line-height: 1.15; }
.k365-hub__lede { font-size: 14px; line-height: 1.7; color: var(--k365-cat-text); margin: 14px 0 0; max-width: 520px; }

.k365-hub__tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--k365-cat-line); margin-bottom: 32px; flex-wrap: wrap; }
.k365-hub__tab { padding: 14px 0; font-size: 13px; font-weight: 700; color: var(--k365-cat-muted); letter-spacing: 0.04em; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; border-left: none; border-right: none; border-top: none; font-family: inherit; }
.k365-hub__tab.is-on { color: var(--k365-cat-ink); border-bottom-color: var(--k365-cat-red); }
.k365-hub__tab .ct { color: var(--k365-cat-muted); font-weight: 600; margin-left: 4px; }

.k365-hub__body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }

/* Sizing guide table */
.k365-hub__sizing { background: #fff; border: 1px solid var(--k365-cat-line); padding: 0; }
.k365-hub__sizing h3 { font-size: 14px; font-weight: 800; color: var(--k365-cat-ink); padding: 20px 24px; border-bottom: 1px solid var(--k365-cat-line); margin: 0; letter-spacing: 0.02em; }
.k365-hub__sizing table { width: 100%; border-collapse: collapse; }
.k365-hub__sizing th { text-align: left; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--k365-cat-muted); padding: 14px 24px; background: #fafaf7; border-bottom: 1px solid var(--k365-cat-line); }
.k365-hub__sizing td { font-size: 13px; padding: 14px 24px; border-bottom: 1px solid var(--k365-cat-line-soft); color: var(--k365-cat-text); }
.k365-hub__sizing tr:last-child td { border-bottom: none; }
.k365-hub__sizing .kw { font-weight: 800; color: var(--k365-cat-ink); font-variant-numeric: tabular-nums; }
.k365-hub__sizing .pick a { font-size: 11px; font-weight: 700; color: var(--k365-cat-navy); border-bottom: 1px solid var(--k365-cat-navy); }

/* Aside cards */
.k365-hub__aside { display: flex; flex-direction: column; gap: 18px; }
.k365-hub__card { background: #fff; border: 1px solid var(--k365-cat-line); padding: 24px; }
.k365-hub__card h4 { font-size: 13px; font-weight: 800; color: var(--k365-cat-ink); margin: 0 0 12px; letter-spacing: 0.02em; }
.k365-hub__card p { font-size: 13px; line-height: 1.65; color: var(--k365-cat-text); margin: 0 0 14px; }
.k365-hub__card .more { font-size: 11px; font-weight: 800; color: var(--k365-cat-navy); letter-spacing: 0.12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.k365-hub__card.dark { background: var(--k365-cat-navy-deep); color: rgba(255,255,255,0.85); }
.k365-hub__card.dark h4 { color: #fff; }
.k365-hub__card.dark p { color: rgba(255,255,255,0.75); }
.k365-hub__card.dark .more { color: #fff; }

.k365-hub__compare { font-size: 13px; }
.k365-hub__compare .item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--k365-cat-line-soft); gap: 14px; }
.k365-hub__compare .item:last-child { border-bottom: none; }
.k365-hub__compare .item .l { color: var(--k365-cat-text); }
.k365-hub__compare .item .v { font-weight: 700; color: var(--k365-cat-ink); text-align: right; }

.k365-hub__terms { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.k365-hub__term { background: #fff; border: 1px solid var(--k365-cat-line); padding: 16px 18px; }
.k365-hub__term .k { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--k365-cat-navy); }
.k365-hub__term .v { font-size: 13px; color: var(--k365-cat-text); margin-top: 6px; line-height: 1.55; }

/* Link rail */
.k365-hub__rail { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--k365-cat-line); }
.k365-hub__rail a { font-size: 12px; font-weight: 700; padding: 8px 14px; background: #fff; color: var(--k365-cat-navy); border: 1px solid var(--k365-cat-line); border-radius: 2px; }
.k365-hub__rail a:hover { background: var(--k365-cat-navy); color: #fff; border-color: var(--k365-cat-navy); }

/* Empty state */
.k365-cat-empty { padding: 60px 20px; text-align: center; color: var(--k365-cat-muted); font-size: 14px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .k365-cat-grid { grid-template-columns: 220px 1fr; gap: 24px; }
  .k365-pcard-grid { grid-template-columns: repeat(2, 1fr); }
  .k365-hub__body { grid-template-columns: 1fr; gap: 32px; }
  .k365-hub__head { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 768px) {
  .k365-cat-wrap { padding: 0 16px; }
  .k365-cat-hero .k365-cat-wrap { flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 18px; padding-bottom: 18px; }
  .k365-cat-hero__h1 { font-size: 22px; }
  .k365-cat-hero__metrics { gap: 18px; flex-wrap: wrap; }
  .k365-cat-hero__div { display: none; }
  .k365-cat-body { padding: 24px 0 48px; }
  .k365-cat-grid { grid-template-columns: 1fr; gap: 24px; }
  .k365-cat-side { order: 2; }
  .k365-cat-content { order: 1; }
  .k365-pcard-grid { grid-template-columns: 1fr; gap: 14px; }
  .k365-cat-toolbar__right { width: 100%; justify-content: space-between; }
  .k365-hub { padding: 48px 0; }
  .k365-hub__h2 { font-size: 24px; }
}

@media (max-width: 480px) {
  .k365-cat-hero__metric .v { font-size: 15px; }
  .k365-cat-hero__metric .k { font-size: 9px; }
  .k365-pcard__body { padding: 16px 16px 18px; }
  .k365-pcard__title { font-size: 15px; min-height: 0; }
  .k365-pcard__spec-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .k365-pcard__price .now { font-size: 20px; }
  .k365-pcard__buy { padding: 9px 12px; font-size: 10px; }
}

/* ============================================================
   v3 — OC native sidebar overrides (column_left)
   Existujúce moduly: category (treeview), filter, banner, special
   ============================================================ */

/* Bootstrap col-sm-3 wrapper nemá obmedzovať šírku (sme v k365-cat-grid) */
.k365-cat-side > aside,
.k365-cat-side #column-left {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  float: none !important;
  display: block !important;
}

/* .box wrapper → použiť ako blk */
.k365-cat-side .box {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--k365-cat-line);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
}
.k365-cat-side .box:first-of-type { padding-top: 0; }

.k365-cat-side .box-heading {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--k365-cat-ink);
  margin: 0 0 14px;
  padding: 0;
  background: none;
  border: none;
}
.k365-cat-side .box-content {
  padding: 0;
  background: none;
  border: none;
}

/* Category tree */
.k365-cat-side .box-category,
.k365-cat-side ul.box-category {
  list-style: none;
  padding: 0;
  margin: 0;
}
.k365-cat-side .box-category li {
  padding: 0;
  margin: 0;
  border: none;
  background: none;
}
.k365-cat-side .box-category li a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--k365-cat-text);
  border: none;
  background: none;
  text-decoration: none;
}
.k365-cat-side .box-category li a:hover { color: var(--k365-cat-navy); }
.k365-cat-side .box-category li a.active {
  color: var(--k365-cat-ink);
  font-weight: 700;
}
.k365-cat-side .box-category ul {
  list-style: none;
  padding-left: 12px;
  margin: 4px 0 8px;
  border-left: 1px solid var(--k365-cat-line-soft);
}
.k365-cat-side .box-category ul li a {
  font-size: 12px;
  padding: 4px 0 4px 10px;
}

/* Filter module */
.k365-cat-side .sidebarFilter .filterbox { padding: 0; }
.k365-cat-side .list-group-filter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.k365-cat-side .list-group-filter .list-group-item {
  padding: 0;
  margin: 0;
  border: none;
  background: none;
}
.k365-cat-side .list-group-filter .list-group-item.group-name {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--k365-cat-muted);
  margin-top: 6px;
  padding: 0;
  text-decoration: none;
  cursor: default;
  background: none;
}
.k365-cat-side .filterbox .checkbox { margin: 0; padding: 0; }
.k365-cat-side .filterbox .checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--k365-cat-text);
  padding: 5px 0;
  cursor: pointer;
  font-weight: 400;
  margin: 0;
}
.k365-cat-side .filterbox .checkbox input[type="checkbox"] {
  accent-color: var(--k365-cat-navy);
  width: 14px;
  height: 14px;
  margin: 0;
}
.k365-cat-side .filterbox .panel-footer {
  padding: 14px 0 0;
  background: none;
  border: none;
  text-align: left;
}
.k365-cat-side #button-filter {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--k365-cat-navy);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background .15s;
}
.k365-cat-side #button-filter:hover { background: var(--k365-cat-navy-deep); }

/* Banner / special carousel v sidebar */
.k365-cat-side .swiper-viewport,
.k365-cat-side .product-block,
.k365-cat-side .product-thumb {
  margin: 22px 0 0;
  padding: 0;
  background: none;
  border: none;
}
.k365-cat-side .swiper-viewport img,
.k365-cat-side .product-thumb img { max-width: 100%; height: auto; }

/* Sub-categories pills row (pod toolbar) */
.k365-cat-subcats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.k365-cat-subcats .k365-cat-chip {
  text-decoration: none;
  color: var(--k365-cat-ink);
  cursor: pointer;
}
.k365-cat-subcats .k365-cat-chip:hover {
  background: var(--k365-cat-navy);
  color: #fff;
  border-color: var(--k365-cat-navy);
}

/* === dB bar interactive states === */
.k365-cat .k365-cat-db .bar { cursor:pointer; border:0; padding:0; transition:background .15s, opacity .15s; }
.k365-cat .k365-cat-db .bar:hover { background:var(--k365-cat-navy); transform:scaleX(1.15) scaleY(1.05); box-shadow:0 2px 8px rgba(26,26,46,0.18); opacity:1; }
.k365-cat .k365-cat-db .bar.is-active { background:#1a1a2e !important; }

/* === k365-pcard navy override (ceny + zľava) === */
.k365-cat .k365-pcard__price .now,
.k365-cat .k365-pcard__price em { color: var(--k365-cat-navy) !important; }
.k365-cat .k365-pcard__badge { background: var(--k365-cat-navy) !important; color: #fff !important; }

/* === Hub head centered (after lede removal) === */
.k365-cat .k365-hub__head--center { display:block; text-align:center; max-width:820px; margin-left:auto; margin-right:auto; }
.k365-cat .k365-hub__head--center .k365-hub__h2 { margin: 0 auto; }

/* === k365 price slider (interactive) === */
.k365-cat .k365-cat-slider {
  position: relative;
  height: 24px;
  margin-top: 12px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.k365-cat .k365-cat-slider::before {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: #e8e8ee;
  border-radius: 2px;
}
.k365-cat .k365-cat-slider i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: var(--k365-cat-navy);
  border-radius: 2px;
  pointer-events: none;
}
.k365-cat .k365-cat-slider .h {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid var(--k365-cat-navy);
  border-radius: 50%;
  cursor: grab;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: box-shadow 0.15s;
}
.k365-cat .k365-cat-slider .h:hover { box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.k365-cat .k365-cat-slider .h.is-dragging { cursor: grabbing; box-shadow: 0 0 0 4px rgba(26,26,46,0.15); }

/* === k365 native dual-range slider === */
.k365-cat .k365-cat-slider2 {
  position: relative;
  height: 28px;
  margin: 14px 0 6px;
}
.k365-cat .k365-cat-rng-track {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: #e8e8ee;
  border-radius: 2px;
  pointer-events: none;
}
.k365-cat .k365-cat-rng-fill {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: var(--k365-cat-navy);
  border-radius: 2px;
  pointer-events: none;
}
.k365-cat .k365-cat-rng {
  position: absolute;
  left: 0; right: 0; top: 0;
  width: 100%;
  height: 28px;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
.k365-cat .k365-cat-rng::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--k365-cat-navy);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  position: relative;
  z-index: 3;
}
.k365-cat .k365-cat-rng::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--k365-cat-navy);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.k365-cat .k365-cat-rng::-webkit-slider-runnable-track { background: transparent; height: 28px; }
.k365-cat .k365-cat-rng::-moz-range-track { background: transparent; height: 28px; }

/* === Product card image — bigger === */
.k365-cat .k365-pcard__ph { aspect-ratio: 1 / 1; padding: 16px; }
.k365-cat .k365-pcard__ph img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* === Product card image — even bigger (v14 override) === */
.k365-cat .k365-pcard__ph { padding: 4px; }
.k365-cat .k365-pcard__ph img { max-width: 100%; max-height: 100%; }

/* === Product card image — maximum (v15) === */
.k365-cat .k365-pcard__ph { padding: 0; }
.k365-cat .k365-pcard__ph img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; }

/* === Product card image bg → white === */
.k365-cat .k365-pcard__ph { background: #fff; }

/* === Spec row 3-col (Chladivo removed) === */
.k365-cat .k365-pcard__spec-row { grid-template-columns: repeat(3, 1fr) !important; }

/* === Spec value — nowrap === */
.k365-cat .k365-pcard__spec .v { white-space: nowrap; }
.k365-cat .k365-pcard__spec-row { gap: 6px !important; }

/* === Spec — center align label + value === */
.k365-cat .k365-pcard__spec { text-align: center; }

/* === Energy badge — len posun nahor (v21) === */
.k365-cat .k365-pcard__energy { transform: translateY(-10px); }

/* === dB bar hover (v23) === */
.k365-cat .k365-cat-db .bar {
  background: #e8e8ee;
  border-radius: 2px 2px 0 0;
  transform-origin: bottom center;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.k365-cat .k365-cat-db .bar.is-active {
  background: var(--k365-cat-navy) !important;
  border-radius: 2px 2px 0 0;
}
.k365-cat .k365-cat-db .bar.is-active:hover {
  background: #2d2d44 !important;
}

/* === Sizing table — text wrapping fix (v25) === */
.k365-cat .k365-hub__sizing table { width: 100%; table-layout: fixed; }
.k365-cat .k365-hub__sizing th,
.k365-cat .k365-hub__sizing td { white-space: nowrap; }
.k365-cat .k365-hub__sizing td:nth-child(4) { overflow: hidden; text-overflow: ellipsis; }
.k365-cat .k365-hub__sizing td.pick a { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
/* Stĺpcové šírky: úzke pre prvé 3, široký pre 4. */
.k365-cat .k365-hub__sizing th:nth-child(1), .k365-cat .k365-hub__sizing td:nth-child(1) { width: 22%; }
.k365-cat .k365-hub__sizing th:nth-child(2), .k365-cat .k365-hub__sizing td:nth-child(2) { width: 16%; }
.k365-cat .k365-hub__sizing th:nth-child(3), .k365-cat .k365-hub__sizing td:nth-child(3) { width: 14%; }
.k365-cat .k365-hub__sizing th:nth-child(4), .k365-cat .k365-hub__sizing td:nth-child(4) { width: 48%; }

/* === CTA pod sizing tabuľkou (ľavý stĺpec) === */
.k365-cat .k365-hub__cta-below { margin-top: 18px; }

/* === s montážou od X € === */
.k365-cat .k365-pcard__install {
  display: block;
  font-size: 11px;
  color: var(--k365-cat-muted);
  margin-top: 2px;
}

/* === Feature chips + color tag na karte === */
.k365-cat .k365-pcard__feat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 8px 0;
  align-items: center;
}
.k365-cat .k365-pcard__feat {
  display: inline-block;
  padding: 3px 8px;
  background: #eef1f7;
  color: var(--k365-cat-navy);
  font: 700 10px/1.4 'Open Sans', sans-serif;
  border-radius: 3px;
  letter-spacing: 0.02em;
}
.k365-cat .k365-pcard__feat:first-child {
  background: #dde6f5;
}
.k365-cat .k365-pcard__color-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  font: 600 10px/1.4 'Open Sans', sans-serif;
  color: var(--k365-cat-muted);
}
.k365-cat .k365-pcard__sw {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #d0d0d8;
}

/* === Custom sort dropdown === */
.k365-cat .k365-sort-dd { position: relative; display: inline-block; }
.k365-cat .k365-sort-dd__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--k365-cat-line);
  padding: 8px 12px;
  font: 600 12px/1.4 'Open Sans', sans-serif;
  color: var(--k365-cat-ink);
  cursor: pointer;
  border-radius: 2px;
  min-width: 180px;
  justify-content: space-between;
  transition: border-color .15s;
}
.k365-cat .k365-sort-dd__btn:hover { border-color: var(--k365-cat-navy); }
.k365-cat .k365-sort-dd.is-open .k365-sort-dd__btn { border-color: var(--k365-cat-navy); box-shadow: 0 0 0 3px rgba(26,26,46,0.08); }
.k365-cat .k365-sort-dd__btn .chev { font-size: 10px; color: var(--k365-cat-muted); transition: transform .15s; }
.k365-cat .k365-sort-dd.is-open .k365-sort-dd__btn .chev { transform: rotate(180deg); }
.k365-cat .k365-sort-dd__menu {
  position: absolute; top: calc(100% + 4px); left: 0;
  list-style: none; padding: 4px 0; margin: 0;
  background: #fff;
  border: 1px solid var(--k365-cat-line);
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  min-width: 100%;
  display: none;
  z-index: 50;
}
.k365-cat .k365-sort-dd.is-open .k365-sort-dd__menu { display: block; }
.k365-cat .k365-sort-dd__menu li a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  font: 600 12px/1.4 'Open Sans', sans-serif;
  color: var(--k365-cat-ink);
  text-decoration: none;
  white-space: nowrap;
}
.k365-cat .k365-sort-dd__menu li a:hover { background: #f5f7fb; }
.k365-cat .k365-sort-dd__menu li.is-on a { background: var(--k365-cat-navy); color: #fff; }
.k365-cat .k365-sort-dd__menu li.is-on a:hover { background: #2d2d44; }
.k365-cat .k365-sort-dd__menu .chk { font-size: 11px; }

/* === Skry default breadcrumb wrapper (máme vlastný v hero) === */
.k365-cat .wrap-breadcrumb,
body:has(.k365-cat) .wrap-breadcrumb { display: none !important; }

/* === Swatch farby (v35) === */
.k365-cat .k365-cat-sw--white { background:#fff; border:1px solid #d4d4dc; }
.k365-cat .k365-cat-sw--gray { background:#b8bcc6; }
.k365-cat .k365-cat-sw--black { background:#1a1a1a; }
.k365-cat .k365-cat-sw--champagne { background:#d8c4a0; }
.k365-cat .k365-cat-sw--red { background:#c23a3a; }

/* === Hero — odsadenie od navu hore (v36) === */
.k365-cat .k365-cat-hero { padding-top: 24px; }

/* === Hero — H1 nižšie (v41) === */
.k365-cat .k365-cat-hero .k365-cat-wrap { align-items: flex-end; }
.k365-cat .k365-cat-hero__h1 { margin-top: 14px; margin-bottom: 0; }
.k365-cat .k365-cat-hero__metric { align-items: center; }

/* === Hero — metriky nižšie (v44) === */
.k365-cat .k365-cat-hero__metrics { margin-top: 36px; }

/* === Pagination cleanup (v46) === */
.k365-cat .k365-cat-pag .pagination {
  display: inline-flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.k365-cat .k365-cat-pag .pagination li {
  list-style: none;
}
.k365-cat .k365-cat-pag .pagination li a,
.k365-cat .k365-cat-pag .pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--k365-cat-line);
  background: #fff;
  color: var(--k365-cat-ink);
  font: 600 13px/1 'Open Sans', sans-serif;
  text-decoration: none;
  border-radius: 2px;
  transition: background .15s, border-color .15s, color .15s;
}
.k365-cat .k365-cat-pag .pagination li a:hover {
  border-color: var(--k365-cat-navy);
  color: var(--k365-cat-navy);
}
.k365-cat .k365-cat-pag .pagination li.active span,
.k365-cat .k365-cat-pag .pagination li.active a {
  background: var(--k365-cat-navy);
  color: #fff;
  border-color: var(--k365-cat-navy);
  cursor: default;
}

.k365-cat .k365-cat-pag-results {
  margin-top: 12px;
  font-size: 12px;
  color: var(--k365-cat-muted);
  text-align: center;
}
.k365-cat .k365-cat-pag {
  text-align: center;
  margin-top: 24px;
}

/* === Swatch is-on state === */
.k365-cat button.k365-cat-sw { padding: 0; }
.k365-cat button.k365-cat-sw.is-on { outline: 2px solid var(--k365-cat-navy); outline-offset: 2px; }

/* === Related links — 2 stĺpce s ikonami === */
.k365-cat .k365-hub__related { padding: 32px 0 64px; background: #fff; }
.k365-cat .k365-hub__related-h {
  font: 700 18px/1.3 'Open Sans', sans-serif;
  color: var(--k365-cat-ink);
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.k365-cat .k365-hub__related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 32px;
}
.k365-cat .k365-hub__rel-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  font: 500 14px/1.3 'Open Sans', sans-serif;
  color: var(--k365-cat-ink);
  text-decoration: none;
  border-radius: 4px;
  transition: background .15s, color .15s, padding-left .15s;
}
.k365-cat .k365-hub__rel-link .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f3f5fa;
  border-radius: 6px;
  color: var(--k365-cat-navy);
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.k365-cat .k365-hub__rel-link .lbl {
  flex: 1;
}
.k365-cat .k365-hub__rel-link .arr {
  font-size: 14px;
  color: var(--k365-cat-muted);
  transition: color .15s, transform .15s;
}
.k365-cat .k365-hub__rel-link:hover {
  background: #f9fafd;
  color: var(--k365-cat-navy);
}
.k365-cat .k365-hub__rel-link:hover .ico {
  background: var(--k365-cat-navy);
  color: #fff;
}
.k365-cat .k365-hub__rel-link:hover .arr {
  color: var(--k365-cat-navy);
  transform: translateX(3px);
}
@media (max-width: 768px) {
  .k365-cat .k365-hub__related-grid { grid-template-columns: 1fr; }
}

.k365-cat .k365-hub__rail { display: none; }

/* === Sizing disclaimer === */
.k365-cat .k365-hub__sizing-note {
  margin: 12px 0 0;
  padding: 10px 14px;
  background: #f7f8fb;
  border-left: 3px solid var(--k365-cat-line);
  font: 400 12px/1.5 'Open Sans', sans-serif;
  color: var(--k365-cat-muted);
  border-radius: 0 4px 4px 0;
}

/* === MM Sub-kategórie ako Značka filter === */
.k365-cat .k365-mm-subcat-link {
  cursor: pointer;
  text-decoration: none;
}
.k365-cat .k365-mm-subcat-link .name {
  color: var(--k365-cat-ink);
  transition: color .15s;
}
.k365-cat .k365-mm-subcat-link:hover .name {
  color: var(--k365-cat-navy);
}


/* === MM Hub: prehľadnejší layout === */
.k365-cat .k365-hub__sizing h3 {
  /* používa základný styling z .k365-hub__sizing h3 (padding 20px 24px) */
}

/* FAQ accordion */
.k365-cat .k365-mm-faq {
  display: flex;
  flex-direction: column;
}
.k365-cat .k365-mm-faq details {
  border-bottom: 1px solid var(--k365-cat-line);
  padding: 0;
  transition: background .15s;
}
.k365-cat .k365-mm-faq details:last-child {
  border-bottom: 0;
}
.k365-cat .k365-mm-faq details[open] {
  background: #fafafa;
}
.k365-cat .k365-mm-faq summary {
  cursor: pointer;
  font: 600 14px/1.4 'Open Sans', sans-serif;
  color: var(--k365-cat-ink);
  list-style: none;
  position: relative;
  padding: 18px 56px 18px 24px;
  user-select: none;
  transition: color .15s;
}
.k365-cat .k365-mm-faq summary:hover {
  color: var(--k365-cat-navy);
}
.k365-cat .k365-mm-faq summary::-webkit-details-marker { display: none; }
.k365-cat .k365-mm-faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 400;
  color: var(--k365-cat-muted);
  border: 1px solid var(--k365-cat-line);
  border-radius: 50%;
  transition: all .15s;
}
.k365-cat .k365-mm-faq details[open] summary::after {
  content: "−";
  background: var(--k365-cat-navy);
  border-color: var(--k365-cat-navy);
  color: #fff;
}
.k365-cat .k365-mm-faq p {
  margin: 0;
  padding: 0 24px 20px;
  font: 400 13px/1.65 'Open Sans', sans-serif;
  color: var(--k365-cat-muted);
}

/* Viac priestoru medzi blokmi v ľavom stĺpci */
.k365-cat .k365-hub__col > .k365-hub__sizing {
  margin-bottom: 28px;
}
.k365-cat .k365-hub__col > .k365-hub__card.k365-hub__cta-below {
  margin-top: 0;
}

/* Viac priestoru medzi kartami v pravom stĺpci */
.k365-cat .k365-hub__aside .k365-hub__card + .k365-hub__card {
  margin-top: 24px;
}

/* Slovník pojmov: 2x2 grid s lepším spacing */
.k365-cat .k365-hub__terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.k365-cat .k365-hub__term {
  padding: 12px;
  background: #fafafa;
  border-radius: 6px;
}
.k365-cat .k365-hub__term .k {
  font: 700 12px/1.3 'Open Sans', sans-serif;
  color: var(--k365-cat-navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.k365-cat .k365-hub__term .v {
  font: 400 12px/1.5 'Open Sans', sans-serif;
  color: var(--k365-cat-muted);
}

@media (max-width: 600px) {
  .k365-cat .k365-hub__terms { grid-template-columns: 1fr; }
}

/* === Empty state (filter vráti 0) === */
.k365-cat-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  border: 1px dashed var(--k365-cat-line);
  border-radius: 8px;
  background: #fafafa;
  margin: 20px 0;
}
.k365-cat-empty-state__icon {
  color: var(--k365-cat-muted);
  margin-bottom: 20px;
  opacity: 0.6;
}
.k365-cat-empty-state__h {
  font: 700 18px/1.3 'Open Sans', sans-serif;
  color: var(--k365-cat-ink);
  margin: 0 0 8px;
}
.k365-cat-empty-state__p {
  font: 400 14px/1.5 'Open Sans', sans-serif;
  color: var(--k365-cat-muted);
  margin: 0 0 24px;
}
.k365-cat-empty-state__btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--k365-cat-navy);
  color: #fff;
  font: 700 13px/1 'Open Sans', sans-serif;
  text-decoration: none;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: background .15s;
}
.k365-cat-empty-state__btn:hover {
  background: #0a1738;
  color: #fff;
}



/* === SEO intro: minimalistický side-accent design === */
.k365-cat-seo {
  background: #fff;
  padding: 0;
  border: none;
}
.k365-cat-seo .k365-cat-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 8px;
}
.k365-cat-seo--collapsible .k365-cat-seo__inner {
  position: relative;
  padding: 6px 0 6px 20px;
  max-height: 56px;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  border-left: 3px solid #1a2138;
}
.k365-cat-seo--collapsible .k365-cat-seo__inner.is-expanded {
  max-height: 1200px;
}
.k365-cat-seo__inner p {
  font: 400 13.5px/1.7 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #5b6478;
  margin: 0 0 12px;
  max-width: none;
  letter-spacing: 0;
}
.k365-cat-seo__inner p:last-child { margin-bottom: 0; }
.k365-cat-seo__inner strong {
  font-weight: 600;
  color: #1a2138;
}
.k365-cat-seo__inner a {
  color: #1a2138;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted rgba(26, 33, 56, 0.4);
  padding-bottom: 1px;
  transition: border-color .15s, color .15s;
}
.k365-cat-seo__inner a:hover {
  color: #c8102e;
  border-bottom-color: #c8102e;
  border-bottom-style: solid;
}

/* Fadeout */
.k365-cat-seo--collapsible .k365-cat-seo__inner:not(.is-expanded)::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 0;
  bottom: 0;
  height: 30px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 90%);
  pointer-events: none;
}

/* Toggle */
.k365-cat-seo__toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  color: #5b6478;
  font: 500 12px/1 'Helvetica Neue', Helvetica, Arial, sans-serif;
  cursor: pointer;
  padding: 10px 0 4px 20px;
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color .15s;
}
.k365-cat-seo__toggle::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
  margin-left: 4px;
}
.k365-cat-seo__toggle[aria-expanded="true"]::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.k365-cat-seo__toggle:hover { color: #1a2138; }
.k365-cat-seo__toggle-less { display: none; }
.k365-cat-seo__toggle[aria-expanded="true"] .k365-cat-seo__toggle-more { display: none; }
.k365-cat-seo__toggle[aria-expanded="true"] .k365-cat-seo__toggle-less { display: inline; }

@media (max-width: 720px) {
  .k365-cat-seo .k365-cat-wrap { padding: 20px 12px 4px; }
  .k365-cat-seo--collapsible .k365-cat-seo__inner { padding-left: 14px; max-height: 64px; }
  .k365-cat-seo__inner p { font-size: 12.5px; line-height: 1.6; }
  .k365-cat-seo__toggle { padding-left: 14px; }
}
