/* =========================================================
   Koberce Brázda – design tokeny + komponenty
   Mobile first · bez frameworku · světlý režim
   ========================================================= */

:root {
  /* --- Barvy: značka --- */
  --c-brand: #dd2620;          /* červená z loga (jen plochy/logo, ne malý text na bílé) */
  --c-primary: #c7221d;        /* tlačítka, odkazy – kontrast s bílou 5.3:1 */
  --c-primary-hover: #a91b17;
  --c-primary-active: #8f1612;
  --c-primary-soft: #fdecea;
  --c-accent: #ffe928;         /* žlutá z odznaku – Akce, zvýraznění */
  --c-accent-soft: #fff9cc;
  --c-accent-ink: #3a3200;

  /* --- Neutrální --- */
  --c-ink: #1c1c1c;            /* nadpisy */
  --c-text: #333333;           /* text 12.6:1 */
  --c-muted: #5c5f63;          /* sekundární text 6.4:1 */
  --c-subtle: #8a8d91;         /* jen dekor/ikony, ne text */
  --c-border: #dcddde;
  --c-border-strong: #b9bbbe;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f6f7;
  --c-bg-warm: #faf7f2;
  --c-dark: #232323;           /* patička */

  /* --- Stavy --- */
  --c-success: #00821c;  --c-success-bg: #e5f4e8;
  --c-warning: #a35200;  --c-warning-bg: #fdf0e1;
  --c-error:   #b3261e;  --c-error-bg:   #fdecea;
  --c-info:    #1f5fa8;  --c-info-bg:    #e8f0fa;

  /* --- Štítky dostupnosti --- */
  --avail-ok: var(--c-success);   --avail-ok-bg: var(--c-success-bg);
  --avail-soon: var(--c-warning); --avail-soon-bg: var(--c-warning-bg);
  --avail-ask: #3f4a57;           --avail-ask-bg: #eceff3;
  --avail-out: #62666b;           --avail-out-bg: #ebebeb;

  /* --- Typografie --- */
  --font: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fw-regular: 400; --fw-semibold: 600; --fw-bold: 700; --fw-black: 800;
  --fs-xs: 0.8125rem;  /* 13 – jen štítky */
  --fs-sm: 0.9375rem;  /* 15 */
  --fs-base: 1.0625rem;/* 17 – základ */
  --fs-md: 1.1875rem;  /* 19 */
  --fs-lg: 1.375rem;   /* 22 */
  --fs-xl: 1.75rem;    /* 28 */
  --fs-2xl: 2.25rem;   /* 36 */
  --fs-3xl: 3rem;      /* 48 */
  --lh-tight: 1.15; --lh-snug: 1.3; --lh-base: 1.6;

  /* --- Mezery (4px mřížka) --- */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px;

  /* --- Zaoblení, stíny --- */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.08);
  --sh-2: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.06);
  --sh-3: 0 16px 40px rgba(0,0,0,.14);
  --focus: 0 0 0 3px #fff, 0 0 0 5px #1f5fa8;

  /* --- Layout / breakpointy (pro referenci: 600 / 900 / 1200) --- */
  --container: 1280px;
  --gutter: 16px;
  --tap: 44px;
}
@media (min-width: 900px) { :root { --gutter: 32px; --fs-2xl: 2.5rem; --fs-3xl: 3.25rem; } }

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: var(--lh-base); color: var(--c-text); background: var(--c-bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--c-ink); line-height: var(--lh-tight); margin: 0; font-weight: var(--fw-black); letter-spacing: -0.01em; }
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); font-weight: var(--fw-bold); }
h4 { font-size: var(--fs-md); font-weight: var(--fw-bold); }
p { margin: 0; }
a { color: var(--c-primary); text-underline-offset: 3px; }
a:hover { color: var(--c-primary-hover); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-sm); }
.eyebrow { font-size: var(--fs-sm); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .08em; color: var(--c-primary); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--s-12); }
.section--soft { background: var(--c-bg-soft); }
.section--warm { background: var(--c-bg-warm); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-6); }
.section-head p { color: var(--c-muted); margin-top: var(--s-2); }
.stack { display: flex; flex-direction: column; gap: var(--s-4); }
.row { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--lg { width: 28px; height: 28px; }
.ic--xl { width: 36px; height: 36px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 900px) { .section { padding-block: var(--s-16); } }

/* ---------- Tlačítka ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: var(--tap); padding: 10px 20px; border-radius: var(--r-md); border: 2px solid transparent; font: inherit; font-size: var(--fs-base); font-weight: var(--fw-bold); line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-hover); color: #fff; }
.btn--primary:active { background: var(--c-primary-active); }
.btn--secondary { background: #fff; color: var(--c-ink); border-color: var(--c-border-strong); }
.btn--secondary:hover { border-color: var(--c-ink); color: var(--c-ink); }
.btn--text { background: none; color: var(--c-primary); padding-inline: 4px; text-decoration: underline; text-decoration-thickness: 2px; }
.btn--text:hover { color: var(--c-primary-hover); }
.btn--phone { background: var(--c-primary); color: #fff; font-weight: var(--fw-black); letter-spacing: .01em; }
.btn--phone:hover { background: var(--c-primary-hover); color: #fff; }
.btn--yellow { background: var(--c-accent); color: var(--c-accent-ink); }
.btn--yellow:hover { background: #f2dc10; color: var(--c-accent-ink); }
.btn--white { background: #fff; color: var(--c-primary); }
.btn--white:hover { background: var(--c-primary-soft); color: var(--c-primary-hover); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-white:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
.btn--lg { min-height: 52px; padding: 12px 24px; font-size: var(--fs-md); }
.btn--sm { min-height: 40px; padding: 6px 14px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn--icon { padding: 0; width: var(--tap); }
.btn[disabled], .btn.is-disabled { background: #e6e7e8; color: #75787c; border-color: transparent; cursor: not-allowed; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: bz-spin .8s linear infinite; }
@keyframes bz-spin { to { transform: rotate(360deg); } }

/* ---------- Horní lišta + hlavička ---------- */
.topbar { background: var(--c-bg-soft); border-bottom: 1px solid var(--c-border); font-size: var(--fs-sm); color: var(--c-muted); display: none; }
.topbar .container { display: flex; gap: var(--s-6); align-items: center; min-height: 40px; }
.topbar span, .topbar a { display: inline-flex; gap: 6px; align-items: center; color: var(--c-muted); text-decoration: none; }
.topbar a:hover { color: var(--c-primary); }
.topbar .ic { width: 16px; height: 16px; }
.topbar__right { margin-left: auto; display: flex; gap: var(--s-6); }

.header { background: #fff; border-bottom: 1px solid var(--c-border); position: sticky; top: 0; z-index: 20; }
.header__bar { display: flex; align-items: center; gap: var(--s-3); min-height: 64px; }
.header__logo { display: block; flex: none; margin-right: auto; }
.header__logo img { height: 40px; width: auto; }
.header__search { display: none; flex: 1 1 320px; max-width: 520px; position: relative; }
.header__search .input { padding-left: 46px; background: var(--c-bg-soft); }
.header__search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--c-muted); }
.header__phone { display: none; }
.header__phone small { display: block; font-size: 12px; font-weight: var(--fw-semibold); opacity: .9; letter-spacing: 0; }
.header__iconbtn { display: inline-flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap); border-radius: var(--r-md); border: 0; background: none; color: var(--c-ink); cursor: pointer; text-decoration: none; }
.header__iconbtn:hover { background: var(--c-bg-soft); color: var(--c-ink); }
.header__iconbtn--call { background: var(--c-primary); color: #fff; }
.header__iconbtn--call:hover { background: var(--c-primary-hover); color: #fff; }
.nav { display: none; border-top: 1px solid var(--c-border); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: stretch; }
.nav a { display: flex; align-items: center; gap: 4px; min-height: 52px; padding: 0 14px; color: var(--c-ink); font-weight: var(--fw-semibold); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; font-size: 1rem; }
.nav a:hover { color: var(--c-primary); }
.nav a.is-active { border-bottom-color: var(--c-brand); color: var(--c-primary); }
.nav .nav__sep { margin-left: auto; }
.nav .ic { width: 16px; height: 16px; }
@media (min-width: 900px) {
  .topbar { display: block; }
  .header__bar { min-height: 84px; gap: var(--s-6); }
  .header__logo { margin-right: 0; }
  .header__logo img { height: 52px; }
  .header__search { display: block; }
  .header__phone { display: inline-flex; margin-left: auto; text-align: left; line-height: 1.15; padding: 8px 20px; font-size: var(--fs-md); }
  .header__iconbtn { display: none; }
  .nav { display: block; }
}

/* Mega menu (desktop) */
.mega { background: #fff; border: 1px solid var(--c-border); border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--sh-3); padding: var(--s-8); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) 280px; gap: var(--s-8); }
.mega h4 { font-size: var(--fs-base); margin-bottom: var(--s-3); }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega li a { display: block; padding: 6px 0; color: var(--c-text); text-decoration: none; }
.mega li a:hover { color: var(--c-primary); text-decoration: underline; }
.mega__promo { background: var(--c-bg-warm); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.mega__promo img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.mega__promo div { padding: var(--s-4); display: grid; gap: var(--s-2); }

/* Mobilní menu přes celou obrazovku */
.mmenu { background: #fff; min-height: 100%; display: flex; flex-direction: column; }
.mmenu__head { display: flex; align-items: center; justify-content: space-between; padding: 10px var(--gutter); border-bottom: 1px solid var(--c-border); min-height: 64px; }
.mmenu__head img { height: 40px; }
.mmenu ul { list-style: none; margin: 0; padding: 0; }
.mmenu__list a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 var(--gutter); border-bottom: 1px solid var(--c-border); color: var(--c-ink); font-weight: var(--fw-bold); font-size: var(--fs-md); text-decoration: none; }
.mmenu__list--sub a { font-weight: var(--fw-semibold); font-size: var(--fs-base); min-height: 52px; color: var(--c-text); }
.mmenu__foot { margin-top: auto; padding: var(--s-6) var(--gutter); background: var(--c-bg-soft); display: grid; gap: var(--s-3); }

/* Mobilní vyhledávání rozbalené */
.msearch { display: flex; gap: var(--s-2); align-items: center; padding: 10px var(--gutter); background: #fff; border-bottom: 1px solid var(--c-border); }
.msearch .input { flex: 1; }

/* Přilepená lišta Zavolat (mobil) */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto; gap: var(--s-2); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--c-border); box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
.callbar--static { position: static; }
.has-callbar { padding-bottom: 72px; }
@media (min-width: 900px) { .callbar:not(.callbar--static) { display: none; } .has-callbar { padding-bottom: 0; } }

/* ---------- Drobečková navigace ---------- */
.crumbs { font-size: var(--fs-sm); color: var(--c-muted); padding-block: var(--s-4); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.crumbs li { display: inline-flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: "›"; color: var(--c-subtle); }
.crumbs a { color: var(--c-muted); }
.crumbs a:hover { color: var(--c-primary); }
.crumbs [aria-current] { color: var(--c-ink); font-weight: var(--fw-semibold); }

/* ---------- Štítky ---------- */
.avail { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: var(--fw-bold); line-height: 1.2; padding: 4px 10px 4px 8px; border-radius: var(--r-pill); white-space: nowrap; }
.avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.avail--ok { color: var(--avail-ok); background: var(--avail-ok-bg); }
.avail--soon { color: var(--avail-soon); background: var(--avail-soon-bg); }
.avail--ask { color: var(--avail-ask); background: var(--avail-ask-bg); }
.avail--out { color: var(--avail-out); background: var(--avail-out-bg); }
.tag { display: inline-flex; align-items: center; font-size: var(--fs-xs); font-weight: var(--fw-black); text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: var(--r-sm); line-height: 1.3; }
.tag--sale { background: var(--c-brand); color: #fff; }
.tag--new { background: var(--c-accent); color: var(--c-accent-ink); }
.tag--discount { background: var(--c-ink); color: #fff; }

/* ---------- Cena ---------- */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price__main { font-size: var(--fs-lg); font-weight: var(--fw-black); color: var(--c-ink); white-space: nowrap; letter-spacing: -0.01em; }
.price__unit { font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--c-muted); }
.price__old { font-size: var(--fs-sm); color: var(--c-muted); text-decoration: line-through; white-space: nowrap; }
.price__net { flex-basis: 100%; font-size: var(--fs-sm); color: var(--c-muted); }
.price--sale .price__main { color: var(--c-primary); }
.price--lg .price__main { font-size: var(--fs-3xl); }
.price--lg .price__unit { font-size: var(--fs-md); }
.price--lg .price__old { font-size: var(--fs-md); }

/* ---------- Produktová karta ---------- */
.grid-products { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-3); }
@media (min-width: 600px) { .grid-products { gap: var(--s-4); } }
@media (min-width: 900px) { .grid-products { grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-6); } }
@media (min-width: 1200px) { .grid-products--4 { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: var(--s-3); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 600px) { .rail { grid-auto-columns: 42%; } }
@media (min-width: 900px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: var(--s-6); } }

.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .15s, border-color .15s, transform .15s; }
.card:hover { box-shadow: var(--sh-2); border-color: var(--c-border-strong); color: inherit; }
.card:hover .card__title { color: var(--c-primary); text-decoration: underline; }
.card__media { position: relative; aspect-ratio: 1 / 1; background: var(--c-bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: var(--s-3); flex: 1; }
.card__title { font-size: var(--fs-base); font-weight: var(--fw-bold); color: var(--c-ink); line-height: var(--lh-snug); }
.card__desc { font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin-top: auto; padding-top: var(--s-2); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.card .price__main { font-size: var(--fs-md); }
.card--out .card__media img { filter: grayscale(1); opacity: .55; }
.card--out .card__title, .card--out .price__main { color: var(--c-muted); }
.card.is-hover { box-shadow: var(--sh-2); border-color: var(--c-border-strong); }
.card.is-hover .card__title { color: var(--c-primary); text-decoration: underline; }
@media (min-width: 600px) { .card__body { padding: var(--s-4); } .card__foot { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; } }
.ph { display: flex; align-items: center; justify-content: center; text-align: center; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, #eeeff0 0 12px, #f6f6f7 12px 24px); color: var(--c-muted); font-size: var(--fs-sm); font-weight: var(--fw-semibold); padding: var(--s-4); }

/* ---------- Kategorie – dlaždice ---------- */
.grid-cats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-3); }
@media (min-width: 900px) { .grid-cats { grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-6); } }
@media (min-width: 1200px) { .grid-cats { grid-template-columns: repeat(6, minmax(0,1fr)); gap: var(--s-4); } }
.cat-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--c-ink); transition: box-shadow .15s; }
.cat-tile:hover { box-shadow: var(--sh-2); color: var(--c-primary); }
.cat-tile__media { aspect-ratio: 4 / 3; background: var(--c-bg-soft); }
.cat-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile span { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 12px 14px; font-weight: var(--fw-bold); line-height: 1.25; min-height: 56px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--c-dark); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,20,.82) 0%, rgba(20,20,20,.55) 45%, rgba(20,20,20,.05) 80%); }
.hero__inner { position: relative; padding-block: var(--s-12) var(--s-10); display: grid; gap: var(--s-5); max-width: 640px; }
.hero h1 { color: #fff; font-size: var(--fs-2xl); }
.hero h1 em { font-style: normal; color: var(--c-accent); }
.hero p { font-size: var(--fs-md); color: rgba(255,255,255,.9); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: rgba(255,255,255,.92); }
.hero__facts span { display: inline-flex; gap: 6px; align-items: center; }
.hero__facts .ic { width: 18px; height: 18px; color: var(--c-accent); }
@media (max-width: 599px) { .hero__media::after { background: linear-gradient(180deg, rgba(20,20,20,.55) 0%, rgba(20,20,20,.82) 60%); } .hero__ctas .btn { width: 100%; } }
@media (min-width: 900px) { .hero__inner { padding-block: var(--s-20); } .hero h1 { font-size: var(--fs-3xl); } }

/* ---------- Služby ---------- */
.grid-svc { display: grid; grid-template-columns: repeat(1, minmax(0,1fr)); gap: var(--s-3); }
@media (min-width: 600px) { .grid-svc { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-4); } }
@media (min-width: 1200px) { .grid-svc { grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s-6); } }
.svc { display: flex; gap: var(--s-4); align-items: flex-start; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-5); text-decoration: none; color: inherit; transition: box-shadow .15s; }
.svc:hover { box-shadow: var(--sh-2); color: inherit; }
.svc__icon { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--c-brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.svc h3 { font-size: var(--fs-md); margin-bottom: 4px; }
.svc p { color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.5; }
.svc__link { display: inline-flex; gap: 4px; align-items: center; margin-top: var(--s-2); font-weight: var(--fw-bold); color: var(--c-primary); font-size: var(--fs-sm); }
@media (min-width: 1200px) { .svc { flex-direction: column; padding: var(--s-6); } }

/* ---------- Proč my ---------- */
.why { display: grid; gap: var(--s-4); grid-template-columns: repeat(1, minmax(0,1fr)); }
@media (min-width: 600px) { .why { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1200px) { .why { grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--s-6); } }
.why__item { display: flex; gap: var(--s-3); align-items: flex-start; }
.why__num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); display: flex; align-items: center; justify-content: center; }
.why__item h3 { font-size: var(--fs-base); margin-bottom: 2px; }
.why__item p { font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.5; }

