/* ═══════════════════════════════════════════════════════════════════════════
   Pruty.sk — hlavný stylesheet
   Paleta: hlboká jazerná zelená + oranžová farba plaváka. Písmo Outfit / Inter.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Premenné ────────────────────────────────────────────────────────── */
:root {
  --primary:        #0f4c45;
  --primary-dark:   #0a3631;
  --primary-light:  #1d7266;
  --primary-bg:     #e8f3f0;
  --primary-bg-2:   #d5ebe5;
  --accent:         #f08a24;
  --accent-dark:    #d4700f;
  --accent-bg:      #fff3e6;

  --text:           #14211f;
  --text-muted:     #55655f;
  --text-light:     #8a9893;
  --border:         #d9e3df;
  --border-light:   #e9efed;
  --white:          #ffffff;
  --bg:             #f5f8f7;
  --bg-section:     #edf3f1;
  --ok:             #1a8f5a;
  --warn:           #b7791f;

  --shadow-sm:   0 1px 3px rgba(15, 76, 69, .06), 0 1px 2px rgba(15, 76, 69, .04);
  --shadow:      0 4px 18px rgba(15, 76, 69, .08);
  --shadow-md:   0 10px 30px rgba(15, 76, 69, .12);
  --shadow-lg:   0 18px 50px rgba(15, 76, 69, .18);

  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  18px;
  --radius-xl:  26px;
  --radius-pill:999px;

  --transition: .2s cubic-bezier(.4, 0, .2, 1);
  --font-head:  'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container:  1280px;
  --header-h:   72px;
}

/* ── 2. Reset & základ ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }
button { font-family: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; color: var(--text); letter-spacing: -.01em; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }
.section + .section { padding-top: 16px; }

/* ── 3. Tlačidlá ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: all var(--transition);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(240, 138, 36, .35); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-muted); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text); }
.btn-sm { padding: 8px 16px; font-size: .88rem; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-xl { padding: 17px 32px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: none; color: var(--primary); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; padding: 0; }

.btn-buy {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 13px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius-pill);
  font-size: .82rem; font-weight: 600; white-space: nowrap;
  transition: all var(--transition);
}
.btn-buy:hover { background: var(--accent-dark); color: #fff; }

/* ── 4. Hlavička ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-mark { flex-shrink: 0; }
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; color: var(--primary); }
.logo-tld { color: var(--accent); }

.main-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-weight: 500; font-size: .94rem; color: var(--text);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.is-active { color: var(--primary); background: var(--primary-bg); }
.nav-arrow { font-size: .7rem; opacity: .55; }
.nav-link-quiz { color: var(--accent-dark); font-weight: 600; }
.nav-link-quiz:hover { background: var(--accent-bg); color: var(--accent-dark); }
.nav-favourites { position: relative; }
.nav-fav-label { display: none; }
.nav-fav-count {
  position: absolute; top: 2px; right: 0;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--accent); color: #fff; border-radius: 9px;
  font-size: .68rem; font-weight: 700; line-height: 17px; text-align: center;
}

.has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s ease;
  z-index: 50;
}
.has-dropdown::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.has-dropdown:hover > .nav-dropdown,
.has-dropdown:focus-within > .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown-inner { padding: 8px; display: grid; gap: 1px; }
.nav-dropdown-2col { grid-template-columns: 1fr 1fr; min-width: 460px; }
.dropdown-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: .92rem; color: var(--text);
}
.dropdown-item:hover { background: var(--primary-bg); color: var(--primary); }
.dropdown-item-icon { justify-content: flex-start; }
.dropdown-item-icon svg { color: var(--primary-light); }
.dropdown-count { font-size: .75rem; color: var(--text-light); font-variant-numeric: tabular-nums; }
.dropdown-all { color: var(--primary); font-weight: 600; grid-column: 1 / -1; }
.nav-mega { min-width: 560px; }
.nav-mega-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8px; padding: 10px; }
.nav-mega-col { display: grid; gap: 1px; align-content: start; }
.nav-mega-title { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-light); padding: 6px 12px; }
.nav-mega-promo { background: linear-gradient(160deg, var(--primary-bg), #fff); border-radius: var(--radius); padding: 14px; gap: 10px; }
.nav-mega-promo .nav-mega-title { padding: 0; color: var(--primary); }
.nav-mega-promo p { font-size: .88rem; color: var(--text-muted); }
.nav-mega-link { font-size: .85rem; font-weight: 600; }

.header-search { width: 260px; flex-shrink: 0; position: relative; }
.search-form-header { position: relative; }
.search-input-header {
  width: 100%; padding: 10px 42px 10px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-pill);
  background: var(--bg); font: inherit; font-size: .9rem; color: var(--text);
  transition: all var(--transition);
}
.search-input-header:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-bg); }
.search-btn {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: none; border-radius: 50%;
  background: var(--primary); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.hamburger span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Live search */
