/* =========================================================================
   GastroČisto — styly e-shopu
   Tokeny nahoře; komponenty seřazené podle výskytu na stránce.
   ========================================================================= */

:root {
  --ink: #15222d;
  --ink-2: #3c4b58;
  --ink-3: #56646e;
  --line: #d7dfe5;
  --line-2: #e8edf1;
  --bg: #ffffff;
  --surface: #f3f6f8;
  --surface-2: #e7edf1;
  --brand: #0b5d73;
  --brand-hover: #094d60;
  --brand-ink: #072f3b;
  --brand-tint: #e2eff2;
  --buy: #1d8448;
  --buy-hover: #166b3a;
  --buy-tint: #e5f3ea;
  --sale: #cf2a1f;
  --sale-tint: #fdecea;
  --warn: #a2500b;
  --warn-tint: #fff4e5;
  --ghs-red: #e2001a;
  --focus: #f2b705;

  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Barlow Semi Condensed', 'Barlow', system-ui, sans-serif;

  --r-btn: 6px;
  --r-card: 8px;
  --r-panel: 10px;
  --shadow-pop: 0 12px 32px rgba(7, 47, 59, .16), 0 2px 6px rgba(7, 47, 59, .08);
  --wrap: 1320px;
  --gutter: clamp(16px, 3vw, 32px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.005em; }
h1 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; }
h2 { font-size: clamp(23px, 2.4vw, 30px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
h4 { font-size: 17px; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
[hidden] { display: none !important; }

.icon { flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--brand-ink); color: #fff; padding: 10px 16px; border-radius: var(--r-btn); }
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 880px; }
.section { padding: clamp(36px, 5vw, 64px) 0; }
.section--tight { padding: clamp(24px, 3vw, 40px) 0; }
.section--surface { background: var(--surface); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.section__more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.section__more:hover { text-decoration: underline; }
.muted { color: var(--ink-3); }
.lede { font-size: 18px; color: var(--ink-2); max-width: 70ch; }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border: 1px solid transparent; border-radius: var(--r-btn);
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn--buy { background: var(--buy); color: #fff; }
.btn--buy:hover { background: var(--buy-hover); color: #fff; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); color: #fff; }
.btn--outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand-tint); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn--white { background: #fff; color: var(--brand-ink); }
.btn--white:hover { background: var(--brand-tint); color: var(--brand-ink); }
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 17px; }
.btn--sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; cursor: not-allowed; }
.btn.is-loading::after { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-added { background: var(--buy-hover); }
@keyframes spin { to { transform: rotate(360deg); } }

.link-btn { background: none; border: 0; padding: 0; color: var(--brand); cursor: pointer; text-decoration: underline; font: inherit; }

/* ---------- topbar ---------- */
.topbar { background: var(--brand-ink); color: #d6e6eb; font-size: 14px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.topbar__contact, .topbar__usp { display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar__item .icon { color: #8fc3d1; }
.topbar__hours { color: #a9c4cc; font-weight: 400; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand-ink); }
.logo:hover { color: var(--brand-ink); }
.logo__mark { width: 40px; height: 40px; }
.logo__text { font-family: var(--font-head); font-weight: 700; font-size: 26px; letter-spacing: -.01em; line-height: 1; }
.logo__text span { color: var(--brand); }
.logo__claim { display: block; font-family: var(--font); font-size: 12px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-top: 3px; }

.search { position: relative; max-width: 640px; width: 100%; }
.search__form { display: flex; border: 2px solid var(--brand); border-radius: var(--r-btn); overflow: hidden; background: #fff; }
.search__input { flex: 1; min-width: 0; border: 0; padding: 11px 14px; font-size: 16px; outline: none; background: transparent; }
.search__input::placeholder { color: var(--ink-3); }
.search__submit { border: 0; background: var(--brand); color: #fff; padding: 0 18px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.search__submit:hover { background: var(--brand-hover); }
.search__form:focus-within { box-shadow: 0 0 0 3px rgba(11, 93, 115, .18); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow-pop); z-index: 60; padding: 8px; max-height: 70vh; overflow: auto; }
.suggest__group { font-size: 13px; font-weight: 600; color: var(--ink-3); padding: 8px 10px 4px; }
.suggest__item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 6px; text-decoration: none; color: var(--ink); }
.suggest__item[aria-selected="true"], .suggest__item:hover { background: var(--surface); color: var(--ink); }
.suggest__item img { width: 48px; height: 48px; object-fit: contain; background: #fff; border: 1px solid var(--line-2); border-radius: 4px; }
.suggest__name { font-weight: 600; line-height: 1.25; }
.suggest__meta { font-size: 13px; color: var(--ink-3); }
.suggest__price { font-weight: 700; white-space: nowrap; }
.suggest__cat { grid-template-columns: 1fr auto; }
.suggest__all { display: block; text-align: center; padding: 10px; font-weight: 600; border-top: 1px solid var(--line-2); margin-top: 6px; }
.suggest__empty { padding: 14px 10px; color: var(--ink-2); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.vat-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-btn); padding: 3px; background: var(--surface); }
.vat-toggle button { border: 0; background: transparent; padding: 6px 10px; border-radius: 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.vat-toggle button[aria-pressed="true"] { background: #fff; color: var(--brand-ink); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.header-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--r-btn); text-decoration: none; color: var(--ink); font-weight: 600; white-space: nowrap; }
.header-link:hover { background: var(--surface); color: var(--ink); }
.header-link__sub { display: block; font-size: 12px; font-weight: 500; color: var(--ink-3); }
.cart-link { position: relative; background: var(--brand-tint); }
.cart-link:hover { background: var(--surface-2); }
.cart-link__badge { position: absolute; top: 2px; left: 26px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--sale); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.cart-link__total { font-variant-numeric: tabular-nums; }
.menu-toggle, .search-toggle { display: none; }

/* ---------- hlavní navigace ---------- */
.mainnav { background: var(--brand); color: #fff; position: relative; z-index: 40; }
.mainnav__list { display: flex; margin: 0; padding: 0; list-style: none; }
.mainnav__item { position: static; }
.mainnav__link { display: flex; align-items: center; gap: 6px; padding: 13px 14px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15.5px; white-space: nowrap; border: 0; background: none; cursor: pointer; }
.mainnav__link:hover, .mainnav__item.is-open > .mainnav__link, .mainnav__link[aria-current="page"] { background: var(--brand-hover); color: #fff; }
.mainnav__link .icon { opacity: .75; }
.mainnav__item--right { margin-left: auto; }
.mainnav__link--sale { color: #fff; }
.mainnav__link--sale span { background: var(--sale); padding: 2px 8px; border-radius: 4px; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(7,47,59,.12); visibility: hidden; opacity: 0; transition: opacity .12s ease, visibility 0s linear .12s; }
.mainnav__item:hover > .mega, .mainnav__item:focus-within > .mega { visibility: visible; opacity: 1; transition-delay: .12s, .12s; }
.mainnav__item:hover > .mainnav__link, .mainnav__item:focus-within > .mainnav__link { background: var(--brand-hover); }
.mainnav.is-closing .mega { visibility: hidden !important; opacity: 0 !important; }
.mega__inner { display: grid; grid-template-columns: 1fr 1fr 320px; gap: 32px; padding: 28px var(--gutter) 32px; max-width: var(--wrap); margin: 0 auto; }
.mega__title { font-family: var(--font-head); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.mega__title a { color: var(--ink); text-decoration: none; }
.mega__links { list-style: none; padding: 0; margin: 0; columns: 1; }
.mega__links li { margin: 0 0 4px; }
.mega__links a { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; margin: 0 -10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.mega__links a:hover { background: var(--surface); }
.mega__count { color: var(--ink-3); font-size: 14px; }
.mega__brands { display: flex; flex-wrap: wrap; gap: 8px; }
.mega__promo { border-radius: var(--r-panel); overflow: hidden; position: relative; background: var(--brand-ink); color: #fff; min-height: 180px; text-decoration: none; display: block; }
.mega__promo picture, .mega__promo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: .55; }
.mega__promo span { position: relative; display: block; padding: 18px; font-family: var(--font-head); font-size: 21px; font-weight: 700; line-height: 1.2; }
.mega__promo small { display: block; font-family: var(--font); font-size: 14px; font-weight: 500; margin-top: 6px; opacity: .9; }

/* ---------- lišta důvěry ---------- */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--line-2); font-size: 14px; }
.trustbar__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 10px 0; }
.trustbar__item { display: flex; align-items: center; gap: 10px; color: var(--ink-2); line-height: 1.3; }
.trustbar__item .icon { color: var(--brand); }
.trustbar__item strong { color: var(--ink); display: block; font-weight: 600; }

/* ---------- drobečková navigace ---------- */
.breadcrumbs { font-size: 14px; color: var(--ink-3); padding: 16px 0 8px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: ''; width: 6px; height: 6px; border-right: 1.5px solid var(--ink-3); border-top: 1.5px solid var(--ink-3); transform: rotate(45deg); margin-right: 4px; }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- hero: carousel + boční bannery ---------- */
.hero { padding: 20px 0 8px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 16px; }
.carousel { position: relative; border-radius: var(--r-panel); overflow: hidden; background: var(--brand-ink); min-height: 420px; }
.carousel__track { display: grid; height: 100%; }
.slide { grid-area: 1 / 1; position: relative; display: flex; align-items: flex-end; min-height: 420px; color: #fff; visibility: hidden; opacity: 0; transition: opacity .5s ease, visibility 0s linear .5s; }
.slide.is-active { visibility: visible; opacity: 1; transition: opacity .5s ease; }
.slide__media, .slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 30, 38, .88) 0%, rgba(4, 30, 38, .62) 46%, rgba(4, 30, 38, .06) 100%); }
.slide__body { position: relative; z-index: 1; padding: clamp(24px, 4vw, 48px); max-width: 560px; }
.slide__title { font-family: var(--font-head); font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; line-height: 1.08; margin: 0 0 12px; color: #fff; }
.slide__text { font-size: 17px; color: #dbe9ed; margin-bottom: 22px; }
.carousel__nav { position: absolute; z-index: 2; right: 20px; bottom: 20px; display: flex; gap: 8px; align-items: center; }
.carousel__dot { width: 34px; height: 5px; border-radius: 3px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; }
.carousel__dot[aria-current="true"] { background: #fff; }
.carousel__arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(4,30,38,.4); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.carousel__arrow:hover { background: rgba(4,30,38,.7); }
.side-banners { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.side-banner { border-radius: var(--r-panel); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; text-decoration: none; position: relative; overflow: hidden; }
.side-banner--brand { background: var(--brand); color: #fff; }
.side-banner--light { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.side-banner__title { font-family: var(--font-head); font-size: 24px; font-weight: 700; line-height: 1.12; margin: 0 0 6px; color: inherit; }
.side-banner__text { margin: 0; font-size: 15px; opacity: .92; max-width: 34ch; }
.side-banner .btn { align-self: flex-start; }
.side-banner--brand:hover { background: var(--brand-hover); color: #fff; }
.side-banner--light:hover { border-color: var(--line); color: var(--ink); }
.side-banner__art { position: absolute; right: -10px; bottom: -14px; width: 110px; opacity: .12; }
.side-banner--light .side-banner__art { opacity: .35; color: var(--brand); }

/* ---------- výběr podle zařízení ---------- */
.finder { display: grid; grid-template-columns: 340px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; background: #fff; }
.finder__intro { background: var(--brand-ink); color: #dbe9ed; padding: 28px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.finder__intro h2 { color: #fff; font-size: 28px; margin: 0; }
.finder__intro p { margin: 0; }
.finder__intro picture, .finder__intro img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.finder__intro > *:not(picture) { position: relative; }
.finder__steps { display: grid; gap: 6px; margin-top: auto; font-size: 14px; }
.finder__steps span { display: flex; gap: 8px; align-items: center; }
.finder__body { padding: 24px 28px 28px; }
.finder__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.finder__mine { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; padding: 12px 14px; border-radius: var(--r-btn); background: var(--buy-tint); font-size: 15px; }
.finder__mine-link { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid #bfe0cb; color: var(--ink); text-decoration: none; font-weight: 600; }
.finder__mine-link:hover { border-color: var(--buy); color: var(--ink); }
.js-save-device[aria-pressed="true"] { border-color: var(--buy); color: var(--buy-hover); background: var(--buy-tint); }
.finder__tab { border: 1px solid var(--line); background: #fff; border-radius: var(--r-btn); padding: 10px 16px; cursor: pointer; display: inline-flex; flex-direction: column; align-items: flex-start; min-width: 132px; text-align: left; }
.finder__tab strong { font-family: var(--font-head); font-size: 19px; letter-spacing: .02em; line-height: 1.1; }
.finder__tab span { font-size: 13px; color: var(--ink-3); }
.finder__tab:hover { border-color: var(--brand); }
.finder__tab[aria-selected="true"] { border-color: var(--brand); background: var(--brand-tint); box-shadow: inset 0 0 0 1px var(--brand); }
.finder__panel h3 { font-size: 16px; font-family: var(--font); font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.finder__models { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.finder__model { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-btn); text-decoration: none; color: var(--ink); background: var(--surface); height: 100%; }
.finder__model:hover { border-color: var(--brand); background: #fff; color: var(--ink); }
.finder__model strong { display: block; font-weight: 600; line-height: 1.25; }
.finder__model small { color: var(--ink-3); font-size: 13px; }
.finder__model .icon { color: var(--brand); }

/* ---------- dlaždice kategorií ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat-tile { border: 1px solid var(--line-2); border-radius: var(--r-card); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.cat-tile__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); display: block; }
.cat-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cat-tile:hover .cat-tile__media img { transform: scale(1.03); }
.cat-tile__body { padding: 14px 16px 16px; }
.cat-tile__title { font-size: 20px; margin: 0 0 6px; }
.cat-tile__title a { color: var(--ink); text-decoration: none; }
.cat-tile__title a:hover { color: var(--brand); }
.cat-tile__links { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.cat-tile__links li { margin: 2px 0; }
.cat-tile__links a { color: var(--ink-2); text-decoration: none; }
.cat-tile__links a:hover { color: var(--brand); text-decoration: underline; }
.cat-tile--cta { background: var(--brand); color: #dbe9ed; padding: 22px; justify-content: flex-end; gap: 10px; text-decoration: none; border-color: var(--brand); }
.cat-tile--cta:hover { background: var(--brand-hover); color: #fff; }
.cat-tile__cta-title { font-family: var(--font-head); font-size: 24px; font-weight: 700; line-height: 1.1; color: #fff; }
.cat-tile--cta .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- produktová karta ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.product-row > * { scroll-snap-align: start; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: #b9c6cf; box-shadow: 0 6px 18px rgba(7,47,59,.08); }
.card__media { position: relative; display: block; aspect-ratio: 1; margin: -4px -4px 10px; border-radius: 6px; overflow: hidden; background: #fff; }
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.card__badges { position: absolute; top: 6px; left: 6px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; line-height: 1; padding: 5px 7px; border-radius: 4px; }
.badge--sale { background: var(--sale); color: #fff; }
.badge--top { background: var(--brand-ink); color: #fff; }
.badge--new { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.badge--original { background: var(--brand-tint); color: var(--brand-ink); }
.card__ghs { position: absolute; bottom: 4px; left: 4px; display: flex; gap: 2px; }
.card__ghs img { width: 26px; height: 26px; padding: 0; }
.card__brand { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; }
.card__title { font-family: var(--font); font-size: 16px; font-weight: 600; line-height: 1.3; margin: 2px 0 6px; min-height: 2.6em; }
.card__title a { color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.card__title a:hover { color: var(--brand); }
.card__meta { font-size: 13px; color: var(--ink-3); margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.card__foot { margin-top: auto; display: grid; gap: 10px; position: relative; z-index: 1; }
.card__buy { display: flex; gap: 8px; }
.card__buy .btn { flex: 1; }

.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--buy); }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--order { color: var(--warn); }

.price { display: flex; flex-direction: column; line-height: 1.2; }
.price__main { font-size: 22px; font-weight: 700; font-family: var(--font-head); font-variant-numeric: tabular-nums; color: var(--ink); }
.price__main small { font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--ink-3); }
.price__alt { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.price__from { font-size: 14px; font-weight: 500; color: var(--ink-2); font-family: var(--font); }
.price__unit { font-size: 13px; color: var(--ink-3); }
/* přepínání ceny bez / s DPH — výchozí režim je bez DPH (B2B); druhá cena je vždy vidět pod hlavní */
html:not(.vat-with) .pm-vat, html:not(.vat-with) .pa-novat { display: none; }
html.vat-with .pm-novat, html.vat-with .pa-vat { display: none; }

.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-btn); overflow: hidden; background: #fff; height: 44px; }
.qty button { width: 38px; border: 0; background: var(--surface); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }
.qty button:hover { background: var(--surface-2); color: var(--ink); }
.qty input { width: 46px; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 36px; }
.qty--sm button { width: 32px; }
.qty--sm input { width: 38px; }

/* ---------- značky ---------- */
.brand-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.brand-chip { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 86px; border: 1px solid var(--line-2); border-radius: var(--r-card); background: #fff; text-decoration: none; color: var(--ink); padding: 12px; text-align: center; }
.brand-chip:hover { border-color: var(--brand); color: var(--ink); }
.brand-chip__name { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: .04em; line-height: 1; }
.brand-chip__meta { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.brand-chip img { max-height: 40px; width: auto; }

/* ---------- proč my ---------- */
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.why__media { border-radius: var(--r-panel); overflow: hidden; }
.why__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.why__list { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 18px; }
.why__list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.why__list .icon-wrap { width: 40px; height: 40px; border-radius: 8px; background: var(--brand-tint); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.why__list strong { display: block; font-size: 17px; }
.why__list span { color: var(--ink-2); }

/* ---------- promo pruh ---------- */
.promo-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r-panel); overflow: hidden; background: var(--brand-ink); color: #dbe9ed; }
.promo-band__body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.promo-band__body h2 { color: #fff; margin: 0; }
.promo-band__body p { margin: 0 0 8px; max-width: 52ch; }
.promo-band__media img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.promo-band__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- blog karty ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.post-card__media { aspect-ratio: 16 / 10; border-radius: var(--r-card); overflow: hidden; margin-bottom: 12px; background: var(--surface); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__cat { font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 4px; }
.post-card__title { font-size: 21px; margin: 0 0 6px; }
.post-card:hover .post-card__title { color: var(--brand); }
.post-card__excerpt { color: var(--ink-2); font-size: 15px; margin: 0; }
.post-card__date { font-size: 13px; color: var(--ink-3); margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { padding: 0 0 18px; color: var(--ink-2); max-width: 75ch; }
.faq__a p:last-child { margin: 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }

.help-box { border: 1px solid var(--line); border-radius: var(--r-panel); padding: 24px; background: #fff; }
.help-box h3 { margin-bottom: 6px; }
.help-box__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--brand-ink); text-decoration: none; margin: 8px 0 2px; }
.help-box__hours { color: var(--ink-3); font-size: 14px; margin-bottom: 14px; }
.help-box__person { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); }

/* ---------- pre-footer + footer ---------- */
.prefooter { background: var(--brand-tint); border-top: 1px solid #cfe2e7; }
.prefooter__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 0; }
.prefooter h2 { font-size: 26px; margin: 0 0 4px; }
.prefooter p { margin: 0; color: var(--ink-2); }
.prefooter__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.site-footer { background: var(--brand-ink); color: #b9cfd6; font-size: 15px; }
.site-footer a { color: #e3eef1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; padding: 48px 0 32px; }
.site-footer h3 { color: #fff; font-size: 17px; font-family: var(--font); font-weight: 600; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 7px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo__text span { color: #8fc3d1; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer__note { display: block; font-size: 13px; color: #93adb5; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 26px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 14px; color: #93adb5; }
.site-footer__pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-chip { border: 1px solid rgba(255,255,255,.22); border-radius: 4px; padding: 3px 8px; font-size: 13px; color: #d4e3e7; }

/* ---------- stránka kategorie ---------- */
.page-head { padding: 4px 0 20px; }
.page-head h1 { margin-bottom: 8px; }
.page-head__intro { color: var(--ink-2); max-width: 78ch; margin: 0; }
.page-head__count { color: var(--ink-3); font-size: 15px; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.subcats a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; font-weight: 500; }
.subcats a:hover, .subcats a[aria-current="page"] { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-ink); }
.subcats span { color: var(--ink-3); font-size: 14px; }
.listing { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 48px; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); border: 1px solid var(--line); border-radius: var(--r-panel); background: #fff; }
.filters__head { display: none; }
.filters__group { padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.filters__group:last-of-type { border-bottom: 0; }
.filters__group h3 { font-family: var(--font); font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.filters__option { display: flex; align-items: center; gap: 10px; padding: 4px 0; cursor: pointer; font-size: 15px; }
.filters__option input { width: 18px; height: 18px; accent-color: var(--brand); }
.filters__option span:last-child { margin-left: auto; color: var(--ink-3); font-size: 13px; }
.filters__actions { padding: 14px 18px; border-top: 1px solid var(--line-2); display: flex; gap: 8px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar__left { display: flex; gap: 10px; align-items: center; }
.toolbar select { border: 1px solid var(--line); border-radius: var(--r-btn); padding: 9px 34px 9px 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2366757f' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; font-weight: 500; }
.filter-toggle { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.active-filters button { border: 1px solid var(--brand); background: var(--brand-tint); color: var(--brand-ink); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.empty-state { border: 1px dashed var(--line); border-radius: var(--r-panel); padding: 36px; text-align: center; color: var(--ink-2); }
.seo-text { max-width: 80ch; color: var(--ink-2); }
.cat-banner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 22px 26px; margin: 0 0 24px; border-radius: var(--r-panel); overflow: hidden; background: var(--brand-ink); color: #dbe9ed; text-decoration: none; }
.cat-banner:hover { color: #fff; }
.cat-banner__media, .cat-banner__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cat-banner__body { position: relative; display: grid; gap: 4px; max-width: 70ch; }
.cat-banner__body strong { font-family: var(--font-head); font-size: 22px; color: #fff; line-height: 1.15; }
.cat-banner .btn { position: relative; }
@media (max-width: 720px) { .cat-banner { grid-template-columns: 1fr; } .cat-banner .btn { justify-self: start; } }
.seo-text h2 { font-size: 24px; margin-top: 1.2em; }

/* ---------- produktová stránka ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 8px 0 40px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.gallery__main { position: relative; aspect-ratio: 1; border: 1px solid var(--line-2); border-radius: var(--r-panel); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gallery__thumb { width: 76px; height: 76px; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 4px; cursor: pointer; }
.gallery__thumb[aria-current="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink-2); margin-bottom: 6px; }
.pdp h1 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 10px; }
.pdp__codes { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--ink-3); margin-bottom: 14px; }
.pdp__codes strong { color: var(--ink-2); font-weight: 600; }
.pdp__short { font-size: 17px; color: var(--ink-2); margin-bottom: 16px; }
.compat { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 18px; font-size: 14px; }
.compat__label { font-weight: 600; color: var(--ink-2); margin-right: 4px; }
.compat a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; text-decoration: none; color: var(--ink); background: var(--surface); }
.compat a:hover { border-color: var(--brand); color: var(--brand-ink); }
.buybox { border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px; background: #fff; }
.variants { border: 0; margin: 0 0 16px; padding: 0; }
.variants legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.variants__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.variant { position: relative; }
.variant input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.variant label { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-btn); cursor: pointer; background: #fff; height: 100%; }
.variant label strong { font-size: 16px; }
.variant label span { font-size: 13px; color: var(--ink-3); }
.variant input:checked + label { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--brand-tint); }
.variant input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }
.buybox__price { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.buybox__price .price__main { font-size: 34px; }
.buybox__row { display: flex; gap: 10px; }
.buybox__row .btn { flex: 1; }
.buybox__delivery { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r-btn); background: var(--buy-tint); font-size: 15px; color: #134d2c; display: flex; gap: 10px; align-items: flex-start; }
.buybox__delivery--order { background: var(--warn-tint); color: #6b3507; }
.buybox__assure { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.buybox__assure li { display: flex; gap: 8px; align-items: center; }
.buybox__assure .icon { color: var(--brand); }
.buybox__ask { margin-top: 12px; font-size: 14px; }
.buybox__b2b, .buybox__adr, .buybox__biocide { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: 12px 0 0; padding: 10px 12px; border-radius: var(--r-btn); }
.buybox__b2b { background: var(--brand-tint); color: var(--brand-ink); }
.buybox__adr { background: var(--warn-tint); color: #6b3507; }
.buybox__biocide { background: var(--surface); color: var(--ink-2); font-weight: 600; }
.buybox__b2b .icon, .buybox__adr .icon { margin-top: 2px; }
.card__b2b { color: var(--brand); font-weight: 600; }
.gpsr { margin-bottom: 24px; font-size: 15px; }
.gpsr h2 { font-size: 22px; }

.hazard { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; border: 1px solid #f3c5c9; background: #fff7f7; border-radius: var(--r-panel); padding: 16px 18px; margin-top: 18px; }
.hazard__icons { display: flex; gap: 6px; }
.hazard__icons img { width: 52px; height: 52px; }
.hazard__signal { font-weight: 700; color: #a3000f; text-transform: none; margin-bottom: 4px; }
.hazard ul { margin: 0 0 6px; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.hazard a { font-size: 14px; font-weight: 600; }
.hazard--none { border-color: var(--line); background: var(--surface); grid-template-columns: 1fr; font-size: 14px; color: var(--ink-2); }

.pdp-tabs { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.pdp-tabs ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; }
.pdp-tabs a { display: block; padding: 14px 16px; text-decoration: none; color: var(--ink-2); font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; }
.pdp-tabs a:hover, .pdp-tabs a.is-active { color: var(--brand-ink); border-bottom-color: var(--brand); }
.pdp-section { padding: 32px 0; border-bottom: 1px solid var(--line-2); }
.pdp-section:last-child { border-bottom: 0; }
.pdp-section h2 { font-size: 26px; }
.pdp-section .prose > h2:first-child, .pdp-section h2:first-child { margin-top: 0; }
.pdp-cols { align-items: start; }
.pdp-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; }
.benefits { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.benefits li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.benefits .icon { color: var(--buy); margin-top: 2px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.spec-table th { width: 42%; color: var(--ink-2); font-weight: 600; background: var(--surface); }
.dose-box { background: var(--surface); border-radius: var(--r-panel); padding: 18px 20px; }
.dose-box h3 { font-size: 18px; }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.doc-list a { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-btn); text-decoration: none; color: var(--ink); font-weight: 600; }
.doc-list a:hover { border-color: var(--brand); }
.doc-list small { color: var(--ink-3); font-weight: 400; margin-left: auto; }

.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gutter); display: none; align-items: center; gap: 12px; box-shadow: 0 -6px 18px rgba(7,47,59,.1); }
.sticky-buy__price { flex: 1; min-width: 0; }
.sticky-buy__name { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- košík ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; padding-bottom: 56px; }
.cart-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; font-size: 14px; counter-reset: step; flex-wrap: wrap; }
.cart-steps li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); counter-increment: step; }
.cart-steps li::before { content: counter(step); width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.cart-steps li + li { padding-left: 26px; position: relative; }
.cart-steps li + li::after { content: ''; position: absolute; left: 4px; top: 50%; width: 14px; border-top: 1px solid var(--line); }
.cart-steps li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.cart-steps li[aria-current="step"]::before { background: var(--brand); color: #fff; border-color: var(--brand); }
.cart-steps li.is-done::before { background: var(--brand-tint); border-color: var(--brand-tint); color: var(--brand); }
.cart-table { border: 1px solid var(--line); border-radius: var(--r-panel); background: #fff; }
.cart-line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line-2); }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 84px; height: 84px; object-fit: contain; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; }
.cart-line__name { font-weight: 600; color: var(--ink); text-decoration: none; display: block; line-height: 1.3; }
.cart-line__name:hover { color: var(--brand); }
.cart-line__meta { font-size: 13px; color: var(--ink-3); }
.cart-line__unit { font-size: 14px; color: var(--ink-2); text-align: right; min-width: 110px; }
.cart-line__total { font-weight: 700; text-align: right; min-width: 110px; font-variant-numeric: tabular-nums; }
.cart-line__remove { border: 0; background: none; color: var(--ink-3); cursor: pointer; padding: 6px; border-radius: 6px; }
.cart-line__remove:hover { color: var(--sale); background: var(--sale-tint); }
.summary { border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px; background: #fff; position: sticky; top: calc(var(--header-h) + 16px); }
.summary h2 { font-size: 22px; }
.summary__rows { display: grid; gap: 8px; margin: 0 0 14px; font-size: 15px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; }
.summary__row dt { color: var(--ink-2); }
.summary__row dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.summary__total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.summary__total dt { font-weight: 700; color: var(--ink); font-size: 17px; }
.summary__total dd { font-size: 24px; font-family: var(--font-head); font-weight: 700; }
.summary__items { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; font-size: 14px; }
.summary__items li { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; }
.summary__items img { width: 44px; height: 44px; object-fit: contain; border: 1px solid var(--line-2); border-radius: 4px; }
.freeship { background: var(--surface); border-radius: var(--r-btn); padding: 12px 14px; font-size: 14px; margin-bottom: 14px; }
.freeship__bar { height: 6px; border-radius: 3px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.freeship__bar span { display: block; height: 100%; background: var(--buy); border-radius: 3px; transition: width .3s ease; }
.freeship--done { background: var(--buy-tint); color: #134d2c; font-weight: 600; }
.reorder { border: 1px solid var(--brand); background: var(--brand-tint); border-radius: var(--r-panel); padding: 16px 18px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 20px; }
.reorder p { margin: 0; }

/* ---------- formuláře / objednávka ---------- */
.form-section { border: 1px solid var(--line); border-radius: var(--r-panel); background: #fff; padding: 20px 22px; margin-bottom: 16px; }
.form-section > legend, .form-section__title { font-family: var(--font-head); font-size: 22px; font-weight: 700; padding: 0; margin-bottom: 14px; float: left; width: 100%; }
.form-section > legend + * { clear: both; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span, .field__label { font-weight: 600; font-size: 15px; }
.field small { color: var(--ink-3); font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #b9c6cf; border-radius: var(--r-btn); padding: 11px 12px; background: #fff; font-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(11,93,115,.16); }
.field input:user-invalid { border-color: var(--sale); }
.field__error { color: var(--sale); font-size: 13px; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field-row--3 { grid-template-columns: 2fr 1fr 1fr; }
.req { color: var(--sale); }
.choice-list { display: grid; gap: 8px; }
.choice { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-btn); cursor: pointer; background: #fff; }
.choice input { width: 18px; height: 18px; accent-color: var(--brand); margin: 0; }
.choice strong { display: block; }
.choice small { color: var(--ink-3); font-size: 13px; display: block; }
.choice__price { font-weight: 700; white-space: nowrap; }
.choice:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: var(--brand-tint); }
.choice.is-disabled { opacity: .5; cursor: not-allowed; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; margin: 8px 0; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.ares-status { font-size: 13px; color: var(--ink-3); min-height: 1.2em; }
.ares-status.is-ok { color: var(--buy); font-weight: 600; }
.ares-status.is-err { color: var(--warn); }
.form-note { font-size: 14px; color: var(--ink-3); }
.alert { border-radius: var(--r-btn); padding: 12px 14px; font-size: 15px; margin-bottom: 14px; }
.alert--error { background: var(--sale-tint); color: #8d1610; border: 1px solid #f4c1bd; }
.alert--info { background: var(--brand-tint); color: var(--brand-ink); }

/* ---------- děkujeme ---------- */
.thanks { text-align: center; padding: 40px 0 24px; }
.thanks__icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--buy-tint); color: var(--buy); display: flex; align-items: center; justify-content: center; }
.thanks__num { display: inline-block; font-family: var(--font-head); font-size: 22px; font-weight: 700; background: var(--surface); border-radius: var(--r-btn); padding: 6px 14px; margin: 8px 0 16px; }
.thanks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; margin: 28px 0; }
.thanks__step { border: 1px solid var(--line); border-radius: var(--r-panel); padding: 18px; }
.thanks__step strong { display: block; margin-bottom: 4px; }
.pay-box { text-align: left; border: 2px solid var(--brand); border-radius: var(--r-panel); padding: 20px; max-width: 560px; margin: 0 auto 20px; }
.pay-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 10px 0 0; }
.pay-box dt { color: var(--ink-3); }
.pay-box dd { margin: 0; font-weight: 700; }

/* ---------- obsahové stránky / blog ---------- */
.prose { font-size: 17px; line-height: 1.7; color: var(--ink); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose p, .prose li { max-width: 72ch; }
.prose img { border-radius: var(--r-card); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 1em 0 1.5em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface); }
.prose blockquote, .prose .callout { margin: 1.4em 0; padding: 14px 18px; border-left: 4px solid var(--brand); background: var(--brand-tint); border-radius: 0 var(--r-card) var(--r-card) 0; }
.prose .callout--warn { border-left-color: var(--warn); background: var(--warn-tint); }
.article-head { max-width: 880px; padding-top: 4px; }
.article-meta { color: var(--ink-3); font-size: 15px; display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.article-cover { border-radius: var(--r-panel); overflow: hidden; margin-bottom: 28px; }
.article-cover img { width: 100%; max-height: 460px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-bottom: 56px; }
.article-aside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
.toc { border: 1px solid var(--line); border-radius: var(--r-panel); padding: 16px 18px; font-size: 15px; }
.toc h2 { font-size: 17px; font-family: var(--font); font-weight: 700; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin: 4px 0; }
.mini-product { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); padding: 8px 0; border-top: 1px solid var(--line-2); }
.mini-product img { width: 56px; height: 56px; object-fit: contain; }
.mini-product strong { font-size: 14px; line-height: 1.3; display: block; }
.mini-product span { font-size: 13px; color: var(--ink-3); }

.legal h2 { font-size: 22px; }
.legal { font-size: 16px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.data-table th { background: var(--surface); font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-bottom: 48px; }
.info-card { border: 1px solid var(--line); border-radius: var(--r-panel); padding: 22px; background: #fff; }
.info-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.info-card dt { color: var(--ink-3); }
.info-card dd { margin: 0; font-weight: 600; }

/* ---------- popup přidání do košíku ---------- */
.dialog { border: 0; padding: 0; border-radius: var(--r-panel); width: min(560px, calc(100vw - 24px)); box-shadow: var(--shadow-pop); color: var(--ink); }
.dialog::backdrop { background: rgba(7, 30, 38, .45); }
.dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.dialog__head h2 { font-size: 20px; margin: 0; display: flex; gap: 8px; align-items: center; color: var(--buy); }
.dialog__close { border: 0; background: none; cursor: pointer; padding: 6px; border-radius: 6px; color: var(--ink-3); }
.dialog__close:hover { background: var(--surface); color: var(--ink); }
.dialog__body { padding: 16px 20px; }
.dialog__item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; }
.dialog__item img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--line-2); border-radius: 6px; }
.dialog__actions { display: flex; gap: 10px; padding: 0 20px 20px; flex-wrap: wrap; }
.dialog__actions .btn { flex: 1; }

/* ---------- cookies ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow-pop); padding: 20px 22px; }
.consent h2 { font-size: 19px; margin-bottom: 6px; }
.consent p { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
.consent__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.consent__prefs { margin: 0 0 14px; display: grid; gap: 6px; }

/* ---------- drawer (mobil) ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; display: none; }
.drawer.is-open { display: block; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(7,30,38,.45); }
.drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); background: #fff; overflow-y: auto; display: flex; flex-direction: column; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer details { border-bottom: 1px solid var(--line-2); }
.drawer summary { list-style: none; padding: 14px 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer details[open] summary .icon { transform: rotate(180deg); }
.drawer details a, .drawer__link { display: block; padding: 10px 16px 10px 28px; color: var(--ink); text-decoration: none; }
.drawer__link { padding-left: 16px; font-weight: 600; border-bottom: 1px solid var(--line-2); }
.drawer__foot { margin-top: auto; padding: 16px; background: var(--surface); font-size: 15px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 300; background: var(--brand-ink); color: #fff; padding: 12px 18px; border-radius: var(--r-btn); box-shadow: var(--shadow-pop); font-weight: 600; }

/* ---------- responzivita ---------- */
@media (max-width: 1340px) {
  .mainnav__link { padding: 13px 11px; }
  .mainnav__link .icon { display: none; }
}
@media (max-width: 1240px) {
  .topbar__usp li:nth-child(n+3) { display: none; }
}
@media (max-width: 1100px) {
  .topbar__hours { display: none; }
  .mainnav__link { padding: 12px 8px; font-size: 14.5px; }
}
@media (max-width: 1180px) {
  .site-header__inner { gap: 18px; }
  .header-link__text--hide-md { display: none; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-row { grid-auto-columns: calc((100% - 32px) / 3); }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .topbar__usp { display: none; }
  .site-header__inner { grid-template-columns: auto 1fr auto; gap: 8px; }
  .menu-toggle, .search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; border-radius: var(--r-btn); cursor: pointer; color: var(--ink); }
  .menu-toggle:hover, .search-toggle:hover { background: var(--surface); }
  .logo__mark { width: 34px; height: 34px; }
  .logo__text { font-size: 22px; }
  .logo__claim { display: none; }
  .site-header .search { grid-column: 1 / -1; grid-row: 2; max-width: none; padding-bottom: 10px; display: none; }
  .site-header.search-open .search { display: block; }
  .header-actions .vat-toggle, .header-link--contact { display: none; }
  .cart-link__total { display: none; }
  .mainnav { display: none; }
  .trustbar__list { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .side-banners { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .finder { grid-template-columns: 1fr; }
  .why, .promo-band, .faq-layout, .pdp, .pdp-cols, .cart-layout, .article-layout, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery, .summary, .article-aside, .filters { position: static; }
  .listing { grid-template-columns: 1fr; }
  .filters { display: none; position: fixed; inset: 0; z-index: 130; border-radius: 0; overflow-y: auto; }
  .filters.is-open { display: block; }
  .filters__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
  .filters__actions { position: sticky; bottom: 0; background: #fff; }
  .filter-toggle { display: inline-flex; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .sticky-buy { display: flex; }
  body.has-sticky-buy { padding-bottom: 76px; }
  .thanks__grid { grid-template-columns: 1fr; }
  .prefooter__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar__hours { display: none; }
  .topbar__contact li:nth-child(n+2) { display: none; }
  .carousel, .slide { min-height: 420px; }
  .slide__body { padding: 22px 20px 64px; }
  .carousel__nav { left: 20px; right: auto; bottom: 18px; }
  .carousel__arrow { display: none; }
  .slide::after { background: linear-gradient(0deg, rgba(4,30,38,.92) 0%, rgba(4,30,38,.7) 55%, rgba(4,30,38,.2) 100%); }
  .side-banners { grid-template-columns: 1fr; }
  .product-grid, .product-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-row { grid-auto-columns: 62%; gap: 10px; }
  .card { padding: 10px; }
  .card__title { font-size: 15px; }
  .price__main { font-size: 19px; }
  .card__buy .qty { display: none; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-tile--cta { grid-column: span 2; }
  .cat-tile__links { display: none; }
  .cat-tile__title { font-size: 17px; margin: 0; }
  .cat-tile__body { padding: 10px 12px 12px; }
  .post-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .cart-line { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "img name remove" "img qty total"; gap: 8px 12px; }
  .cart-line img { width: 64px; height: 64px; grid-area: img; }
  .cart-line__info { grid-area: name; }
  .cart-line .qty { grid-area: qty; justify-self: start; }
  .cart-line__unit { display: none; }
  .cart-line__total { grid-area: total; min-width: 0; }
  .cart-line__remove { grid-area: remove; justify-self: end; }
  .field-row, .field-row--3 { grid-template-columns: 1fr; }
  .finder__body { padding: 18px; }
  .finder__tab { min-width: 0; flex: 1 1 40%; }
  .hazard { grid-template-columns: 1fr; }
  .trustbar { display: none; }
  .buybox__price .price__main { font-size: 30px; }
  .buybox__row .btn { min-width: 0; padding-left: 12px; padding-right: 12px; white-space: normal; }
  .buybox { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .site-header, .mainnav, .trustbar, .prefooter, .site-footer, .consent, .sticky-buy { display: none !important; }
}

/* ---------- rychlá objednávka ---------- */
.alert--warn { background: var(--warn-tint); color: #6b3507; border: 1px solid #f3d3a8; }
.alert--success { background: var(--buy-tint); color: #11502b; border: 1px solid #b7dfc6; }
.alert p { margin: 0 0 8px; }
.alert p:last-child { margin-bottom: 0; }
.quick-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; padding-top: 8px; }
.quick-form { display: grid; gap: 10px; margin: 20px 0 24px; }
.quick-form textarea { width: 100%; min-height: 200px; font: 16px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--bg); color: var(--ink); resize: vertical; }
.quick-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.quick-form__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.quick-form__file { position: relative; overflow: hidden; cursor: pointer; }
.quick-form__file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.quick-form__file:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.quick-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-panel); }
.quick-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.quick-table caption { text-align: left; padding: 12px 14px; font-weight: 600; background: var(--surface); }
.quick-table th, .quick-table td { padding: 10px 14px; border-top: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.quick-table thead th { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.quick-table .num { text-align: right; white-space: nowrap; }
.quick-table tfoot th, .quick-table tfoot td { font-weight: 700; background: var(--surface); }
.quick-actions { margin: 16px 0 24px; }
.quick-missing ul { margin: 0 0 8px; padding-left: 18px; }
.quick-missing code { font-size: 14px; }
.quick-aside { border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px; background: var(--surface); }
.quick-aside__title { font-size: 18px; margin: 0 0 12px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.check-list li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; }
.check-list svg { color: var(--buy); margin-top: 3px; }
@media (max-width: 900px) { .quick-layout { grid-template-columns: 1fr; gap: 16px; } }
.header-link--quick > span { font-size: 14px; line-height: 1.15; }
.badge--plain { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.compat__note { flex-basis: 100%; color: var(--ink-3); font-size: 13px; }
.compat--no { align-items: flex-start; }
.compat--no ul { margin: 0; padding-left: 18px; color: var(--ink-2); flex: 1 1 320px; }
.compat--no li + li { margin-top: 4px; }
.pdp__info .alert--warn { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.pdp__info .alert--warn svg { flex: none; margin-top: 2px; }
@media (max-width: 359px) { .header-link--quick { display: none; } }
.card { min-width: 0; }
@media (max-width: 359px) { .card .btn { padding-left: 8px; padding-right: 8px; } .card .price__main { font-size: 17px; } }
