/* ============================================================
   PANDA OUTDOOR — Design System v2.0 — MOBILE-FIRST
   Base = mobile, then sm(640) md(768) lg(1024) xl(1280) 2xl(1536)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── Design Tokens ──────────────────────────────────────── */
:root {
  --color-forest:        oklch(34% 0.11 145);
  --color-forest-light:  oklch(42% 0.12 145);
  --color-forest-dark:   oklch(24% 0.10 145);
  --color-forest-muted:  oklch(34% 0.11 145 / 0.12);
  --color-charcoal:      oklch(17% 0.008 260);
  --color-ink:           oklch(24% 0.008 260);
  --color-slate:         oklch(38% 0.010 260);
  --color-muted:         oklch(55% 0.008 260);
  --color-silver:        oklch(72% 0.006 260);
  --color-fog:           oklch(87% 0.004 260);
  --color-mist:          oklch(94% 0.003 260);
  --color-snow:          oklch(98% 0.002 260);
  --color-white:         #ffffff;
  --color-ember:         oklch(62% 0.18 46);
  --color-ember-light:   oklch(70% 0.16 46);
  --color-ember-dark:    oklch(52% 0.20 46);
  --color-danger:        oklch(55% 0.20 25);
  --color-success:       oklch(50% 0.15 145);
  --color-warning:       oklch(72% 0.17 80);
  --color-info:          oklch(55% 0.15 240);
  --color-sale:          oklch(55% 0.20 25);
  --color-new:           oklch(50% 0.15 240);
  --color-top:           oklch(62% 0.18 46);

  --font-display: 'Oswald', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Mobile-first type scale */
  --text-xs:   0.8125rem;
  --text-sm:   0.9375rem;
  --text-base: 1.0625rem;
  --text-md:   1.1875rem;
  --text-lg:   1.375rem;
  --text-xl:   1.625rem;
  --text-2xl:  1.875rem;
  --text-3xl:  2.5rem;
  --text-4xl:  3rem;
  --text-5xl:  3.75rem;

  --leading-tight:   1.15;
  --leading-snug:    1.3;
  --leading-normal:  1.55;
  --leading-relaxed: 1.75;
  --tracking-tight:  -0.03em;
  --tracking-snug:   -0.01em;
  --tracking-wide:   0.04em;
  --tracking-wider:  0.08em;

  /* 8px spacing grid */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  --radius-sm:   3px;
  --radius-md:   6px;
  --radius-lg:   10px;
  --radius-xl:   16px;
  --radius-full: 999px;

  --shadow-xs: 0 1px 2px oklch(17% 0.008 260 / 0.08);
  --shadow-sm: 0 2px 6px oklch(17% 0.008 260 / 0.10);
  --shadow-md: 0 4px 16px oklch(17% 0.008 260 / 0.12);
  --shadow-lg: 0 8px 32px oklch(17% 0.008 260 / 0.14);
  --shadow-xl: 0 16px 48px oklch(17% 0.008 260 / 0.18);

  --transition-fast:   150ms ease;
  --transition-base:   220ms ease;
  --transition-slow:   350ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Mobile-first container */
  --container-max: 1440px;
  --container-pad: 1rem;        /* mobile: 16px */
  --header-height: 60px;
  --header-extra: 14px;       /* spodní padding hlavičky – sbalí se při scrollu */
}

/* sm+ pad increase */
@media (min-width: 640px)  { :root { --container-pad: 1.25rem; } }
@media (min-width: 1024px) { :root { --container-pad: 1.5rem; --header-height: 72px; --header-extra: 24px; } }
@media (min-width: 1280px) { :root { --container-pad: 2rem; } }

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-ink);
  background: var(--color-snow);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font-body); }
ul, ol { list-style: none; }

/* ── Container ──────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ══════════════════════════════════════════════════════════
   UTILITY BAR — hidden on mobile, visible md+
══════════════════════════════════════════════════════════ */
.utility-bar {
  display: none;               /* mobile: hidden */
  background: var(--color-charcoal);
  color: oklch(78% 0.006 260);
  font-size: var(--text-xs);
  height: 38px;
}
@media (min-width: 768px) {
  .utility-bar { display: block; }
}
.utility-bar > .container { height: 100%; }
.utility-bar__inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%; height: 100%;
}
.utility-bar__contact,
.utility-bar__links {
  display: flex; align-items: center;
}

.utility-bar__contact > *,
.utility-bar__links > * {
  display: flex; align-items: center; gap: var(--space-2);
  padding: 0 var(--space-4);
  border-right: 1px solid oklch(100% 0 0 / 0.28);
  color: oklch(84% 0.006 260);
  font-weight: 500;
  transition: color var(--transition-fast);
}
.utility-bar__contact > *:first-child,
.utility-bar__links > *:first-child { padding-left: 0; }
.utility-bar__contact > *:last-child,
.utility-bar__links > *:last-child  { padding-right: 0; border-right: 0; }

.utility-bar__contact a:hover,
.utility-bar__links a:hover { color: var(--color-white); }

/* ══════════════════════════════════════════════════════════
   SITE HEADER — mobile-first
══════════════════════════════════════════════════════════ */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-fog);
  position: sticky; top: 0; z-index: 250;
  box-shadow: var(--shadow-sm);
  padding-block: calc(var(--header-extra) / 2);   /* extra místo nahoře i dole → obsah je svisle na střed */
  transition: padding-block var(--transition-base);
}
/* po odscrollování se padding sbalí → hlavička je nižší */
.site-header--scrolled { padding-block: 0; }
/* při načítání stránky bez animace — stav se nastavuje inline skriptem před prvním paintem */
.site-header--no-anim,
.site-header--no-anim .site-header__logo-img { transition: none !important; }
.site-header__inner {
  display: flex; align-items: center;
  gap: var(--space-3);
  height: var(--header-height);   /* konstantní – vyhledávání se svisle nehýbe */
}

/* Logo — slot má pevnou šířku, takže zmenšení loga neposune vyhledávání */
.site-header__logo {
  flex-shrink: 0; display: flex; align-items: center;
  width: 216px;
}
@media (min-width: 1024px) { .site-header__logo { width: 288px; } }
.site-header__logo-img {
  height: 48px; width: auto; display: block;
  transition: height var(--transition-base);
}
@media (min-width: 1024px) { .site-header__logo-img { height: 64px; } }