.search-suggestions {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 340px;
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius);
  box-shadow: var(--shadow-md); overflow-y: auto; max-height: 480px; z-index: 100;
}
.suggestion-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--text); border-bottom: 1px solid var(--border-light); }
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: var(--bg); color: var(--text); }
.sug-img { width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: contain; background: #fff; border: 1px solid var(--border-light); flex-shrink: 0; }
.sug-text { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sug-brand { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-light); }
.sug-name { font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sug-price { font-weight: 700; font-size: .9rem; white-space: nowrap; }

/* Drobčeková navigácia */
.breadcrumb-bar { background: var(--white); border-bottom: 1px solid var(--border-light); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 11px 0; font-size: .84rem; color: var(--text-light); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.bc-sep { opacity: .5; }

/* ── 5. Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% 10%, rgba(240, 138, 36, .18), transparent 60%),
              linear-gradient(155deg, #0a3631 0%, #0f4c45 45%, #17635a 100%);
  color: #fff;
  padding: 64px 0 120px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 160px; }
.hero-rod { position: absolute; right: -40px; top: 10px; width: 420px; height: 420px; opacity: .55; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; }
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  font-size: .82rem; font-weight: 500; color: rgba(255, 255, 255, .92);
}
.hero-label-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); } 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.hero-title { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; color: #fff; margin: 18px 0 16px; letter-spacing: -.035em; line-height: 1.05; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-subtitle { font-size: 1.12rem; color: rgba(255, 255, 255, .82); max-width: 620px; margin-bottom: 26px; }
.hero-search {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: var(--radius-pill);
  padding: 6px 6px 6px 20px; max-width: 620px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .22); color: var(--text-light);
}
.hero-search input { flex: 1; min-width: 0; border: none; outline: none; font: inherit; font-size: 1rem; color: var(--text); padding: 10px 0; background: transparent; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-chip {
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
  color: #fff; font-size: .86rem; font-weight: 500;
}
.hero-chip:hover { background: #fff; color: var(--primary); }
.hero-card {
  background: rgba(255, 255, 255, .97); color: var(--text);
  border-radius: var(--radius-xl); padding: 30px;
  box-shadow: var(--shadow-lg);
}
.hero-card-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-bg); color: var(--accent-dark); align-items: center; justify-content: center; margin-bottom: 14px; }
.hero-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.hero-card p { color: var(--text-muted); margin-bottom: 20px; font-size: .96rem; }
.hero-card-ai { display: block; width: 100%; margin-top: 12px; background: none; border: none; color: var(--primary); font-weight: 600; font-size: .9rem; cursor: pointer; }
.hero-card-ai:hover { text-decoration: underline; }

/* ── 6. Sekcie ──────────────────────────────────────────────────────────── */
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 6px; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.section-more { font-weight: 600; font-size: .94rem; white-space: nowrap; }
.section-rodcats { margin-top: -78px; position: relative; z-index: 2; padding-top: 0 !important; }
.section-rodcats > .container { background: #fff; border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-md); max-width: calc(var(--container) - 48px); }
.section-rodcats .section-header { margin-bottom: 18px; }

/* Dlaždice kategórií */
.cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px; }
.cat-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 20px 12px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--border-light); color: var(--text);
  transition: all var(--transition);
}
.cat-tile:hover { border-color: var(--primary-light); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.cat-tile-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--primary-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.cat-tile:hover .cat-tile-icon { background: var(--primary); color: #fff; }
.cat-tile-name { font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.25; }
.cat-tile-count { font-size: .78rem; color: var(--text-light); }

/* Techniky */
.section-techniques { background: var(--bg-section); padding: 56px 0 !important; margin: 32px 0; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.tech-tile {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--border-light); color: var(--text);
  transition: all var(--transition);
}
.tech-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); border-color: var(--primary-bg-2); }
.tech-tile-icon { width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(145deg, var(--primary), var(--primary-light)); color: #fff; display: flex; align-items: center; justify-content: center; }
.tech-tile-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tech-tile-body strong { font-family: var(--font-head); font-size: 1.08rem; }
.tech-tile-body span { font-size: .84rem; color: var(--text-muted); line-height: 1.4; }
.tech-tile-count { font-size: .78rem; font-weight: 700; color: var(--primary); background: var(--primary-bg); padding: 3px 9px; border-radius: var(--radius-pill); }

/* Výbava */
.gear-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.gear-tile {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--border-light); color: var(--text);
  transition: all var(--transition);
}
.gear-tile:hover { border-color: var(--primary-light); color: var(--primary); }
.gear-tile-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--primary-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.gear-tile-name { flex: 1; font-weight: 600; font-size: .93rem; }
.gear-tile-count { font-size: .78rem; color: var(--text-light); }

/* AI banner */
.ai-banner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  border-radius: var(--radius-xl); padding: 44px; color: #fff; overflow: hidden; position: relative;
}
.ai-banner::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(240, 138, 36, .18); }
.ai-banner .section-eyebrow { color: var(--accent); }
.ai-banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.ai-banner p { color: rgba(255, 255, 255, .82); margin-bottom: 22px; }
.ai-banner-demo { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.ai-banner-demo .ai-msg { max-width: 92%; }

/* Značky */
.brand-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-pill {
  padding: 9px 18px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--border);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--text);
  letter-spacing: .02em; transition: all var(--transition);
}
.brand-pill:hover { border-color: var(--primary); color: var(--primary); }
.brand-pill span { font-weight: 500; color: var(--text-light); font-size: .8rem; margin-left: 4px; }
.brand-cloud-lg { margin-bottom: 40px; }
.brands-page { padding: 32px 0 64px; }
.brands-page .section-title { margin: 8px 0 18px; font-size: 1.4rem; }
.brands-az { columns: 4 220px; column-gap: 32px; }
.brands-letter { break-inside: avoid; margin-bottom: 20px; }
.brands-letter h3 { font-size: 1.2rem; color: var(--accent-dark); border-bottom: 2px solid var(--border-light); padding-bottom: 4px; margin-bottom: 8px; }
.brands-letter li { display: flex; justify-content: space-between; padding: 3px 0; font-size: .93rem; }
.brands-letter li span { color: var(--text-light); font-size: .8rem; }

