/* ============================================================
   CraftModels — vzhled obchodu
   Barvy vycházejí z loga: oranžová vrtule + tmavý petrolej.
   ============================================================ */

:root {
  --ink: #1e3a44;
  --ink-deep: #142b33;
  --ink-soft: #35525e;
  --muted: #67757e;
  --accent: #ef9420;
  --accent-dark: #d97e0a;
  --accent-soft: #fdf1df;
  --bg: #f4f5f4;
  --card: #ffffff;
  --border: #e5e7e6;
  --ok: #1e8e3e;
  --ok-soft: #e6f4ea;
  --error: #c5221f;
  --error-soft: #fce8e6;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(20, 43, 51, 0.05);
  --shadow-lift: 0 8px 28px rgba(20, 43, 51, 0.10);
  /* tmavé plochy značky (hlavička/menu/patička/hero) — stejné v obou režimech */
  --brand-900: #142b33;
  --brand-800: #1e3a44;
  --brand-700: #35525e;
  /* povrchy formulářů a jemných panelů (přebarvují se v tmavém režimu) */
  --field: #ffffff;
  --panel: #fbfaf7;
}

/* ---------- tmavý režim ---------- */
[data-theme="dark"] {
  --ink: #e6edf0;
  --ink-soft: #aebcc4;
  --ink-deep: #f2f6f8;
  --muted: #8a9aa2;
  --accent-soft: #3a2b14;
  --bg: #0e1a1f;
  --card: #17262d;
  --border: #2b3f47;
  --ok: #4bbf72;
  --ok-soft: #16301f;
  --error: #f0736f;
  --error-soft: #3a1c1a;
  --field: #1d2f37;
  --panel: #12222a;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-lift: 0 10px 30px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html { color-scheme: light; }
[data-theme="dark"] html, html[data-theme="dark"] { color-scheme: dark; }

input, select, textarea {
  background: var(--field); color: var(--ink);
}
input::placeholder { color: var(--muted); }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-dark); }

h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
/* jednotný podpis nadpisů: oranžová linka pod každým h1 v obsahu */
main h1::after {
  content: ""; display: block; width: 58px; height: 4px; border-radius: 2px;
  background: var(--accent); margin-top: 10px;
}
.hero h1::after, .hero-slider h1::after { display: none; }
.success-card h1::after { margin-left: auto; margin-right: auto; }
h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- horní lišta s výhodami ---------- */
.topbar { background: var(--brand-900); color: #b8c7cd; font-size: 0.8rem; }
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; padding-top: 9px; padding-bottom: 9px;
}
.topbar a {
  color: #dbe5e8; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.15s; white-space: nowrap;
}
/* střední šířky: kontakty pryč dřív, než se začnou lámat texty */
@media (max-width: 900px) {
  .topbar .contacts { display: none; }
  .topbar-usp { gap: 18px; }
}
.topbar a:hover { color: #fff; }
.topbar a:hover svg { color: var(--accent); }
.topbar svg { width: 17px; height: 17px; flex: none; color: var(--accent); }
.topbar strong { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.topbar-usp { display: flex; align-items: center; gap: 30px; }
.contacts { display: flex; align-items: center; gap: 20px; }

/* ---------- hlavička ---------- */
.site-header { background: var(--card); position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 28px; padding: 10px 20px; }
.logo { text-decoration: none; flex-shrink: 0; }
.logo img { height: 68px; display: block; }
.logo .logo-dark { display: none; }
[data-theme="dark"] .logo .logo-light { display: none; }
[data-theme="dark"] .logo .logo-dark { display: block; }
.logo-text { font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: 0.5px; }

.search { flex: 1; display: flex; max-width: 580px; }
.search input {
  flex: 1; padding: 13px 20px; font-size: 0.95rem;
  border: 1px solid var(--border); border-right: 0; border-radius: 6px 0 0 10px;
  outline: none; transition: border-color 0.15s;
}
.search input:focus { border-color: var(--accent); }
.search button {
  border-radius: 0 10px 10px 0; padding: 0 26px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 9px;
}
.search button svg { width: 18px; height: 18px; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-link {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px;
  border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600;
  font-size: 0.9rem; transition: background 0.15s, color 0.15s;
}
.icon-link:hover { background: var(--accent-soft); color: var(--accent-dark); }
.icon-link svg { width: 21px; height: 21px; }

.cart-link {
  position: relative; display: flex; align-items: center; gap: 10px;
  background: var(--brand-800); color: #fff;
  padding: 13px 24px; border-radius: 6px; text-decoration: none; font-weight: 700;
  transition: background 0.15s, transform 0.15s;
}
.cart-link svg { width: 20px; height: 20px; }
.cart-link:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.cart-link .badge {
  position: absolute; top: -8px; right: -8px;
  background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700;
  min-width: 22px; height: 22px; border-radius: 999px; border: 2px solid var(--card);
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}

/* ---------- navigace ---------- */
.main-nav { background: var(--brand-800); }
.main-nav .container {
  display: flex; flex-wrap: nowrap;
  /* POZOR: žádný overflow — ořízl by rozbalovací submenu (position:absolute).
     Jeden řádek drží zmenšování paddingů v breakpointech níže. */
}
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 7px; color: #eef3f5; text-decoration: none;
  padding: 15px 20px; font-size: 0.84rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em; white-space: nowrap;
}
/* menu se nesmí zalomit do dvou řádků — při zúžení se stáhnou mezery
   (musí být AŽ ZA základním pravidlem, jinak ho kaskáda přebije) */
@media (max-width: 1240px) {
  .nav-item > a { padding: 15px 11px; letter-spacing: 0.03em; font-size: 0.8rem; }
}
@media (max-width: 1080px) {
  .nav-item > a { padding: 14px 7px; letter-spacing: 0.01em; font-size: 0.74rem; }
}
.nav-item.has-sub > a::after {
  content: ""; width: 7px; height: 7px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); opacity: 0.75; transition: transform 0.15s;
}
.nav-item:hover > a { background: var(--brand-700); }
.nav-item.has-sub:hover > a::after { transform: rotate(225deg); margin-top: 2px; }
.dropdown {
  display: none; position: absolute; left: 0; top: 100%; min-width: 230px; z-index: 60;
  background: var(--card); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lift); padding: 8px 0; overflow: hidden;
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: block; padding: 9px 20px; color: var(--ink); text-decoration: none; font-size: 0.92rem;
}
.dropdown a:hover { background: var(--accent-soft); color: var(--accent-dark); }
/* šipka pro rozbalení podkategorií — jen v mobilním menu */
.sub-toggle { display: none; }