/* ---------- Prodejny ---------- */
.grid-stores { display: grid; gap: var(--s-4); grid-template-columns: repeat(1, minmax(0,1fr)); }
@media (min-width: 600px) { .grid-stores { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1200px) { .grid-stores { grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-6); } }
.store { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; }
.store__media { aspect-ratio: 16 / 9; background: var(--c-bg-soft); position: relative; }
.store__media .tag { position: absolute; top: 10px; left: 10px; }
.store__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.store h3 { font-size: var(--fs-lg); }
.store__spec { display: inline-flex; align-self: flex-start; gap: 6px; align-items: center; background: var(--c-accent-soft); color: var(--c-accent-ink); font-size: var(--fs-sm); font-weight: var(--fw-semibold); padding: 4px 10px; border-radius: var(--r-sm); }
.store dl { margin: 0; display: grid; gap: 6px; font-size: var(--fs-sm); }
.store dl div { display: flex; gap: 10px; align-items: flex-start; }
.store dt { color: var(--c-muted); flex: none; padding-top: 2px; }
.store dt .ic { width: 18px; height: 18px; }
.store dd { margin: 0; }
.store__actions { margin-top: auto; display: flex; gap: var(--s-2); flex-wrap: wrap; padding-top: var(--s-2); }
.store__actions .btn { flex: 1 1 140px; }
.store-mini { display: grid; gap: var(--s-2); }
.store-mini a { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: 12px 16px; border: 1px solid var(--c-border); border-radius: var(--r-md); background: #fff; color: var(--c-ink); text-decoration: none; font-weight: var(--fw-bold); min-height: 56px; }
.store-mini a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.store-mini small { display: block; font-weight: var(--fw-regular); color: var(--c-muted); font-size: var(--fs-sm); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: var(--fs-base); }
.hours dt { font-weight: var(--fw-bold); color: var(--c-ink); }
.hours dd { margin: 0; }
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #e9ece6; border: 1px solid var(--c-border); }
.map__pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--c-ink); }
.map__pin i { width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c-brand); border: 3px solid #fff; box-shadow: var(--sh-1); }
.map__pin b { background: #fff; padding: 2px 8px; border-radius: var(--r-pill); box-shadow: var(--sh-1); white-space: nowrap; }

/* ---------- CTA blok ---------- */
.cta { background: var(--c-brand); color: #fff; border-radius: var(--r-lg); padding: var(--s-8) var(--s-6); display: grid; gap: var(--s-6); position: relative; overflow: hidden; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.92); font-size: var(--fs-md); }
.cta__phone { font-size: var(--fs-2xl); font-weight: var(--fw-black); color: #fff; text-decoration: none; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: var(--s-3); }
.cta__phone:hover { color: var(--c-accent); }
.cta__form { background: #fff; color: var(--c-text); border-radius: var(--r-md); padding: var(--s-5); display: grid; gap: var(--s-3); }
.cta .cta__form .field__label { color: var(--c-ink); }
@media (min-width: 900px) { .cta { grid-template-columns: 1fr 1fr; padding: var(--s-12); align-items: center; gap: var(--s-12); } }

/* ---------- Formuláře ---------- */
.field { display: grid; gap: 6px; }
.field__label { font-weight: var(--fw-bold); color: var(--c-ink); font-size: var(--fs-base); }
.field__label small { font-weight: var(--fw-regular); color: var(--c-muted); }
.field__hint { font-size: var(--fs-sm); color: var(--c-muted); }
.input, .textarea, .select { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: var(--fs-base); color: var(--c-ink); background: #fff; border: 1.5px solid var(--c-border-strong); border-radius: var(--r-md); appearance: none; }
.input::placeholder, .textarea::placeholder { color: #7b7e82; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--c-muted); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--c-info); box-shadow: 0 0 0 3px rgba(31,95,168,.25); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }
.field--error .input, .field--error .textarea, .field--error .select { border-color: var(--c-error); background: #fffafa; }
.field__error { display: flex; gap: 6px; align-items: center; color: var(--c-error); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.field__error .ic { width: 16px; height: 16px; }
.prefill { display: flex; align-items: center; gap: var(--s-3); padding: 8px 8px 8px 12px; border: 1.5px solid var(--c-border-strong); border-radius: var(--r-md); background: var(--c-bg-soft); }
.prefill img { width: 44px; height: 44px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.prefill div { flex: 1; min-width: 0; font-size: var(--fs-sm); line-height: 1.35; }
.prefill b { display: block; color: var(--c-ink); font-size: var(--fs-base); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.45; cursor: pointer; min-height: var(--tap); padding-top: 2px; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--c-primary); cursor: pointer; }
.turnstile { display: inline-flex; align-items: center; gap: 12px; width: 300px; max-width: 100%; height: 65px; padding: 0 14px; border: 1px solid #d0d0d0; border-radius: 4px; background: #fafafa; font-size: 14px; color: #333; }
.turnstile i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #22a04b; display: flex; align-items: center; justify-content: center; color: #22a04b; }
.turnstile small { margin-left: auto; font-size: 10px; color: #777; text-align: right; line-height: 1.2; }
.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; gap: var(--s-4); }
@media (min-width: 600px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.alert { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4); border-radius: var(--r-md); font-size: var(--fs-base); }
.alert .ic { margin-top: 3px; }
.alert b { display: block; color: inherit; }
.alert--ok { background: var(--c-success-bg); color: #0b4f1a; }
.alert--err { background: var(--c-error-bg); color: #7d1a14; }
.alert--info { background: var(--c-info-bg); color: #163f6d; }
.alert--warn { background: var(--c-warning-bg); color: #6b3600; }

/* ---------- Chipy, filtry, řazení ---------- */
.chips { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--c-border-strong); background: #fff; color: var(--c-ink); font-weight: var(--fw-semibold); font-size: var(--fs-sm); text-decoration: none; white-space: nowrap; cursor: pointer; font-family: inherit; }
.chip:hover { border-color: var(--c-ink); color: var(--c-ink); }
.chip.is-active { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.chip small { color: inherit; opacity: .7; font-weight: var(--fw-regular); }
.chip--remove { background: var(--c-primary-soft); border-color: transparent; color: var(--c-primary-active); }
.chip--remove .ic { width: 16px; height: 16px; }

.listing { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .listing { grid-template-columns: 280px minmax(0,1fr); gap: var(--s-8); align-items: start; } }
.filters { display: none; }
@media (min-width: 900px) { .filters { display: grid; gap: 0; } }
.filter-group { border-bottom: 1px solid var(--c-border); padding-block: var(--s-4); display: grid; gap: var(--s-2); }
.filter-group:first-child { padding-top: 0; }
.filter-group h3 { font-size: var(--fs-base); display: flex; justify-content: space-between; align-items: center; }
.filter-group .check { min-height: 36px; font-size: var(--fs-base); align-items: center; padding: 0; }
.filter-group .check small { margin-left: auto; color: var(--c-muted); font-size: var(--fs-sm); }
.range { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-2); align-items: center; }
.range .input { min-height: 44px; padding: 8px 10px; }
.range__track { grid-column: 1 / -1; position: relative; height: 24px; margin-top: 4px; }
.range__track::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 2px; background: var(--c-border); }
.range__fill { position: absolute; top: 10px; height: 4px; background: var(--c-primary); border-radius: 2px; }
.range__thumb { position: absolute; top: 2px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--c-primary); box-shadow: var(--sh-1); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--c-border-strong); cursor: pointer; padding: 0; }
.swatch.is-active { box-shadow: 0 0 0 2.5px var(--c-ink); }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); font-weight: var(--fw-bold); color: var(--c-ink); min-height: var(--tap); }
.switch { width: 48px; height: 28px; border-radius: 14px; background: var(--c-success); position: relative; flex: none; border: 0; padding: 0; cursor: pointer; }
.switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); }
.switch.is-off { background: var(--c-border-strong); }
.switch.is-off::after { right: auto; left: 3px; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding-bottom: var(--s-4); border-bottom: 1px solid var(--c-border); margin-bottom: var(--s-5); }
.toolbar__count { font-weight: var(--fw-bold); color: var(--c-ink); }
.toolbar__sort { display: flex; align-items: center; gap: var(--s-2); }
.toolbar__sort label { font-size: var(--fs-sm); color: var(--c-muted); white-space: nowrap; }
.toolbar__sort .select { min-height: 44px; width: auto; }
.filterbar { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); position: sticky; top: 64px; background: #fff; z-index: 5; padding-block: var(--s-2); }
.filterbar .btn, .filterbar .select { min-height: 48px; }
.filterbar .badge { background: var(--c-primary); color: #fff; border-radius: var(--r-pill); font-size: 13px; min-width: 22px; height: 22px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 900px) { .filterbar { display: none; } }
.active-filters { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; margin-bottom: var(--s-5); }

.drawer { position: relative; background: #fff; display: flex; flex-direction: column; min-height: 100%; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 10px var(--gutter); min-height: 64px; border-bottom: 1px solid var(--c-border); position: sticky; top: 0; background: #fff; z-index: 2; }
.drawer__body { padding: var(--s-2) var(--gutter) var(--s-6); flex: 1; }
.drawer__foot { position: sticky; bottom: 0; display: grid; grid-template-columns: auto 1fr; gap: var(--s-2); padding: 12px var(--gutter); border-top: 1px solid var(--c-border); background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.06); }

/* ---------- Stránkování ---------- */
.pager { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); margin-top: var(--s-8); }
.pager__info { font-size: var(--fs-sm); color: var(--c-muted); }
.pager__progress { width: 240px; height: 4px; background: var(--c-border); border-radius: 2px; overflow: hidden; }
.pager__progress i { display: block; height: 100%; background: var(--c-ink); }
.pages { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.pages a, .pages span { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap); height: var(--tap); padding: 0 8px; border-radius: var(--r-md); color: var(--c-ink); text-decoration: none; font-weight: var(--fw-semibold); }
.pages a:hover { background: var(--c-bg-soft); }
.pages [aria-current] { background: var(--c-ink); color: #fff; }
.pages .is-disabled { color: #a0a3a7; }

/* ---------- Detail produktu ---------- */
.pdp { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-12); align-items: start; } }
.gallery { display: grid; gap: var(--s-3); }
.gallery__main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden; background: var(--c-bg-soft); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__zoom { position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,.95); }
.gallery__dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 6px; }
.gallery__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.gallery__dots i.is-active { background: #fff; width: 22px; border-radius: 4px; }
.gallery__count { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.65); color: #fff; font-size: var(--fs-sm); font-weight: var(--fw-semibold); padding: 4px 10px; border-radius: var(--r-pill); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: var(--s-2); }
.gallery__thumbs button { aspect-ratio: 1/1; padding: 0; border: 2px solid transparent; border-radius: var(--r-md); overflow: hidden; background: var(--c-bg-soft); cursor: pointer; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button.is-active { border-color: var(--c-ink); }
.gallery__thumbs button span { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-weight: var(--fw-bold); color: var(--c-ink); }
.pdp__info { display: grid; gap: var(--s-5); }
.pdp__head { display: grid; gap: var(--s-2); }
.pdp__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: var(--fs-sm); color: var(--c-muted); }
.pdp__meta b { color: var(--c-ink); font-weight: var(--fw-semibold); }
.pdp__buy { display: grid; gap: var(--s-4); padding: var(--s-5); border: 1px solid var(--c-border); border-radius: var(--r-lg); background: #fff; }
.pdp__ctas { display: grid; gap: var(--s-3); }
@media (min-width: 600px) { .pdp__ctas { grid-template-columns: 1fr 1fr; } }
.pdp__usp { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--c-ink); }
.pdp__usp span { display: inline-flex; gap: 6px; align-items: center; }
.pdp__usp .ic { color: var(--c-success); width: 18px; height: 18px; }
.variants { display: grid; gap: var(--s-2); }
.variants__label { font-weight: var(--fw-bold); color: var(--c-ink); font-size: var(--fs-base); }
.variants__label span { font-weight: var(--fw-regular); color: var(--c-muted); }
.variants__opts { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.variant { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 56px; min-width: 104px; padding: 6px 14px; border-radius: var(--r-md); border: 1.5px solid var(--c-border-strong); background: #fff; color: var(--c-ink); font: inherit; font-weight: var(--fw-bold); font-size: var(--fs-base); cursor: pointer; text-align: left; line-height: 1.25; }
.variant small { font-weight: var(--fw-regular); font-size: var(--fs-sm); color: var(--c-muted); }
.variant:hover { border-color: var(--c-ink); }
.variant.is-active { border: 2.5px solid var(--c-ink); padding: 5px 13px; background: var(--c-bg-soft); }
.variant.is-out { color: #8a8d91; border-style: dashed; background: #fafafa; }
.variant.is-out small { text-decoration: line-through; }
.params { width: 100%; border-collapse: collapse; font-size: var(--fs-base); }
.params th, .params td { text-align: left; padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--c-border); }
.params th { width: 42%; font-weight: var(--fw-semibold); color: var(--c-muted); }
.params td { color: var(--c-ink); }
.params tr:nth-child(odd) { background: var(--c-bg-soft); }
.pdp-tabs { display: grid; gap: var(--s-8); }
@media (min-width: 900px) { .pdp-tabs { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: var(--s-12); } }

/* ---------- Text / články ---------- */
.prose { max-width: 720px; font-size: var(--fs-md); line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--fs-xl); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.prose figcaption { font-size: var(--fs-sm); color: var(--c-muted); margin-top: 8px; }
.lead { font-size: var(--fs-md); color: var(--c-muted); line-height: 1.6; }
@media (min-width: 900px) { .lead { font-size: var(--fs-lg); } }
.article-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--c-border); text-decoration: none; color: inherit; }
.article-card:hover { box-shadow: var(--sh-2); color: inherit; }
.article-card:hover h3 { color: var(--c-primary); text-decoration: underline; }
.article-card__media { aspect-ratio: 16/10; background: var(--c-bg-soft); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { padding: var(--s-5); display: grid; gap: var(--s-2); }
.article-card p { color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.55; }
.grid-3 { display: grid; gap: var(--s-4); grid-template-columns: repeat(1, minmax(0,1fr)); }
@media (min-width: 600px) { .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-6); } }
.split { display: grid; gap: var(--s-8); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--s-12); align-items: start; } .split--wide { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); } }
.panel { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--s-6); }
.panel--soft { background: var(--c-bg-soft); border-color: transparent; }
.page-head { padding-block: var(--s-2) var(--s-8); display: grid; gap: var(--s-3); max-width: 820px; }

