/* ═══════════════════════════════════════════════════════════════════════════
   Zubac.sk: vlastný vzhľad. Námety zo sveta zubáča: hlboká voda, sonar,
   centimetrová mierka (min. miera 50 cm), signálna oranžová jigovej hlavy
   a chartreuse gumy. Bez gradientov, bez pilulkových tvarov.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Premenné ────────────────────────────────────────────────────────── */
:root {
  --ink: #10252b;
  --ink-2: #1c3a43;
  --water: #1f5560;
  --paper: #eef1ed;
  --card: #ffffff;
  --tint: #f6f8f5;
  --line: #cdd6d1;
  --line-2: #e0e6e2;
  --text: #17262b;
  --muted: #5a6a6f;
  --fire: #d9480f;
  --fire-dark: #b53a08;
  --chart: #c6e03a;
  --chart-dark: #9db81e;
  --ok: #2b7a4b;
  --warn: #b7791f;
  --radius: 3px;
  --hdr: 64px;
  --font-head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --shadow: 0 1px 0 rgba(16, 37, 43, .06), 0 8px 24px rgba(16, 37, 43, .08);
}

/* ── 2. Reset a základ ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--water); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fire); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: .01em; color: var(--ink); margin: 0 0 .5em; text-transform: uppercase; }
h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
button { font: inherit; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--fire); outline-offset: 2px; }
.main-content { min-height: 60vh; }
::selection { background: var(--chart); color: var(--ink); }

/* ── 3. Tlačidlá ────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border: 2px solid transparent; border-radius: var(--radius); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; line-height: 1.1; }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--water); border-color: var(--water); color: #fff; }
.btn-accent { background: var(--fire); color: #fff; border-color: var(--fire); }
.btn-accent:hover { background: var(--fire-dark); border-color: var(--fire-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--line-2); color: var(--ink); }
.btn-sm { padding: 7px 14px; font-size: .95rem; }
.btn-lg { padding: 14px 28px; font-size: 1.15rem; }
.btn-xl { padding: 16px 30px; font-size: 1.25rem; }
.btn-block { display: flex; width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--water); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }

/* ── 4. Horný pruh a hlavička ───────────────────────────────────────────── */
.topbar { display: block; background: var(--ink); color: #dfe8e3; text-decoration: none; font-size: .88rem; }
.topbar:hover { color: #fff; }
.topbar-inner { display: flex; align-items: center; gap: 12px; padding-top: 7px; padding-bottom: 7px; white-space: nowrap; overflow: hidden; }
.topbar-inner strong { color: var(--chart); text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-head); font-size: 1rem; }
.topbar-ruler { flex: 0 0 38px; height: 8px; background: repeating-linear-gradient(90deg, var(--chart) 0 1px, transparent 1px 5px); }
.site-header { position: sticky; top: 0; z-index: 900; background: var(--paper); border-bottom: 2px solid var(--ink); }
.header-inner { display: flex; align-items: center; gap: 18px; height: var(--hdr); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; letter-spacing: .01em; line-height: 1; }
.logo-tld { color: var(--fire); font-weight: 600; }
.main-nav { flex: 1; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 9px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav-link:hover, .nav-link.is-active { color: var(--ink); border-bottom-color: var(--fire); }
.nav-link-quiz { background: var(--chart); border-radius: var(--radius); padding: 7px 12px; margin-left: 6px; border-bottom: 0; }
.nav-link-quiz:hover { background: var(--ink); color: #fff; border-bottom: 0; }
.nav-arrow { font-size: .7rem; }
.has-dropdown { position: relative; }
.nav-dropdown { position: absolute; top: 100%; left: 0; min-width: 250px; padding-top: 6px; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s; z-index: 950; }
.has-dropdown:hover > .nav-dropdown, .has-dropdown:focus-within > .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown-inner { background: #fff; border: 2px solid var(--ink); box-shadow: var(--shadow); padding: 6px; }
.dropdown-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 12px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.dropdown-item:hover { background: var(--chart); color: var(--ink); }
.dropdown-count { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.dropdown-all { border-top: 1px solid var(--line); margin-top: 4px; font-weight: 600; }
.dropdown-item-icon { justify-content: flex-start; }
.nav-favourites { position: relative; }
.nav-fav-label { display: none; }
.nav-fav-count { min-width: 18px; height: 18px; padding: 0 5px; background: var(--fire); color: #fff; font-size: .72rem; line-height: 18px; text-align: center; border-radius: 9px; font-family: var(--font); }
.header-search { flex: 0 1 200px; min-width: 150px; }
.search-form-header { position: relative; display: flex; }
.search-input-header { width: 100%; padding: 9px 40px 9px 12px; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; font: inherit; font-size: .92rem; color: var(--text); }
.search-input-header::placeholder { color: var(--muted); }
.search-btn { position: absolute; right: 0; top: 0; bottom: 0; width: 38px; border: 0; background: none; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hamburger { display: none; margin-left: auto; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: var(--radius); background: none; cursor: pointer; padding: 0; position: relative; }
.hamburger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.hamburger span:nth-child(1) { top: 13px; } .hamburger span:nth-child(2) { top: 20px; } .hamburger span:nth-child(3) { top: 27px; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.breadcrumb-bar { border-bottom: 1px solid var(--line); background: var(--tint); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; padding: 9px 0; font-size: .85rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--fire); }
.bc-sep { color: var(--line); }

/* ── 5. Úvod (hero) ─────────────────────────────────────────────────────── */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-contours { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--chart); opacity: .13; pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero-kicker { display: inline-block; margin: 0 0 18px; padding-bottom: 7px; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--chart); background: repeating-linear-gradient(90deg, var(--chart) 0 1px, transparent 1px 8px) bottom/100% 6px no-repeat; }
.hero-title { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: .95; margin-bottom: 20px; }
.hero-subtitle { max-width: 620px; font-size: 1.12rem; color: #c9d6d0; margin-bottom: 28px; }
.hero-search { display: flex; max-width: 600px; border: 2px solid #fff; background: #fff; }
.hero-search input { flex: 1; min-width: 0; padding: 14px 16px; border: 0; font: inherit; font-size: 1rem; color: var(--text); background: #fff; }
.hero-search .btn { border-radius: 0; }
.hero-content { min-width: 0; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-chip { padding: 7px 13px; border: 1px solid rgba(255, 255, 255, .45); color: #fff; text-decoration: none; font-size: .92rem; border-radius: var(--radius); }
.hero-chip:hover { background: var(--chart); border-color: var(--chart); color: var(--ink); }
.hero-rules { background: var(--paper); color: var(--ink); padding: 24px 24px 22px; border-radius: var(--radius); border-left: 8px solid var(--chart); }
.hero-rules-title { margin: 0 0 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; color: var(--water); }
.hero-rules dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 16px; }
.hero-rules dt { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hero-rules dd { margin: 2px 0 0; font-family: var(--font-head); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--ink); white-space: nowrap; }
.ruler-50 { position: relative; display: flex; justify-content: space-between; height: 38px; margin-bottom: 14px; padding-top: 18px; font-size: .72rem; color: var(--muted); background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 6px) top/100% 7px no-repeat, repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 30px) top/100% 13px no-repeat; border-top: 1px solid var(--ink); }
.hero-rules-note { font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.hero-rules-link { font-weight: 600; }

/* ── 6. Sekcie ──────────────────────────────────────────────────────────── */
.section { padding: 52px 0; }
.section-start { background: var(--tint); border-bottom: 1px solid var(--line); }
.section-techniques { background: var(--ink); color: #fff; }
.section-techniques .section-title { color: #fff; } .section-techniques .section-eyebrow { color: var(--chart); }
.section-techniques .section-more { color: var(--chart); }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; padding-bottom: 14px; background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 8px) bottom/100% 5px no-repeat, repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 40px) bottom/100% 10px no-repeat; color: var(--ink); }
.section-techniques .section-header { color: rgba(255, 255, 255, .55); }
.section-title { margin: 0; color: var(--ink); }
.section-eyebrow { margin: 0 0 4px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fire); }
.section-more { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--water); }
.section-more:hover { color: var(--fire); }
.cats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cat-tile { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.cat-tile:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.cat-tile-icon { grid-row: span 2; color: var(--water); }
.cat-tile-name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; line-height: 1.1; }
.cat-tile-count { font-size: .84rem; color: var(--muted); }
.tech-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tech-tile { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: start; padding: 20px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius); color: #fff; text-decoration: none; transition: background .15s, border-color .15s; }
.tech-tile:hover { background: var(--ink-2); border-color: var(--chart); color: #fff; }
.tech-tile-icon { color: var(--chart); }
.tech-tile-body strong { display: block; font-family: var(--font-head); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; }
.tech-tile-body span { display: block; font-size: .9rem; color: #b7c6bf; margin-top: 4px; }
.tech-tile-count { font-family: var(--font-head); font-size: 1.4rem; color: var(--chart); }
.ai-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 36px; box-shadow: 8px 8px 0 var(--chart); }
.ai-banner-text h2 { margin-bottom: 10px; }
.ai-banner-demo { display: flex; flex-direction: column; gap: 10px; }
.brand-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-pill { padding: 7px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: .92rem; }
.brand-pill:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section-seo { background: var(--tint); border-top: 1px solid var(--line); }

/* ── 7. Produktové karty ────────────────────────────────────────────────── */
.product-grid { display: grid; gap: 16px; }
.product-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.product-card:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.product-card-img-wrap { position: relative; aspect-ratio: 1 / 1; background: var(--tint); border-bottom: 1px solid var(--line-2); }
.product-card-img { width: 100%; height: 100%; object-fit: contain; padding: 12px; mix-blend-mode: multiply; }
.favourite-btn, .compare-btn { position: absolute; z-index: 2; top: 8px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); cursor: pointer; padding: 0; }
.favourite-btn { right: 8px; } .compare-btn { right: 48px; }
.favourite-btn:hover, .compare-btn:hover { color: var(--ink); border-color: var(--ink); }
.favourite-btn.is-favourite { color: var(--fire); border-color: var(--fire); }
.favourite-btn.is-favourite svg { fill: currentColor; }
.compare-btn.is-compared { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge { position: absolute; left: 8px; z-index: 1; padding: 3px 8px; font-family: var(--font-head); font-weight: 700; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; border-radius: 2px; background: var(--ink); color: #fff; }
.badge-zubac { top: 8px; background: var(--chart); color: var(--ink); }
.badge-variants { bottom: 8px; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.badge-order { bottom: 8px; left: auto; right: 8px; background: #fff; color: var(--warn); border: 1px solid var(--line); }
.product-card-body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; gap: 4px; }
.product-card-brand { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.product-card-name { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.9em; }
.product-card-name:hover { color: var(--fire); }
.product-card-spec { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.price-current { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.btn-buy { display: inline-flex; align-items: center; padding: 8px 12px; background: var(--ink); color: #fff; border-radius: var(--radius); font-family: var(--font-head); font-weight: 700; font-size: .98rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.btn-buy:hover { background: var(--fire); color: #fff; }

/* ── 8. Stránka kategórie: filtre, záložky, výpis ───────────────────────── */
.category-page { padding: 28px 0 56px; }
.category-heading { display: flex; gap: 16px; align-items: flex-start; }
.category-icon { color: var(--water); padding-top: 6px; }
.page-title { margin: 0 0 8px; }
.page-subtitle { max-width: 760px; color: var(--muted); font-size: 1.05rem; margin-bottom: 18px; }
.subcat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.subcat-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: .92rem; }
.subcat-chip:hover, .subcat-chip.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.subcat-chip-count { font-size: .76rem; opacity: .65; font-variant-numeric: tabular-nums; }
.catalog-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: calc(var(--hdr) + 16px); max-height: calc(100vh - var(--hdr) - 32px); overflow-y: auto; scrollbar-width: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.filters::-webkit-scrollbar, .facet-list::-webkit-scrollbar, .sort-tabs::-webkit-scrollbar, .hero-chips::-webkit-scrollbar { display: none; }
.filters-head { display: none; }
.facet { border-bottom: 1px solid var(--line-2); }
.facet summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.facet summary::-webkit-details-marker { display: none; }
.facet summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.facet[open] summary::after { content: '–'; }
.facet-n { margin-left: 8px; margin-right: auto; padding: 1px 7px; background: var(--chart); color: var(--ink); font-size: .8rem; border-radius: 2px; }
.facet-body { padding: 0 16px 14px; }
.facet-search { width: 100%; margin-bottom: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: .88rem; }
.facet-list { display: flex; flex-direction: column; gap: 2px; }
.facet-list.is-long { max-height: 240px; overflow-y: auto; scrollbar-width: none; }
.facet-opt { display: flex; align-items: center; gap: 9px; padding: 5px 2px; cursor: pointer; font-size: .92rem; }
.facet-opt input, .facet-switch input { width: 17px; height: 17px; accent-color: var(--ink); flex-shrink: 0; margin: 0; }
.facet-opt-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.facet-opt-count { margin-left: auto; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.facet-switch { display: flex; align-items: center; gap: 9px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); cursor: pointer; font-size: .92rem; font-weight: 500; }
.facet-switch span:first-of-type { flex: 1; }
.filter-price-row { display: flex; align-items: center; gap: 8px; }
.filter-price-row input { width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.filter-pop-hint { margin: 8px 0 0; font-size: .8rem; color: var(--muted); }
.filters-foot { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.filter-clear { text-align: center; font-size: .88rem; color: var(--muted); }
.filter-strip { display: none; }
.filters-backdrop { display: none; }
.sort-tabs { display: flex; align-items: flex-end; gap: 0; margin-bottom: 14px; border-bottom: 2px solid var(--ink); overflow-x: auto; scrollbar-width: none; }
.sort-tab { flex: none; padding: 10px 16px; margin-bottom: -2px; border-bottom: 4px solid transparent; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); text-decoration: none; white-space: nowrap; }
.sort-tab:hover { color: var(--ink); }
.sort-tab.is-active { color: var(--ink); border-bottom-color: var(--fire); }
.sort-count { margin-left: auto; padding: 0 0 10px 16px; font-size: .88rem; color: var(--muted); white-space: nowrap; }
.active-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-tag { padding: 5px 10px; background: var(--chart); color: var(--ink); border-radius: var(--radius); font-size: .86rem; font-weight: 600; text-decoration: none; }
.active-tag:hover { background: var(--ink); color: #fff; }
.active-tags-clear { padding: 5px 4px; font-size: .86rem; color: var(--muted); }
.load-more-wrap { text-align: center; margin: 30px 0 6px; }
.load-more-btn { min-width: 240px; }
.load-more-msg { margin: 10px 0 0; color: var(--warn); font-size: .9rem; }
.pagination-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 28px 0 0; }
.page-link, .page-dots { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; border-radius: var(--radius); }
.page-link:hover { border-color: var(--ink); } .page-link.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-dots { border: 0; background: none; }
.empty-state { padding: 56px 20px; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-icon { display: inline-block; color: var(--water); margin-bottom: 8px; }
.category-seo { margin-top: 44px; }

/* ── 9. Detail produktu ─────────────────────────────────────────────────── */
.product-detail { padding: 28px 0 56px; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.product-detail-img-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.product-detail-img { width: 100%; height: 100%; object-fit: contain; padding: 24px; mix-blend-mode: multiply; }
.product-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.product-thumb { flex: 0 0 72px; height: 72px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-thumb.is-active, .product-thumb:hover { border-color: var(--ink); }
.product-detail-brand { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.product-detail-name { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 4px 0 14px; }
.product-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0; margin: 0 0 18px; padding: 0; list-style: none; border: 1px solid var(--line); background: #fff; }
.product-specs li { padding: 10px 14px; border-right: 1px solid var(--line-2); }
.product-specs li:last-child { border-right: 0; }
.product-specs span { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.product-specs strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); }
.product-detail-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.price-current-lg { font-family: var(--font-head); font-weight: 700; font-size: 2.8rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-range { color: var(--muted); font-size: .9rem; }
.product-availability { font-size: .92rem; margin-bottom: 18px; font-weight: 600; }
.product-availability.in-stock { color: var(--ok); } .product-availability.on-order { color: var(--warn); }
.product-availability-note { font-weight: 400; color: var(--muted); }
.product-cta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.btn-buy-detail { flex: 1; min-width: 220px; }
.btn-icon-detail { position: static; width: 52px; height: 52px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-size: .84rem; text-decoration: none; }
.tag:hover { background: var(--ink); color: #fff; }
.product-ai-ask { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--water); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.product-section-title { margin: 44px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.table-scroll { overflow-x: auto; }
.variants-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.variants-table th, .variants-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: .92rem; }
.variants-table th { background: var(--tint); font-family: var(--font-head); letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }
.dot-ok { color: var(--ok); font-weight: 600; } .dot-order { color: var(--warn); }
.product-columns { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.params-list { display: grid; grid-template-columns: auto 1fr; margin: 0; background: #fff; border: 1px solid var(--line); }
.params-list dt, .params-list dd { margin: 0; padding: 9px 14px; border-bottom: 1px solid var(--line-2); font-size: .9rem; }
.params-list dt { color: var(--muted); } .params-list dd { font-weight: 500; }

/* ── 10. Prose (články, popisy) ─────────────────────────────────────────── */
.prose { font-size: 1.05rem; line-height: 1.7; }
.prose h2 { margin-top: 1.8em; } .prose h3 { margin-top: 1.5em; }
.prose h2, .prose h3 { text-transform: none; font-size: 1.7rem; }
.prose h3 { font-size: 1.35rem; }
.prose p, .prose ul, .prose ol { max-width: 760px; }
.prose table { border-collapse: collapse; width: 100%; max-width: 760px; margin: 1.2em 0; background: #fff; }
.prose th, .prose td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; font-size: .95rem; }
.prose th { background: var(--tint); }
.prose blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 6px solid var(--chart); background: #fff; }
.product-desc-content { font-size: .98rem; }

/* ── 11. Poradňa ────────────────────────────────────────────────────────── */
.blog-page, .article-page { padding: 32px 0 56px; }
.blog-sections { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.blog-section-tab { padding: 7px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: .92rem; }
.blog-section-tab span { opacity: .6; margin-left: 4px; }
.blog-section-tab:hover, .blog-section-tab.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.blog-grid, .blog-home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blog-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-home-grid .blog-card-large { grid-row: auto; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s; }
.blog-card:hover { border-color: var(--ink); }
.blog-card-large { grid-row: span 2; }
.blog-card-img-link { display: block; }
.blog-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; padding: 10px; background: var(--tint); border-bottom: 1px solid var(--line-2); }
.blog-card-img-placeholder { display: flex; align-items: center; justify-content: center; color: var(--water); }
.blog-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.blog-card-section { font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fire); }
.blog-card-title { margin: 0; font-size: 1.35rem; text-transform: none; }
.blog-card-title a { color: var(--ink); text-decoration: none; } .blog-card-title a:hover { color: var(--fire); }
.blog-card-excerpt { margin: 0; font-size: .92rem; color: var(--muted); }
.blog-card-meta { margin-top: auto; font-size: .8rem; color: var(--muted); }
.article-container { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; align-items: start; }
.article-container:not(:has(.article-sidebar)) { grid-template-columns: minmax(0, 820px); }
.article-section { font-family: var(--font-head); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--fire); text-decoration: none; }
.article-title { text-transform: none; margin: 6px 0 10px; }
.article-meta { color: var(--muted); font-size: .88rem; }
.article-featured-img { margin: 0 0 24px; } .article-hero-img { width: 100%; border-radius: var(--radius); }
.geo-summary { background: #fff; border: 1px solid var(--line); border-left: 8px solid var(--chart); padding: 18px 22px; margin: 0 0 26px; }
.geo-summary-label { margin: 0 0 6px; font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--water); }
.geo-summary-answer { margin: 0 0 8px; font-size: 1.08rem; font-weight: 500; }
.geo-summary-facts { margin: 0; font-size: .95rem; }
.geo-faq { margin-top: 36px; }
.geo-faq-title { text-transform: none; }
.geo-faq-item { background: #fff; border: 1px solid var(--line); margin-bottom: 8px; }
.geo-faq-item summary { padding: 13px 16px; cursor: pointer; font-weight: 600; }
.geo-faq-item p { margin: 0; padding: 0 16px 14px; color: #33454a; }
.article-rating-section { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 34px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-rating-widget { display: flex; align-items: center; gap: 10px; }
.rating-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; color: var(--ink); }
.rating-btn:hover, .rating-btn.active { background: var(--ink); color: #fff; }
.share-btn { font-size: .9rem; }
.article-ai-box { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); }
.article-ai-box p { margin: 0; font-size: .92rem; color: var(--muted); }
.article-ai-box div { flex: 1; }
.sidebar-widget { position: sticky; top: calc(var(--hdr) + 16px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.sidebar-title { font-size: 1.15rem; }
.sidebar-product-card { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.sidebar-product-img img { width: 64px; height: 64px; object-fit: contain; }
.sidebar-product-name { font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.3; }
.sidebar-product-spec { display: block; font-size: .78rem; color: var(--muted); }
.sidebar-product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.sidebar-product-price { font-family: var(--font-head); font-size: 1.2rem; }
.article-related { background: var(--tint); border-top: 1px solid var(--line); }

/* ── 12. Vyhľadávanie, 404, kvíz ────────────────────────────────────────── */
.search-page { padding: 32px 0 56px; }
.search-title { text-transform: none; }
.search-title em { font-style: normal; color: var(--fire); }
.search-form-big { display: flex; max-width: 640px; margin: 14px 0; border: 2px solid var(--ink); background: #fff; }
.search-input-big { flex: 1; min-width: 0; padding: 13px 16px; border: 0; font: inherit; }
.search-submit { border-radius: 0; }
.result-count { color: var(--muted); }
.error-page { padding: 70px 20px; text-align: center; }
.error-icon { color: var(--water); display: flex; justify-content: center; }
.error-number { font-family: var(--font-head); font-weight: 700; font-size: 6.5rem; line-height: 1; color: var(--ink); }
.error-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 22px 0; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tag-cloud a { padding: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-size: .9rem; }
.quiz-page { padding: 40px 0 70px; }
.quiz-container { max-width: 980px; }
.quiz-intro { text-align: center; padding: 40px 0; }
.quiz-intro-icon { display: inline-block; color: var(--water); margin-bottom: 8px; }
.quiz-alt { margin-top: 18px; color: var(--muted); font-size: .92rem; }
.quiz-progress { height: 6px; background: var(--line-2); margin-bottom: 16px; } .quiz-progress span { display: block; height: 100%; background: var(--fire); }
.quiz-step { margin: 0; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.quiz-q { margin: 6px 0 22px; }
.quiz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.quiz-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; color: var(--ink); transition: border-color .15s, transform .15s; }
.quiz-opt:hover { border-color: var(--ink); transform: translateY(-2px); }
.quiz-opt.is-selected { border-color: var(--fire); background: #fff7f2; } .quiz-opt.is-fade { opacity: .4; }
.quiz-opt-icon { color: var(--water); margin-bottom: 6px; }
.quiz-opt strong { font-family: var(--font-head); font-size: 1.25rem; text-transform: uppercase; }
.quiz-opt span:last-child { font-size: .88rem; color: var(--muted); }
.quiz-loading { text-align: center; padding: 60px 0; }
.infinite-spinner { width: 36px; height: 36px; margin: 0 auto 14px; border: 3px solid var(--line); border-top-color: var(--fire); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

/* ── 13. Obľúbené, porovnanie ───────────────────────────────────────────── */
.wishlist-page, .compare-page, .brands-page, .contact-page, .legal-page { padding: 32px 0 56px; }
.wishlist-header, .compare-header { margin-bottom: 20px; }
.wishlist-empty, .compare-empty { padding: 48px 20px; text-align: center; background: #fff; border: 1px dashed var(--line); }
.wishlist-loading, .compare-loading { padding: 30px; text-align: center; color: var(--muted); }
.compare-wrapper { overflow-x: auto; }
.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.compare-table th, .compare-table td, .compare-cell, .compare-row-label { padding: 10px 14px; border: 1px solid var(--line-2); text-align: left; vertical-align: top; font-size: .92rem; }
.compare-row-label { background: var(--tint); font-weight: 600; width: 150px; }
.compare-img-link img { width: 120px; height: 120px; object-fit: contain; }
.compare-name-link { font-weight: 600; color: var(--ink); }
.compare-remove { background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; }
.compare-stock { font-weight: 600; }
.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; background: var(--ink); color: #fff; border-top: 3px solid var(--chart); }
.compare-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.compare-bar-hint { margin-left: 10px; color: #aebdb6; font-size: .88rem; }
.compare-bar-actions { display: flex; align-items: center; gap: 10px; }
.btn-cmp-clear { background: none; border: 0; color: #fff; text-decoration: underline; cursor: pointer; }
.btn-cmp-go { background: var(--chart); color: var(--ink); border-color: var(--chart); }
.btn-cmp-go:hover { background: #fff; color: var(--ink); }

/* ── 14. O nás, kontakt, právne ─────────────────────────────────────────── */
.about-hero { background: var(--ink); color: #fff; padding: 60px 0; }
.about-hero-badge { display: inline-block; margin-bottom: 14px; font-family: var(--font-head); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--chart); }
.about-hero-title { color: #fff; } .about-hero-title em { font-style: normal; color: var(--chart); }
.about-hero-subtitle { max-width: 640px; color: #c9d6d0; font-size: 1.1rem; }
.about-intro { padding: 48px 0; }
.about-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; }
.about-intro-stats { padding: 20px; background: #fff; border: 1px solid var(--line); border-left: 8px solid var(--chart); align-self: start; }
.about-facts { margin: 0; font-size: .98rem; }
.about-contact { padding: 40px 0 64px; border-top: 1px solid var(--line); }
.about-section-title { font-size: 1.5rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-card, .contact-form-wrap, .contact-note { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.contact-item { display: flex; gap: 12px; margin-bottom: 14px; }
.contact-icon { color: var(--water); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: .9rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: #fff; }
.form-check { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; } .alert-success { background: #e4f4ea; color: #1b5a36; } .alert-error { background: #fbe9e4; color: #8a2a0f; }
.legal-content { max-width: 820px; } .legal-content h2 { text-transform: none; font-size: 1.5rem; margin-top: 1.6em; }
.cookies-table { width: 100%; border-collapse: collapse; background: #fff; } .cookies-table th, .cookies-table td { padding: 8px 12px; border: 1px solid var(--line); font-size: .9rem; text-align: left; }
.brands-az { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.brands-az a { padding: 4px 9px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.brands-letter { margin: 28px 0 10px; border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.brand-cloud-lg .brand-pill { font-size: 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ── 15. Pätička ────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #c6d3cd; margin-top: 0; }
.footer-ruler { height: 12px; background: repeating-linear-gradient(90deg, var(--chart) 0 1px, transparent 1px 8px) top/100% 6px no-repeat, repeating-linear-gradient(90deg, var(--chart) 0 2px, transparent 2px 40px) top/100% 12px no-repeat; opacity: .7; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding: 44px 0 32px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-bottom: 12px; }
.footer-logo:hover { color: #fff; }
.footer-logo .logo-text { font-size: 1.8rem; }
.footer-tagline { font-size: .94rem; margin-bottom: 10px; }
.footer-disclaimer { font-size: .82rem; color: #8ea39b; }
.footer-heading { color: #fff; font-size: 1.1rem; letter-spacing: .1em; margin-bottom: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: .92rem; }
.footer-links a, .footer-email { color: #c6d3cd; text-decoration: none; } .footer-links a:hover, .footer-email:hover { color: var(--chart); }
.footer-email { display: inline-block; margin-top: 12px; font-size: .92rem; }
.footer-bottom { padding: 18px 0 26px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .8rem; color: #8ea39b; }
.footer-bottom p { margin: 0; } .footer-bottom a { color: inherit; text-underline-offset: 2px; }

/* ── 16. Cookie lišta, späť hore ────────────────────────────────────────── */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1100; justify-content: center; }
.cookie-banner[style*="block"] { display: flex !important; }
.cookie-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; max-width: 760px; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 18px; font-size: .9rem; }
.cookie-inner p { flex: 1; min-width: 240px; margin: 0; }
.cookie-actions { display: flex; gap: 8px; }
.scroll-to-top { position: fixed; left: 20px; bottom: 20px; z-index: 800; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--chart); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s; padding: 0; }
.scroll-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.scroll-to-top:hover { background: var(--ink); color: #fff; }

/* ── 17. Pomocník Zubáčik (chat) ────────────────────────────────────────── */
.ai-chat-trigger { position: fixed; right: 20px; bottom: 20px; z-index: 1000; display: flex; align-items: center; gap: 9px; padding: 12px 18px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--chart); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.ai-chat-trigger:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.ai-chat-trigger.hidden { display: none; }
.ai-chat { position: fixed; right: 20px; bottom: 20px; z-index: 1001; width: 390px; max-width: calc(100vw - 24px); height: 590px; max-height: calc(100vh - 80px); display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 rgba(16, 37, 43, .25); }
.ai-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink); color: #fff; }
.ai-chat-avatar { width: 40px; height: 40px; border-radius: var(--radius); background: var(--chart); color: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-chat-title { flex: 1; min-width: 0; } .ai-chat-title h5 { margin: 0; color: #fff; font-size: 1.25rem; }
.ai-chat-status { font-size: .78rem; color: #b7c6bf; }
.ai-chat-close { background: none; border: 0; color: #fff; cursor: pointer; padding: 4px; }
.ai-chat-body { flex: 1; overflow-y: auto; scrollbar-width: none; padding: 16px; background: var(--paper); display: flex; flex-direction: column; gap: 10px; }
.ai-msg { max-width: 88%; padding: 10px 14px; border-radius: var(--radius); font-size: .92rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.ai-msg-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); }
.ai-msg-user { align-self: flex-end; background: var(--ink); color: #fff; }
.ai-chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-sugg { background: #fff; color: var(--ink); border: 1px solid var(--ink); border-radius: var(--radius); padding: 6px 11px; font-size: .82rem; cursor: pointer; }
.ai-sugg:hover { background: var(--chart); }
.ai-products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ai-product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; overflow: hidden; }
.ai-product-card:hover { border-color: var(--ink); }
.ai-product-card-img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 6px; background: var(--tint); }
.ai-product-card-info { padding: 8px 10px; border-top: 1px solid var(--line-2); }
.ai-product-card-name { font-size: .78rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ai-product-card-spec { font-size: .72rem; color: var(--muted); }
.ai-product-card-price { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; }
.ai-chat-input-wrap { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.ai-chat-input-wrap input { flex: 1; min-width: 0; padding: 10px 12px; border: 2px solid var(--line); border-radius: var(--radius); font: inherit; outline: none; }
.ai-chat-input-wrap input:focus { border-color: var(--ink); }
.ai-chat-send { width: 44px; border: 0; border-radius: var(--radius); background: var(--fire); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ai-chat-send:disabled { opacity: .6; }
.ai-chat-note { margin: 0; padding: 0 12px 10px; font-size: .72rem; color: var(--muted); text-align: center; background: #fff; }
.ai-msg-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.ai-msg-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); animation: typing 1.2s infinite ease-in-out; }
.ai-msg-typing span:nth-child(2) { animation-delay: .15s; } .ai-msg-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
body:has(.compare-bar:not([hidden])) .ai-chat-trigger, body:has(.compare-bar:not([hidden])) .scroll-to-top { bottom: 86px; }
.fade-in-up { animation: fadeInUp .4s ease both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ── 18. Responzivita ───────────────────────────────────────────────────── */
@media (max-width: 1240px) {
  .nav-link { padding: 10px 6px; font-size: 1rem; }
  .header-search { flex-basis: 150px; min-width: 130px; }
}
@media (max-width: 1180px) {
  .cats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1020px) {
  .site-header .header-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .hamburger { display: block; }
  .main-nav { order: 3; flex-basis: 100%; display: none; }
  .main-nav.open { display: block; max-height: calc(100vh - 150px); overflow-y: auto; border-top: 1px solid var(--line); }
  .header-search { order: 2; flex: 1 1 100%; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line-2); font-size: 1.2rem; }
  .nav-link:hover, .nav-link.is-active { border-bottom-color: var(--line-2); }
  .nav-link-quiz { margin: 12px 0 4px; justify-content: center; width: 100%; }
  .nav-fav-label { display: inline; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; padding: 0; min-width: 0; }
  .has-dropdown.open > .nav-dropdown { display: block; }
  .has-dropdown:hover > .nav-dropdown { display: none; }
  .has-dropdown.open:hover > .nav-dropdown { display: block; }
  .nav-dropdown-inner { border: 0; box-shadow: none; padding: 0 0 6px 14px; }
  .site-header { transition: transform .25s; }
  .site-header.hdr-hidden { transform: translateY(-100%); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 44px; padding-bottom: 44px; }
  .hero-rules { max-width: 420px; }
  .tech-grid { grid-template-columns: minmax(0, 1fr); }
  .ai-banner { grid-template-columns: minmax(0, 1fr); padding: 26px; }
  .product-detail-grid, .product-columns, .article-container, .about-intro-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sidebar-widget { position: static; }
  .blog-grid, .blog-grid-3, .blog-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-card-large { grid-row: auto; grid-column: 1 / -1; }
  /* katalóg: filtre ako šuplík, prilepený pás */
  .catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; z-index: 1200; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); max-height: none; border: 0; border-right: 2px solid var(--ink); border-radius: 0; transform: translateX(-102%); transition: transform .25s; }
  body.filters-open .filters { transform: none; }
  body.filters-open { overflow: hidden; }
  .filters-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--ink); color: #fff; font-family: var(--font-head); font-size: 1.3rem; letter-spacing: .08em; text-transform: uppercase; }
  .filters-close { background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; padding: 0 4px; }
  .filters-backdrop { display: block; position: fixed; inset: 0; z-index: 1150; background: rgba(16, 37, 43, .55); opacity: 0; visibility: hidden; transition: opacity .25s; }
  body.filters-open .filters-backdrop { opacity: 1; visibility: visible; }
  .filter-strip { position: sticky; top: var(--hdr); z-index: 850; display: flex; align-items: center; gap: 12px; margin: 0 -20px 14px; padding: 8px 20px; background: var(--paper); border-bottom: 2px solid var(--ink); transition: top .25s; }
  body:has(.site-header.hdr-hidden) .filter-strip { top: 0; }
  .filter-strip-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--ink); color: #fff; border: 0; border-radius: var(--radius); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
  .filter-strip-n { padding: 0 7px; background: var(--chart); color: var(--ink); border-radius: 2px; }
  .filter-strip-count { font-size: .88rem; color: var(--muted); }
  .filter-strip-clear { margin-left: auto; font-size: .85rem; }
  .sort-count { display: none; }
  .product-grid-3, .product-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .container { padding: 0 14px; }
  .filter-strip { margin: 0 -14px 14px; padding: 8px 14px; }
  .product-card-name { -webkit-line-clamp: 4; min-height: 0; }
  .section { padding: 36px 0; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-tile { grid-template-columns: minmax(0, 1fr); padding: 14px; } .cat-tile-icon { grid-row: auto; margin-bottom: 6px; }
  .product-grid-3, .product-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card-body { padding: 10px; } .product-card-name { font-size: .88rem; }
  .price-current { font-size: 1.3rem; }
  .btn-buy { padding: 7px 9px; font-size: .88rem; }
  .product-card-footer { flex-wrap: wrap; }
  .hero-title { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .hero-search { flex-direction: column; } .hero-search .btn { width: 100%; }
  .hero-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -14px; }
  .hero-chip { white-space: nowrap; }
  .blog-grid, .blog-grid-3, .blog-home-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 32px; }
  .topbar-inner strong { display: none; }
  .ai-chat { right: 8px; bottom: 8px; left: 8px; width: auto; max-width: none; height: calc(100vh - 24px); max-height: none; }
  .ai-chat-trigger span { display: none; } .ai-chat-trigger { padding: 13px; }
  .compare-bar-hint { display: none; }
  .error-number { font-size: 4.5rem; }
  .product-specs { grid-template-columns: 1fr 1fr; }
  .btn-buy-detail { min-width: 0; flex-basis: 100%; }
  .quiz-opts { grid-template-columns: minmax(0, 1fr); }
}