/* Zmenšení loga při odscrollování (řada zůstává centrovaná, mění se jen logo + spodní padding) */
.site-header--scrolled .site-header__logo-img { height: 38px; }
@media (min-width: 1024px) {
  .site-header--scrolled .site-header__logo-img { height: 44px; }
}
.logo-mark {
  width: 40px; height: 40px;        /* mobile */
  background: var(--color-forest);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  font-family: var(--font-display); font-weight: 800; font-size: 0.9rem;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .logo-mark { width: 48px; height: 48px; font-size: 1.1rem; }
}
.logo-mark--sm { width: 28px; height: 28px; font-size: .6rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text__brand {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.15rem;               /* mobile */
  letter-spacing: var(--tracking-tight);
  color: var(--color-forest); text-transform: uppercase;
}
@media (min-width: 1024px) { .logo-text__brand { font-size: 1.4rem; } }
.logo-text__tagline {
  font-size: 10px; color: var(--color-muted);
  letter-spacing: var(--tracking-wide); text-transform: uppercase; font-weight: 500;
  display: none;                    /* mobile: hidden */
}
@media (min-width: 640px) { .logo-text__tagline { display: block; } }

/* Search — grows on md+, compact on mobile */
.site-header__search {
  flex: 1;
  max-width: 100%;                  /* mobile: full remaining */
  position: relative;
}
@media (min-width: 768px) { .site-header__search { max-width: 440px; margin-inline: auto; } }
@media (min-width: 1024px) { .site-header__search { max-width: 520px; } }

.search-input {
  width: 100%; height: 40px;       /* mobile */
  padding: 0 var(--space-4) 0 2.5rem;
  border: 1.5px solid var(--color-fog);
  border-radius: var(--radius-full);
  font-size: var(--text-sm); color: var(--color-ink);
  background: var(--color-mist);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
@media (min-width: 1024px) { .search-input { height: 44px; } }
.search-input:focus {
  border-color: var(--color-forest);
  background: var(--color-white);
  box-shadow: 0 0 0 3px var(--color-forest-muted);
}
.search-input::placeholder { color: var(--color-silver); }
.search-icon {
  position: absolute; left: var(--space-3); top: 50%;
  transform: translateY(-50%); color: var(--color-muted); pointer-events: none;
}
.search-btn {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  height: 30px; padding: 0 var(--space-3);
  background: var(--color-forest); color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  transition: background var(--transition-fast);
  display: none;                    /* mobile: icon-only */
}
@media (min-width: 640px) { .search-btn { display: flex; align-items: center; } }

/* Autocomplete backdrop */
.ac-backdrop {
  position: fixed; inset: 0; z-index: 240;
  background: oklch(0% 0 0 / .35);
  opacity: 0; pointer-events: none;
  transition: opacity 200ms ease;
}
.ac-backdrop--visible { opacity: 1; pointer-events: auto; }

/* Autocomplete dropdown */
.ac-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); z-index: 600;
  left: 50%; transform: translateX(-50%);
  width: min(1060px, 96vw);
  background: var(--color-white); border: 1px solid var(--color-fog);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden;
  animation: acDropIn .15s ease;
}
.ac-dropdown--open { display: flex; flex-direction: column; }
@keyframes acDropIn {
  from { opacity:0; transform:translateX(-50%) translateY(-4px); }
  to   { opacity:1; transform:translateX(-50%) translateY(0); }
}

.ac-cols { display: flex; }
.ac-col-products { flex: 1; min-width: 0; padding-bottom: var(--space-2); }
.ac-col-cats { width: 260px; flex-shrink: 0; border-left: 1px solid var(--color-fog); padding-bottom: var(--space-2); }
@media (max-width: 640px) { .ac-cols { flex-direction: column; } .ac-col-cats { width: auto; border-left: none; border-top: 1px solid var(--color-fog); } }

.ac-section-head {
  padding: var(--space-2) var(--space-4) var(--space-1);
  font-size: var(--text-xs); font-weight: 800; letter-spacing: var(--tracking-wide);
  text-transform: uppercase; color: var(--color-muted);
}
.ac-divider { height: 1px; background: var(--color-fog); margin: var(--space-1) 0; }

.ac-cat {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  padding: var(--space-2) var(--space-4); text-decoration: none; color: var(--color-ink);
  transition: background var(--transition-fast);
}
.ac-cat:hover { background: var(--color-mist); }
.ac-cat__name { font-size: var(--text-sm); font-weight: 500; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-cat svg { color: var(--color-silver); flex-shrink: 0; transition: color var(--transition-fast), transform var(--transition-fast); }
.ac-cat:hover svg { color: var(--color-forest); transform: translateX(2px); }
.ac-cat__name mark { background: none; color: var(--color-forest); font-weight: 700; }

.ac-prod {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-2) var(--space-4); text-decoration: none; color: var(--color-ink);
  transition: background var(--transition-fast);
}
.ac-prod:hover { background: var(--color-mist); }
.ac-prod__thumb {
  width: 44px; height: 44px; flex-shrink: 0; object-fit: contain;
  border: 1px solid var(--color-fog); border-radius: var(--radius-md);
  padding: 3px; background: var(--color-white);
}
.ac-prod__thumb--empty { background: var(--color-mist); }
.ac-prod__info { flex: 1; min-width: 0; }
.ac-prod__name {
  font-size: var(--text-sm); font-weight: 500; line-height: var(--leading-snug);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ac-prod__name mark { background: none; color: var(--color-forest); font-weight: 700; }
.ac-prod__price {
  display: inline-block; margin-top: 2px;
  font-size: var(--text-xs); font-weight: 700;
  background: var(--color-mist); border-radius: var(--radius-sm); padding: 1px 6px;
}

.ac-search-all {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-fog);
  background: oklch(97% .015 145); color: var(--color-forest);
  font-size: var(--text-sm); font-weight: 600; text-decoration: none;
  transition: background var(--transition-fast);
}
.ac-search-all:hover { background: oklch(94% .025 145); }
.ac-search-all__arrow { margin-left: auto; }
.ac-search-all strong { font-weight: 800; }

.ac-empty { padding: var(--space-6) var(--space-4); text-align: center; font-size: var(--text-sm); color: var(--color-muted); }

/* Header actions */
.site-header__actions {
  display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0;
}
.header-action {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: var(--space-2);          /* mobile: smaller tap area */
  min-width: 44px; min-height: 44px; justify-content: center;
  border-radius: var(--radius-md); cursor: pointer;
  transition: background var(--transition-fast);
  font-size: var(--text-xs); color: var(--color-slate); font-weight: 500;
}
.header-action:hover { background: var(--color-mist); color: var(--color-ink); }
/* Hide label on mobile, show sm+ */
.header-action > span:last-child { display: none; }
@media (min-width: 640px) { .header-action > span:last-child { display: block; } }
/* Hide non-cart actions on mobile */
.header-action--user,
.header-action--wish { display: none; }
@media (min-width: 640px) {
  .header-action--user,
  .header-action--wish { display: flex; }
}
.header-action--cart {
  background: var(--color-forest); color: var(--color-white);
  flex-direction: row; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm); font-weight: 600;
  display: flex;
}
.header-action--cart:hover { background: var(--color-forest-dark); color: var(--color-white); }
/* Odznak počtu v hlavičce — jen <span>, ať se nepropisuje do qty <input class="cart-count"> v košíku */
span.cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-ember); color: var(--color-white);
  font-size: 11px; font-weight: 700; line-height: 18px;
  min-width: 18px; height: 18px; padding: 1px 5px 0;
  border-radius: var(--radius-full); margin-left: 2px;
  box-sizing: border-box;
}
.cart-total { font-weight: 700; font-size: var(--text-sm); white-space: nowrap; }

/* ══════════════════════════════════════════════════════════
   PROMO BAR
══════════════════════════════════════════════════════════ */
.promo-bar {
  background: oklch(72% 0.17 80);
  color: var(--color-charcoal);
  font-size: var(--text-xs);        /* mobile */
  font-weight: 600; text-align: center;
  padding: var(--space-2) var(--container-pad);
  letter-spacing: 0.01em;
}
@media (min-width: 640px) { .promo-bar { font-size: var(--text-sm); } }
.promo-bar a { text-decoration: underline; color: inherit; }

/* ══════════════════════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════════════════════ */
.breadcrumb {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); color: var(--color-muted);
  padding: var(--space-2) 0 var(--space-4);
  flex-wrap: wrap;
}
@media (min-width: 768px) { .breadcrumb { padding: var(--space-1) 0 var(--space-4); } }
.breadcrumb__item a { color: var(--color-muted); transition: color var(--transition-fast); }
.breadcrumb__item a:hover { color: var(--color-forest); }
.breadcrumb__sep { color: var(--color-silver); }
.breadcrumb__item--current { color: var(--color-ink); font-weight: 500; }

/* Sdílené utility třídy */
.page-title {
  font-family: var(--font-display); font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  font-weight: 800; color: var(--color-charcoal); text-transform: uppercase;
  letter-spacing: var(--tracking-tight); margin-bottom: var(--space-6);
}

