/* ============================================================
   3.sk — dizajn systém storefrontu (Editoriál + Katalóg rail + teplý akcent)
   Prémiový, čistý, rýchly: žiadny build krok, žiadne JS knižnice.
   Základ: vzdušný editoriál (A). Kategórie: ľavý strom + sidebar filtre (B).
   Akcent: navy/modrá + striedmy jantár na CTA a „ihneď" (C).
   ============================================================ */

:root {
  --ink: #1b1e23;                /* antracit — text + chrome */
  --ink-soft: #44474d;
  --muted: #6b6f76;
  --line: #ece8e1;               /* teplá svetlá linka */
  --line-strong: #ddd7cc;
  --accent: #b45309;             /* jantár — linky, štruktúra, hover */
  --accent-dark: #92400e;
  --accent-deep: #1b1e23;        /* antracit — značková chrome (header, päta, logo) */
  --amber: #d97706;              /* jantár — CTA, „ihneď" */
  --amber-dark: #b45309;
  --amber-soft: #fdf1df;
  --amber-ink: #8a4d06;
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-soft: #f7f4ee;            /* teplá krémová (namiesto chladnej sivej) */
  --bg-tint: #f3ecdf;            /* teplý tint pre aktívne stavy */
  --success: #0a7d33;
  --success-bg: #e9f6ee;
  --warn: #b45309;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06);
  --shadow-md: 0 8px 26px -12px rgba(15, 27, 45, .18);
  --shadow-lift: 0 14px 34px -16px rgba(15, 27, 45, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1 { font-size: 30px; letter-spacing: -.025em; line-height: 1.18; }
h2 { font-size: 22px; letter-spacing: -.018em; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- tlačidlá (CTA = jantár) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--amber); color: #fff; padding: 13px 26px; border: 0;
  border-radius: var(--radius); font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: background .15s, transform .12s, box-shadow .15s;
}
.btn:hover { background: var(--amber-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn.sec { background: #fff; color: var(--accent-deep); border: 1.5px solid var(--line-strong); }
.btn.sec:hover { background: var(--bg-soft); border-color: var(--accent); box-shadow: none; transform: none; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 26px; padding: 16px 24px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 24px; color: var(--ink); letter-spacing: -.03em; }
.logo:hover { color: var(--ink); }
.logo .mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--accent-deep);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 23px; font-weight: 800;
}
.search { flex: 1; max-width: 600px; }
.search form { display: flex; position: relative; }
.search input {
  flex: 1; padding: 12px 52px 12px 18px; font-size: 15px;
  border: 1.5px solid var(--line-strong); border-radius: 11px;
  background: var(--bg-soft); font-family: inherit;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.search input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(217, 119, 6, .15); }
.search button {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: 0; border-radius: 9px; cursor: pointer;
  background: var(--accent-deep); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.search button:hover { background: var(--accent); }
.cartlink {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-weight: 600; color: var(--ink); padding: 10px 16px;
  border: 1.5px solid var(--line-strong); border-radius: 11px; transition: border-color .15s, box-shadow .15s;
}
.cartlink:hover { color: var(--ink); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.cartbadge {
  background: var(--amber); color: #fff; border-radius: 999px;
  min-width: 22px; height: 22px; padding: 0 7px; font-size: 12.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- nav kategórií + mega-menu ---------- */
nav.catnav { background: #fff; border-bottom: 1px solid var(--line); position: relative; }
nav.catnav .wrap { display: flex; align-items: stretch; gap: 14px; padding: 0 24px; }
.megabtn {
  display: inline-flex; align-items: center; gap: 9px; height: 46px;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  font-size: 14.5px; font-weight: 700; color: var(--accent-deep);
  padding: 0 14px 0 0; border-right: 1px solid var(--line);
}
.megabtn .chev { transition: transform .15s; }
.megawrap:hover .megabtn .chev, .megawrap:focus-within .megabtn .chev { transform: rotate(180deg); }
.megapanel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .14s, transform .14s, visibility .14s; z-index: 60;
}
.megawrap:hover .megapanel, .megawrap:focus-within .megapanel { opacity: 1; visibility: visible; transform: translateY(0); }
.megagrid {
  max-width: 1280px; margin: 0 auto; padding: 26px 24px 30px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 30px;
}
.megacol { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.megacol .megah { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 3px; letter-spacing: -.01em; }
.megacol .megah:hover { color: var(--accent); }
.megacol a { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.megacol a:hover { color: var(--accent); }
.quicklinks { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.quicklinks::-webkit-scrollbar { display: none; }
.quicklinks a {
  white-space: nowrap; font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
  padding: 0 13px; height: 46px; display: inline-flex; align-items: center;
  border-bottom: 2px solid transparent; transition: color .12s, border-color .12s;
}
.quicklinks a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- hero (titulka, svetlý a vzdušný) ---------- */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero .wrap { padding: 66px 24px 58px; text-align: center; }
.hero .eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.hero h1 { font-size: 46px; margin: 16px auto 14px; font-weight: 800; letter-spacing: -.035em; color: var(--ink); max-width: 820px; line-height: 1.08; }
.hero p.sub { font-size: 18px; margin: 0 auto 32px; color: var(--ink-soft); max-width: 580px; }
.hero .search { max-width: 680px; margin: 0 auto; }
.hero .search input {
  padding: 19px 64px 19px 24px; font-size: 17px; border-radius: 14px;
  background: #fff; border: 1.5px solid var(--line-strong); box-shadow: var(--shadow-md);
}
.hero .search button { width: 48px; height: 48px; right: 8px; border-radius: 10px; }
.hero .poplinks { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.hero .poplinks a { font-size: 13.5px; color: var(--ink-soft); padding: 7px 15px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; }
.hero .poplinks a:hover { border-color: var(--accent); color: var(--accent); }
.hero .chips { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; justify-content: center; font-size: 14px; color: var(--ink-soft); }
.hero .chips span { display: flex; align-items: center; gap: 7px; }
.hero .chips b { font-weight: 700; color: var(--ink); }
.hero .stats { display: flex; gap: 42px; margin-top: 34px; justify-content: center; }
.hero .stats div { line-height: 1.25; }
.hero .stats .n { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.hero .stats .l { font-size: 13px; color: var(--muted); }

/* ---------- promo bannery (titulka) ---------- */
.banners { display: grid; grid-template-columns: 2.05fr 1fr; gap: 14px; padding: 30px 0 4px; }
.kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.banner-main {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 18px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 30px; min-height: 230px;
  transition: border-color .15s, box-shadow .18s;
}
.banner-main:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.banner-main .bm-text h2 { margin: 0 0 10px; font-size: 25px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.18; }
.banner-main .bm-text p { margin: 0 0 18px; font-size: 14.5px; color: var(--ink-soft); max-width: 360px; }
.banner-main .btn { padding: 12px 22px; }
.bm-products { display: flex; gap: 12px; justify-content: flex-end; }
.bm-tile {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px; width: 118px; height: 130px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
}
.banner-main:hover .bm-tile { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.banner-main:hover .bm-tile:nth-child(2) { transition-delay: .04s; }
.banner-main:hover .bm-tile:nth-child(3) { transition-delay: .08s; }
.bm-tile img { max-width: 96px; max-height: 86px; object-fit: contain; }
.bm-tile em {
  position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%);
  font-style: normal; font-size: 12px; font-weight: 800; white-space: nowrap;
  background: var(--accent-deep); color: #fff; border-radius: 999px; padding: 3px 11px;
}
.banner-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.bs-card {
  display: flex; flex-direction: column; justify-content: center;
  border-radius: var(--radius-lg); padding: 20px 22px;
  transition: border-color .15s, box-shadow .18s;
}
.bs-card strong { font-size: 17.5px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.bs-card .bs-sub { font-size: 13px; margin-top: 6px; }
.bs-ship { background: var(--accent-deep); color: #fff; }
.bs-ship .kicker { color: rgba(255, 255, 255, .8); }
.bs-ship .bs-sub { color: rgba(255, 255, 255, .82); }
.bs-cat { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.bs-cat .bs-sub { color: var(--muted); }
.bs-cat:hover { border-color: var(--accent); box-shadow: var(--shadow-md); color: var(--ink); }
.bs-cat:hover strong { color: var(--accent); }
@media (max-width: 980px) {
  .banners { grid-template-columns: 1fr; }
  .banner-side { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
}
@media (max-width: 640px) {
  .banner-main { grid-template-columns: 1fr; min-height: 0; padding: 22px; }
  .bm-products { justify-content: flex-start; }
  .bm-tile { width: 31%; }
  .banner-side { grid-template-columns: 1fr; }
}

/* ---------- showcase bannery (oblasti) ---------- */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shban {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .15s, box-shadow .18s, transform .18s;
}
.shban:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.shban-img { aspect-ratio: 16 / 10; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; padding: 22px; }
.shban-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .25s; }
.shban:hover .shban-img img { transform: scale(1.04); }
.shban-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--accent-deep); color: #fff; padding: 15px 18px; }
.shban-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.shban-name { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.shban-cnt { font-size: 12.5px; color: rgba(255, 255, 255, .62); }
.shban-go { flex: none; width: 34px; height: 34px; border-radius: 9px; background: rgba(255, 255, 255, .1); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; transition: background .15s; }
.shban:hover .shban-go { background: var(--amber); }
@media (max-width: 860px) { .showcase { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .showcase { grid-template-columns: 1fr; } }

/* ---------- značkový marquee (pohyblivý pás) ---------- */
.brandband { margin: 30px 0 6px; padding: 20px 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft); }
.brandlabel { display: block; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.brandmask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.brandtrack { display: flex; width: max-content; animation: brandscroll 50s linear infinite; }
.brandband:hover .brandtrack { animation-play-state: paused; }
.brandmark { padding: 0 30px; font-size: 16px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
@keyframes brandscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .brandtrack { animation: none; } }

/* ---------- sekcie titulky + dlaždice ---------- */
.home-section { padding: 38px 0 6px; }
.home-section .head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.home-section .head h2 { margin: 0; }
.home-section .head .lead { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.home-section .head a { font-size: 14px; font-weight: 600; }

.sections { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 14px; }
.section {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 18px 20px 16px;
  transition: border-color .15s, box-shadow .18s, transform .18s;
}
.section:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.section h3 { margin: 0 0 6px; font-size: 16px; letter-spacing: -.01em; }
.section h3 a { color: var(--ink); }
.section h3 a::after { content: ""; position: absolute; inset: 0; }
.section:hover h3 a { color: var(--accent); }
.section .subs { font-size: 13px; color: var(--muted); line-height: 1.7; }
.section .subs a { color: var(--muted); position: relative; z-index: 1; }
.section .subs a:hover { color: var(--accent); }
.section .count { position: absolute; top: 18px; right: 18px; font-size: 12px; color: var(--muted); background: var(--bg-soft); border-radius: 999px; padding: 3px 10px; }

/* ---------- produktové karty ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(216px, 1fr)); gap: 20px; padding: 6px 0 36px; }
.grid.dense { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.card {
  display: flex; flex-direction: column; background: #fff; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .15s, box-shadow .18s, transform .18s;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card img { width: 100%; height: 200px; object-fit: contain; background: #fff; padding: 16px; transition: transform .22s; }
.grid.dense .card img { height: 168px; padding: 12px; }
.card:hover img { transform: scale(1.035); }
.card .body { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .brand { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.card .name {
  font-size: 14px; color: var(--ink); line-height: 1.45; min-height: 40px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card:hover .name { color: var(--accent); }
.card .price { font-weight: 800; font-size: 18.5px; letter-spacing: -.02em; margin-top: auto; color: var(--ink); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--success); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--success); }
.badge.out { color: var(--muted); }
.badge.out::before { background: var(--line-strong); }
/* vlastný sklad — okamžitá expedícia: jantárový pill (má vlastnú ⚡ ikonu) */
.badge.ship { color: var(--amber-ink); font-weight: 700; }
.badge.ship::before { display: none; }

/* ---------- benefity ---------- */
.benefits { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 28px; }
.benefits .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; padding: 26px 24px; }
.benefit { display: flex; gap: 13px; align-items: center; }
.benefit .ico {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.benefit b { display: block; font-size: 14.5px; }
.benefit span.d { font-size: 13px; color: var(--muted); }

/* ---------- footer ---------- */
footer.site { background: var(--accent-deep); color: rgba(255, 255, 255, .82); margin-top: 0; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding: 42px 24px 28px; }
footer.site h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 12px; }
footer.site a { color: rgba(255, 255, 255, .82); display: block; padding: 3px 0; font-size: 14px; }
footer.site a:hover { color: #fff; }
footer.site .about { font-size: 14px; line-height: 1.7; max-width: 360px; }
footer.site .about .logo { color: #fff; margin-bottom: 10px; font-size: 20px; }
footer.site .about .logo .mark { width: 32px; height: 32px; font-size: 19px; }
footer.site .bottom { border-top: 1px solid rgba(255, 255, 255, .14); }
footer.site .bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 16px 24px; font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ---------- breadcrumbs, stránkovanie, hlášky ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.pager { display: flex; gap: 8px; justify-content: center; align-items: center; padding: 8px 0 36px; }
.pager a, .pager span { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; }
.pager a:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.msg { background: var(--success-bg); border: 1px solid #bfe3cc; color: var(--success); padding: 12px 16px; border-radius: var(--radius); margin: 14px 0; font-weight: 500; }

/* ---------- kategória: ľavý rail (strom + filtre) + výsledky ---------- */
.cathead { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; }
.cathead h1 { margin: 0; }
.cathead .catcount { font-size: 14px; color: var(--muted); margin: 0; }
.catshell { display: grid; grid-template-columns: 256px 1fr; gap: 26px; align-items: start; padding-bottom: 12px; }
.catrail { position: sticky; top: 78px; display: flex; flex-direction: column; gap: 16px; }
.railbox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.railbox > h3 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 15px 18px 9px; }
.railtree { display: flex; flex-direction: column; padding-bottom: 8px; }
.railtree a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 18px; font-size: 13.5px; color: var(--ink-soft); border-left: 3px solid transparent; }
.railtree a:hover { background: var(--bg-soft); color: var(--accent); }
.railtree a.on { background: var(--bg-tint); color: var(--accent-deep); font-weight: 700; border-left-color: var(--accent); }
.railtree a .n { font-size: 11.5px; color: var(--muted); background: var(--bg-soft); border-radius: 999px; padding: 1px 8px; }
.railtree a.back { color: var(--muted); font-weight: 600; }

.catmain { min-width: 0; }
.cattoolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin-bottom: 16px; }
.cattoolbar .ct-count { font-size: 14px; color: var(--ink-soft); }
.cattoolbar .ct-count b { color: var(--ink); }
.cattoolbar .ct-sort { display: flex; align-items: center; gap: 8px; }
.cattoolbar select { padding: 8px 11px; border: 1.5px solid var(--line-strong); border-radius: 8px; font-size: 13.5px; font-family: inherit; background: #fff; }

/* ---------- filtre (sidebar form) ---------- */
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 6px 0 12px; }
.filters fieldset { border: 0; margin: 0; padding: 14px 18px; border-top: 1px solid var(--line); }
.filters fieldset:first-of-type { border-top: 0; }
.filters legend { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.filters select, .filters input[type="text"] {
  padding: 9px 12px; border: 1.5px solid var(--line-strong); border-radius: 8px;
  font-size: 14px; background: #fff; font-family: inherit;
}
.filters select { width: 100%; }
.filters select:focus, .filters input:focus { outline: none; border-color: var(--accent); }
.filters label { font-size: 14px; color: var(--ink-soft); display: flex; align-items: center; gap: 7px; padding: 3px 0; cursor: pointer; }
.brandlist { display: flex; flex-direction: column; gap: 2px; max-height: 200px; overflow: auto; }
.brandlist .cnt { color: var(--muted); font-size: 12px; margin-left: auto; }
.factions { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px 4px; border-top: 1px solid var(--line); }
.factions .btn { width: 100%; }
.qtybox { display: flex; gap: 8px; align-items: center; }
.qtybox input { width: 84px; padding: 9px; border: 1.5px solid var(--line-strong); border-radius: 8px; font-size: 14px; text-align: center; font-family: inherit; }

.cat-articles { margin: 14px 0 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.cat-articles h2 { font-size: 19px; margin: 0 0 12px; }
.cat-articles ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cat-articles a { font-weight: 600; color: var(--accent); }
.cat-articles a:hover { text-decoration: underline; }
.cat-articles span { color: var(--muted); font-weight: 400; font-size: 14px; }

@media (max-width: 860px) {
  .catshell { grid-template-columns: 1fr; gap: 14px; }
  .catrail { position: static; }
  .railbox .railtree { max-height: 220px; overflow: auto; }
}

/* ---------- detail produktu ---------- */
.pdetail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; padding: 14px 0 10px; }
.pdetail .imgbox { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; background: #fff; display: flex; align-items: center; justify-content: center; }
.pdetail img.main { width: 100%; max-height: 460px; object-fit: contain; }
.pdbrand { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.pdetail h1 { margin: 8px 0 14px; }
.pdmeta { display: flex; align-items: center; gap: 14px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.buy { font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -.025em; margin: 6px 0 2px; }
.buy small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 10px; letter-spacing: 0; }
.pdfeat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 22px; font-size: 14px; color: var(--ink-soft); }
.pdfeat div { display: flex; align-items: center; gap: 9px; }
.pdfeat .ic { flex: none; width: 19px; height: 19px; border-radius: 6px; background: var(--amber-soft); color: var(--amber-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.params { width: 100%; border-collapse: collapse; margin: 14px 0; }
.params td { border-bottom: 1px solid var(--line); padding: 10px 6px; font-size: 14px; }
.params tr:nth-child(even) td { background: var(--bg-soft); }
.params tr td:first-child { color: var(--muted); width: 44%; }
section h2 { margin-top: 32px; }

/* ---------- košík / pokladňa ---------- */
.ctable { width: 100%; border-collapse: collapse; }
.ctable td, .ctable th { border-bottom: 1px solid var(--line); padding: 13px 8px; text-align: left; font-size: 14.5px; vertical-align: middle; }
.ctable th { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.summary { margin: 18px 0 30px auto; max-width: 360px; font-size: 15px; background: var(--bg-soft); border-radius: var(--radius-lg); padding: 18px 20px; }
.summary .row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary .grand { font-size: 23px; font-weight: 800; border-top: 1px solid var(--line-strong); padding-top: 12px; margin-top: 6px; }
.field { margin: 12px 0; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 5px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--line-strong);
  border-radius: 8px; font-size: 14.5px; font-family: inherit;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217, 119, 6, .12); }
.field .errorlist { color: #c0392b; font-size: 13px; list-style: none; padding: 0; margin: 5px 0 0; }
.field ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; }

/* ---------- pokladňa (compliance) ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.checkout-form h2 { font-size: 18px; margin: 22px 0 10px; }
.checkout-form h2 .hint { font-weight: 400; font-size: 13px; color: var(--muted); }
.shipfield label { display: block; padding: 4px 0; cursor: pointer; }
.shipfield input { margin-right: 8px; }
.precheck { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 18px 0 14px; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.precheck a { color: var(--accent); }
.agreefield label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.agreefield input { margin-top: 3px; }
.agreefield a { color: var(--accent); }
.btn-order { margin-top: 16px; padding: 14px 28px; font-size: 16px; font-weight: 700; }
.form-err { color: #b00020; margin-bottom: 12px; }
.hint { color: var(--muted); font-size: 13px; }
.ck-info { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--ink-soft); }
@media (max-width: 760px) { .checkout-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- cookie consent banner ---------- */
.cc-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: var(--bg-card, #fff); border-top: 1px solid var(--line, #e3e8ef); box-shadow: 0 -8px 30px rgba(10,45,82,.12); }
.cc-banner[hidden] { display: none; }
.cc-inner { max-width: 1100px; margin: 0 auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.cc-text strong { font-size: 15px; }
.cc-text p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft, #44505f); }
.cc-text a { color: var(--accent); }
.cc-options { display: flex; flex-direction: column; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line, #e3e8ef); }
.cc-opt { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft, #44505f); cursor: pointer; }
.cc-opt input { margin-top: 3px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cc-btn { padding: 9px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; cursor: pointer; border: 1px solid var(--line-strong, #ddd7cc); background: #fff; color: var(--ink, #1b1e23); }
.cc-btn.cc-sec:hover { background: var(--bg-soft, #f2f5f9); }
.cc-btn.cc-accept { background: var(--amber); border-color: var(--amber); color: #fff; }
.cc-btn.cc-accept:hover { background: var(--amber-dark); }
.cc-btn.cc-save { background: var(--ink, #1b1e23); border-color: var(--ink, #1b1e23); color: #fff; }
@media (min-width: 720px) { .cc-actions { margin-left: auto; } }

/* ---------- blog ---------- */
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin: 28px 0; }
.blog-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.blog-card-img img { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.blog-card-body h2, .blog-card-body h3 { font-size: 18px; font-weight: 700; margin: 0; line-height: 1.35; }
.blog-card-body h2 a, .blog-card-body h3 a { color: var(--ink); }
.blog-card-body h2 a:hover, .blog-card-body h3 a:hover { color: var(--accent); }
.blog-card-body p { font-size: 14px; color: var(--ink-soft); margin: 0; flex: 1; }
.blog-date { font-size: 12px; color: var(--muted); font-weight: 500; }
.btn-more { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.btn-more:hover { text-decoration: underline; }
.legal { max-width: 860px; margin: 0 auto; padding-bottom: 48px; }
.legal h1 { font-size: 30px; font-weight: 800; margin: 8px 0 4px; line-height: 1.2; }
.legal-eff { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.legal-body { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }
.legal-body h2 { font-size: 21px; font-weight: 700; margin: 30px 0 10px; color: var(--ink); }
.legal-body h3 { font-size: 17px; font-weight: 700; margin: 22px 0 8px; color: var(--ink); }
.legal-body p, .legal-body li { margin: 0 0 10px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 0 0 14px; }
.legal-body a { color: var(--accent); }
.legal-body table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 14px; }
.legal-body th, .legal-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-body th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.blog-post { max-width: 760px; margin: 0 auto; padding-bottom: 48px; }
.blog-post-header { margin-bottom: 24px; }
.blog-post-header h1 { font-size: 34px; font-weight: 800; line-height: 1.25; margin: 8px 0 12px; }
.blog-perex { font-size: 18px; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.blog-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-lg); margin: 24px 0; }
.blog-content { font-size: 16px; line-height: 1.75; color: var(--ink); }
.blog-content h2 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.blog-content h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.blog-content p { margin: 0 0 16px; }
.blog-content ul, .blog-content ol { padding-left: 24px; margin: 0 0 16px; }
.blog-content li { margin-bottom: 6px; }
.blog-content img { max-width: 100%; border-radius: 8px; margin: 8px 0; }
.blog-content a { color: var(--accent); }
.blog-content blockquote { border-left: 4px solid var(--accent); margin: 24px 0; padding: 12px 20px; background: var(--bg-soft); border-radius: 0 8px 8px 0; font-style: italic; color: var(--ink-soft); }
.blog-post-footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.blog-post-footer a { color: var(--accent); font-weight: 600; }
.blog-post-footer a:hover { text-decoration: underline; }

/* ---------- responzív ---------- */
@media (max-width: 860px) {
  .hero .wrap { padding: 46px 20px 40px; }
  .hero h1 { font-size: 32px; }
  .hero p.sub { font-size: 16px; }
  .hero .stats { gap: 24px; }
  .pdetail { grid-template-columns: 1fr; gap: 24px; }
  footer.site .cols { grid-template-columns: 1fr; gap: 22px; }
  header.site .wrap { gap: 12px; }
  .cartlink .lbl { display: none; }
  .megabtn { font-size: 0; gap: 0; padding-right: 12px; }
  .megabtn svg:first-child { width: 20px; height: 20px; }
  .megagrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid, .grid.dense { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .card img, .grid.dense .card img { height: 148px; }
  .hero h1 { font-size: 27px; }
  .hero .chips { gap: 8px 16px; font-size: 13px; }
  .megagrid { grid-template-columns: 1fr; }
}