/* SEO text */
.seo-text { background: #fff; border-radius: var(--radius-lg); padding: 32px 36px; border: 1px solid var(--border-light); }
.seo-text h2 { font-size: 1.4rem; margin-bottom: 12px; }
.category-seo { margin-top: 40px; }

/* ── 7. Produktové karty ────────────────────────────────────────────────── */
.product-grid { display: grid; gap: 18px; }
.product-grid-4 { grid-template-columns: repeat(4, 1fr); }
.product-grid-3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-bg-2); }
.product-card-link { display: block; }
.product-card-img-wrap { position: relative; aspect-ratio: 1; background: #fff; padding: 14px; border-bottom: 1px solid var(--border-light); }
.product-card-img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.product-card:hover .product-card-img { transform: scale(1.04); }
.product-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.product-card-brand { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-light); }
.product-card-name {
  font-weight: 600; font-size: .93rem; line-height: 1.35; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
.product-card-name:hover { color: var(--primary); }
.product-card-spec { font-size: .78rem; color: var(--text-muted); background: var(--bg); border-radius: 6px; padding: 3px 8px; align-self: flex-start; font-variant-numeric: tabular-nums; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.price-current { font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; color: var(--text); white-space: nowrap; }

.favourite-btn, .compare-btn {
  position: absolute; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border-light); background: rgba(255, 255, 255, .95);
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.product-card .favourite-btn { top: 10px; right: 10px; }
.product-card .compare-btn { top: 50px; right: 10px; opacity: 0; }
.product-card:hover .compare-btn, .compare-btn.is-comparing { opacity: 1; }
.favourite-btn:hover { color: #e0435b; border-color: #f4b7c1; }
.favourite-btn.is-favourite { color: #e0435b; background: #fff0f2; border-color: #f4b7c1; }
.favourite-btn.is-favourite svg { fill: currentColor; }
.compare-btn:hover, .compare-btn.is-comparing { color: var(--primary); border-color: var(--primary); background: var(--primary-bg); }
.fav-pulse, .cmp-pulse { animation: pop .35s ease; }
@keyframes pop { 50% { transform: scale(1.25); } }

.badge {
  position: absolute; left: 10px; z-index: 2;
  padding: 3px 9px; border-radius: var(--radius-pill);
  font-size: .7rem; font-weight: 700; letter-spacing: .02em;
}
.badge-variants { top: 10px; background: var(--primary-bg); color: var(--primary); }
.badge-order { bottom: 10px; background: var(--accent-bg); color: var(--accent-dark); }

/* ── 8. Stránka kategórie ───────────────────────────────────────────────── */
.category-page { padding: 32px 0 64px; }
.category-header { margin-bottom: 18px; }
.category-heading { display: flex; gap: 18px; align-items: flex-start; }
.category-icon { width: 60px; height: 60px; border-radius: 18px; flex-shrink: 0; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.page-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -.025em; }
.page-subtitle { color: var(--text-muted); font-size: 1.02rem; margin-top: 6px; max-width: 780px; }

.subcat-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.subcat-chips-label { font-size: .82rem; font-weight: 600; color: var(--text-light); margin-right: 4px; }
.subcat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--border); color: var(--text);
  font-size: .86rem; font-weight: 500; transition: all var(--transition);
}
.subcat-chip svg { color: var(--primary-light); }
.subcat-chip:hover { border-color: var(--primary); color: var(--primary); }
.subcat-chip.is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.subcat-chip.is-current svg { color: #fff; }
.subcat-chip-count { font-size: .74rem; color: var(--text-light); }
.subcat-chip.is-current .subcat-chip-count { color: rgba(255, 255, 255, .75); }

/* Filtre */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin: 0 0 24px; padding: 12px; background: #fff;
  border: 1px solid var(--border-light); border-radius: var(--radius-lg);
}
.filter-chip { position: relative; }
.filter-chip[open] { z-index: 30; }
.filter-chip > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; background: var(--bg);
  border: 1.5px solid transparent; border-radius: var(--radius-pill);
  font-size: .9rem; font-weight: 500; white-space: nowrap; transition: all .15s;
}
.filter-chip > summary::-webkit-details-marker { display: none; }
.filter-chip > summary::after { content: '▾'; font-size: .72rem; opacity: .6; transition: transform .2s; }
.filter-chip[open] > summary::after { transform: rotate(180deg); }
.filter-chip > summary:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.is-active > summary { background: var(--primary-bg); border-color: var(--primary); color: var(--primary); font-weight: 600; }
.filter-pop {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 240px; max-width: 320px;
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.filter-pop-list { max-height: 330px; overflow-y: auto; scrollbar-width: thin; }
.filter-price-row { display: flex; align-items: center; gap: 8px; }
.filter-price-row input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; font-size: .9rem; }
.filter-price-row input:focus { outline: none; border-color: var(--primary); }
.filter-pop-hint { font-size: .78rem; color: var(--text-light); }
.filter-opt { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-radius: 6px; cursor: pointer; font-size: .9rem; }
.filter-opt:hover { background: var(--bg); }
.filter-opt input { accent-color: var(--primary); }
.filter-opt-label { flex: 1; }
.filter-opt-count { font-size: .78rem; color: var(--text-light); }
.filter-toggle { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 500; cursor: pointer; padding: 8px 6px; }
.filter-toggle input { accent-color: var(--primary); width: 16px; height: 16px; }
.filter-clear { font-size: .86rem; font-weight: 600; color: var(--accent-dark); padding: 8px 6px; }
.sort-bar { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.result-count { font-size: .88rem; color: var(--text-muted); white-space: nowrap; }
.sort-select { padding: 8px 32px 8px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-pill); background: #fff; font: inherit; font-size: .88rem; cursor: pointer; }

.pagination { margin: 36px 0 0; display: flex; justify-content: center; }
.pagination-list { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.page-link { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--border); color: var(--text); font-weight: 500; }
.page-link:hover { border-color: var(--primary); color: var(--primary); }
.page-link.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-dots { display: inline-flex; align-items: center; padding: 0 4px; color: var(--text-light); }

.infinite-sentinel { display: flex; justify-content: center; padding: 30px 0; }
.infinite-spinner { width: 34px; height: 34px; border: 3px solid var(--primary-bg-2); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
.infinite-error .infinite-spinner { border-top-color: var(--accent); animation-duration: 2s; }
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state { text-align: center; padding: 60px 20px; background: #fff; border-radius: var(--radius-lg); border: 1px dashed var(--border); }
.empty-icon { display: inline-flex; color: var(--primary-light); margin-bottom: 10px; font-size: 2.4rem; }
.empty-state h3 { font-size: 1.35rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); margin-bottom: 16px; }

/* ── 9. Detail produktu ─────────────────────────────────────────────────── */
.product-detail { padding: 32px 0 64px; }
.product-detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.product-gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.product-detail-img-wrap { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-xl); padding: 28px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.product-detail-img { max-height: 100%; object-fit: contain; }
.product-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.product-thumb { flex: 0 0 72px; height: 72px; border-radius: var(--radius); border: 2px solid var(--border-light); background: #fff; padding: 6px; cursor: pointer; }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-thumb.is-active, .product-thumb:hover { border-color: var(--primary); }

.product-detail-brand { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-light); background: var(--primary-bg); padding: 4px 10px; border-radius: var(--radius-pill); margin-bottom: 12px; }
.product-detail-name { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.product-specs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.product-specs li { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 10px 14px; display: flex; flex-direction: column; min-width: 110px; }
.product-specs span { font-size: .74rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.product-specs strong { font-family: var(--font-head); font-size: 1.12rem; }
.product-detail-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.price-current-lg { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--primary-dark); }
.price-range { color: var(--text-muted); font-size: .95rem; }
.product-availability { font-size: .9rem; font-weight: 600; margin-bottom: 22px; }
.product-availability.in-stock { color: var(--ok); }
.product-availability.on-order { color: var(--warn); }
.product-availability-note { color: var(--text-light); font-weight: 400; }
.product-cta { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; }
.btn-buy-detail { flex: 1; }
.btn-icon-detail { position: static; width: 54px; height: 54px; flex-shrink: 0; border: 1.5px solid var(--border); background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); cursor: pointer; opacity: 1; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--bg-section); color: var(--text); font-size: .84rem; font-weight: 500; }
.tag:hover { background: var(--primary-bg-2); color: var(--primary); }
.tag-tech { background: var(--primary-bg); color: var(--primary); }
.product-ai-ask { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1.5px dashed var(--primary-bg-2); border-radius: var(--radius); padding: 10px 14px; color: var(--primary); font-weight: 600; font-size: .9rem; cursor: pointer; }
.product-ai-ask:hover { background: var(--primary-bg); }

.product-section-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.product-variants { margin-top: 48px; }
.table-scroll { overflow-x: auto; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); }
.variants-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.variants-table th { text-align: left; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-light); padding: 12px 16px; border-bottom: 1px solid var(--border-light); background: var(--bg); }
.variants-table td { padding: 11px 16px; border-bottom: 1px solid var(--border-light); }
.variants-table tr:last-child td { border-bottom: none; }
.variants-table tr:hover td { background: #fafcfb; }
.variants-table .num { text-align: right; white-space: nowrap; }
.dot-ok { color: var(--ok); font-weight: 600; font-size: .85rem; }
.dot-order { color: var(--warn); font-weight: 600; font-size: .85rem; }

.product-columns { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; margin-top: 48px; align-items: start; }
.product-description { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 28px 32px; }
.product-params { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 28px; }
.params-list { display: grid; grid-template-columns: auto 1fr; gap: 0; font-size: .9rem; }
.params-list dt { color: var(--text-muted); padding: 9px 16px 9px 0; border-bottom: 1px solid var(--border-light); }
.params-list dd { font-weight: 500; padding: 9px 0; border-bottom: 1px solid var(--border-light); }
.product-articles, .related-products, .recent-section { margin-top: 56px; }

/* ── 10. Prose (články, popisy) ─────────────────────────────────────────── */
.prose { font-size: 1.04rem; line-height: 1.75; color: #22312e; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul li { list-style: disc; margin: .35em 0; }
.prose ol li { list-style: decimal; margin: .35em 0; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--primary); font-weight: 600; text-decoration: underline; text-decoration-color: var(--primary-bg-2); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--primary); }
.prose strong { color: var(--text); }
.prose blockquote { border-left: 4px solid var(--accent); background: var(--accent-bg); padding: 14px 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; background: #fff; border-radius: var(--radius); overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--border-light); text-align: left; }
.prose th { background: var(--primary-bg); font-weight: 600; }
.product-desc-content p { margin: 0 0 .6em; }

/* ── 11. Poradňa ────────────────────────────────────────────────────────── */
.blog-page { padding: 36px 0 64px; }
.blog-header { margin-bottom: 22px; }
.blog-sections { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.blog-section-tab { padding: 8px 16px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--border); font-size: .9rem; font-weight: 500; color: var(--text); }
.blog-section-tab span { color: var(--text-light); font-size: .78rem; margin-left: 4px; }
.blog-section-tab:hover { border-color: var(--primary); color: var(--primary); }
.blog-section-tab.is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.blog-section-tab.is-current span { color: rgba(255, 255, 255, .75); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-grid-3 { grid-template-columns: repeat(3, 1fr); }
.blog-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card-img-link { display: block; aspect-ratio: 16 / 10; background: #fff; overflow: hidden; border-bottom: 1px solid var(--border-light); }
.blog-card-img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .4s ease; }
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-img-placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, var(--primary-bg), #fff); color: var(--primary-light); padding: 0; }
.blog-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-section { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); }
.blog-card-title { font-size: 1.12rem; line-height: 1.3; }
.blog-card-title a { color: var(--text); }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { font-size: .9rem; color: var(--text-muted); line-height: 1.55; }
.blog-card-meta { font-size: .78rem; color: var(--text-light); margin-top: auto; }
.blog-card-large { grid-column: span 2; flex-direction: row; }
.blog-card-large .blog-card-img-link { flex: 1.1; aspect-ratio: auto; border-bottom: none; border-right: 1px solid var(--border-light); min-height: 260px; }
.blog-card-large .blog-card-body { flex: 1; padding: 28px; justify-content: center; }
.blog-card-large .blog-card-title { font-size: 1.5rem; }

/* Článok */
.article-page { padding: 32px 0 40px; }
.article-container { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.article-container:has(> .article-main:only-child) { grid-template-columns: minmax(0, 820px); justify-content: center; }
.article-section { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); background: var(--accent-bg); padding: 4px 10px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.article-title { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -.025em; margin-bottom: 12px; }
.article-meta { color: var(--text-light); font-size: .88rem; margin-bottom: 26px; }
.article-featured-img { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 28px; }
.article-hero-img { max-height: 380px; margin: 0 auto; object-fit: contain; }
.article-content > h2:first-child { display: none; } /* prvý h2 = titulok článku (zobrazený v H1) */

.geo-summary { background: var(--primary-bg); border: 1px solid var(--primary-bg-2); border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 28px; }
.geo-summary-label { font-family: var(--font-head); font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.geo-summary-answer { font-size: 1.04rem; line-height: 1.6; margin-bottom: 10px; }
.geo-summary-facts { padding-left: 20px; }
.geo-summary-facts li { list-style: disc; margin: 4px 0; line-height: 1.5; }
.geo-summary-facts li::marker { color: var(--accent); }
.geo-faq { margin: 40px 0 8px; }
.geo-faq-title { font-size: 1.45rem; margin-bottom: 14px; }
.geo-faq-item { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); margin-bottom: 10px; padding: 0 18px; }
.geo-faq-item summary { cursor: pointer; font-weight: 600; padding: 15px 28px 15px 0; list-style: none; position: relative; }
.geo-faq-item summary::-webkit-details-marker { display: none; }
.geo-faq-item summary::after { content: '+'; position: absolute; right: 0; top: 12px; color: var(--primary); font-size: 1.4rem; line-height: 1; }
.geo-faq-item[open] summary::after { content: '−'; }
.geo-faq-item p { margin: 0 0 15px; line-height: 1.6; color: var(--text-muted); }

.article-rating-section { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 36px 0 20px; padding: 18px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.article-rating-widget { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rating-prompt { font-size: .92rem; color: var(--text-muted); font-weight: 500; }
.rating-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-pill); font-weight: 600; cursor: pointer; transition: all .18s; }
.rating-btn-like:hover:not(:disabled), .rating-btn-like.rating-btn-active { border-color: var(--ok); color: var(--ok); background: #ecfaf3; }
.rating-btn-dislike:hover:not(:disabled), .rating-btn-dislike.rating-btn-active { border-color: #d1465b; color: #b42f43; background: #fff1f3; }
.rating-voted .rating-btn:not(.rating-btn-active) { opacity: .45; }
.rating-btn-pulse { animation: pop .35s ease; }
.share-btn { display: inline-flex; padding: 8px 16px; border-radius: var(--radius-pill); background: #1877f2; color: #fff; font-size: .86rem; font-weight: 600; }
.share-btn:hover { color: #fff; opacity: .9; }
.article-ai-box { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, var(--primary-bg), #fff); border: 1px solid var(--primary-bg-2); border-radius: var(--radius-lg); padding: 18px 22px; }
.article-ai-box > div { flex: 1; }
.article-ai-box p { font-size: .9rem; color: var(--text-muted); }
.article-ai-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.article-related { background: var(--bg-section); margin-top: 40px; }
.article-related .section-title { margin-bottom: 22px; }

.article-sidebar { position: sticky; top: calc(var(--header-h) + 16px); }
.sidebar-widget { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 20px; }
.sidebar-title { font-size: 1.1rem; margin-bottom: 14px; }
.sidebar-products { display: flex; flex-direction: column; gap: 14px; }
.sidebar-product-card { display: flex; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border-light); }
.sidebar-product-card:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-product-img { flex: 0 0 72px; height: 72px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 4px; background: #fff; }
.sidebar-product-img img { width: 100%; height: 100%; object-fit: contain; }
.sidebar-product-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sidebar-product-name { font-size: .86rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.sidebar-product-spec { font-size: .74rem; color: var(--text-muted); }
.sidebar-product-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.sidebar-product-price { font-size: .95rem; font-family: var(--font-head); }

/* ── 12. Vyhľadávanie, 404, kvíz ────────────────────────────────────────── */
.search-page { padding: 36px 0 64px; }
.search-hero { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.search-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.search-title em { font-style: normal; color: var(--primary); }
.search-form-big { display: flex; gap: 10px; }
.search-input-big { flex: 1; padding: 14px 22px; border: 2px solid var(--border); border-radius: var(--radius-pill); font: inherit; font-size: 1.05rem; }
.search-input-big:focus { outline: none; border-color: var(--primary); }
.search-hero .result-count { margin-top: 12px; }

.error-page { padding: 64px 24px; text-align: center; }
.error-icon { display: inline-flex; color: var(--primary-light); }
.error-number { font-family: var(--font-head); font-size: 5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.error-content h1 { font-size: 2rem; margin: 8px 0; }
.error-content p { color: var(--text-muted); }
.error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 24px 0 36px; }
.error-suggestions h3 { font-size: 1.05rem; margin-bottom: 12px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tag-cloud a { padding: 7px 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-pill); font-size: .88rem; color: var(--text); }
.tag-cloud a:hover { border-color: var(--primary); color: var(--primary); }

.quiz-page { padding: 48px 0 72px; }
.quiz-container { max-width: 1000px; }
.quiz-screen { text-align: center; animation: fadeIn .3s ease; }
.quiz-intro-icon { display: inline-flex; width: 96px; height: 96px; border-radius: 28px; background: var(--primary); color: #fff; align-items: center; justify-content: center; margin-bottom: 18px; }
.quiz-intro .page-subtitle { margin: 10px auto 26px; }
.quiz-alt { margin-top: 18px; color: var(--text-muted); font-size: .92rem; }
.quiz-progress { height: 6px; background: var(--border-light); border-radius: 3px; max-width: 420px; margin: 0 auto 14px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 3px; transition: width .3s; }
.quiz-step { font-size: .82rem; color: var(--text-light); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.quiz-q { font-size: clamp(1.5rem, 3vw, 2rem); margin: 8px 0 26px; }
.quiz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; text-align: left; }
.quiz-opt {
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px; background: #fff; border: 2px solid var(--border-light); border-radius: var(--radius-lg);
  cursor: pointer; transition: all var(--transition); font: inherit; color: var(--text); text-align: left;
}
.quiz-opt:hover { border-color: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.quiz-opt.is-selected { border-color: var(--accent); background: var(--accent-bg); }
.quiz-opt.is-fade { opacity: .4; }
.quiz-opt-icon { color: var(--primary); margin-bottom: 6px; }
.quiz-opt strong { font-family: var(--font-head); font-size: 1.08rem; }
.quiz-opt span:last-child { font-size: .86rem; color: var(--text-muted); }
.quiz-loading { padding: 60px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--text-muted); }
.quiz-results .product-grid { text-align: left; margin-top: 20px; }
.quiz-actions { display: flex; gap: 10px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── 13. Obľúbené, porovnanie ───────────────────────────────────────────── */
.wishlist-page, .compare-page { padding: 32px 0 64px; }
.wishlist-header, .compare-header { margin-bottom: 24px; }
.wishlist-loading, .compare-loading { display: flex; justify-content: center; padding: 50px 0; }
.compare-wrapper { overflow-x: auto; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); }
.compare-table { border-collapse: collapse; width: 100%; min-width: 600px; }
.compare-table th, .compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); vertical-align: top; text-align: left; font-size: .92rem; }
.compare-row-label { width: 150px; font-size: .78rem !important; text-transform: uppercase; letter-spacing: .05em; color: var(--text-light); font-weight: 600; background: var(--bg); }
.compare-cell { min-width: 200px; position: relative; }
.compare-img-link { display: block; width: 150px; height: 150px; padding: 8px; border: 1px solid var(--border-light); border-radius: var(--radius); }
.compare-img-link img { width: 100%; height: 100%; object-fit: contain; }
.compare-remove { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 1.1rem; line-height: 1; color: var(--text-muted); }
.compare-remove:hover { color: #d1465b; border-color: #d1465b; }
.compare-name-link { font-weight: 600; color: var(--text); }
.compare-stock.in { color: var(--ok); font-weight: 600; }
.compare-stock.out { color: var(--warn); font-weight: 600; }
.inline-icon { font-family: monospace; color: var(--primary); }
.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; background: var(--primary-dark); color: #fff; padding: 12px 0; box-shadow: 0 -8px 24px rgba(0, 0, 0, .15); }
.compare-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.compare-bar-info { display: flex; flex-direction: column; }
.compare-bar-hint { font-size: .8rem; opacity: .75; }
.compare-bar-actions { display: flex; gap: 10px; align-items: center; }
.btn-cmp-clear { background: none; border: 1px solid rgba(255, 255, 255, .35); color: #fff; border-radius: var(--radius-pill); padding: 8px 14px; cursor: pointer; }
.btn-cmp-go { background: var(--accent); }
.btn-cmp-go.disabled, .btn-cmp-go[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.cmp-toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--text); color: #fff; padding: 10px 18px; border-radius: var(--radius-pill); font-size: .9rem; opacity: 0; transition: all .25s; z-index: 1200; pointer-events: none; }
.cmp-toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* ── 14. O nás, kontakt, právne ─────────────────────────────────────────── */
.about-hero { background: linear-gradient(155deg, var(--primary-dark), var(--primary-light)); color: #fff; padding: 64px 0; text-align: center; }
.about-hero-badge { display: inline-block; padding: 5px 14px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .12); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.about-hero-title { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 16px 0 12px; font-weight: 800; }
.about-hero-title em { font-style: normal; color: var(--accent); }
.about-hero-subtitle { color: rgba(255, 255, 255, .82); max-width: 640px; margin: 0 auto; }
.about-intro { padding: 56px 0; }
.about-intro-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.about-intro-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-stat { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 22px; text-align: center; }
.about-stat strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--primary); }
.about-stat span { font-size: .86rem; color: var(--text-muted); }
.about-contact { padding: 0 0 64px; text-align: center; }
.about-contact p { color: var(--text-muted); margin: 8px 0 18px; }
.about-section-title { font-size: 1.5rem; }

.contact-page { padding: 40px 24px 64px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-info h1 { font-size: 2.2rem; margin-bottom: 10px; }
.lead { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 24px; }
.contact-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 22px; display: grid; gap: 16px; }
.contact-item { display: flex; gap: 14px; }
.contact-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--primary-bg); display: flex; align-items: center; justify-content: center; }
.contact-item strong { display: block; font-size: .82rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .05em; }
.contact-item address { font-style: normal; }
.contact-note { margin-top: 22px; padding: 18px; background: var(--accent-bg); border-radius: var(--radius); }
.contact-note h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-form-wrap { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 30px; }
.contact-form-wrap h2 { margin-bottom: 18px; }
.contact-form { display: grid; gap: 16px; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form-group input[type=text], .form-group input[type=email], .form-group textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-check { display: flex; gap: 10px; align-items: flex-start; }
.form-check label { font-weight: 400; font-size: .86rem; color: var(--text-muted); }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; font-weight: 500; }
.alert-success { background: #ecfaf3; color: var(--ok); border: 1px solid #bfe9d3; }
.alert-error { background: #fff1f3; color: #b42f43; border: 1px solid #f6c2cb; }

.legal-page { padding: 40px 24px 64px; max-width: 860px; }
.legal-page h1 { font-size: 2.1rem; margin-bottom: 20px; }
.legal-content h2 { font-size: 1.3rem; margin: 28px 0 10px; }
.legal-content p, .legal-content li { color: #2c3a37; margin-bottom: 8px; }
.legal-content ul { padding-left: 20px; }
.legal-content ul li { list-style: disc; }
.cookies-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 12px 0; }
.cookies-table th, .cookies-table td { border: 1px solid var(--border-light); padding: 8px 10px; text-align: left; }
.cookies-table th { background: var(--primary-bg); }

/* ── 15. Sesterské weby + pätička ───────────────────────────────────────── */
.family-strip { background: var(--bg-section); padding: 48px 0; margin-top: 56px; }
.family-strip-header { text-align: center; margin-bottom: 24px; }
.family-strip-eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); }
.family-strip-title { font-size: 1.4rem; margin-top: 4px; }
.family-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; max-width: 1100px; margin: 0 auto; }
.family-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 16px 18px; color: var(--text); transition: all var(--transition); }
.family-card:hover:not(.family-card-active) { border-color: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.family-card-active { border-color: var(--primary-bg-2); background: var(--primary-bg); }
.family-card-icon { font-size: 1.7rem; width: 50px; height: 50px; border-radius: 14px; background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.family-card-text { flex: 1; min-width: 0; }
.family-card-text strong { display: block; font-family: var(--font-head); }
.family-card-desc { font-size: .8rem; color: var(--text-muted); }
.family-card-arrow { color: var(--primary); opacity: .5; transition: all .2s; }
.family-card:hover .family-card-arrow { opacity: 1; transform: translateX(3px); }

.site-footer { position: relative; background: var(--primary-dark); color: rgba(255, 255, 255, .78); padding: 30px 0 0; margin-top: 60px; }
.family-strip + .site-footer { margin-top: 0; }
.footer-wave { position: absolute; top: -59px; left: 0; right: 0; height: 60px; color: var(--primary-dark); }
.footer-wave svg { width: 100%; height: 100%; display: block; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; padding: 30px 0 40px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo .logo-text { color: #fff; }
.footer-tagline { font-size: .94rem; color: #fff; margin-bottom: 12px; }
.footer-disclaimer { font-size: .8rem; color: rgba(255, 255, 255, .6); line-height: 1.55; }
.footer-heading { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer-email { color: rgba(255, 255, 255, .78); font-size: .9rem; }
.footer-links a:hover, .footer-email:hover { color: #fff; }
.footer-email { display: inline-block; margin-top: 14px; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: .8rem; color: rgba(255, 255, 255, .55); text-align: center; }

/* ── 16. Cookie lišta, späť hore ────────────────────────────────────────── */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1100; display: flex; justify-content: center; }
.cookie-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; max-width: 760px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 16px 20px; font-size: .9rem; }
.cookie-inner p { flex: 1; min-width: 240px; }
.cookie-actions { display: flex; gap: 8px; }
.scroll-to-top { position: fixed; left: 24px; bottom: 24px; z-index: 800; width: 46px; height: 46px; border-radius: 50%; border: none; background: #fff; color: var(--primary); box-shadow: var(--shadow-md); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--transition); }
.scroll-to-top.visible { opacity: 1; visibility: visible; transform: none; }

/* ── 17. AI poradca (chat) ──────────────────────────────────────────────── */
.ai-chat-trigger {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px; border: none; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff;
  font-weight: 700; font-size: .92rem; cursor: pointer;
  box-shadow: 0 12px 30px rgba(240, 138, 36, .4);
  transition: transform .2s, box-shadow .2s;
}
.ai-chat-trigger:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(240, 138, 36, .5); }
.ai-chat-trigger.hidden { display: none; }
.ai-chat {
  position: fixed; bottom: 24px; right: 24px; z-index: 1001;
  width: 390px; max-width: calc(100vw - 24px); height: 600px; max-height: calc(100vh - 80px);
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: var(--radius-xl); border: 1px solid var(--border-light);
  box-shadow: 0 30px 70px rgba(10, 54, 49, .3);
}
.ai-chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: linear-gradient(135deg, var(--primary-dark), var(--primary-light)); color: #fff; flex-shrink: 0; }
.ai-chat-avatar { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.ai-chat-title { flex: 1; min-width: 0; }
.ai-chat-title h5 { color: #fff; font-size: 1rem; }
.ai-chat-status { font-size: .76rem; opacity: .9; display: flex; align-items: center; gap: 6px; }
.ai-chat-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }
.ai-chat-close { background: none; border: none; color: #fff; cursor: pointer; opacity: .85; padding: 4px; }
.ai-chat-close:hover { opacity: 1; }
.ai-chat-body { flex: 1; overflow-y: auto; padding: 18px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.ai-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .9rem; 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(--border-light); border-bottom-left-radius: 4px; color: var(--text); }
.ai-msg-user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.ai-chat-suggestions { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-sugg { background: #fff; color: var(--primary); border: 1px solid var(--primary-bg-2); border-radius: var(--radius-pill); padding: 6px 12px; font-size: .78rem; font-weight: 500; cursor: pointer; transition: all .15s; }
.ai-sugg:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.ai-products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ai-product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; color: var(--text); transition: transform .15s, box-shadow .15s; }
.ai-product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.ai-product-card-img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 6px; background: #fff; }
.ai-product-card-info { padding: 8px 10px; border-top: 1px solid var(--border-light); }
.ai-product-card-name { font-size: .76rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.ai-product-card-spec { font-size: .7rem; color: var(--text-muted); margin-top: 2px; }
.ai-product-card-price { font-size: .84rem; font-weight: 700; color: var(--primary); margin-top: 3px; }
.ai-chat-input-wrap { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--border-light); background: #fff; flex-shrink: 0; }
.ai-chat-input-wrap input { flex: 1; padding: 10px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-pill); font: inherit; font-size: .9rem; outline: none; }
.ai-chat-input-wrap input:focus { border-color: var(--primary); }
.ai-chat-send { width: 42px; height: 42px; border-radius: 50%; border: none; background: var(--accent); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ai-chat-send:hover { background: var(--accent-dark); }
.ai-chat-send:disabled { opacity: .6; cursor: wait; }
.ai-chat-note { font-size: .7rem; color: var(--text-light); text-align: center; padding: 0 14px 10px; background: #fff; }
.ai-msg-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid var(--border-light); border-radius: 16px; border-bottom-left-radius: 4px; }
.ai-msg-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: ai-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 ai-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: 90px; }

/* ── 18. Animácie ───────────────────────────────────────────────────────── */
.fade-in-up { animation: fadeInUp .45s ease both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── 19. Responzivita ───────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .header-search { width: 200px; }
  .nav-link { padding: 9px 9px; font-size: .9rem; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .main-nav, .header-search { display: none; }
  .hamburger { display: flex; }
  .main-nav.open {
    display: block; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; overflow-y: auto; padding: 12px 20px 40px; z-index: 999;
    border-top: 1px solid var(--border-light);
  }
  .main-nav.open .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.open .nav-link { width: 100%; justify-content: space-between; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--border-light); font-size: 1rem; }
  .main-nav.open .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; display: none; min-width: 0; }
  .main-nav.open .has-dropdown.open > .nav-dropdown { display: block; }
  .main-nav.open .has-dropdown::after { display: none; }
  .main-nav.open .nav-mega-inner, .main-nav.open .nav-dropdown-2col { grid-template-columns: 1fr; min-width: 0; }
  .main-nav.open .nav-mega-promo { display: none; }
  .nav-fav-label { display: inline; }
  .nav-fav-count { position: static; }
  .hero { padding: 44px 0 110px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-rod { display: none; }
  .product-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-gallery { position: static; }
  .product-columns { grid-template-columns: 1fr; }
  .article-container { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .blog-grid, .blog-home-grid, .blog-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .ai-banner { grid-template-columns: 1fr; padding: 32px; }
  .about-intro-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 6px; }
  .product-grid-4, .product-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card-body { padding: 12px; }
  .product-card-footer { flex-direction: column; align-items: stretch; }
  .product-card-footer .btn-buy { justify-content: center; }
  .price-current { font-size: 1rem; }
  .product-card .compare-btn { display: none; }
  .hero-search { padding-left: 14px; }
  .hero-search svg { display: none; }
  .hero-search .btn { padding: 10px 16px; }
  .hero-card { padding: 22px; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid, .gear-grid { grid-template-columns: 1fr; }
  .blog-grid, .blog-home-grid, .blog-grid-3 { grid-template-columns: 1fr; }
  .blog-card-large { grid-column: auto; flex-direction: column; }
  .blog-card-large .blog-card-img-link { min-height: 200px; border-right: none; border-bottom: 1px solid var(--border-light); }
  .filter-bar { padding: 10px; }
  .sort-bar { margin-left: 0; width: 100%; justify-content: space-between; }
  .filter-pop { min-width: 220px; max-width: calc(100vw - 40px); }
  .category-heading { gap: 12px; }
  .category-icon { width: 48px; height: 48px; border-radius: 14px; }
  .product-cta { flex-wrap: wrap; }
  .btn-buy-detail { flex-basis: 100%; }
  .product-description, .product-params, .seo-text { padding: 22px 18px; }
  .variants-table th, .variants-table td { padding: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ai-chat-trigger span { display: none; }
  .ai-chat-trigger { width: 54px; height: 54px; padding: 0; justify-content: center; border-radius: 50%; right: 14px; bottom: 14px; }
  .ai-chat { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100dvh - 80px); }
  .scroll-to-top { left: 14px; bottom: 14px; }
  .article-ai-box { flex-wrap: wrap; }
  .search-form-big { flex-direction: column; }
}