/* ══════════════════════════════════════════════════════════
   BUTTONS — all 44px min tap target
══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  padding: 0 var(--space-5);
  min-height: 44px;                /* mobile: 44px tap target */
  border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: var(--text-sm);
  font-weight: 600; letter-spacing: 0.01em;
  cursor: pointer; border: 1.5px solid transparent;
  transition: all var(--transition-base);
  white-space: nowrap; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline: 3px solid var(--color-forest-muted); outline-offset: 2px; }
@media (min-width: 1024px) { .btn { min-height: 44px; padding: 0 var(--space-6); } }

.btn--primary { background: var(--color-forest); color: var(--color-white); border-color: var(--color-forest); }
.btn--primary:hover { background: var(--color-forest-dark); border-color: var(--color-forest-dark); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: scale(0.98); }

.btn--secondary { background: transparent; color: var(--color-forest); border-color: var(--color-forest); }
.btn--secondary:hover { background: var(--color-forest-muted); }

.btn--ember { background: var(--color-ember); color: var(--color-white); border-color: var(--color-ember); }
.btn--ember:hover { background: var(--color-ember-dark); border-color: var(--color-ember-dark); }

.btn--ghost { background: transparent; color: var(--color-slate); border-color: var(--color-fog); }
.btn--ghost:hover { background: var(--color-mist); color: var(--color-ink); border-color: var(--color-silver); }

.btn--danger { background: var(--color-danger); color: var(--color-white); border-color: var(--color-danger); }

.btn--sm { min-height: 36px; padding: 0 var(--space-4); font-size: var(--text-xs); }
.btn--lg { min-height: 52px; padding: 0 var(--space-8); font-size: var(--text-md); }
.btn--xl { min-height: 56px; padding: 0 var(--space-8); font-size: var(--text-md); font-weight: 700; }
.btn--full { width: 100%; }
.btn--cart {
  background: var(--color-ember); color: var(--color-white);
  border-color: var(--color-ember); font-weight: 700; gap: var(--space-3);
}
.btn--cart:hover { background: var(--color-ember-dark); border-color: var(--color-ember-dark); }
.btn--cart:active { transform: scale(0.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; background: var(--color-fog) !important; color: var(--color-muted) !important; border-color: var(--color-fog) !important; }

/* ══════════════════════════════════════════════════════════
   BADGES
══════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 2px var(--space-2); border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1;
}
.badge--sale   { background: var(--color-sale);   color: #fff; }
.badge--new    { background: var(--color-new);    color: #fff; }
.badge--top    { background: var(--color-top);    color: #fff; }
.badge--forest { background: var(--color-forest); color: #fff; }
.badge--muted  { background: var(--color-fog);    color: var(--color-slate); }
.badge--outline { background: transparent; border: 1px solid var(--color-forest); color: var(--color-forest); }

/* ══════════════════════════════════════════════════════════
   PRODUCT CARD — mobile-first
══════════════════════════════════════════════════════════ */
.product-card {
  background: var(--color-white); border-radius: var(--radius-lg);
  border: 1px solid var(--color-fog); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow var(--transition-base);
  position: relative;
}
@media (min-width: 768px) {
  .product-card:hover { box-shadow: var(--shadow-lg); }
}
.product-card__img-wrap {
  position: relative; aspect-ratio: 1;
  background: var(--color-white); overflow: hidden;
}
.product-card__img {
  width: 100%; height: 100%; object-fit: contain;
  padding: var(--space-3);
}
@media (min-width: 768px) {
  .product-card__img { padding: var(--space-4); }
}
/* Placeholder, když produkt nemá obrázek */
.product-card__img--placeholder { display: flex; align-items: center; justify-content: center; background: var(--color-mist); }
.product-card__badges {
  position: absolute; top: var(--space-2); left: var(--space-2);
  display: flex; flex-direction: column; gap: var(--space-1);
}
.product-card__wish {
  position: absolute; top: var(--space-2); right: var(--space-2);
  width: 36px; height: 36px;       /* 44px-ish tap area */
  border-radius: var(--radius-full);
  background: var(--color-white); border: 1px solid var(--color-fog);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-silver); cursor: pointer;
  transition: all var(--transition-fast);
}
.product-card__wish:hover { color: var(--color-danger); border-color: var(--color-danger); }
.product-card__body {
  padding: var(--space-3);          /* mobile: tighter */
  flex: 1; display: flex; flex-direction: column; gap: var(--space-2);
}
@media (min-width: 640px) { .product-card__body { padding: var(--space-4); } }
.product-card__brand {
  font-size: var(--text-xs); font-weight: 600;
  color: var(--color-muted); text-transform: uppercase; letter-spacing: var(--tracking-wide);
}
.product-card__name {
  font-size: var(--text-sm); font-weight: 500; color: var(--color-ink);
  line-height: var(--leading-snug);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__name a:hover { color: var(--color-forest); }
.product-card__availability {
  font-size: var(--text-xs); color: var(--color-success); font-weight: 500;
  display: flex; align-items: center; gap: 4px;
}
.product-card__availability--limited { color: var(--color-warning); }
.product-card__availability--out     { color: var(--color-danger); }
.product-card__pricing {
  margin-top: auto; display: flex; align-items: baseline;
  gap: var(--space-2); flex-wrap: wrap;
}
.product-card__price {
  font-family: var(--font-display); font-size: var(--text-xl);
  font-weight: 700; color: var(--color-ink); letter-spacing: -0.01em;
}
.product-card__price--sale { color: var(--color-sale); }
.product-card__price-original {
  font-size: var(--text-sm); color: var(--color-muted); text-decoration: line-through;
}
.product-card__footer {
  padding: var(--space-3);          /* mobile */
  border-top: 1px solid var(--color-mist);
}
@media (min-width: 640px) { .product-card__footer { padding: var(--space-3) var(--space-4) var(--space-4); } }
.product-card__add {
  width: 100%; height: 44px;       /* 44px tap target */
  background: var(--color-forest); color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  transition: background var(--transition-fast), transform var(--transition-fast);
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-2); cursor: pointer; border: none;
  -webkit-tap-highlight-color: transparent;
}
.product-card__add:hover { background: var(--color-forest-dark); }
.product-card__add:active { transform: scale(0.97); }

/* ══════════════════════════════════════════════════════════
   PRODUCT GRIDS — mobile-first
══════════════════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* mobile: 2 col */
  gap: var(--space-3);
}
@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .products-grid { grid-template-columns: repeat(5, 1fr); } }

/* Category page product grid (with sidebar = narrower) */
.products-grid-sidebar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
@media (min-width: 640px)  { .products-grid-sidebar { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); } }
@media (min-width: 1024px) { .products-grid-sidebar { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .products-grid-sidebar { grid-template-columns: repeat(4, 1fr); } }

/* ══════════════════════════════════════════════════════════
   TRUST BAR — mobile-first
══════════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--color-white);
  border-top: 1px solid var(--color-fog);
  border-bottom: 1px solid var(--color-fog);
}
.trust-bar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* mobile: 2x2 */
  gap: 1px; background: var(--color-fog);
}
@media (min-width: 1024px) { .trust-bar__inner { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-4);   /* mobile: tighter */
  background: var(--color-white);
}
@media (min-width: 768px) { .trust-item { gap: var(--space-4); padding: var(--space-5) var(--space-6); } }
@media (min-width: 1280px) { .trust-item { padding: var(--space-6) var(--space-8); } }
.trust-item__icon {
  width: 40px; height: 40px;       /* mobile */
  border-radius: var(--radius-md);
  background: var(--color-forest-muted);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-forest); flex-shrink: 0;
}
@media (min-width: 768px) { .trust-item__icon { width: 44px; height: 44px; } }
.trust-item__title { font-weight: 700; font-size: var(--text-sm); color: var(--color-ink); }
.trust-item__desc  { font-size: var(--text-xs); color: var(--color-muted); margin-top: 2px; }