/* ---------- Prázdný stav / 404 ---------- */
.empty { text-align: center; display: grid; justify-items: center; gap: var(--s-4); padding: var(--s-12) var(--s-4); border: 2px dashed var(--c-border); border-radius: var(--r-lg); }
.empty__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--c-bg-soft); display: flex; align-items: center; justify-content: center; color: var(--c-muted); }
.empty p { color: var(--c-muted); max-width: 440px; }
.big-num { font-size: 7rem; font-weight: var(--fw-black); line-height: 1; color: var(--c-brand); letter-spacing: -0.04em; }

/* ---------- Kontakt ---------- */
.contact-list { display: grid; gap: var(--s-4); }
.contact { display: flex; gap: var(--s-3); align-items: flex-start; }
.contact__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); display: flex; align-items: center; justify-content: center; }
.contact b { display: block; color: var(--c-ink); }
.contact a { font-weight: var(--fw-semibold); }
.bigphone { display: inline-flex; align-items: center; gap: var(--s-3); font-size: var(--fs-2xl); font-weight: var(--fw-black); color: var(--c-ink); text-decoration: none; letter-spacing: -0.01em; }
.bigphone:hover { color: var(--c-primary); }

/* ---------- Patička ---------- */
.footer { background: var(--c-dark); color: #d4d4d4; font-size: var(--fs-sm); }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--c-accent); text-decoration: underline; }
.footer h4 { color: #fff; font-size: var(--fs-base); margin-bottom: var(--s-3); }
.footer__grid { display: grid; gap: var(--s-8); padding-block: var(--s-12) var(--s-8); grid-template-columns: repeat(1, minmax(0,1fr)); }
@media (min-width: 600px) { .footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1200px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__phone { font-size: var(--fs-xl); font-weight: var(--fw-black); color: #fff; display: inline-flex; gap: 10px; align-items: center; }
.footer__logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: var(--r-md); }
.footer__logo img { height: 40px; }
.footer__bottom { border-top: 1px solid #3a3a3a; padding-block: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); justify-content: space-between; color: #a8a8a8; }
.footer__bottom a { color: #d4d4d4; }
.footer .hours { font-size: var(--fs-sm); }
.footer .hours dt { color: #fff; }

/* ---------- Pomocné pro katalog komponent ---------- */
.spec-board { padding: var(--s-12); display: grid; gap: var(--s-12); background: #fff; }
.spec { display: grid; gap: var(--s-5); }
.spec__title { display: flex; align-items: baseline; gap: var(--s-4); padding-bottom: var(--s-3); border-bottom: 2px solid var(--c-ink); }
.spec__title h2 { font-size: var(--fs-xl); }
.spec__title code, .code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; color: var(--c-muted); }
.spec__cap { font-size: 13px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); }
.spec__cell { display: grid; gap: var(--s-2); align-content: start; }
.swatch-tile { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--c-border); }
.swatch-tile > div:first-child { height: 88px; }
.swatch-tile > div:last-child { padding: 10px 12px; font-size: 13px; line-height: 1.4; }
.swatch-tile b { display: block; font-size: 14px; color: var(--c-ink); }

/* Doplňky k brazda.css (design). brazda.css se nemění, aby šel přebírat z Claude Design. */

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/open-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/open-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
.menu-open { overflow: hidden; }

/* Odkaz „Přeskočit na obsah“ – viditelný jen při ovládání klávesnicí */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: #fff; color: var(--c-ink); padding: 10px 16px; border-radius: var(--r-md); font-weight: var(--fw-bold); box-shadow: var(--sh-2); }
.skip-link:focus { top: 8px; }

/* Mobilní menu přes celou obrazovku */
.mmenu-overlay { display: none; position: fixed; inset: 0; z-index: 50; overflow-y: auto; background: #fff; }
.mmenu-overlay:target, .mmenu-overlay.is-open { display: block; }
.mmenu-overlay .mmenu { min-height: 100%; }
.mmenu__close { display: inline-flex; }
.mmenu__list .ic { color: var(--c-subtle); }
@media (min-width: 900px) { .mmenu-overlay, .mmenu-overlay:target, .mmenu-overlay.is-open { display: none; } }

/* Kompaktní hlavička: logo, navigace a telefon v jednom řádku (design měl 2 řádky, ~140 px).
   Až přibudou kategorie katalogu a nevejdou se, vrátí se navigace do druhého řádku. */
.header__bar { min-height: 56px; }
.header__logo img { height: 34px; }
@media (min-width: 900px) {
  .header__bar { min-height: 64px; gap: var(--s-4); }
  .header__logo img { height: 40px; }
  .header .nav { display: block; flex: 1; border-top: 0; align-self: stretch; }
  .header .nav ul { gap: 0; height: 100%; }
  .header .nav a { min-height: 64px; height: 100%; padding: 0 14px; border-top: 3px solid transparent; }
  .header__phone { margin-left: 0; padding: 8px 16px; min-height: 44px; font-size: var(--fs-base); }
}
/* 6 položek navigace se na užších desktopech vejde jen s menším odsazením */
@media (min-width: 900px) and (max-width: 1099px) {
  .header__bar { gap: var(--s-3); }
  .header .nav a { padding: 0 9px; }
}

/* Patička: nadpisy sloupců jako h2 kvůli pořadí nadpisů, vzhled jako h4 z designu */
.footer__title { color: #fff; font-size: var(--fs-base); font-weight: var(--fw-bold); margin-bottom: var(--s-3); }

/* Mapa prodejen: obrázek z OpenStreetMap, piny jsou odkazy. Špička pinu leží přesně na místě. */
.map { background: #f2efe9; }
.map__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .map__pin { transform: translate(-50%, -31px); }
.map__pin b { font-size: var(--fs-sm); }
a.map__pin { text-decoration: none; }
a.map__pin:hover b { color: var(--c-primary); }
.map__credit { position: absolute; right: 0; bottom: 0; background: rgba(255,255,255,.85); color: var(--c-muted); font-size: 12px; padding: 2px 8px; border-top-left-radius: var(--r-sm); text-decoration: none; }
.map__credit:hover { color: var(--c-ink); text-decoration: underline; }
.map--wide { display: none; }
@media (max-width: 599px) { .map__pin b { font-size: var(--fs-xs); padding: 1px 6px; } }
@media (min-width: 900px) { .map--wide { display: block; } .map--narrow { display: none; } }

/* Lišta Zavolat: na úzkých displejích jen ikona u „Napsat“ */
@media (max-width: 400px) {
  .callbar { gap: 6px; }
  .callbar .btn { padding-inline: 12px; }
  .callbar__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Prodejna bez fotky: štítek v textu, ne přes obrázek */
.store__body > .tag { position: static; }
.store--cta { background: var(--c-primary); border-color: var(--c-primary); color: #fff; padding: 28px; justify-content: center; gap: 16px; }
.store--cta h3 { color: #fff; }
.store--cta p { color: rgba(255,255,255,.92); }

/* Služby: obrázky a ikony v rozložení split */
.split__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.split__icon { display: none; }
@media (min-width: 900px) {
  .split__icon { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--c-bg-soft); color: var(--c-brand); }
  .section--soft .split__icon, .section--warm .split__icon { background: #fff; }
  .split__icon .ic { width: 120px; height: 120px; stroke-width: 1.25; }
}

/* Článek */
.article { max-width: 760px; margin: 0 auto; }
.prose a { font-weight: var(--fw-semibold); }
.prose ol { padding-left: 1.4em; }
.prose ol li + li { margin-top: .6em; }
.article-card__icon { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--c-brand); background: var(--c-accent-soft); }
.article-card__icon .ic { width: 64px; height: 64px; stroke-width: 1.5; }

/* Dočasné místo k doplnění – na webu nápadné, aby se nezapomnělo */
.todo { background: var(--c-warning-bg); color: var(--c-warning); padding: 2px 6px; border-radius: var(--r-sm); }

/* Nejužší telefony (320–380 px): menší nadpisy, aby se vešla dlouhá česká slova */
@media (max-width: 380px) {
  :root { --fs-2xl: 1.875rem; --fs-xl: 1.5rem; }
  .cta .btn { white-space: normal; text-align: center; }
}

/* Karty článků: nižší obrázek, menší písmo a perex na 2 řádky (design je měl moc vysoké) */
.article-card__media { aspect-ratio: 2 / 1; position: relative; overflow: hidden; }
.article-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-card__body { padding: var(--s-4); gap: 6px; }
.article-card h3 { font-size: var(--fs-md); }
.article-card .eyebrow { font-size: var(--fs-xs); }
.article-card p:not(.eyebrow) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card__icon .ic { width: 44px; height: 44px; }

/* Karta prodejny v přehledu: celá karta vede na detail, odkazy uvnitř zůstávají klikací */
.store { position: relative; transition: box-shadow .15s, border-color .15s; }
.store:hover { box-shadow: var(--sh-2); border-color: var(--c-border-strong); }
.store__link { color: inherit; text-decoration: none; }
.store__link::after { content: ""; position: absolute; inset: 0; }
.store:hover .store__link { color: var(--c-primary); text-decoration: underline; }
.store dl a, .store__actions a { position: relative; z-index: 1; }
.store__more { display: inline-flex; gap: 4px; align-items: center; font-weight: var(--fw-bold); color: var(--c-primary); font-size: var(--fs-sm); }
.store__more .ic { width: 16px; height: 16px; }

/* Detail prodejny */
.store-detail { display: grid; gap: var(--s-8); padding-bottom: var(--s-12); }
.store-detail__info { display: grid; gap: var(--s-5); align-content: start; }
.store-detail__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.store-detail__dl { margin: 0; display: grid; gap: var(--s-4); }
.store-detail__dl > div { display: flex; gap: var(--s-3); align-items: flex-start; }
.store-detail__dl > div > dt { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); display: flex; align-items: center; justify-content: center; }
.store-detail__dl > div > dd { margin: 0; }
.store-detail__dl > div > dd > b { display: block; color: var(--c-ink); }
.store-detail__dl .hours { font-size: var(--fs-base); margin-top: 2px; }
.map--detail { align-self: start; }
@media (min-width: 900px) {
  .store-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--s-12); }
  .map--detail { position: sticky; top: 88px; }
}
.store-mini--grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* Služby: postup ve 4 krocích */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); counter-reset: none; }
.steps__item { display: flex; gap: var(--s-4); align-items: flex-start; background: #fff; border-radius: var(--r-lg); padding: var(--s-5); border: 1px solid var(--c-border); }
.steps__num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); font-weight: var(--fw-black); font-size: var(--fs-lg); display: flex; align-items: center; justify-content: center; }
.steps__item h3 { font-size: var(--fs-md); margin-bottom: 4px; }
.steps__item p { color: var(--c-muted); font-size: var(--fs-sm); line-height: 1.5; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps__item { flex-direction: column; } }

/* Služby: bloky jednotlivých služeb */
.svc-detail { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .svc-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8); } }
.svc-detail__item { display: flex; gap: var(--s-5); align-items: flex-start; padding: var(--s-6); border: 1px solid var(--c-border); border-radius: var(--r-lg); background: #fff; scroll-margin-top: 80px; }
.svc-detail__item h2 { font-size: var(--fs-xl); }
.svc-detail__item > .stack > p:not(.eyebrow) { color: var(--c-muted); }
@media (max-width: 599px) { .svc-detail__item { flex-direction: column; padding: var(--s-5); } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { flex: none; color: var(--c-success); width: 20px; height: 20px; margin-top: 3px; }

/* Katalog bez produktů: upozornění a karty sortimentu (nejsou odkazy) */
.notice { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; padding: var(--s-4) var(--s-5); border-radius: var(--r-lg); background: var(--c-accent-soft); color: var(--c-ink); }
.notice p { flex: 1 1 280px; }
div.svc:hover { box-shadow: none; }
.svc__title { font-size: var(--fs-md); margin-bottom: 4px; }
@media (min-width: 600px) { .grid-svc--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-svc--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* O nás: čísla v řadě */
.stats { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: var(--s-4); }
.stats > div { display: grid; gap: 4px; align-content: start; padding: var(--s-5); border-radius: var(--r-lg); background: var(--c-bg-warm); }
.stats b { font-size: var(--fs-xl); font-weight: var(--fw-black); color: var(--c-primary); line-height: 1.1; white-space: nowrap; }
.stats span { color: var(--c-muted); font-size: var(--fs-sm); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Ceník: název vlevo, cena vpravo */
.pricelist { margin: 0; display: grid; }
.pricelist > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: 12px 0; border-bottom: 1px solid var(--c-border); }
.pricelist > div:first-child { padding-top: 0; }
.pricelist dt { color: var(--c-ink); font-weight: var(--fw-semibold); }
.pricelist dt small { display: block; color: var(--c-muted); font-weight: var(--fw-regular); font-size: var(--fs-sm); }
.pricelist dd { margin: 0; font-size: var(--fs-lg); font-weight: var(--fw-black); color: var(--c-ink); white-space: nowrap; }

/* Pruh s telefonem */
.contact-strip { display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: center; justify-content: space-between; padding: var(--s-6); border-radius: var(--r-lg); background: var(--c-bg-soft); }
.contact-strip h2 { font-size: var(--fs-xl); }
.contact-strip p { color: var(--c-muted); margin-top: 4px; }

/* Mřížky nesmí na úzkém displeji roztáhnout obsah přes okraj */
.split > *, .store-detail > *, .svc-detail > * { min-width: 0; }
.store-detail, .svc-detail { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .store-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .svc-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.store-detail__info { grid-template-columns: minmax(0, 1fr); }
.store-detail__dl dd, .store dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 380px) { .store-detail .panel { padding: var(--s-4); } }

/* Mřížka dlaždic („bento“): na mobilu pod sebou, od 900 px 12 sloupců.
   span-7 + span-5 dává velkou a menší dlaždici vedle sebe, rows-2 = velká přes dva řádky
   a vedle ní dvě poloviční. Dlaždice v řádku mají vždy stejnou výšku. */
.bento { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
.bento > * { min-width: 0; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6); }
  .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; }
  .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
  .rows-2 { grid-row: span 2; }
}
.tile-cell { display: flex; }
.tile-cell > .tile { flex: 1; }

/* Dlaždice: jednotné odsazení, hlavička s ikonou, tlačítka vždy dole */
.tile { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-6); height: 100%; }
.tile__head { display: flex; align-items: center; gap: var(--s-3); }
.tile__head h2 { font-size: var(--fs-lg); }
.tile__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); display: flex; align-items: center; justify-content: center; }
.panel--soft .tile__icon { background: #fff; }
.tile__foot { margin-top: auto; }
a.tile__foot.btn--text, .tile__foot .btn--text { align-self: flex-start; padding-inline: 0; }
.tile__name { display: block; color: var(--c-ink); font-size: var(--fs-md); }
.tile__label { font-size: var(--fs-sm); font-weight: var(--fw-bold); color: var(--c-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.tile__split { display: grid; gap: var(--s-5); }
@media (min-width: 600px) { .tile__split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile__email { font-size: var(--fs-lg); font-weight: var(--fw-bold); overflow-wrap: anywhere; }
.tile .bigphone { font-size: var(--fs-xl); }
.tile--main { border-top: 4px solid var(--c-brand); }
.tile--accent { border: 2px solid var(--c-primary); }
.tile__dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; }
.tile__dl dt { color: var(--c-muted); font-weight: var(--fw-semibold); }
.tile__dl dd { margin: 0; color: var(--c-ink); overflow-wrap: anywhere; }
.tile__rows { list-style: none; margin: 0; padding: 0; display: grid; }
.tile__rows li { display: flex; justify-content: space-between; gap: var(--s-3); padding: 10px 0; border-bottom: 1px solid var(--c-border); }
.tile__rows li:first-child { padding-top: 0; }
.tile__rows li a:first-child { font-weight: var(--fw-bold); color: var(--c-ink); text-decoration: none; }
.tile__rows li a:first-child:hover { color: var(--c-primary); text-decoration: underline; }
.tile__rows li a:last-child { white-space: nowrap; }
.tile .store-mini { gap: var(--s-2); }
/* Úvod: mapa + seznam prodejen. Mapa drží poměr stran (piny musí sedět), proto vedle sebe až od 1200 px. */
.bento--stores .tile { gap: var(--s-3); }
.bento--stores .tile__rows li { padding-block: 8px; }
.map-cell .map--wide { display: none; }
.map-cell .map--narrow { display: block; }
@media (min-width: 900px) and (max-width: 1199px) {
  .bento--stores > * { grid-column: span 12; }
  .map-cell .map--wide { display: block; }
  .map-cell .map--narrow { display: none; }
  .bento--stores .tile__rows { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-8); }
  .bento--stores .tile__rows li:nth-child(2) { padding-top: 0; }
}
.tile__facts { margin: 0; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.tile__facts dt { font-size: var(--fs-sm); color: var(--c-muted); font-weight: var(--fw-semibold); }
.tile__facts dd { margin: 0; color: var(--c-ink); font-weight: var(--fw-semibold); }