/* našeptávač hlavičkového vyhledávání */
.search { position: relative; }
.search .suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 70;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
  overflow: hidden; max-height: 70vh; overflow-y: auto;
}
.sg-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  color: inherit; border-bottom: 1px solid var(--border); font-size: 0.86rem;
}
.sg-item:hover { background: var(--accent-soft); }
.sg-item img, .sg-noimg { width: 38px; height: 38px; object-fit: contain; flex: none; }
.sg-name { flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sg-price { font-weight: 700; white-space: nowrap; }
.sg-all { display: block; padding: 10px 12px; text-align: center; font-size: 0.84rem; font-weight: 600; color: var(--accent-dark); }
.sg-all:hover { background: var(--accent-soft); }

/* stránka Kontakt */
.contact-page { max-width: 760px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 20px 0 24px; }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.contact-card h2 { font-size: 0.95rem; margin: 0 0 8px; }
.contact-card p { margin: 0 0 4px; }
.contact-card .muted { color: var(--muted); font-size: 0.85rem; }

/* SVG ikonky v ghost akcích a labelech (náhrada emoji) */
.ghost-action svg, .label-ico { width: 17px; height: 17px; vertical-align: -3px; margin-right: 2px; }

/* chipy podkategorií nad výpisem — boční strom je na mobilu až pod produkty */
.subcat-chips { display: none; }

/* main.container přebíjí .container (jinak třída vynuluje horní odsazení) */
main.container { padding: 44px 20px 72px; min-height: 60vh; }

/* výraznější oddělení prvního bloku (banery / hero) od menu */
main > .banner-strip:first-child,
main > .hero:first-child,
main > .hero-slider:first-child { margin-top: 20px; }

/* ---------- zprávy ---------- */
.message {
  padding: 13px 18px; border-radius: var(--radius); margin-bottom: 18px;
  background: var(--ok-soft); border: 1px solid var(--ok); color: var(--ok); font-weight: 600;
}
.message.error { background: var(--error-soft); border-color: var(--error); color: var(--error); }
.message.info { background: var(--card); border-color: var(--border); color: var(--ink); }

/* ---------- hero banner ---------- */
.hero {
  position: relative; overflow: hidden; border-radius: 8px; margin-bottom: 28px;
  background: linear-gradient(120deg, var(--brand-900) 0%, var(--brand-800) 55%, var(--brand-700) 100%);
  color: #fff; padding: 64px 56px; box-shadow: var(--shadow-lift);
}
.hero h2 { font-size: 2.6rem; margin: 0 0 14px; max-width: 560px; line-height: 1.15; color: #fff; font-weight: 800; letter-spacing: -0.02em; }
.hero .eyebrow {
  color: var(--accent); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.82rem; margin: 0 0 10px;
}
.hero h1 { font-size: 2.6rem; margin: 0 0 14px; max-width: 560px; line-height: 1.15; color: #fff; }
.hero .tagline { font-size: 1.12rem; color: #c8d5da; max-width: 480px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 460px; height: 460px; opacity: 0.14; pointer-events: none;
}

/* ---------- pás promo banerů (dlaždice vedle sebe) ---------- */
.banner-strip { position: relative; margin-bottom: 32px; }
.strip-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc(20% - 13px);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 4px;
}
.strip-track::-webkit-scrollbar { display: none; }
.banner-tile {
  position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden;
  display: flex; align-items: flex-end; text-decoration: none; color: #fff;
  background-size: cover; background-position: center; scroll-snap-align: start;
  box-shadow: var(--shadow); transition: transform 0.16s, box-shadow 0.16s;
}
.banner-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
/* dlaždice bez obrázku: jednotná, tlumená paleta v tónu značky (žádná duha) */
.banner-tile:nth-child(5n + 1) { background-image: linear-gradient(155deg, #24444f, #16303a); }
.banner-tile:nth-child(5n + 2) { background-image: linear-gradient(155deg, #2f5058, #1d3b43); }
.banner-tile:nth-child(5n + 3) { background-image: linear-gradient(155deg, #34544d, #1e3c38); }
.banner-tile:nth-child(5n + 4) { background-image: linear-gradient(155deg, #4a4038, #2c2723); }
.banner-tile:nth-child(5n + 5) { background-image: linear-gradient(155deg, #2a4855, #1a343d); }
/* přechod drží bílý text čitelný i nad světlými produktovými fotkami */
.banner-tile.has-image { background-color: #fff; }
.banner-tile.has-image::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(15, 32, 39, 0.06) 0%,
    rgba(15, 32, 39, 0.10) 28%,
    rgba(15, 32, 39, 0.86) 58%,
    rgba(15, 32, 39, 0.97) 100%);
}
.tile-overlay { position: relative; z-index: 1; padding: 18px; }
.tile-overlay h2 {
  font-size: 1.08rem; margin: 0 0 8px; color: #fff; line-height: 1.25;
  text-transform: uppercase; letter-spacing: 0.03em;
  text-shadow: 0 1px 4px rgba(10, 22, 27, 0.55);
}
.tile-overlay p {
  font-size: 0.79rem; color: rgba(255, 255, 255, 0.88); margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 1px 3px rgba(10, 22, 27, 0.5);
}
.tile-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; color: #fff; border: 2px solid var(--accent);
  padding: 9px 16px; border-radius: 4px; font-weight: 700; font-size: 0.76rem;
  text-transform: uppercase; letter-spacing: 0.07em;
  transition: background 0.15s, color 0.15s;
}
.tile-btn::after { content: "→"; color: var(--accent); transition: transform 0.15s, color 0.15s; }
.banner-tile:hover .tile-btn { background: var(--accent); color: #fff; }
.banner-tile:hover .tile-btn::after { color: #fff; transform: translateX(3px); }
.strip-arrow {
  width: 42px; height: 42px; border-radius: 50%; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-800); color: #fff; font-size: 1.35rem; line-height: 1;
  box-shadow: var(--shadow); border: none;
}
.strip-arrow:hover { background: var(--accent); color: #fff; transform: none; }
/* bannerový pás: šipky překrývají okraj dlaždic (jsou nad obrázky) */
.banner-strip .strip-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  box-shadow: var(--shadow-lift);
}
.banner-strip .strip-arrow:hover { transform: translateY(-50%); }
.banner-strip .strip-arrow.prev { left: -14px; }
.banner-strip .strip-arrow.next { right: -14px; }

/* ---------- karusel produktů (novinky, akce, doporučujeme) ---------- */
.strip-section { position: relative; margin-bottom: 12px; }
.strip-section.tinted {
  background: var(--panel); padding: 2px 0 26px; margin: 34px 0;
  box-shadow: -100vmax 0 0 var(--panel), 100vmax 0 0 var(--panel);
}
/* šipky patří k pásu — sedí ve výšce obrázků, takže nekryjí názvy */
.ps-wrap { position: relative; }
.ps-wrap .strip-arrow {
  position: absolute; top: 112px; transform: translateY(-50%); z-index: 4;
  box-shadow: var(--shadow-lift);
}
.ps-wrap .strip-arrow:hover { transform: translateY(-50%) scale(1.06); }
.ps-wrap .strip-arrow.prev { left: -21px; }
.ps-wrap .strip-arrow.next { right: -21px; }
/* na užších oknech není vedle obsahu místo — šipky se posunou nad okraj obrázku */
@media (max-width: 1290px) {
  .ps-wrap .strip-arrow.prev { left: 6px; }
  .ps-wrap .strip-arrow.next { right: 6px; }
}
.ps-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc(25% - 15px);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 4px 4px 10px;
}
.ps-track::-webkit-scrollbar { display: none; }
.ps-track > * { scroll-snap-align: start; }
/* hlavička se s ubývajícím místem postupně zjednodušuje */
@media (max-width: 1300px) {
  .header-inner { gap: 16px; }
  .search { max-width: 440px; }
}
@media (max-width: 1150px) {
  .icon-link .icon-label { display: none; }
  .icon-link { padding: 10px; }
  .cart-link { padding: 13px 18px; }
}
@media (max-width: 1100px) {
  .ps-track { grid-auto-columns: calc(33.333% - 14px); }
  .phone-pill small { display: none; }
}

/* ---------- FAQ (karty otázek s otočným „+") ---------- */
.faq-intro { color: var(--ink-soft); font-size: 1.02rem; }
.rich-text h2 { margin: 36px 0 16px; font-size: 1.22rem; }
.rich-text h2:first-of-type { margin-top: 28px; }
.rich-text details {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 6px; margin: 0 0 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.rich-text details[open] { border-color: var(--accent); box-shadow: var(--shadow); }
.rich-text summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 17px 22px 17px 58px; font-weight: 600; line-height: 1.45;
  transition: color 0.15s;
}
.rich-text summary::-webkit-details-marker { display: none; }
.rich-text summary::before {
  content: "+"; position: absolute; left: 19px; top: 50%;
  width: 26px; height: 26px; margin-top: -13px; line-height: 24px;
  text-align: center; font-size: 27px; font-weight: 400;
  color: var(--accent-dark); transition: transform 0.22s ease;
}
.rich-text details[open] summary::before { transform: rotate(45deg); }
.rich-text summary:hover { color: var(--accent-dark); }
.rich-text details > :not(summary) {
  margin: 0; padding: 0 22px 18px 58px; color: var(--ink-soft); line-height: 1.7;
  animation: faq-open 0.25s ease;
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .rich-text summary { padding: 15px 16px 15px 48px; }
  .rich-text summary::before { left: 14px; }
  .rich-text details > :not(summary) { padding: 0 16px 16px 48px; }
}

/* ---------- popup 10 % na první nákup ---------- */
.nl-popup {
  position: fixed; inset: 0; z-index: 100; background: rgba(15, 32, 39, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.nl-popup[hidden] { display: none; }
.nl-box {
  position: relative; background: var(--card); border-radius: 8px;
  padding: 34px 36px 26px; max-width: 420px; width: 100%;
  box-shadow: var(--shadow-lift); text-align: center;
}
.nl-box h2 { margin: 0 0 10px; }
.nl-box p { color: var(--ink-soft); margin: 0 0 18px; }
.nl-box form { display: flex; flex-direction: column; gap: 10px; }
.nl-box input[type="email"] {
  padding: 12px 16px; border: 2px solid var(--border); border-radius: 6px;
  font-family: inherit; font-size: 0.95rem; background: var(--field); color: var(--ink);
}
.nl-box small { display: block; margin-top: 12px; color: var(--muted); }
.nl-close {
  position: absolute; top: 10px; right: 14px; background: transparent;
  color: var(--muted); font-size: 1.6rem; line-height: 1; padding: 6px;
  box-shadow: none;
}
.nl-close:hover { color: var(--ink); transform: none; }

/* ---------- pomocník prázdného vyhledávání ---------- */
.empty-search h2 { font-size: 1.05rem; margin: 26px 0 12px; }
.es-categories { display: flex; flex-wrap: wrap; gap: 10px; }
.es-chip {
  display: inline-block; padding: 9px 18px; border: 2px solid var(--border);
  border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600;
  font-size: 0.9rem; transition: border-color 0.15s, background 0.15s;
}
.es-chip:hover { border-color: var(--accent); background: var(--bg); }
.es-help { margin-top: 26px; color: var(--ink-soft); }

/* ---------- načíst další + zpět nahoru ---------- */
.load-more-wrap { text-align: center; margin: 18px 0 6px; }
.load-more {
  min-width: 220px; background: transparent;
  border: 2px solid var(--accent); color: var(--accent-dark);
}
button.load-more:hover { background: var(--accent-soft); color: var(--accent-dark); }
.back-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22); padding: 0;
}
@media (max-width: 720px) {
  .back-top { bottom: 76px; }  /* nekolidovat se sticky-buy na mobilu */
}

/* ---------- Hodí se k tomu v košíku (řádky pod položkou) ---------- */
.ci-acc {
  margin: -6px 0 14px; padding: 0 14px 4px; border: 1px solid var(--border);
  border-top: 0; border-radius: 0 0 8px 8px; background: var(--accent-soft);
}
.ci-acc summary {
  cursor: pointer; list-style: none; padding: 9px 0;
  font-size: 0.86rem; font-weight: 600; color: var(--accent-dark);
}
.ci-acc summary::-webkit-details-marker { display: none; }
.ci-acc summary::after { content: " ▾"; font-size: 0.75rem; }
.ci-acc[open] summary::after { content: " ▴"; }
.ci-acc-row {
  display: flex; align-items: center; gap: 10px; padding: 7px 10px;
  margin-bottom: 6px; background: var(--card); border: 1px solid var(--border);
  border-radius: 6px;
}
.ci-acc-link {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); font-size: 0.88rem;
}
.ci-acc-link img {
  flex: none; width: 34px; height: 34px; object-fit: contain;
  border-radius: 4px; background: #fff;
}
.ci-acc-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-acc-price { flex: none; font-weight: 700; font-size: 0.88rem; color: var(--ink); }
.ci-acc-add { padding: 6px 14px; font-size: 0.83rem; border-radius: 6px; }
@media (max-width: 560px) {
  .ci-acc-link span { white-space: normal; font-size: 0.82rem; }
}

/* ---------- Hodí se k tomu (boxy v popisu produktu) ---------- */
.acc-inline { margin-top: 20px; border-top: 1px dashed var(--border); padding-top: 14px; }
.acc-title { margin: 0 0 10px; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.acc-box {
  display: flex; align-items: center; gap: 14px; margin-bottom: 10px;
  padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--card); text-decoration: none; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.acc-box:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.acc-box img {
  flex: none; width: 56px; height: 56px; object-fit: contain;
  border-radius: 6px; background: #fff;
}
.acc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acc-info strong { font-size: 0.92rem; line-height: 1.35; }
.acc-price { color: var(--accent-dark); font-weight: 700; font-size: 0.95rem; }
.acc-btn { flex: none; padding: 8px 14px; font-size: 0.85rem; }
@media (max-width: 560px) {
  .acc-btn { display: none; }
}

/* ---------- box podpory v pokladně ---------- */
.pay-note {
  margin: 14px 0 0; padding: 12px 14px; border-radius: 8px;
  background: var(--accent-soft); border: 1px solid #f3d9ad;
  font-size: 0.85rem; line-height: 1.55; color: var(--ink-soft);
}
.checkout-help {
  display: flex; gap: 12px; align-items: flex-start;
  border-top: 1px dashed var(--border); margin-top: 16px; padding-top: 16px;
  font-size: 0.88rem;
}
.checkout-help .ch-icon {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.checkout-help .ch-icon svg { width: 19px; height: 19px; }
.checkout-help p { margin: 4px 0 0; color: var(--ink-soft); }

/* ---------- sticky lišta Koupit (mobil) ---------- */
.sticky-buy {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: none; align-items: center; gap: 14px; padding: 10px 16px;
  background: var(--card); border-top: 1px solid var(--border);
  box-shadow: 0 -6px 22px rgba(15, 32, 39, 0.16);
}
.sticky-buy[hidden] { display: none !important; }
@media (max-width: 860px) { .sticky-buy:not([hidden]) { display: flex; } }
.sticky-buy .sb-info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.sticky-buy .sb-info strong { color: var(--accent-dark); font-size: 1.12rem; }
.sticky-buy .sb-info small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-buy form { flex: none; }
.sticky-buy .button { flex: none; font-size: 0.86rem; padding: 11px 14px; }

/* ---------- sbalený dlouhý popis ---------- */
.ld-body.clamped { max-height: 360px; overflow: hidden; position: relative; }
.ld-body.clamped::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(rgba(255, 255, 255, 0), var(--card));
}
.ld-more {
  margin-top: 12px; background: transparent; color: var(--accent-dark);
  border: 2px solid var(--border); border-radius: 999px; padding: 9px 20px;
  font-weight: 700; box-shadow: none;
}
/* přebíjí globální button:hover — jinak oranžový text zmizí na oranžovém podkladu */
button.ld-more:hover {
  background: var(--accent-soft); color: var(--accent-dark);
  border-color: var(--accent); transform: none;
}

/* ---------- telefonní box v hlavičce ---------- */
.phone-pill {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 4px 6px; text-decoration: none; color: var(--ink);
  transition: color 0.15s;
}
.phone-pill:hover { color: var(--accent-dark); }
.phone-pill .pp-icon {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: #2f8f5f; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, transform 0.15s;
}
.phone-pill:hover .pp-icon { background: #27794f; transform: scale(1.06); }
.phone-pill svg { width: 19px; height: 19px; }
.phone-pill .pp-body { display: flex; flex-direction: column; line-height: 1.2; }
.phone-pill strong { font-size: 0.95rem; white-space: nowrap; }
.phone-pill small { color: var(--muted); font-size: 0.72rem; white-space: nowrap; }

/* ---------- dlaždice kategorií ---------- */
/* ---------- hero (podle návrhu z Pencilu) ---------- */
.hero2 { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; margin-bottom: 34px; }
.hero2-main {
  background: linear-gradient(135deg, var(--brand-900, #142b33), var(--brand-800, #1e3a44));
  border-radius: 10px; padding: 44px 48px; color: #fff;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px;
}
/* hero jako obrázkový banner z administrace (model Banner) */
.hero2-main.hero2-img { padding: 0; overflow: hidden; background: none; }
.hero2-main.hero2-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: left center;
  display: block; transition: transform 0.25s;
}
.hero2-main.hero2-img:hover img { transform: scale(1.015); }
@media (max-width: 1000px) {
  .hero2-main.hero2-img { aspect-ratio: 2 / 1; }
}
.hero2-chip {
  background: rgba(239, 148, 32, 0.18); color: var(--accent);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em;
  padding: 5px 12px; border-radius: 999px;
}
.hero2-main h1 { margin: 0; font-size: 2.1rem; line-height: 1.2; color: #fff; max-width: 520px; }
.hero2-main h1::after { display: none; }
.hero2-main p { margin: 0; color: rgba(255, 255, 255, 0.72); max-width: 460px; line-height: 1.6; }
.hero2-main .button { margin-top: 6px; }
.hero2-side { display: flex; flex-direction: column; gap: 16px; }
.hero2-card {
  flex: 1; display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 20px 22px; text-decoration: none; color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.hero2-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: var(--accent); }
.hero2-card.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero2-card.accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.hero2-card .h2c-ico {
  flex: none; width: 44px; height: 44px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.16); color: inherit;
  display: flex; align-items: center; justify-content: center;
}
.hero2-card:not(.accent) .h2c-ico { background: var(--accent-soft); color: var(--accent-dark); }
.hero2-card .h2c-ico svg { width: 22px; height: 22px; }
.hero2-card .h2c-body { flex: 1; min-width: 0; }
.hero2-card strong { display: block; font-size: 1rem; margin-bottom: 3px; }
.hero2-card p { margin: 0; font-size: 0.82rem; line-height: 1.45; opacity: 0.75; }
.hero2-card .h2c-arrow { flex: none; font-size: 1.1rem; opacity: 0.6; }

/* kategorie: kompaktní řádek dlaždic s ikonkami */
.category-tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 10px; margin-bottom: 40px;
}
.tile {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 16px 10px 14px; text-align: center; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--accent); }
.tile-ico {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.tile:hover .tile-ico { background: var(--accent); color: #fff; }
.tile-ico svg, .tile-ico .cat-svg { width: 22px; height: 22px; }
.tile-name { font-weight: 600; font-size: 0.84rem; line-height: 1.25; }

/* ---------- cookie lišta ---------- */
.cookie-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 80;
  max-width: 420px;
}
.cookie-bar[hidden] { display: none; }
.cb-box {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 14px 40px rgba(15, 32, 39, 0.22); padding: 18px 20px;
}
.cb-box h3 { margin: 0 0 8px; font-size: 1rem; }
.cb-box p { margin: 0 0 12px; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; }
.cb-box p a { color: var(--accent-dark); }
.cb-cats { margin: 0 0 12px; display: flex; flex-direction: column; gap: 2px; }
.cb-cats[hidden], .cb-actions [hidden] { display: none; }
.cb-actions .button.ghost { color: var(--ink); border-color: var(--border); }
.cb-actions .button.ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.cb-cats .check { font-size: 0.85rem; }
.cb-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cb-actions .button { padding: 9px 16px; font-size: 0.88rem; }
.cb-actions .link-button { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 720px) {
  .cookie-bar { left: 8px; right: 8px; bottom: 8px; max-width: none; }
  .cb-actions .button { flex: 1; text-align: center; }
}

/* ---------- pás výhod pod menu (celý web) ---------- */
.benefits-bar { background: var(--card); border-bottom: 1px solid var(--border); }
.benefits-bar .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 12px 20px;
}
.bb-item {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--ink);
}
.bb-item svg { width: 26px; height: 26px; flex: none; color: var(--accent); }
.bb-item strong { display: block; font-size: 0.88rem; line-height: 1.25; }
.bb-item small { color: var(--muted); font-size: 0.78rem; }
.bb-item:hover strong { color: var(--accent-dark); }

/* ---------- pás výhod ---------- */
.benefits {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin: 34px 0 10px; padding: 22px 8px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 8px;
}
.benefit {
  display: flex; align-items: center; gap: 14px;
  padding: 6px 22px; font-size: 0.92rem;
  border-left: 1px solid var(--border);
  color: inherit; text-decoration: none;
  transition: color 0.15s;
}
.benefit:first-child { border-left: none; }
a.benefit:hover { color: var(--accent-dark); }
a.benefit:hover .b-icon { background: var(--accent); color: #fff; }
.benefit .b-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  background: transparent; color: var(--accent); border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.benefit .b-icon svg { width: 21px; height: 21px; }
.benefit strong {
  display: block; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.benefit span { color: var(--muted); font-size: 0.84rem; }

.section-head { display: flex; align-items: center; gap: 14px; margin: 40px 0 22px; }
.section-head h2 {
  margin: 0; position: relative; padding-bottom: 12px;
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.35rem;
}
.section-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 58px; height: 3px; border-radius: 2px; background: var(--accent);
}
.section-head::after { content: ""; flex: 1; order: 1; }
.section-link { order: 2; flex-shrink: 0; color: var(--accent-dark); font-weight: 700; font-size: 0.9rem; text-decoration: none; white-space: nowrap; }
.section-link:hover { text-decoration: underline; }

/* ---------- mřížka produktů ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px;
}
.product-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px 16px; display: flex; flex-direction: column; position: relative;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.product-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--accent);
}
.product-card .card-body { text-decoration: none; color: inherit; flex: 1; display: flex; flex-direction: column; }
.product-card .img-wrap {
  height: 190px; display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 6px; margin-bottom: 14px; overflow: hidden;
}
.product-card img { max-width: 100%; max-height: 178px; object-fit: contain; transition: transform 0.25s; }
.product-card:hover img { transform: scale(1.05); }
.no-image { color: #b9c1c6; font-size: 0.85rem; }
.product-card h3 {
  font-size: 0.96rem; font-weight: 600; margin: 0 0 6px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.7em;
}
.product-card:hover h3 { color: var(--accent-dark); }
.product-card .meta {
  color: var(--muted); font-size: 0.74rem; margin: 0 0 10px;
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}
.card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border);
}
.price { font-weight: 800; font-size: 1.24rem; white-space: nowrap; }
.price.big { font-size: 1.9rem; }
/* akční cena červeně (ladí s odznakem Sleva) */
.price.sale { color: #c0392b; }

.stock-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--ok); }
.stock-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

.card-badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge-sale, .badge-new, .badge-soldout {
  font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: #fff;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.badge-sale { background: #c0392b; }
.badge-new { background: #2f8f57; }
.badge-soldout { background: var(--muted); }
.card-stock { color: var(--ok); font-size: 0.82rem; font-weight: 600; margin: 0 0 8px; }
.price-block { display: flex; flex-direction: column; line-height: 1.25; }

/* tlačítka na kartě: srdce (obrys) + oranžový košík */
.card-actions { display: flex; align-items: center; gap: 8px; }
.card-actions form { display: flex; }
.card-fav, .card-buy {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border-radius: 6px;
  box-shadow: none; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.card-fav svg, .card-buy svg { width: 19px; height: 19px; }
.card-fav { background: transparent; color: var(--ink-soft); border: 1.5px solid var(--border); }
.card-fav:hover { color: var(--accent-dark); border-color: var(--accent); background: var(--accent-soft); transform: none; }
.card-buy { background: var(--accent); color: #fff; border: 1.5px solid var(--accent); }
.card-buy:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.old-price { color: var(--muted); font-size: 0.85rem; font-weight: 500; }
.out-of-stock { color: var(--error); font-weight: 600; font-size: 0.9rem; margin: 0; }

/* ---------- tlačítka ---------- */
button, .button {
  background: var(--accent); color: #fff; border: 0; border-radius: 6px;
  padding: 10px 18px; font-size: 0.93rem; font-weight: 700; font-family: inherit;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.15s, transform 0.12s;
}
button:hover, .button:hover { background: var(--accent-dark); transform: translateY(-1px); }
button:active, .button:active { transform: translateY(0); }
.button.big { padding: 14px 32px; font-size: 1.02rem; border-radius: 6px; }
.button.ghost {
  background: transparent; border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: none; color: #fff;
}
.button.ghost:hover { border-color: var(--accent); color: var(--accent); }
.link-button { background: none; color: var(--error); padding: 0; box-shadow: none; text-decoration: underline; font-weight: 500; }
.link-button:hover { background: none; transform: none; filter: none; }

/* ---------- kategorie & filtry ---------- */
.page-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.category-desc { color: var(--ink-soft); max-width: 820px; margin: 0 0 18px; font-size: 0.95rem; }
.category-desc.clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.desc-more { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: 0.9rem; cursor: pointer; margin: 0 0 14px; text-decoration: underline; }
.page-head .count { color: var(--muted); font-size: 0.95rem; }
.filters {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 20px; margin: 14px 0 24px; box-shadow: var(--shadow);
}
.filters label { font-weight: 600; font-size: 0.9rem; }
.filters select {
  margin-left: 10px; padding: 8px 14px; border: 2px solid var(--border); border-radius: 6px;
  font-family: inherit; font-size: 0.9rem; background: var(--field); cursor: pointer;
}
.filters select:focus { border-color: var(--accent); outline: none; }

/* ---------- detail produktu ---------- */
/* drobečková navigace — stejný vizuální jazyk jako ukazatel kroků v pokladně */
.breadcrumb {
  color: var(--muted); font-size: 0.76rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin: 4px 0 26px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-dark); }
.product-detail {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px;
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 36px; box-shadow: var(--shadow);
}
/* min-width: 0 — tabulka parametrů jinak roztáhne mřížku přes viewport */
.product-detail > * { min-width: 0; }
.params td { word-break: break-word; }
/* galerie: sloupec náhledů vlevo + hlavní obrázek se šipkami a počítadlem */
.product-gallery { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: start; }
/* jediný obrázek = sloupec náhledů odpadá, fotka zabere celou šířku */
.product-gallery.single { grid-template-columns: 1fr; }
.pg-thumbs {
  display: flex; flex-direction: row; order: 2; gap: 10px;
  overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin;
}
.pg-main { order: 1; }
.pg-thumb {
  padding: 4px; background: #fff; border: 2px solid var(--border); border-radius: 6px;
  box-shadow: none; cursor: pointer; transition: border-color 0.15s;
}
.pg-thumb:hover { border-color: var(--accent); transform: none; }
.pg-thumb.active { border-color: var(--accent); }
.pg-thumb { flex: none; width: 78px; }
.pg-thumb img { width: 100%; height: 58px; object-fit: contain; display: block; }
.pg-main { position: relative; background: #fff; border-radius: 6px; overflow: hidden; }
.pg-image { width: 100%; max-height: 470px; object-fit: contain; display: block; }
.pg-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; padding: 0; border: none;
  background: rgba(30, 58, 68, 0.82); color: #fff; font-size: 1.35rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.15s, background 0.15s;
}
.pg-main:hover .pg-arrow { opacity: 1; }
.pg-arrow:hover { background: var(--accent); transform: translateY(-50%); }
.pg-arrow.prev { left: 12px; }
.pg-arrow.next { right: 12px; }
.pg-counter {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(30, 58, 68, 0.82); color: #fff;
  padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
}
.no-image.large { height: 380px; display: flex; align-items: center; justify-content: center; background: var(--panel); border-radius: 6px; }

/* hlavička informací o produktu */
.product-info h1 { margin: 6px 0 10px; font-size: 1.75rem; line-height: 1.25; }
.pi-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.pi-tag {
  color: var(--muted); font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.pi-tag + .pi-tag::before { content: "·"; margin-right: 8px; color: var(--border); }
.pi-rating { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 0 0 14px; }
.pi-rating .stars-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-soft); text-decoration: none; font-size: 0.9rem;
}
.pi-rating .stars-link.muted { color: var(--muted); }
.pi-rating form { display: flex; }
.fav-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 0;
  background: transparent; color: var(--ink-soft); box-shadow: none; font-weight: 600;
  font-size: 0.9rem; transition: color 0.15s;
}
.fav-link svg { width: 18px; height: 18px; }
.fav-link:hover { color: var(--accent-dark); background: transparent; transform: none; }
.fav-link.active { color: var(--accent-dark); }
.availability { display: inline-block; padding: 5px 14px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; }
.availability.ok { background: var(--ok-soft); color: var(--ok); }
.availability.out { background: var(--error-soft); color: var(--error); }
.buy-box {
  background: var(--panel); border: 1px solid var(--border); border-radius: 8px;
  padding: 22px 24px; margin: 18px 0;
}
.bb-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.bb-price { display: flex; flex-direction: column; }
.bb-price .price.big { margin: 0; line-height: 1.1; }
.bb-stock { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.bb-note { color: var(--muted); font-size: 0.84rem; margin: 4px 0 0; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 2px; }
.price-row .old-price { font-size: 1.05rem; }
.sale-note { color: var(--error); font-weight: 800; }
.delivery { color: var(--muted); font-size: 0.9rem; }
.add-to-cart { display: flex; gap: 12px; margin: 18px 0 0; }
.add-to-cart .button.big { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.add-to-cart .button.big svg { width: 20px; height: 20px; }

/* tři výhody pod tlačítkem koupit */
.bb-perks {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border);
}
.bb-perks .perk { display: flex; align-items: flex-start; gap: 8px; }
.bb-perks .perk-icon { flex: none; color: var(--accent-dark); margin-top: 1px; }
.bb-perks .perk-icon svg { width: 18px; height: 18px; }
.bb-perks .perk-body { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.bb-perks .perk-body strong { font-size: 0.79rem; }
.bb-perks .perk-body small { color: var(--muted); font-size: 0.72rem; }

/* rozbalovátka pod výhodami (doprava, hlídací pes) */
.bb-extras { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.bb-extras .shipping-box { margin: 0; flex: 1 1 240px; }
.bb-extras .shipping-box summary { font-size: 0.85rem; }
.bb-extras .watchdog-box { flex: none; }
.qty { display: inline-flex; border: 2px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--field); }
.qty button {
  background: var(--panel); color: var(--ink); box-shadow: none; border-radius: 0;
  width: 42px; font-size: 1.15rem; padding: 0;
}
.qty button:hover { background: var(--border); transform: none; filter: none; }
.add-to-cart input[type="number"] {
  width: 56px; padding: 12px 4px; text-align: center; font-size: 1rem; font-family: inherit;
  border: 0; outline: none; -moz-appearance: textfield;
}
.add-to-cart input[type="number"]::-webkit-outer-spin-button,
.add-to-cart input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }
.short-desc { color: var(--ink-soft); margin: 10px 0 4px; line-height: 1.6; }
.more-link { color: var(--accent-dark); font-weight: 600; text-decoration: none; white-space: nowrap; }
.more-link:hover { text-decoration: underline; }
/* galerie jede při rolování s obsahem — pod obrázkem nezůstává prázdné místo */
.product-detail .product-gallery { position: sticky; top: 120px; align-self: start; }
.params { border-collapse: collapse; margin-top: 16px; width: 100%; }
.params th { text-align: left; padding: 8px 20px 8px 0; color: var(--muted); font-weight: 500; width: 40%; }
.params td { padding: 8px 0; font-weight: 600; }
.params tr { border-bottom: 1px solid var(--border); }
.params tr:last-child { border-bottom: 0; }
.long-desc {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 32px 36px; margin-top: 26px; box-shadow: var(--shadow);
}
.long-desc h2 { border-bottom: 3px solid var(--accent); display: inline-block; padding-bottom: 6px; }

/* ---------- košík ---------- */
.cart-table {
  width: 100%; border-collapse: collapse; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.cart-table th { background: var(--brand-800); color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.cart-table th, .cart-table td { padding: 14px 16px; text-align: left; }
.cart-table tbody tr { border-bottom: 1px solid var(--border); }
.cart-table tbody tr:hover { background: var(--panel); }
.cart-table input[type="number"] { width: 68px; padding: 8px; text-align: center; border: 2px solid var(--border); border-radius: 4px; font-family: inherit; }
form.inline { display: inline-flex; gap: 8px; align-items: center; }

.coupon-box {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius);
  padding: 12px 16px; margin: 18px 0 0;
}
.coupon-form { display: flex; gap: 8px; }
.coupon-form input {
  padding: 9px 14px; border: 2px solid var(--border); border-radius: 4px;
  font-family: inherit; text-transform: uppercase;
}
.coupon-form input:focus { border-color: var(--accent); outline: none; }
.coupon-applied { color: var(--ok); font-weight: 600; }

.cart-summary {
  display: flex; justify-content: flex-end; align-items: center; gap: 28px;
  margin: 24px 0; flex-wrap: wrap;
}
.cart-total { font-size: 1.15rem; }
.cart-total strong { font-size: 1.4rem; }

/* ---------- košík (karty položek + souhrn vpravo) ---------- */
.cart-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px; align-items: start; }
.cart-main { min-width: 0; }
.ci-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 14px 16px; margin-bottom: 12px;
}
.ci-photo {
  flex: none; width: 72px; height: 72px; border-radius: 6px; overflow: hidden;
  background: #fff; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.ci-photo img { width: 100%; height: 100%; object-fit: contain; }
.ci-photo .no-image { color: var(--muted); font-weight: 700; font-size: 0.8rem; }
.ci-info { flex: 1; min-width: 0; }
.ci-info a { text-decoration: none; color: var(--ink); }
.ci-info a:hover strong { color: var(--accent-dark); }
.ci-info strong { display: block; font-size: 0.96rem; line-height: 1.35; }
.ci-info small { color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.72rem; }
.ci-qty { display: flex; align-items: stretch; border: 1.5px solid var(--border); border-radius: 6px; overflow: hidden; flex: none; }
.ci-qty .q-btn {
  width: 32px; border: none; background: var(--card); cursor: pointer;
  font-size: 1rem; font-weight: 700; color: var(--ink-soft);
}
.ci-qty .q-btn:hover { background: var(--accent-soft); color: var(--accent-dark); }
.ci-qty input {
  width: 44px; border: none; border-left: 1.5px solid var(--border); border-right: 1.5px solid var(--border);
  text-align: center; font-family: inherit; font-size: 0.94rem; font-weight: 600; padding: 8px 0;
  -moz-appearance: textfield; appearance: textfield;
}
.ci-qty input::-webkit-outer-spin-button, .ci-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ci-total { flex: none; min-width: 82px; text-align: right; font-weight: 700; font-size: 1rem; }
.ci-remove { flex: none; }
.ci-remove .link-button { color: var(--muted); font-size: 0.95rem; padding: 6px; }
.ci-remove .link-button:hover { color: var(--error); }
.cart-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.continue-link { color: var(--ink-soft); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.continue-link:hover { color: var(--accent-dark); }
.cart-side {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 26px 28px; box-shadow: var(--shadow); position: sticky; top: 120px;
}
.cart-side h2 { font-size: 1.05rem; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.cart-side .cs-row { display: flex; justify-content: space-between; margin: 4px 0; font-size: 0.92rem; color: var(--ink-soft); }
.cart-side .cs-grand {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 10px 0 0; padding-top: 10px; border-top: 2px solid var(--border); font-size: 1.02rem;
}
.cart-side .cs-grand strong { font-size: 1.3rem; color: var(--accent-dark); }
.cart-side .cart-note { margin: 6px 0 14px; color: var(--muted); }
.side-perks { list-style: none; margin: 14px 0 0; padding: 0; }
.side-perks li { color: #2f8f5f; font-size: 0.86rem; margin: 5px 0; }

/* hodnocení obchodu pod košíkem (sociální důkaz) */
.cart-reviews {
  display: grid; grid-template-columns: 200px repeat(3, 1fr); gap: 14px;
  margin: 30px 0 10px; align-items: stretch;
}
.rating-summary {
  background: var(--brand-800); color: #fff; border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 18px;
}
.rating-summary .rs-score { font-size: 1.6rem; font-weight: 800; }
.rating-summary .rs-stars { color: var(--accent); letter-spacing: 2px; }
.rating-summary .rs-count { color: rgba(255, 255, 255, 0.65); font-size: 0.76rem; text-align: center; }
.cart-reviews .shop-review-card { margin: 0; }

/* ---------- pokladna ---------- */
/* nadpis vlevo + ukazatel kroků vpravo na jednom řádku (ne nalepený na menu) */
.page-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px 24px; flex-wrap: wrap; margin: 0 0 24px;
}
.page-head .page-title { margin: 0; }
.checkout-steps {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted);
}
.checkout-steps .cs-step.done { color: #2f8f5f; }
.checkout-steps .cs-step.active { color: var(--accent-dark); }
.checkout-steps .cs-sep { color: var(--border); font-size: 1rem; }
.checkout-steps.center { justify-content: center; margin-bottom: 18px; }

/* děkovačka: osobní vyřizování + časová osa objednávky */
.handler-note { color: var(--ink-soft); }
.order-timeline { display: flex; justify-content: center; align-items: flex-start; margin: 24px 0; }
.ot-step {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  width: 150px; font-size: 0.8rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.ot-dot {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 2px solid var(--border); font-size: 0.9rem;
}
.ot-step.done { color: var(--ok); }
.ot-step.done .ot-dot { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.ot-step.active { color: var(--accent-dark); }
.ot-step.active .ot-dot { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-dark); }
.ot-line { flex: none; width: 56px; height: 2px; background: var(--border); margin-top: 16px; }
.ot-line.done { background: var(--ok); }
.success-card .checkout-help { text-align: left; margin: 20px auto 4px; max-width: 440px; }
.step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin-right: 8px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0; flex: none;
}
.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; min-width: 0; }
.button.full { width: 100%; text-align: center; }
.secure-note { font-size: 0.84rem; color: var(--ink-soft); margin: 10px 0 0; }
.order-summary > h2 { margin-top: 0; font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.06em; }
/* box podpory v pokladně — oranžově laděný jako v návrhu */
.checkout-help {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--accent-soft); border: 1px solid #f0d3a6; border-radius: 8px;
  padding: 16px 18px; margin-top: 18px;
}
.checkout-help .ch-icon {
  background: var(--brand-800); color: #fff; border: none;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.checkout-help .ch-icon svg { width: 22px; height: 22px; }
.checkout-help .ch-hours { margin: 2px 0 4px; color: var(--ink-soft); font-size: 0.85rem; }
.checkout-help .ch-phone {
  display: block; font-size: 1.18rem; font-weight: 800; color: var(--ink);
  text-decoration: none; margin: 0 0 2px;
}
.checkout-help .ch-phone:hover { color: var(--accent-dark); }
.checkout-help .ch-mail { margin: 0; font-size: 0.85rem; }
.checkout-help .ch-mail a { color: var(--ink-soft); }
.page-title { text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.5rem; }
.page-title::after {
  content: ""; display: block; width: 58px; height: 4px; border-radius: 2px;
  background: var(--accent); margin-top: 8px;
}
.checkout-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; align-items: start; }
.checkout-form { min-width: 0; }
/* každý krok pokladny = samostatná karta (jako v návrhu) */
.co-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 22px 24px; margin-bottom: 16px;
}
.co-card h2 { margin-top: 0 !important; display: flex; align-items: center; }
.order-summary {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 24px 26px; box-shadow: var(--shadow);
}
.order-summary { position: sticky; top: 120px; }
.summary-total { border-top: 2px solid var(--border); margin-top: 12px; padding-top: 12px; }
.summary-total .st-row { display: flex; justify-content: space-between; margin: 4px 0; font-size: 0.92rem; color: var(--ink-soft); }
.summary-total .st-grand {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 10px 0 0; font-size: 1.02rem;
}
.summary-total .st-grand strong { font-size: 1.25rem; color: var(--accent-dark); }
.terms-note { font-size: 0.84rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.terms-note a { color: inherit; text-decoration: underline; }
.review-policy { display: block; margin-top: 8px; color: var(--muted); line-height: 1.5; }
.review-policy a { color: inherit; }
.lowest-price { color: var(--muted); font-size: 0.78rem; margin: 2px 0 6px; }
.card-measure { display: block; color: var(--muted); font-size: 0.72rem; }

/* ---------- doprava zdarma (progress bar v košíku) ---------- */
.free-ship {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 14px 18px; margin: 18px 0;
}
.free-ship p { margin: 0 0 8px; font-size: 0.95rem; }
.fs-bar {
  height: 10px; border-radius: 4px; background: var(--bg); overflow: hidden;
  border: 1px solid var(--border);
}
.fs-bar span {
  display: block; height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transition: width 0.4s ease;
}
.free-ship.done { border-color: #34a06a; }
.free-ship.done .fs-bar span { background: linear-gradient(90deg, #43c07f, #2f8f5f); }
.free-ship-note { color: #2f8f5f; font-weight: 600; margin: 0 0 10px; }

/* ---------- doprava na detailu produktu (vysouvací) ---------- */
.shipping-box {
  border: 1px solid var(--border); border-radius: 6px;
  padding: 0; margin: 14px 0 4px; overflow: hidden;
}
.shipping-box summary {
  list-style: none; cursor: pointer; padding: 10px 16px;
  font-size: 0.88rem; font-weight: 600; color: var(--ink-soft);
  display: flex; align-items: center; gap: 6px;
}
.shipping-box summary::-webkit-details-marker { display: none; }
.shipping-box summary:hover { background: var(--bg); color: var(--accent-dark); }
.shipping-box .sb-toggle {
  margin-left: auto; flex: none;
  width: 24px; height: 24px; line-height: 21px; text-align: center;
  border: 1.5px solid var(--border); border-radius: 50%;
  color: var(--accent-dark); font-size: 19px; font-weight: 400;
  transition: transform 0.22s ease, border-color 0.15s, background 0.15s;
}
.shipping-box summary:hover .sb-toggle { border-color: var(--accent); background: var(--accent-soft); }
.shipping-box[open] .sb-toggle { transform: rotate(45deg); border-color: var(--accent); }
.shipping-box ul {
  list-style: none; margin: 0; padding: 4px 16px 10px;
  border-top: 1px dashed var(--border);
}
.shipping-box li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 4px 0; font-size: 0.9rem; color: var(--ink-soft);
}
.shipping-box li strong { color: var(--ink); font-weight: 600; }
/* dlouhý seznam položek roluje uvnitř — souhrn s tlačítkem zůstane celý vidět */
.order-summary ul {
  padding-left: 0; list-style: none; margin: 0 0 14px;
  max-height: 230px; overflow-y: auto; padding-right: 6px;
}
.order-summary li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.checkout-form h2 { font-size: 1.05rem; margin: 26px 0 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.checkout-form h2:first-of-type { margin-top: 0; }
.checkout-form .field { margin: 0 0 14px; }
.checkout-form .field label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 0.9rem; }
.checkout-form input, .checkout-form textarea {
  width: 100%; padding: 11px 14px; font-family: inherit; font-size: 0.95rem;
  border: 2px solid var(--border); border-radius: 6px; transition: border-color 0.15s;
}
.checkout-form input:focus, .checkout-form textarea:focus { border-color: var(--accent); outline: none; }
.choices > div, .choices ul { list-style: none; padding: 0; margin: 0; }
.choices label {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--border); border-radius: 6px;
  padding: 13px 16px; margin-bottom: 10px; cursor: pointer; font-weight: 600; font-size: 0.94rem;
  transition: border-color 0.15s, background 0.15s;
}
.choices label:hover { border-color: var(--accent); }
.choices label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 0.5px var(--accent); }
.choices input[type="radio"] { accent-color: var(--accent-dark); width: 18px; height: 18px; flex: none; }
.choices .opt-price { margin-left: auto; font-weight: 700; white-space: nowrap; }
.choices .opt-ico { width: 24px; height: 24px; flex: none; color: var(--ink-soft); }
.choices label:has(input:checked) .opt-ico { color: var(--accent-dark); }
/* výdejní místo u dopravy, která ho vyžaduje */
.pickup-box {
  margin: 4px 0 6px; padding: 14px 16px;
  background: var(--accent-soft); border: 1.5px dashed var(--accent); border-radius: 6px;
}
.pickup-box label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.pickup-row { display: flex; gap: 10px; align-items: stretch; }
.pickup-row .packeta-btn { flex: none; white-space: nowrap; }
.pickup-row input { flex: 1; min-width: 0; }
.pickup-box .pickup-note { margin: 8px 0 0; font-size: 0.82rem; color: var(--ink-soft); }
.errorlist { color: var(--error); list-style: none; padding: 0; margin: 4px 0; font-size: 0.88rem; }

/* ---------- potvrzení objednávky ---------- */
.success-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 48px 40px; max-width: 640px; margin: 0 auto; text-align: center; box-shadow: var(--shadow);
}
.success-card .check {
  width: 72px; height: 72px; border-radius: 50%; background: var(--ok-soft); color: var(--ok);
  font-size: 2.2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
/* platební údaje: kompaktní bílá karta, údaje vlevo, QR vpravo */
.payment-info {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 16px 20px; margin: 22px auto; text-align: left; max-width: 520px;
}
.payment-info h2 { margin: 0 0 10px; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.payment-info > p:last-child { margin: 10px 0 0; font-size: 0.85rem; color: var(--muted); }
.payment-cols { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.payment-info .params { flex: 1; min-width: 220px; margin: 0; width: auto; }
.payment-info .params th { padding: 5px 16px 5px 0; width: auto; white-space: nowrap; }
.payment-info .params td { padding: 5px 0; font-weight: 700; }
.payment-info .params tr { border-bottom: none; }
.qr-pay { margin: 0; text-align: center; flex: none; }
.qr-pay img { border: 1px solid var(--border); border-radius: 4px; background: #fff; padding: 4px; width: 132px; height: 132px; }
.qr-pay figcaption { font-size: 0.72rem; color: var(--muted); margin-top: 4px; max-width: 140px; }

/* ---------- kategorie se stromem ---------- */
.category-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
/* min-width: 0 — jinak si vnitřní posuvné pruhy vynutí šířku a stránka přeteče */
.category-content, .category-sidebar { min-width: 0; }
.category-sidebar {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 0 0 12px; box-shadow: var(--shadow); position: sticky; top: 120px; overflow: hidden;
}
.category-sidebar h3 {
  margin: 0 0 10px; padding: 14px 20px;
  background: var(--brand-800); color: #fff;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
}
.side-main {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.94rem;
  border-left: 3px solid transparent; transition: background 0.15s, color 0.15s;
}
.side-main:hover { background: var(--accent-soft); color: var(--accent-dark); }
.side-main.active {
  color: var(--accent-dark); border-left-color: var(--accent); background: var(--accent-soft);
}
.side-icon { color: var(--accent-dark); display: inline-flex; }
.side-icon svg { width: 19px; height: 19px; }
.side-sub {
  display: block; padding: 6px 20px 6px 38px; color: var(--ink-soft); text-decoration: none; font-size: 0.9rem;
}
.side-sub:hover { color: var(--accent-dark); }
.side-sub.active { color: var(--accent-dark); font-weight: 700; }
.product-grid.narrow { grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 12px; }
/* kompaktnější karty v katalogu (menší fotka, hustší mřížka) */
.product-grid.narrow .product-card { padding: 14px; }
.product-grid.narrow .img-wrap { height: 150px; margin-bottom: 10px; }
.product-grid.narrow .img-wrap img { max-height: 140px; }
.product-grid.narrow h3 { font-size: 0.88rem; }
.product-grid.narrow .price { font-size: 1.1rem; }

/* meta v záhlaví katalogu + poradenský pruh pod výpisem */
.catalog-meta { color: var(--muted); font-size: 0.88rem; font-weight: 600; white-space: nowrap; }
.catalog-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: var(--brand-800, #1e3a44); color: #fff; border-radius: 10px;
  padding: 20px 26px; margin-top: 26px;
}
.catalog-cta strong { font-size: 1.05rem; }
.catalog-cta p { margin: 4px 0 0; color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; }

/* ---------- filtry (faceted) ---------- */
.filter-panel { border-top: 1px solid var(--border); margin-top: 6px; padding: 16px 20px 6px; }
.filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.filter-head h3 { margin: 0; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.clear-filters { font-size: 0.8rem; color: var(--accent-dark); text-decoration: none; font-weight: 600; }
.clear-filters:hover { text-decoration: underline; }
.filter-group { padding: 12px 0; border-bottom: 1px solid var(--border); }
.filter-group:last-of-type { border-bottom: 0; }
.filter-group h4 { margin: 0 0 8px; font-size: 0.9rem; font-weight: 700; }
.filter-options { display: flex; flex-direction: column; gap: 2px; max-height: 220px; overflow-y: auto; }
.check { display: flex; align-items: center; gap: 9px; padding: 5px 2px; font-size: 0.9rem; cursor: pointer; border-radius: 4px; }
.check:hover { background: var(--accent-soft); }
.check.strong { font-weight: 600; }
.check input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--accent-dark); flex-shrink: 0; }
.check > span:first-of-type { flex: 1; }
.fcount { color: var(--muted); font-size: 0.8rem; background: var(--bg); padding: 1px 8px; border-radius: 999px; }
.filter-submit { width: 100%; margin-top: 14px; }

/* ---------- řazení + počet ---------- */
.sortbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.sortbar .count { color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.sort-form label { font-size: 0.9rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; }
.sort-form select { padding: 8px 12px; border: 2px solid var(--border); border-radius: 6px; font-family: inherit; font-size: 0.9rem; background: var(--field); cursor: pointer; }
.sort-form select:focus { border-color: var(--accent); outline: none; }
.empty-result { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; color: var(--ink-soft); }
.search-correction {
  background: var(--accent-soft); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 16px; color: var(--ink-soft); margin: 0 0 16px;
}

/* ---------- stránkování ---------- */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 28px 0 8px; flex-wrap: wrap;
}
.page-num, .page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 6px;
  border: 2px solid var(--border); background: var(--card);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.92rem;
  transition: border-color 0.15s, background 0.15s;
}
.page-num:hover, .page-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.page-num.current { background: var(--accent); border-color: var(--accent); color: #fff; cursor: default; }
.page-ellipsis { color: var(--muted); padding: 0 4px; }

/* ---------- filtrovací karta nad produkty ---------- */
.filter-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 14px; margin-bottom: 16px;
}
.fc-head { display: flex; align-items: center; justify-content: space-between; }
.fc-title {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800;
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
}
.fc-title svg { width: 16px; height: 16px; color: var(--accent); }
.fc-toggle {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: none;
  cursor: pointer; font-family: inherit; font-size: 0.85rem; font-weight: 600;
  color: var(--muted); padding: 4px 0;
}
.fc-toggle:hover { color: var(--ink); }
.filter-card.collapsed .fc-body { display: none; }
.filter-card.collapsed .fc-toggle .fb-chev { transform: rotate(180deg); }
.fc-body { margin-top: 10px; }
.fc-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.fc-box, .fc-chip summary {
  display: flex; align-items: center; gap: 8px; padding: 5px 12px; min-height: 42px;
  background: var(--field, var(--card)); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 32, 39, 0.05);
}
.fc-chip { position: relative; }
.fc-chip summary {
  cursor: pointer; user-select: none; list-style: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.fc-chip summary::-webkit-details-marker { display: none; }
.fc-chip summary:hover { border-color: var(--accent); box-shadow: 0 2px 6px rgba(15, 32, 39, 0.08); }
.fc-chip[open] summary { border-color: var(--accent); background: var(--accent-soft); }
.fc-ico { width: 16px; height: 16px; flex: none; color: var(--muted); }
.fc-ico.ok { color: var(--success, #2e9e5b); }
.fc-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fc-lab { font-size: 0.68rem; font-weight: 600; color: var(--muted); }
.fc-val {
  font-size: 0.86rem; font-weight: 700; color: var(--ink);
  white-space: nowrap; max-width: 170px; overflow: hidden; text-overflow: ellipsis;
}
.fc-val.on { color: var(--accent-dark); }
.fc-static { cursor: help; }
.fc-sort { margin-left: auto; cursor: pointer; }
.fc-sort select {
  border: none; background: none; font-family: inherit; font-size: 0.86rem;
  font-weight: 700; color: var(--ink); cursor: pointer; padding: 0;
}
.fc-sort select:focus { outline: none; }
.fb-chev { width: 14px; height: 14px; flex: none; opacity: 0.55; transition: transform 0.18s; }
.fc-chip[open] .fb-chev { transform: rotate(180deg); opacity: 1; }
.fb-badge {
  background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}
.fb-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40;
  min-width: 250px; max-height: 340px; overflow-y: auto;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 32, 39, 0.16); padding: 8px; animation: fbslide 0.16s ease;
}
.fb-panel .check { border-radius: 6px; padding: 7px 8px; }
.fb-panel .fcount { color: var(--muted); font-size: 0.78rem; }
@keyframes fbslide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.fc-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
}
.fc-clear {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px;
  border: 1px solid var(--border); border-radius: 8px; color: var(--ink-soft);
  font-weight: 600; font-size: 0.85rem; text-decoration: none; white-space: nowrap;
}
.fc-clear svg { width: 14px; height: 14px; }
.fc-clear:hover { border-color: var(--error); color: var(--error); text-decoration: none; }
.fc-apply { white-space: nowrap; }
.result-count { color: var(--muted); font-size: 0.92rem; font-weight: 600; margin: 0 0 16px; }

/* ---------- lightbox galerie produktu ---------- */
.pg-image { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 20, 24, 0.92);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lb-image {
  max-width: 92vw; max-height: 92vh; object-fit: contain;
  border-radius: 6px; box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute; z-index: 201; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.12); color: #fff;
  width: 46px; height: 46px; border-radius: 50%;
  font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.28); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-counter {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  color: #fff; font-weight: 600; font-size: 0.95rem; opacity: 0.85;
}
@media (max-width: 720px) {
  .lb-prev, .lb-next { width: 40px; height: 40px; }
  .lb-image { max-width: 100vw; max-height: 86vh; border-radius: 0; }
}

/* ---------- pás pomoci + newsletter ---------- */
.pre-footer { background: var(--card); border-top: 1px solid var(--border); margin-top: 56px; }
.pre-footer-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 30px; padding-bottom: 30px;
}
.help-strip { display: flex; gap: 16px; align-items: flex-start; }
.help-icon {
  background: var(--accent-soft); color: var(--accent-dark); border-radius: 50%;
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.help-icon svg { width: 26px; height: 26px; }
.help-strip strong { font-size: 1.05rem; }
.help-strip p { margin: 4px 0 0; color: var(--muted); }
.newsletter strong { font-size: 1.05rem; display: block; margin-bottom: 10px; }
.newsletter form { display: flex; max-width: 440px; }
.newsletter input {
  flex: 1; padding: 11px 16px; border: 2px solid var(--border); border-right: 0;
  border-radius: 6px 0 0 10px; font-family: inherit; outline: none;
}
.newsletter input:focus { border-color: var(--accent); }
.newsletter button { border-radius: 0 10px 10px 0; }
.newsletter small { color: var(--muted); display: block; margin-top: 6px; }

/* ---------- účet a přihlášení ---------- */
.auth-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 36px 40px; max-width: 460px; margin: 0 auto; box-shadow: var(--shadow);
}
.auth-card h1 { margin-top: 0; }
.auth-note {
  background: var(--accent-soft); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 0.88rem; line-height: 1.5;
}

/* 404 — značková stránka s hledáním a odkazy do katalogu */
.notfound { max-width: 560px; margin: 24px auto 40px; text-align: center; }
.notfound .nf-code {
  font-size: 4.6rem; font-weight: 800; letter-spacing: 0.04em;
  color: var(--accent); margin: 0; line-height: 1;
}
.notfound h1 { font-size: 1.5rem; margin: 10px 0 8px; }
.nf-search { display: flex; gap: 8px; margin: 22px 0; }
.nf-search input {
  flex: 1; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--card); color: inherit;
}
.nf-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.nf-links .button.ghost { color: var(--ink); border-color: var(--border); }
.auth-card .field { margin: 0 0 14px; }
.auth-card .field label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 0.9rem; }
.auth-card input {
  width: 100%; padding: 11px 14px; font-family: inherit; font-size: 0.95rem;
  border: 2px solid var(--border); border-radius: 6px;
}
.auth-card input:focus { border-color: var(--accent); outline: none; }
.auth-card .helptext { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 4px; }
.auth-card .helptext ul { margin: 4px 0 0; padding-left: 18px; }
.auth-alt { margin-top: 18px; color: var(--muted); font-size: 0.92rem; }
.auth-perks { color: var(--ok); font-size: 0.88rem; font-weight: 500; }

.account-user { display: flex; align-items: center; gap: 14px; color: var(--ink-soft); font-size: 0.9rem; }
.account-user .link-button { color: var(--accent-dark); font-weight: 700; }

/* přehledové dlaždice účtu */
.account-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.at-tile {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 18px 20px; text-decoration: none; color: inherit;
}
a.at-tile:hover { border-color: var(--accent); }
.at-tile .at-ico { font-size: 1.25rem; }
.at-tile strong { font-size: 1.35rem; color: var(--ink); }
.at-tile small { color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.7rem; }

.detail-link { color: var(--accent-dark); font-weight: 700; text-decoration: none; }
.detail-link:hover { text-decoration: underline; }

/* spodní dvojice karet: hlídací psi + moje údaje */
.account-grid { display: grid; grid-template-columns: 1fr 380px; gap: 16px; align-items: start; }
.account-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 20px 22px;
}
.account-card h2 {
  margin: 0 0 14px; font-size: 1.02rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft);
}
.dog-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.dog-info { flex: 1; min-width: 0; }
.dog-info a { text-decoration: none; color: var(--ink); }
.dog-info a:hover strong { color: var(--accent-dark); }
.dog-info strong { display: block; font-size: 0.92rem; }
.dog-info small { color: var(--muted); }
.dog-state { flex: none; font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.dog-state.done { color: var(--ok); }
.dog-row .link-button { color: var(--muted); }
.dog-row .link-button:hover { color: var(--error); }
.empty-note { color: var(--muted); margin: 0; }
.profile-card .pc-row { display: flex; gap: 10px; margin: 0 0 10px; font-size: 0.92rem; }
.profile-card .pc-row span { flex: none; width: 70px; color: var(--muted); }
.profile-card .button { margin-top: 8px; }
.pc-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* kupóny v účtu */
.coupon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.coupon-card {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--card); border: 1.5px dashed var(--accent); border-radius: 8px;
  padding: 14px 16px;
}
.coupon-card .cc-code {
  font-weight: 800; letter-spacing: 0.08em; color: var(--accent-dark);
  font-size: 1.05rem;
}
.coupon-card .cc-value { font-weight: 700; color: var(--ink); }
.coupon-card small { color: var(--muted); }

/* akce v detailu objednávky (sledování, faktura) */
.order-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 4px 0 16px; }
.order-actions .oa-note { color: var(--ink-soft); font-size: 0.92rem; }

/* cesta zásilky přímo v účtu (data ze Zásilkovny) */
.shipment-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 18px 22px; margin: 0 0 18px; max-width: 560px;
}
.shipment-card h2 {
  margin: 0 0 12px; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft);
}
.shipment-track { list-style: none; margin: 0; padding: 0; position: relative; }
.shipment-track::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}
.shipment-track li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 5px 0; position: relative; color: var(--ink-soft); font-size: 0.9rem;
}
.shipment-track .st-dot {
  flex: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--border);
  position: relative; z-index: 1; align-self: center;
}
.shipment-track li.current { color: var(--ink); font-weight: 700; }
.shipment-track li.current .st-dot { border-color: var(--ok); background: var(--ok-soft); }
.shipment-track .st-text { flex: 1; }
.shipment-track time { color: var(--muted); font-size: 0.8rem; font-weight: 400; white-space: nowrap; }
.st-fallback { margin: 10px 0 0; font-size: 0.82rem; }
.st-fallback a { color: var(--muted); }
.button.dark { background: var(--brand-800); }
.button.dark:hover { background: var(--brand-900, #142b33); }

.account-intro { color: var(--ink-soft); margin-bottom: 26px; }
.account-section { margin-bottom: 36px; }
.account-section h2 {
  margin-bottom: 12px; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft);
}
.status { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; background: var(--bg); }
.status-nova { background: #fdf1df; color: var(--accent-dark); }
.status-zaplacena { background: var(--ok-soft); color: var(--ok); }
.status-expedovana { background: #e8f0fe; color: #1a4a9c; }
.status-dokoncena { background: var(--ok-soft); color: var(--ok); }
.status-storno { background: var(--error-soft); color: var(--error); }

.fav-wrap { display: flex; flex-direction: column; gap: 6px; }
.fav-remove { text-align: center; }

/* ---------- akce v nákupním boxu (oblíbené, hlídací pes) ---------- */
.buy-box-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; align-items: flex-start; }
.ghost-action {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ink-soft); border: 2px solid var(--border);
  border-radius: 999px; padding: 8px 16px; font-size: 0.88rem; font-weight: 600;
  cursor: pointer; list-style: none; transition: all 0.15s;
}
.ghost-action::-webkit-details-marker { display: none; }
.ghost-action:hover { border-color: var(--accent); color: var(--accent-dark); background: transparent; transform: none; }
.ghost-action.active { border-color: var(--error); color: var(--error); }
.ghost-action.danger { text-decoration: none; }
.instr-link { text-decoration: none; }
.scalemates-note { margin: 10px 0 0; font-size: 0.85rem; color: var(--muted); }
.scalemates-note a { color: var(--accent-dark); }
.ghost-action.danger:hover { border-color: var(--error); color: var(--error); }
.withdrawal-card { max-width: 560px; }
.withdrawal-note { display: block; margin-top: 10px; color: var(--muted); }
.w-subtitle { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); margin: 22px 0 10px; }
.order-loaded {
  background: var(--ok-soft); border: 1px solid var(--ok); border-radius: var(--radius);
  padding: 14px 18px; margin-bottom: 18px;
}
.ol-head { display: flex; align-items: center; gap: 14px; }
.ol-check {
  width: 38px; height: 38px; border-radius: 50%; background: var(--ok); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.ol-head small { color: var(--ink-soft); }

.scope-items { margin: 0 0 6px; }
.scope-items.hidden { display: none; }
.withdraw-item {
  display: flex; align-items: center; gap: 12px;
  border: 2px solid var(--border); border-radius: 6px;
  padding: 10px 14px; margin-bottom: 8px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.withdraw-item:hover { border-color: var(--accent); }
.withdraw-item:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.withdraw-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent-dark); flex-shrink: 0; }
.wi-body { flex: 1; display: flex; flex-direction: column; }
.wi-name { font-weight: 600; font-size: 0.93rem; }
.wi-body small { color: var(--muted); font-size: 0.8rem; }
.withdraw-qty input { width: 64px; padding: 7px; border: 2px solid var(--border); border-radius: 4px; text-align: center; font-family: inherit; }
.ghost-action svg { width: 17px; height: 17px; }
.watchdog-box { position: relative; }
.watchdog-box[open] .ghost-action { border-color: var(--accent); color: var(--accent-dark); }
.watchdog-box form {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; min-width: 300px;
  background: var(--card); border: 1px solid var(--border); border-radius: 6px;
  box-shadow: var(--shadow-lift); padding: 14px; animation: fbslide 0.16s ease;
}
.watchdog-row { display: flex; gap: 8px; margin-top: 10px; }
.watchdog-row input {
  flex: 1; padding: 9px 12px; border: 2px solid var(--border); border-radius: 4px; font-family: inherit;
}
.watchdog-row input:focus { border-color: var(--accent); outline: none; }