/* Trust bar v patičce — tmavší varianta */
.trust-bar--footer { border-top: none; border-bottom: 1px solid oklch(30% .06 145); background: oklch(24% .06 145); }
.trust-bar--footer .trust-item { background: oklch(24% .06 145); }
.trust-bar--footer .trust-item__icon { background: oklch(30% .08 145); color: oklch(72% .12 145); }
.trust-bar--footer .trust-item__title { color: oklch(92% .04 145); }
.trust-bar--footer .trust-item__desc  { color: oklch(65% .06 145); }

/* ══════════════════════════════════════════════════════════
   PAGE LAYOUT (category layout: sidebar + main)
   Mobile: stacked. lg+: side-by-side
══════════════════════════════════════════════════════════ */
.page-layout {
  display: flex; flex-direction: column; /* mobile: stacked */
  gap: var(--space-6);
  padding: var(--space-4) 0;
}
@media (min-width: 1024px) {
  .page-layout { flex-direction: row; gap: var(--space-8); padding: var(--space-8) 0; align-items: flex-start; }
}
.page-main { flex: 1; min-width: 0; }

/* ══════════════════════════════════════════════════════════
   FILTER SIDEBAR — mobile: drawer, lg+: sidebar
══════════════════════════════════════════════════════════ */
/* Mobile filter drawer trigger */
.filter-mobile-trigger {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background: var(--color-white); border: 1.5px solid var(--color-fog);
  border-radius: var(--radius-lg); cursor: pointer;
  font-weight: 600; font-size: var(--text-sm); color: var(--color-ink);
  width: 100%; min-height: 44px;
  transition: border-color var(--transition-fast);
  margin-bottom: var(--space-4);
}
.filter-mobile-trigger:hover { border-color: var(--color-forest); }
@media (min-width: 1024px) { .filter-mobile-trigger { display: none; } }

/* Sidebar — hidden on mobile (shows via drawer), visible lg+ */
.filter-sidebar {
  width: 100%;
  display: none;                   /* mobile: hidden (use drawer) */
}
@media (min-width: 1024px) {
  .filter-sidebar { display: block; width: 240px; flex-shrink: 0; }
}
@media (min-width: 1280px) { .filter-sidebar { width: 260px; } }

/* Mobile filter drawer */
.filter-drawer {
  position: fixed; inset: 0; z-index: 400;
  display: flex; pointer-events: none;
}
.filter-drawer--open { pointer-events: auto; }
.filter-drawer__backdrop {
  position: absolute; inset: 0; background: oklch(0% 0 0 / 0.5);
  opacity: 0; transition: opacity 250ms ease;
}
.filter-drawer--open .filter-drawer__backdrop { opacity: 1; }
.filter-drawer__panel {
  position: relative; z-index: 1;
  width: 300px; max-width: 88vw; height: 100%;
  background: var(--color-white); overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 280ms cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xl);
}
.filter-drawer--open .filter-drawer__panel { transform: translateX(0); }
.filter-drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-fog);
  background: var(--color-forest); color: var(--color-white); flex-shrink: 0;
}
.filter-drawer__title {
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl);
  text-transform: uppercase;
}
.filter-drawer__close {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: oklch(28% 0.09 145); border: none; cursor: pointer;
  color: var(--color-white); display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast);
}
.filter-drawer__close:hover { background: oklch(22% 0.08 145); }
.filter-drawer__body { flex: 1; padding: var(--space-4); overflow-y: auto; }
.filter-drawer__footer {
  padding: var(--space-4); border-top: 1px solid var(--color-fog);
  background: var(--color-mist); flex-shrink: 0;
  display: flex; gap: var(--space-3);
}

/* Filter section */
.filter-section { border-bottom: 1px solid var(--color-fog); padding: var(--space-4) 0; }
.filter-section:first-child { padding-top: 0; }
.filter-title {
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: var(--text-sm); color: var(--color-ink);
  text-transform: uppercase; letter-spacing: var(--tracking-wide);
  cursor: pointer; padding: var(--space-2) 0; user-select: none;
  width: 100%; background: none; border: none;
  min-height: 44px;                /* tap target */
}
.filter-title__chevron {
  color: var(--color-muted); transition: transform var(--transition-fast); display: flex;
}
.filter-section--open .filter-title__chevron { transform: rotate(180deg); }
.filter-body { overflow: hidden; transition: max-height 0.28s ease; }
.filter-body--open   { max-height: 1200px; }
.filter-body--closed { max-height: 0; }
.filter-options { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-3); }
.filter-option {
  display: flex; align-items: center; gap: var(--space-3);
  cursor: pointer; font-size: var(--text-sm); color: var(--color-slate);
  transition: color var(--transition-fast);
  min-height: 36px;                /* comfortable touch */
}
.filter-option:hover { color: var(--color-forest); }
.filter-option input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--color-forest); flex-shrink: 0;
}
.filter-option__count { margin-left: auto; font-size: var(--text-xs); color: var(--color-silver); }
.filter-option--active { color: var(--color-forest); font-weight: 600; }
.filter-price-range {
  display: flex; gap: var(--space-2); margin-top: var(--space-3);
}
.filter-price-range input {
  flex: 1; height: 44px;           /* tap target */
  border: 1px solid var(--color-fog); border-radius: var(--radius-sm);
  padding: 0 var(--space-2); font-size: var(--text-sm); text-align: center; outline: none;
  transition: border-color var(--transition-fast);
}
.filter-price-range input:focus { border-color: var(--color-forest); }
.active-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.active-filter-tag {
  display: inline-flex; align-items: center; gap: var(--space-1);
  background: var(--color-forest-muted); color: var(--color-forest);
  padding: 6px var(--space-3); border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 600; cursor: pointer;
  min-height: 36px;
}
.active-filter-tag:hover { background: var(--color-forest); color: var(--color-white); }

/* ══════════════════════════════════════════════════════════
   FORMS — mobile-first, 44px tap targets
══════════════════════════════════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: var(--space-1); }
.form-label { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.form-input, .form-select, .form-textarea {
  height: 48px;                    /* mobile: 48px (generous) */
  padding: 0 var(--space-4);
  border: 1.5px solid var(--color-fog);
  border-radius: var(--radius-md); font-size: 16px; /* prevent iOS zoom */
  font-family: var(--font-body); color: var(--color-ink);
  background: var(--color-white); outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none;
}
@media (min-width: 768px) {
  .form-input, .form-select { height: 44px; font-size: var(--text-sm); }
}
.form-textarea { height: auto; padding: var(--space-3) var(--space-4); resize: vertical; font-size: 16px; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-forest);
  box-shadow: 0 0 0 3px var(--color-forest-muted);
}
.form-input--error { border-color: var(--color-danger); }
.form-error { font-size: var(--text-xs); color: var(--color-danger); margin-top: 2px; }
.form-hint  { font-size: var(--text-xs); color: var(--color-muted);   margin-top: 2px; }

/* ══════════════════════════════════════════════════════════
   SORT / TOOLBAR
══════════════════════════════════════════════════════════ */
.products-toolbar {
  display: flex; flex-direction: column; /* mobile: stacked */
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-fog);
  margin-bottom: var(--space-4);
}
@media (min-width: 640px) {
  .products-toolbar {
    flex-direction: row; align-items: center;
    justify-content: space-between; flex-wrap: wrap; padding: var(--space-4) 0;
    margin-bottom: var(--space-6);
  }
}
.products-count { font-size: var(--text-sm); color: var(--color-muted); font-weight: 500; }
.toolbar-controls { display: flex; align-items: center; gap: var(--space-3); }
.sort-select {
  height: 44px;                    /* tap target */
  padding: 0 var(--space-3);
  border: 1px solid var(--color-fog); border-radius: var(--radius-md);
  font-size: var(--text-sm); font-family: var(--font-body);
  color: var(--color-ink); background: var(--color-white); cursor: pointer; outline: none;
  -webkit-appearance: none; flex: 1;
}
@media (min-width: 640px) { .sort-select { height: 36px; flex: none; } }
.sort-select:focus { border-color: var(--color-forest); }
.view-toggle {
  display: none;                   /* mobile: hidden — grid only */
  border: 1px solid var(--color-fog); border-radius: var(--radius-md); overflow: hidden;
}
@media (min-width: 768px) { .view-toggle { display: flex; } }
.view-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  color: var(--color-muted); cursor: pointer;
  transition: all var(--transition-fast); background: var(--color-white); border: none;
}
.view-btn--active { background: var(--color-forest); color: var(--color-white); }
.view-btn:hover:not(.view-btn--active) { background: var(--color-mist); color: var(--color-ink); }

/* ══════════════════════════════════════════════════════════
   HERO SLIDER — mobile-first heights
══════════════════════════════════════════════════════════ */
.hero-slider {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);  /* mobile: smaller radius */
  background: var(--color-charcoal);
  height: 260px;                   /* mobile */
}
@media (min-width: 640px)  { .hero-slider { height: 320px; border-radius: var(--radius-xl); } }
@media (min-width: 768px)  { .hero-slider { height: 380px; } }
@media (min-width: 1024px) { .hero-slider { height: 440px; } }
@media (min-width: 1280px) { .hero-slider { height: 480px; } }

.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.hero-slide--active { opacity: 1; pointer-events: auto; }
.hero-slide__bg-wrap { position: absolute; inset: 0; overflow: hidden; }
.hero-slide__bg { width: 100%; height: 100%; object-fit: cover; }
.hero-slide__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, oklch(17% 0.008 260 / 0.82) 0%, oklch(17% 0.008 260 / 0.4) 55%, transparent 80%);
}
.hero-slide__content {
  position: relative; z-index: 1;
  padding: var(--space-6) var(--space-5); /* mobile */
  max-width: 100%;
}
@media (min-width: 640px) { .hero-slide__content { padding: var(--space-8) var(--space-8); max-width: 480px; } }
@media (min-width: 1024px) { .hero-slide__content { padding: var(--space-10) var(--space-12); max-width: 560px; } }
.hero-slide__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 3.25rem);
  font-weight: 800; color: var(--color-white);
  line-height: var(--leading-tight); letter-spacing: var(--tracking-tight);
  text-transform: uppercase; margin-bottom: var(--space-3);
}
.hero-slide__desc {
  font-size: var(--text-sm);       /* mobile */
  color: oklch(90% 0.01 260); line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5); max-width: 360px;
  display: none;                   /* mobile: hide description */
}
@media (min-width: 640px) { .hero-slide__desc { display: block; font-size: var(--text-md); } }
.hero-brand-strip { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.hero-brand-pill {
  background: oklch(100% 0 0 / 0.18); backdrop-filter: blur(6px);
  border: 1px solid oklch(100% 0 0 / 0.3);
  border-radius: var(--radius-full); padding: 3px var(--space-3);
  font-size: var(--text-xs); font-weight: 700; color: var(--color-white);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
}
.hero-controls {
  position: absolute; bottom: var(--space-3); left: 50%;
  transform: translateX(-50%); display: flex; gap: var(--space-2); z-index: 2;
}
@media (min-width: 640px) { .hero-controls { bottom: var(--space-6); } }
.hero-dot {
  width: 7px; height: 7px; border-radius: var(--radius-full);
  background: oklch(100% 0 0 / 0.4); cursor: pointer;
  transition: all var(--transition-fast); border: none;
}
.hero-dot--active { background: var(--color-white); width: 22px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;       /* mobile: 36px */
  border-radius: var(--radius-full);
  background: oklch(100% 0 0 / 0.15); backdrop-filter: blur(8px);
  border: 1px solid oklch(100% 0 0 / 0.25);
  color: var(--color-white); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background var(--transition-fast); z-index: 2;
}
@media (min-width: 640px) { .hero-arrow { width: 44px; height: 44px; } }
.hero-arrow:hover { background: oklch(100% 0 0 / 0.30); }
.hero-arrow--prev { left: var(--space-3); }
.hero-arrow--next { right: var(--space-3); }

/* ══════════════════════════════════════════════════════════
   PROMO GRID — mobile: 1 col, sm: 2 col, md+: 4 col
══════════════════════════════════════════════════════════ */
.promo-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
@media (min-width: 480px) { .promo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .promo-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); } }
.promo-card {
  background: var(--color-white); border: 1px solid var(--color-fog);
  border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.promo-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.promo-card__img {
  aspect-ratio: 4/3; object-fit: cover; width: 100%;
  background: var(--color-mist); display: flex; align-items: center; justify-content: center;
}
.promo-card__body { padding: var(--space-3); }
@media (min-width: 640px) { .promo-card__body { padding: var(--space-4); } }
.promo-card__brand { font-size: var(--text-xs); color: var(--color-forest); font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-wide); }
.promo-card__title { font-weight: 600; font-size: var(--text-sm); color: var(--color-ink); margin-top: var(--space-1); line-height: var(--leading-snug); }
.promo-card__price { font-size: var(--text-xs); color: var(--color-muted); margin-top: var(--space-2); }
.promo-card__price strong { color: var(--color-ink); font-family: var(--font-display); font-size: var(--text-md); }
.promo-card__link { font-size: var(--text-xs); color: var(--color-forest); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; margin-top: var(--space-2); }

/* ══════════════════════════════════════════════════════════
   CATEGORY GRID — mobile: 2col, lg: 5col
══════════════════════════════════════════════════════════ */
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (min-width: 640px)  { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: repeat(5, 1fr); gap: var(--space-4); } }

/* ══════════════════════════════════════════════════════════
   PRODUCT DETAIL — mobile-first layout
══════════════════════════════════════════════════════════ */
.product-layout {
  display: flex; flex-direction: column; /* mobile: stacked */
  gap: var(--space-6); padding: var(--space-4) 0;
}
@media (min-width: 768px) {
  .product-layout { flex-direction: row; gap: var(--space-8); padding: var(--space-8) 0; align-items: flex-start; }
  .product-layout > * { flex: 1; }
}
.product-gallery { display: flex; flex-direction: column; gap: var(--space-3); }
.product-gallery__main {
  aspect-ratio: 1; border-radius: var(--radius-xl);
  overflow: hidden; background: var(--color-mist);
  border: 1px solid var(--color-fog);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.product-gallery__img {
  max-width: 85%; max-height: 85%; object-fit: contain;
  transition: transform var(--transition-slow);
}
.product-gallery__main:hover .product-gallery__img { transform: scale(1.04); }
.product-gallery__thumbs {
  display: flex; gap: var(--space-2); overflow-x: auto; padding-bottom: var(--space-1);
  -webkit-overflow-scrolling: touch;
}
.product-gallery__thumb {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: var(--radius-md); background: var(--color-mist);
  border: 2px solid transparent; overflow: hidden; cursor: pointer;
  transition: border-color var(--transition-fast);
}
@media (min-width: 640px) { .product-gallery__thumb { width: 72px; height: 72px; } }
.product-gallery__thumb--active { border-color: var(--color-forest); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

/* Sticky add-to-cart bar — mobile only */
.sticky-add-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: var(--color-white); border-top: 1px solid var(--color-fog);
  box-shadow: 0 -4px 16px oklch(17% 0.008 260 / 0.12);
  padding: var(--space-3) var(--space-4);
  display: flex; gap: var(--space-3); align-items: center;
}
@media (min-width: 768px) { .sticky-add-bar { display: none; } }
.sticky-add-bar__price {
  font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl);
  color: var(--color-forest); flex-shrink: 0;
}