/* ---------- hvězdičky a recenze ---------- */
.stars {
  --r: 5;
  display: inline-block; font-size: 1rem; letter-spacing: 2px; line-height: 1;
  background: linear-gradient(90deg, var(--accent) calc(var(--r) / 5 * 100%), var(--border) calc(var(--r) / 5 * 100%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stars-link { text-decoration: none; }
.product-card .stars { font-size: 0.85rem; }
.rating-note { color: var(--muted); font-size: 0.8rem; }
.reviews-box {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 28px 36px; margin-top: 26px; box-shadow: var(--shadow);
}
.reviews-box h2 small { color: var(--muted); font-weight: 500; font-size: 0.9rem; }
.review { border-bottom: 1px solid var(--border); padding: 14px 0; }
.review:last-of-type { border-bottom: 0; }
.review header { display: flex; align-items: center; gap: 10px; }
.review time { color: var(--muted); font-size: 0.82rem; }
.review p { margin: 8px 0 0; color: var(--ink-soft); }
.no-reviews { color: var(--muted); }
.review-form { margin-top: 20px; padding-top: 18px; border-top: 2px solid var(--border); max-width: 480px; }
.review-form h3 { margin: 0 0 8px; font-size: 1.02rem; }
.review-form input[type="text"], .review-form textarea {
  width: 100%; padding: 10px 14px; border: 2px solid var(--border); border-radius: 6px; font-family: inherit;
}
.review-form input:focus, .review-form textarea:focus { border-color: var(--accent); outline: none; }
.review-form small { display: block; margin-top: 8px; color: var(--muted); }
.star-input { display: inline-flex; flex-direction: row-reverse; margin-bottom: 10px; }
.star-input input { display: none; }
.star-input label { font-size: 1.9rem; color: var(--border); cursor: pointer; padding: 0 2px; transition: color 0.1s; }
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label { color: var(--accent); }

.shop-reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.shop-review-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.shop-review-card p { color: var(--ink-soft); font-style: italic; margin: 10px 0; }
.shop-review-card footer { color: var(--muted); font-size: 0.85rem; }
.reviews-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.review-form-box {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow); position: sticky; top: 120px;
}
.review-form-box .review-form { margin: 0; padding: 0; border: 0; }
.reviews-layout > div > .review {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 12px; box-shadow: var(--shadow);
}

/* ---------- nákup na firmu ---------- */
.company-box { margin: 6px 0 16px; }
.company-box summary {
  cursor: pointer; font-weight: 600; font-size: 0.94rem; color: var(--ink-soft);
  list-style: none; padding: 10px 0 10px 34px; position: relative;
  transition: color 0.15s;
}
.company-box summary::-webkit-details-marker { display: none; }
.company-box summary::before {
  content: "+"; position: absolute; left: 0; top: 50%; margin-top: -12px;
  width: 24px; height: 24px; line-height: 21px; text-align: center;
  border: 1.5px solid var(--border); border-radius: 50%;
  color: var(--accent-dark); font-size: 19px; font-weight: 400;
  transition: transform 0.22s ease, border-color 0.15s, background 0.15s;
}
.company-box summary:hover { color: var(--accent-dark); }
.company-box summary:hover::before { border-color: var(--accent); background: var(--accent-soft); }
.company-box[open] summary { color: var(--accent-dark); }
.company-box[open] summary::before { transform: rotate(45deg); border-color: var(--accent); }
.ico-row { display: flex; gap: 8px; }
.ico-row input { flex: 1; }
.ares-btn { white-space: nowrap; padding: 8px 14px; font-size: 0.85rem; }
.ares-status { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 4px; min-height: 1em; }

/* ---------- měrná cena ---------- */
.measure-price { color: var(--muted); font-size: 0.85rem; margin: -6px 0 8px; }

/* ---------- patička ---------- */
.site-footer { background: var(--brand-900); color: #b8c7cd; margin-top: 56px; }
.footer-cols {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1.4fr;
  gap: 40px; padding: 52px 20px 36px;
}
.footer-cols h3 {
  color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em;
  margin: 0 0 16px; padding-bottom: 10px; position: relative;
}
.footer-cols h3::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 28px; height: 2px; background: var(--accent); border-radius: 2px;
}
.footer-cols a { color: #b8c7cd; text-decoration: none; display: block; padding: 4px 0; font-size: 0.92rem; transition: color 0.15s, transform 0.15s; }
.footer-cols a:hover { color: #fff; transform: translateX(2px); }
.footer-cols p { margin: 3px 0; font-size: 0.92rem; }
.footer-brand { padding-right: 12px; }
.footer-logo { height: 44px; width: auto; display: block; margin-bottom: 16px; }
.footer-brand p { color: #9db0b8; line-height: 1.6; margin: 0 0 10px; }
.footer-claim { color: var(--accent); font-weight: 600; letter-spacing: 0.02em; }
.footer-contact .fc-row {
  display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px;
  line-height: 1.55;
}
.footer-contact .fc-row svg {
  width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent);
}
.footer-contact .fc-row a { display: inline; padding: 0; }
.fc-address span { color: #9db0b8; font-size: 0.88rem; }
@media (max-width: 1100px) and (min-width: 861px) {
  .footer-cols { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand, .footer-contact { grid-column: auto; }
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 16px 84px 16px 20px;
  font-size: 0.82rem; color: #7f939b; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  /* pravý odstup: plovoucí tlačítko „nahoru" nesmí překrýt copyright */
}
.footer-bottom a { color: #7f939b; }

/* ---------- informační stránky ---------- */
.info-page {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 36px 44px; box-shadow: var(--shadow); max-width: 860px;
}
.info-page h1 { margin-top: 0; }
.rich-text { color: var(--ink-soft); line-height: 1.7; }
.rich-text h2 { color: var(--ink); margin: 28px 0 10px; font-size: 1.2rem; }
.rich-text h3 { color: var(--ink); margin: 22px 0 8px; font-size: 1.05rem; }
.rich-text p { margin: 0 0 14px; }
.rich-text ul, .rich-text ol { margin: 0 0 14px; padding-left: 22px; }
.rich-text li { margin-bottom: 6px; }
.rich-text a { color: var(--accent-dark); }
.rich-text table { border-collapse: collapse; width: 100%; margin: 0 0 16px; }
.rich-text th, .rich-text td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }

/* ---------- blog ---------- */
.article-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px;
}
.article-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.16s, box-shadow 0.16s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.article-card a { text-decoration: none; color: inherit; display: block; }
.article-img {
  height: 180px; background: linear-gradient(150deg, var(--brand-800), var(--brand-700));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-img .no-image { color: rgba(255, 255, 255, 0.6); font-weight: 700; letter-spacing: 0.05em; }
.article-body { padding: 18px 20px; }
.article-body time { color: var(--muted); font-size: 0.82rem; }
.article-body h2 { font-size: 1.1rem; margin: 6px 0 8px; color: var(--ink); }
.article-body p { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 10px; }
.read-more { color: var(--accent-dark); font-weight: 700; font-size: 0.88rem; }

.article-detail { max-width: 760px; margin: 0 auto; }
.article-date { color: var(--muted); font-size: 0.9rem; }
.article-hero { width: 100%; max-height: 420px; object-fit: cover; border-radius: 8px; margin: 10px 0 20px; }
.article-perex { font-size: 1.1rem; color: var(--ink-soft); font-weight: 500; margin-bottom: 20px; }

/* ---------- přepínač světlý/tmavý režim ---------- */
.topbar-right { display: flex; align-items: center; gap: 16px; }
.theme-toggle {
  background: transparent; color: #e8eef0; padding: 4px; border-radius: 4px;
  display: inline-flex; align-items: center; box-shadow: none;
}
.theme-toggle:hover { background: rgba(255, 255, 255, 0.12); transform: none; color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- hamburger (mobilní menu) ---------- */
.nav-toggle {
  display: none; background: transparent; color: var(--ink); box-shadow: none;
  padding: 8px; border-radius: 6px; font-size: 1.4rem; line-height: 1;
}
.nav-toggle:hover { background: var(--bg); transform: none; }

/* užší okna: hlavička i detail produktu se postupně zjednodušují
   (musí být až za základními styly, jinak by je základ přebil) */
@media (max-width: 1000px) {
  .subcat-chips {
    display: flex; overflow-x: auto; gap: 8px; margin: 0 0 14px;
    padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: none;
  }
  .subcat-chips::-webkit-scrollbar { display: none; }
  .subcat-chip {
    flex: none; padding: 8px 14px; border: 1px solid var(--border);
    border-radius: 999px; background: var(--card); font-size: 0.82rem;
    white-space: nowrap; scroll-snap-align: start; color: inherit;
  }
}
@media (max-width: 1000px) {
  .phone-pill .pp-body { display: none; }
  .phone-pill { padding: 0; }
  .topbar-usp .usp-extra { display: none; }
  .topbar .contacts { display: none; }
  /* na dva sloupce už není místo — galerie nad informacemi */
  .product-detail { grid-template-columns: 1fr; gap: 26px; }
  .product-detail .product-gallery { position: static; }
  .pg-image { max-height: 420px; }
}

/* ---------- mobil ---------- */
@media (max-width: 860px) {
  .strip-track { grid-auto-columns: calc(50% - 8px); }
  .ps-track { grid-auto-columns: calc(50% - 10px); }
  .hero { padding: 40px 28px; }
  .hero h1, .hero h2 { font-size: 1.9rem; }
  .hero-art { display: none; }
  .product-detail, .checkout-layout, .pre-footer-inner, .reviews-layout { grid-template-columns: 1fr; }
  .product-detail .product-gallery { position: static; grid-template-columns: 1fr; }
  .pg-thumbs { flex-direction: row; order: 2; max-height: none; overflow-x: auto; }
  .pg-thumb { flex: none; width: 76px; }
  .bb-perks { grid-template-columns: 1fr; gap: 10px; }
  .review-form-box { position: static; }
  .order-summary { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-side { position: static; }
  .account-grid { grid-template-columns: 1fr; }
  .account-tiles { grid-template-columns: 1fr 1fr; }
  .hero2 { grid-template-columns: 1fr; }
  .hero2-main { padding: 30px 26px; }
  .hero2-main h1 { font-size: 1.6rem; }
  .benefits-bar .container { grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 10px 16px; }
  .cart-reviews { grid-template-columns: 1fr 1fr; }
  .field-row { flex-direction: column; gap: 0; }
  .category-layout { grid-template-columns: 1fr; }
  .category-sidebar { position: static; order: 2; margin-top: 20px; }
  .category-content { order: 1; }
  .fb-panel { left: auto; right: 0; }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 32px; padding: 40px 20px 28px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; gap: 12px 14px; padding: 8px 16px; }
  .nav-toggle { display: inline-flex; order: 0; }
  .logo { order: 1; }
  .logo img { height: 44px; }
  .header-actions { order: 2; gap: 4px; }
  .icon-link { padding: 8px; }
  .icon-link .icon-label { display: none; }
  /* telefon na mobilu: zůstane jen zelené kolečko s ikonou */
  .phone-pill { padding: 0; }
  .phone-pill .pp-body { display: none; }
  .cart-link { padding: 9px 16px; }
  .search { order: 3; width: 100%; flex-basis: 100%; max-width: none; }

  .topbar .container { justify-content: space-between; }
  .topbar-usp .usp-extra { display: none; }
  .topbar .contacts { display: none; }

  /* svislé rozbalovací menu */
  .main-nav .container { display: none; flex-direction: column; padding: 6px 0; }
  .main-nav.open .container { display: flex; }
  .nav-item { width: 100%; display: flex; flex-wrap: wrap; align-items: stretch; }
  .nav-item > a { flex: 1; padding: 13px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-item.has-sub > a::after { display: none; }
  .sub-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: none; color: inherit; cursor: pointer;
  }
  .sub-toggle svg { width: 18px; height: 18px; transition: transform 0.2s; }
  .nav-item.sub-open .sub-toggle svg { transform: rotate(180deg); }
  .dropdown { display: none !important; }
  .nav-item.sub-open .dropdown {
    display: flex !important; flex-direction: column; position: static;
    width: 100%; flex-basis: 100%; box-shadow: none; border-radius: 0;
    background: rgba(0, 0, 0, 0.18); padding: 4px 0;
  }
  .nav-item.sub-open .dropdown a { padding: 11px 20px 11px 34px; color: inherit; }

  /* sbalená hlavička při scrollu dolů — vyhledávání se schová, šetří místo */
  .site-header.slim .search { display: none; }
  .site-header.slim .logo img { height: 36px; }
  .site-header.slim .header-inner { padding: 6px 16px; }

  main.container { padding: 24px 16px 56px; }
  h1 { font-size: 1.55rem; }
  .cart-table th:nth-child(2), .cart-table td:nth-child(2) { display: none; }
  .strip-track { grid-auto-columns: 76%; }
  .ps-track { grid-auto-columns: 68%; }
  .benefits { grid-template-columns: 1fr 1fr; gap: 18px 0; padding: 20px 14px; }
  .benefit { border-left: none; padding: 0 8px; }
  .product-grid, .product-grid.narrow { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-detail, .long-desc, .co-card, .order-summary { padding: 20px; }
  /* na mobilu cena, sklad a nákup před úvodním odstavcem popisu */
  .product-info { display: flex; flex-direction: column; }
  .product-info > .pi-tags { order: 0; }
  .product-info > h1 { order: 1; }
  .product-info > .pi-rating { order: 2; }
  .product-info > .buy-box { order: 3; }
  .product-info > .short-desc { order: 4; }
  .product-info > .params { order: 5; }
  .newsletter form { max-width: none; }
  .cart-summary { justify-content: space-between; gap: 14px; }
  .checkout-steps { font-size: 0.68rem; gap: 6px; }
  .benefits-bar { display: none; }
  .ci-card { flex-wrap: wrap; }
  .ci-info { flex-basis: calc(100% - 88px); }
  .ci-qty { margin-left: 88px; }
  .ci-total { flex: 1; }
  .cart-reviews { grid-template-columns: 1fr; }

  /* ---- mobilní appkový vzhled ---- */
  /* košík v hlavičce jen jako ikona s puntíkem */
  .cart-link > span:not(.badge) { display: none; }
  .cart-link { padding: 10px 12px; }

  /* hero: tlačítko přes celou šířku, těsnější panel */
  .hero2 { gap: 10px; margin-bottom: 24px; }
  .hero2-main { padding: 26px 20px; gap: 12px; }
  .hero2-main .button { width: 100%; text-align: center; }
  .hero2-side { gap: 10px; }
  .hero2-card { padding: 16px; }

  /* kategorie: posuvný pás dlaždic (jako v aplikaci) */
  .category-tiles {
    display: flex; overflow-x: auto; gap: 8px; margin-bottom: 26px;
    padding-bottom: 6px; scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .category-tiles::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 96px; padding: 12px 6px 10px; gap: 7px; scroll-snap-align: start; }
  .tile-ico { width: 38px; height: 38px; }
  .tile-ico svg, .tile-ico .cat-svg { width: 19px; height: 19px; }
  .tile-name { font-size: 0.7rem; }

  /* karusely: bez šipek (swipe), decentní přichytávání */
  .strip-arrow { display: none !important; }
  .ps-track, .strip-track { scroll-snap-type: x proximity; }
  .ps-track > *, .strip-track > * { scroll-snap-align: start; }

  /* nadpisy sekcí na jeden řádek */
  .section-head { align-items: baseline; gap: 10px; margin-bottom: 12px; }
  .section-head h2 { font-size: 1.02rem; }
  .section-link { font-size: 0.78rem; white-space: nowrap; }

  /* filtry: posuvný řádek chipů, panel jako spodní list */
  .filter-card { padding: 10px 12px; }
  .fc-grid { gap: 8px; }
  .fc-box, .fc-chip summary { min-height: 40px; padding: 4px 10px; }
  .fc-sort { margin-left: 0; }
  .fc-actions { flex-wrap: wrap; }
  .fc-apply { flex: 1; }
  .fc-chip { position: static; }
  .fc-chip[open] summary::after {
    content: ""; position: fixed; inset: 0; z-index: 90;
    background: rgba(15, 32, 39, 0.45);
  }
  .fb-panel {
    position: fixed; left: 10px; right: 10px; bottom: 10px; top: auto;
    max-height: 62vh; z-index: 100; border-radius: 10px; padding: 12px;
  }

  /* detail: tlačítko košíku se nesmí lámat, kompaktní výhody */
  .add-to-cart button[type="submit"] { flex: 1; white-space: nowrap; padding: 12px 10px; font-size: 0.95rem; }
  .bb-perks { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .bb-perks small { font-size: 0.62rem; }
}
@media (max-width: 440px) {
  .strip-track { grid-auto-columns: 86%; }
  .ps-track { grid-auto-columns: 74%; }
  .benefits { grid-template-columns: 1fr; }
  /* produkty zůstávají ve 2 sloupcích i na úzkém mobilu (jako appka) */
  .product-grid, .product-grid.narrow { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-grid.narrow .product-card, .product-card { padding: 10px; }
  .product-grid.narrow .img-wrap, .product-card .img-wrap { height: 120px; margin-bottom: 8px; }
  .product-grid.narrow .img-wrap img { max-height: 112px; }
  .product-card h3 { font-size: 0.8rem; min-height: 2.5em; }
  .card-fav { display: none; }  /* na malé kartě stačí košík, srdce je na detailu */
  .price.big { font-size: 1.6rem; }
}

/* ---------- přehled výrobců ---------- */
.brand-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px; margin-top: 18px;
}
.brand-tile {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 18px;
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  text-decoration: none; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.brand-tile:hover {
  border-color: var(--accent); box-shadow: 0 4px 14px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.brand-tile strong { font-size: 1.05rem; }
.brand-tile span { color: var(--muted); font-size: 0.85rem; }

/* ---------- video k produktu (klik-přehrávač) ---------- */
.pv-wrap { margin-top: 20px; border-top: 1px dashed var(--border); padding-top: 14px; }
.pv-facade {
  position: relative; display: block; width: 100%; max-width: 560px;
  padding: 0; border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; background: #000; cursor: pointer;
}
.pv-facade img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; opacity: 0.9; }
.pv-facade:hover { background: #000; transform: none; }
.pv-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; background: var(--accent);
  color: #fff; font-size: 1.5rem; display: flex; align-items: center;
  justify-content: center; padding-left: 5px; box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}
.pv-facade:hover .pv-play { background: var(--accent-dark); }
.pv-note {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 10px;
  background: rgba(0,0,0,0.65); color: #fff; font-size: 0.75rem;
}
.pv-wrap iframe {
  width: 100%; max-width: 560px; aspect-ratio: 16/9; border: 0; border-radius: 8px;
}