/* Product price box */
.product-price-box {
  background: var(--color-forest); border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5); margin-bottom: var(--space-5);
  display: flex; align-items: baseline; gap: var(--space-4);
}
@media (min-width: 640px) { .product-price-box { padding: var(--space-5) var(--space-6); margin-bottom: var(--space-6); border-radius: var(--radius-lg); } }
.product-price-main {
  font-family: var(--font-display);
  font-size: var(--text-4xl);      /* mobile: smaller */
  font-weight: 800; color: var(--color-white); letter-spacing: var(--tracking-tight);
}
@media (min-width: 640px) { .product-price-main { font-size: var(--text-5xl); } }
.product-price-original { font-size: var(--text-lg); color: oklch(80% 0.06 145); text-decoration: line-through; }
.product-price-vat { font-size: var(--text-xs); color: oklch(80% 0.06 145); }

.product-info__name {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
  font-weight: 800; color: var(--color-charcoal);
  letter-spacing: var(--tracking-tight); text-transform: uppercase;
  line-height: var(--leading-tight); margin-bottom: var(--space-3);
}
.product-info__brand { font-size: var(--text-sm); font-weight: 700; color: var(--color-muted); text-transform: uppercase; letter-spacing: var(--tracking-wide); margin-bottom: var(--space-2); }
.product-info__sku { font-size: var(--text-xs); color: var(--color-silver); margin-bottom: var(--space-3); }
.product-info__badges { display: flex; gap: var(--space-2); margin-bottom: var(--space-4); flex-wrap: wrap; }

.size-grid { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }
.size-chip {
  height: 44px; min-width: 52px; padding: 0 var(--space-3);
  border: 1.5px solid var(--color-fog); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-sm); font-weight: 600; color: var(--color-slate);
  cursor: pointer; transition: all var(--transition-fast); background: var(--color-white);
}
.size-chip:hover { border-color: var(--color-forest); color: var(--color-forest); }
.size-chip--active { border-color: var(--color-forest); background: var(--color-forest); color: var(--color-white); }
.size-chip--unavail { opacity: 0.35; pointer-events: none; text-decoration: line-through; }

.product-add-row { display: flex; gap: var(--space-3); margin-bottom: var(--space-5); align-items: stretch; }
.product-qty {
  display: flex; align-items: center;
  border: 1.5px solid var(--color-fog); border-radius: var(--radius-md); overflow: hidden;
}
.product-qty__btn {
  width: 44px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-mist); color: var(--color-slate); cursor: pointer;
  font-size: 20px; font-weight: 300; transition: background var(--transition-fast); border: none;
}
.product-qty__btn:hover { background: var(--color-fog); }
.product-qty__input {
  width: 52px; height: 52px; text-align: center; border: none;
  border-left: 1.5px solid var(--color-fog); border-right: 1.5px solid var(--color-fog);
  font-size: var(--text-md); font-weight: 600; color: var(--color-ink); outline: none;
}

/* Tabs */
.product-tabs {
  border-bottom: 2px solid var(--color-fog); display: flex; gap: 0;
  margin-bottom: var(--space-5); overflow-x: auto; -webkit-overflow-scrolling: touch;
}
@media (min-width: 640px) { .product-tabs { margin-bottom: var(--space-6); } }
.product-tab {
  padding: var(--space-3) var(--space-4); font-size: var(--text-xs);
  font-weight: 600; color: var(--color-muted); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all var(--transition-fast); background: none;
  border-left: none; border-right: none; border-top: none;
  text-transform: uppercase; letter-spacing: var(--tracking-wide);
  white-space: nowrap; min-height: 44px;
}
@media (min-width: 640px) { .product-tab { padding: var(--space-4) var(--space-5); font-size: var(--text-sm); } }
.product-tab--active { color: var(--color-forest); border-bottom-color: var(--color-forest); }
.product-tab:hover:not(.product-tab--active) { color: var(--color-ink); }

.product-spec-table { width: 100%; border-collapse: collapse; }
.product-spec-table tr { border-bottom: 1px solid var(--color-mist); }
.product-spec-table td { padding: var(--space-3) var(--space-3); font-size: var(--text-sm); }
@media (min-width: 640px) { .product-spec-table td { padding: var(--space-3) var(--space-4); } }
.product-spec-table td:first-child { font-weight: 600; color: var(--color-slate); width: 45%; background: var(--color-mist); }
.product-spec-table td:last-child { color: var(--color-ink); }

/* ══════════════════════════════════════════════════════════
   CART — mobile-first
══════════════════════════════════════════════════════════ */
.cart-layout {
  display: flex; flex-direction: column; /* mobile: stacked */
  gap: var(--space-6); padding: 0 0 var(--space-10);
}
@media (min-width: 900px) {
  .cart-layout { flex-direction: row; gap: var(--space-8); padding: 0 0 var(--space-12); align-items: flex-start; }
}
.cart-table {
  width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed;
  background: var(--color-white);
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-fog);
  box-shadow: var(--shadow-sm);
}
.cart-table th {
  background: var(--color-mist); padding: var(--space-3) var(--space-4);
  text-align: left; font-size: var(--text-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--color-muted);
  border-bottom: 1px solid var(--color-fog);
}
/* Hide some columns on mobile */
.cart-th-availability, .cart-td-availability { display: none; }
@media (min-width: 640px) { .cart-th-availability, .cart-td-availability { display: table-cell; } }
.cart-table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-mist);
  vertical-align: middle; font-size: var(--text-sm); color: var(--color-ink);
}
@media (min-width: 640px) { .cart-table td { padding: var(--space-5); } }
.cart-table tr:last-child td { border-bottom: none; }
.cart-table__product { display: flex; align-items: flex-start; gap: var(--space-3); }
@media (min-width: 640px) { .cart-table__product { gap: var(--space-4); } }
.cart-table__img {
  width: 80px; height: 80px;
  object-fit: contain; border-radius: var(--radius-md);
  background: var(--color-white); padding: var(--space-1); flex-shrink: 0;
}
@media (min-width: 640px) { .cart-table__img { width: 96px; height: 96px; } }
.cart-table__name { font-weight: 600; color: var(--color-ink); font-size: var(--text-sm); }
.cart-table__meta { font-size: var(--text-xs); color: var(--color-muted); margin-top: 4px; }

.qty-control {
  display: flex; align-items: center;
  border: 1px solid var(--color-fog); border-radius: var(--radius-md); overflow: hidden;
  width: fit-content;
}
.qty-btn {
  width: 36px; height: 36px;       /* mobile tap target */
  display: flex; align-items: center; justify-content: center;
  background: var(--color-mist); color: var(--color-slate); cursor: pointer;
  font-size: 18px; font-weight: 300; transition: background var(--transition-fast); border: none;
}
@media (min-width: 640px) { .qty-btn { width: 32px; height: 32px; } }
.qty-btn:hover { background: var(--color-fog); }
.qty-input {
  width: 44px; height: 36px; text-align: center; border: none;
  border-left: 1px solid var(--color-fog); border-right: 1px solid var(--color-fog);
  font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); outline: none;
  -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Sticky cart summary on mobile */
.cart-summary {
  background: var(--color-white); border: 1px solid var(--color-fog);
  border-radius: var(--radius-lg); padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .cart-summary { padding: var(--space-6); } }
@media (min-width: 900px) {
  .cart-summary { position: sticky; top: calc(var(--header-height) + var(--space-4)); }
}
.cart-summary__title {
  font-family: var(--font-display); font-size: var(--text-xl);
  font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-tight);
  color: var(--color-charcoal); margin-bottom: var(--space-4);
}
.cart-summary__row {
  display: flex; justify-content: space-between; padding: var(--space-3) 0;
  font-size: var(--text-sm); border-bottom: 1px solid var(--color-mist);
}
.cart-summary__row:last-of-type { border-bottom: none; }
.cart-summary__total {
  display: flex; justify-content: space-between;
  padding: var(--space-4) 0 var(--space-4);
  font-size: var(--text-md); font-weight: 700;
  border-top: 2px solid var(--color-fog); margin-top: var(--space-2);
}
.cart-summary__total-price {
  font-family: var(--font-display); font-size: var(--text-2xl);
  font-weight: 800; color: var(--color-forest);
}
.coupon-row { display: flex; gap: var(--space-2); margin: var(--space-4) 0; }
.coupon-input {
  flex: 1; height: 44px;           /* tap target */
  border: 1.5px solid var(--color-fog); border-radius: var(--radius-md);
  padding: 0 var(--space-3); font-size: 16px; outline: none;
  transition: border-color var(--transition-fast);
}
.coupon-input:focus { border-color: var(--color-forest); }
.coupon-btn {
  height: 44px; padding: 0 var(--space-4);
  background: var(--color-forest); color: var(--color-white);
  border-radius: var(--radius-md); font-size: var(--text-sm); font-weight: 600;
  cursor: pointer; border: none; transition: background var(--transition-fast);
  flex-shrink: 0;
}
.coupon-btn:hover { background: var(--color-forest-dark); }

/* Sticky mobile cart footer */
.mobile-cart-sticky {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: var(--color-white); border-top: 1px solid var(--color-fog);
  padding: var(--space-3) var(--space-4); box-shadow: 0 -4px 16px oklch(17% 0.008 260 / 0.12);
  display: flex; gap: var(--space-3); align-items: center;
}
@media (min-width: 900px) { .mobile-cart-sticky { display: none; } }

/* ══════════════════════════════════════════════════════════
   CHECKOUT STEPS — mobile-first
══════════════════════════════════════════════════════════ */
.checkout-steps { display: flex; align-items: center; padding-top: var(--space-2); margin-bottom: var(--space-6); overflow-x: auto; }
.checkout-step {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-4); font-size: var(--text-xs);
  font-weight: 600; color: var(--color-muted); background: var(--color-mist);
  white-space: nowrap; flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
  padding-inline: var(--space-6);
}
@media (min-width: 640px) {
  .checkout-step { font-size: var(--text-sm); padding: var(--space-3) var(--space-6); }
}
.checkout-step:first-child { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); padding-left: var(--space-5); }
.checkout-step--active { background: var(--color-forest); color: var(--color-white); }
.checkout-step--done   { background: oklch(50% 0.10 145); color: var(--color-white); }
.checkout-step a { color: inherit; }
.checkout-step__num {
  font-weight: 800; flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════════════════════════ */
.site-main { flex: 1; }
.main-content { padding-top: var(--space-2); padding-bottom: var(--space-10); }

/* ══════════════════════════════════════════════════════════
   FOOTER — mobile-first
══════════════════════════════════════════════════════════ */
.site-footer { background: var(--color-forest-dark); color: oklch(85% 0.04 145); }
.footer-main {
  padding: var(--space-10) 0 var(--space-8);
  display: grid;
  grid-template-columns: 1fr;      /* mobile: single col */
  gap: var(--space-6);
}
@media (min-width: 640px)  { .footer-main { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-main { grid-template-columns: repeat(5, 1fr); gap: var(--space-8); padding: var(--space-16) 0 var(--space-12); } }

/* Footer accordion on mobile */
.footer-col { }
.footer-col__title {
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-md);
  color: var(--color-white); text-transform: uppercase; letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-4);
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; user-select: none;
  min-height: 44px;                /* tap target */
}
@media (min-width: 1024px) { .footer-col__title { cursor: default; } }
.footer-col__chevron { display: flex; color: oklch(65% 0.05 145); transition: transform 0.2s; }
@media (min-width: 1024px) { .footer-col__chevron { display: none; } }
.footer-col__links {
  display: flex; flex-direction: column; gap: var(--space-3);
  overflow: hidden; max-height: 0; transition: max-height 0.3s ease;
}
.footer-col--open .footer-col__links { max-height: 500px; }
@media (min-width: 1024px) { .footer-col__links { max-height: none !important; overflow: visible; } }
.footer-col__links a { font-size: var(--text-sm); color: oklch(75% 0.04 145); transition: color var(--transition-fast); }
.footer-col__links a:hover { color: var(--color-white); }

.footer-newsletter { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-newsletter p { font-size: var(--text-sm); color: oklch(75% 0.04 145); line-height: var(--leading-relaxed); }
.newsletter-form { display: flex; gap: var(--space-2); }
.newsletter-input {
  flex: 1; height: 44px; padding: 0 var(--space-3);
  border: 1px solid oklch(45% 0.08 145); border-radius: var(--radius-md);
  background: oklch(28% 0.09 145); color: var(--color-white); font-size: 16px; outline: none;
  transition: border-color var(--transition-fast);
}
.newsletter-input::placeholder { color: oklch(60% 0.05 145); }
.newsletter-input:focus { border-color: oklch(70% 0.10 145); }
.newsletter-btn {
  height: 44px; padding: 0 var(--space-4); background: var(--color-ember);
  color: var(--color-white); border-radius: var(--radius-md);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-wide);
  text-transform: uppercase; transition: background var(--transition-fast);
  white-space: nowrap; cursor: pointer; border: none;
}
.newsletter-btn:hover { background: var(--color-ember-dark); }
.newsletter-consent { margin-top: var(--space-3); font-size: var(--text-xs); color: oklch(65% 0.04 145); }
.newsletter-consent label { display: flex; gap: 6px; align-items: flex-start; cursor: pointer; }
.newsletter-consent input { margin-top: 2px; flex-shrink: 0; }
.newsletter-consent a { color: oklch(75% 0.08 145); }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-2); }
.footer-social a { font-size: var(--text-sm); color: oklch(65% 0.05 145); transition: color var(--transition-fast); }
.footer-social a:hover { color: var(--color-white); }
.footer-divider { border: none; border-top: 1px solid oklch(28% 0.06 145); margin: var(--space-6) 0; }
.footer-bottom {
  padding: var(--space-5) 0;
  display: flex; flex-direction: column; /* mobile: stacked */
  gap: var(--space-4); align-items: flex-start;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-bottom__brand { display: flex; align-items: center; gap: var(--space-3); }
.footer-bottom__copy { font-size: var(--text-xs); color: oklch(60% 0.04 145); }
.footer-bottom__payments { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.payment-badge {
  background: oklch(28% 0.06 145); border-radius: var(--radius-sm);
  padding: 4px 10px; display: flex; align-items: center;
  font-size: 11px; font-weight: 700; color: oklch(80% 0.04 145); letter-spacing: 0.05em;
}
.footer-bottom__links {
  display: flex; gap: var(--space-3); flex-wrap: wrap;
}
.footer-bottom__links a { font-size: var(--text-xs); color: oklch(60% 0.04 145); transition: color var(--transition-fast); }
.footer-bottom__links a:hover { color: var(--color-white); }

/* ══════════════════════════════════════════════════════════
   INFO CARDS (Vše o nákupu)
══════════════════════════════════════════════════════════ */
.info-cards {
  display: grid;
  grid-template-columns: 1fr;       /* mobile: single col */
  gap: var(--space-3);
}
@media (min-width: 480px) { .info-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .info-cards { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
.info-card {
  background: var(--color-white); border: 1px solid var(--color-fog);
  border-radius: var(--radius-lg); padding: var(--space-5); cursor: pointer;
  transition: all var(--transition-base); display: flex; align-items: flex-start;
  gap: var(--space-3); text-decoration: none; min-height: 44px;
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--color-forest); }
.info-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--color-forest-muted); display: flex; align-items: center; justify-content: center;
  color: var(--color-forest); flex-shrink: 0;
}
.info-card__title { font-weight: 700; font-size: var(--text-md); color: var(--color-ink); margin-bottom: var(--space-1); }
.info-card__desc  { font-size: var(--text-sm); color: var(--color-muted); line-height: var(--leading-snug); }

/* ══════════════════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════════════════ */
.pagination { display: flex; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-6) 0; }
@media (min-width: 640px) { .pagination { padding: var(--space-8) 0; } }
.page-btn {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-sm); font-weight: 600; color: var(--color-slate);
  border: 1px solid var(--color-fog); cursor: pointer;
  transition: all var(--transition-fast); background: var(--color-white);
  min-height: 40px;
}
.page-btn:hover { background: var(--color-mist); color: var(--color-ink); border-color: var(--color-silver); }
.page-btn--active { background: var(--color-forest); color: var(--color-white); border-color: var(--color-forest); }
.page-btn--dots { border: none; cursor: default; color: var(--color-silver); }

/* ══════════════════════════════════════════════════════════
   CONTENT PROSE (About page)
══════════════════════════════════════════════════════════ */
.content-prose { max-width: 780px; }
.content-prose h1 {
  font-family: var(--font-display); font-size: clamp(var(--text-3xl), 6vw, var(--text-4xl));
  font-weight: 800; color: var(--color-charcoal);
  letter-spacing: var(--tracking-tight); text-transform: uppercase;
  margin-bottom: var(--space-5); line-height: var(--leading-tight);
}
.content-prose h2 {
  font-family: var(--font-display); font-size: var(--text-2xl);
  font-weight: 700; color: var(--color-forest); text-transform: uppercase;
  letter-spacing: var(--tracking-snug); margin: var(--space-6) 0 var(--space-3);
}
@media (min-width: 640px) { .content-prose h2 { margin: var(--space-8) 0 var(--space-4); } }
.content-prose h3 { font-size: var(--text-lg); font-weight: 700; color: var(--color-ink); margin: var(--space-5) 0 var(--space-3); }
.content-prose p { font-size: var(--text-base); color: var(--color-slate); line-height: var(--leading-relaxed); margin-bottom: var(--space-4); }
.content-prose ul, .content-prose ol { list-style: none; margin-bottom: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.content-prose ul li::before { content: '→'; color: var(--color-forest); margin-right: var(--space-2); font-weight: 700; }
.content-prose li { font-size: var(--text-base); color: var(--color-slate); line-height: var(--leading-relaxed); }
.content-prose a { color: var(--color-forest); text-decoration: underline; text-underline-offset: 3px; }
.lead-text { font-size: var(--text-lg); color: var(--color-ink); line-height: var(--leading-relaxed); font-weight: 400; margin-bottom: var(--space-6); }

/* ══════════════════════════════════════════════════════════
   SECTION HEADINGS
══════════════════════════════════════════════════════════ */
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  color: var(--color-charcoal); letter-spacing: var(--tracking-tight); text-transform: uppercase;
}
.section-subtitle { font-size: var(--text-md); color: var(--color-muted); margin-top: var(--space-2); line-height: var(--leading-relaxed); }

/* ══════════════════════════════════════════════════════════
   MISC UTILITIES
══════════════════════════════════════════════════════════ */
.divider  { border: none; border-top: 1px solid var(--color-fog); margin: var(--space-6) 0; }
@media (min-width: 640px) { .divider { margin: var(--space-8) 0; } }
.text-forest  { color: var(--color-forest); }
.text-ember   { color: var(--color-ember); }
.text-muted   { color: var(--color-muted); }
.text-sm      { font-size: var(--text-sm); }
.text-xs      { font-size: var(--text-xs); }
.font-display { font-family: var(--font-display); }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* ══════════════════════════════════════════════════════════
   BASKET REVIEW (include/basket_review.php) — new skin override
   Wrapper: .dp-summary-wrap > div.tab.product
══════════════════════════════════════════════════════════ */
.dp-summary-wrap {
  background: var(--color-white); border: 1px solid var(--color-fog);
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm);
}
.dp-summary-wrap .tab.product { display: flex; flex-direction: column; }
.dp-summary-wrap .header {
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 800;
  color: var(--color-charcoal); text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  padding: var(--space-4) var(--space-5);
  background: var(--color-mist); border-bottom: 1px solid var(--color-fog);
}
.dp-summary-wrap .items { flex: 1; }
/* Každý řádek produktu — přepíšeme Bootstrap .row */
.dp-summary-wrap .item.row {
  display: flex !important; align-items: center; flex-wrap: nowrap;
  gap: var(--space-3); padding: var(--space-3) var(--space-5);
  border-bottom: 1px solid var(--color-mist);
  font-size: var(--text-sm); margin: 0 !important;
}
/* Produkt v souhrnu: miniatura + text */
.bsr-prod { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.bsr-prod__info { min-width: 0; }
.bsr-thumb {
  width: 48px; height: 48px; flex-shrink: 0; object-fit: contain;
  border: 1px solid var(--color-fog); border-radius: var(--radius-sm);
  background: var(--color-white); padding: 2px;
}
.dp-summary-wrap .item.row:last-child { border-bottom: none; }
/* Bootstrap col → flex sloupce */
.dp-summary-wrap .col-sm-9 { flex: 1; min-width: 0; }
.dp-summary-wrap .col-sm-1 { flex-shrink: 0; color: var(--color-muted); white-space: nowrap; text-align: right; }
.dp-summary-wrap .col-sm-2,
.dp-summary-wrap .col-sm-3 { flex-shrink: 0; font-weight: 700; text-align: right; white-space: nowrap; }
/* Celkový součet (footer) */
.dp-summary-wrap .footer { border-top: 1px solid var(--color-fog); }
.dp-summary-wrap .light-grey-bg {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  background: var(--color-mist);
  font-size: var(--text-sm); font-weight: 600; color: var(--color-slate);
}
.dp-summary-wrap .float-left  { float: none; }
.dp-summary-wrap .float-right { float: none; }
.dp-summary-wrap .clearfix    { display: none; }
.dp-summary-wrap .price {
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800;
  color: var(--color-forest); white-space: nowrap; text-align: right;
  padding-top: 0 !important;
}
.dp-summary-wrap .no_vat_price { font-size: var(--text-xs); color: var(--color-muted); text-align: right; }
.dp-summary-wrap .text-danger  { color: var(--color-danger); font-size: var(--text-xs); }
.dp-summary-wrap .curr_symbol  { font-size: inherit; }
/* Obrázky dopravy/platby v review */
.dp-summary-wrap img[src*="shipment"],
.dp-summary-wrap img[src*="payment"] { width: 40px; height: auto; }
.mt-auto { margin-top: auto; }

/* Tlačítko pod souhrnem objednávky (Pokračovat / Koupit a zaplatit) */
.dp-summary-actions { padding: var(--space-5); border-top: 1px solid var(--color-fog); }
/* Souhrn se při scrollu přilepí pod hlavičku + mega nav (48px), ať nezalézá za menu */
@media (min-width: 900px) {
  .dp-summary-wrap { position: sticky; top: calc(var(--header-height) + 48px + var(--space-4)); align-self: start; }
}
