/* ─────────────────────────────────────────────────────────
   JR Products — design tokens
   ───────────────────────────────────────────────────────── */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f5f1;
  --surface: #ffffff;
  --text: #17201b;
  --text-2: #3b443e;
  --muted: #6a726c;
  --line: #e6e4dd;
  --line-2: #d6d3ca;

  --brand: #23402f;
  --brand-hover: #1a3324;
  --brand-soft: #e9efe9;
  --khaki: #6b7448;
  --accent: #c8352a;
  --ok: #2f8a43;
  --women: #b8476f;
  --signal: #ff3b2f;
  --signal-soft: rgba(255, 59, 47, 0.18);
  --studio: #f2f0ea;
  --studio-2: #ebe8df;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Inter Tight', 'Inter', system-ui, sans-serif;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --gutter: clamp(16px, 3vw, 32px);
  --shadow-sm: 0 1px 2px rgba(23, 32, 27, 0.06);
  --shadow: 0 10px 30px -12px rgba(23, 32, 27, 0.18);
  --shadow-lg: 0 30px 70px -20px rgba(23, 32, 27, 0.3);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem; /* na velkých monitorech roste s html (viz Responzivita) */
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--text); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.lead { font-size: 1.075rem; color: var(--text-2); margin: 0; }
.eyebrow { margin: 0 0 0.75rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--khaki); }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-tight { padding-top: 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.75rem; }
.section-lead { margin-top: 0.75rem; max-width: 60ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.95rem; color: var(--brand); white-space: nowrap; }
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

kbd { font-family: var(--font); font-size: 0.7rem; padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line-2); color: var(--muted); background: #fff; }

/* ── Tlačítka ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 42px; padding: 0 1.1rem; border-radius: var(--r-sm);
  font-weight: 600; font-size: 0.93rem; white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { height: 50px; padding: 0 1.5rem; font-size: 1rem; }
.btn.wide { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); box-shadow: 0 6px 18px -6px rgba(35, 64, 47, 0.6); }
.btn-secondary { background: #fff; color: var(--text); border: 1px solid var(--line-2); }
.btn-secondary:hover { border-color: var(--text); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #f1f4f1; }
.btn-outline-light { color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-women { background: var(--women); color: #fff; }
.btn-women:hover { background: #9f3a5e; }
.btn-signal { background: var(--signal); color: #fff; }
.btn-signal:hover { box-shadow: 0 0 40px var(--signal-soft), 0 0 0 6px var(--signal-soft); }
.btn svg { font-size: 1.05rem; }
.icon-btn { width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center; font-size: 1.15rem; color: var(--text-2); transition: background 0.2s; }
.icon-btn:hover { background: var(--bg-alt); }

/* ── Horní lišta ───────────────────────────────────── */
.topbar { background: var(--brand); color: rgba(255, 255, 255, 0.85); font-size: 0.82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 1rem; }
.topbar-links { display: flex; gap: 1.5rem; }
.topbar-links a { display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar-links a:hover { color: #fff; }

/* ── Hlavička ──────────────────────────────────────── */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow 0.3s; }
.header.scrolled { box-shadow: 0 6px 24px -14px rgba(23, 32, 27, 0.25); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: 76px; }

/* logo: kapr + nápis JrProducts (img/logo-jrproducts-*.png – zelené na světlé, bílé na tmavé pozadí) */
.logo { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.logo-img { display: block; height: 62px; width: auto; }
.logo-light .logo-img { height: 96px; }
/* česká vlajka vedle loga, oddělená tenkou čarou */
.logo-cz { display: flex; align-items: center; gap: 0.55rem; padding-left: 0.9rem; margin-left: 0.2rem; border-left: 1px solid var(--line-2); height: 38px; }
.cz-flag { width: 30px; height: 20px; flex: none; stroke: none; filter: drop-shadow(0 1px 1.5px rgba(23, 32, 27, 0.25)); transform: rotate(-4deg); transition: transform 0.4s var(--ease); }
.logo:hover .cz-flag { transform: rotate(-4deg) scale(1.08); }
.logo-cz-text { font-size: 0.66rem; font-weight: 700; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); white-space: nowrap; }
.logo-sub { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--khaki); white-space: nowrap; }

.search-field {
  flex: 1; max-width: 560px; display: flex; align-items: center; gap: 0.7rem; height: 46px; padding: 0 0.6rem 0 1rem;
  border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--bg-alt); color: var(--muted); font-size: 0.93rem; text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.search-field span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-field:hover { border-color: var(--text); background: #fff; }
.search-field svg { font-size: 1.1rem; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.search-mobile { display: none; }
.cart-btn { display: flex; align-items: center; gap: 0.7rem; height: 46px; padding: 0 1rem 0 0.75rem; border-radius: var(--r-sm); transition: background 0.2s; }
.cart-btn:hover { background: var(--bg-alt); }
.cart-icon { position: relative; font-size: 1.45rem; display: grid; }
.cart-btn.bump .cart-icon { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.2); } }
.cart-count {
  position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 700; display: grid; place-items: center;
  transform: scale(0); transition: transform 0.25s var(--ease);
}
.cart-count.show { transform: scale(1); }
.cart-label { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.cart-label small { font-size: 0.75rem; color: var(--muted); }
.cart-label b { font-size: 0.95rem; }

.catnav { border-top: 1px solid var(--line); }
/* položky rozložené po celé šířce; když se nevejdou (mobil), menu se posouvá do strany */
.catnav-inner { display: flex; justify-content: space-between; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.catnav-inner::-webkit-scrollbar { display: none; }
.catnav a {
  /* malé pevné mezery, ať se celé menu (i Rybník se štítkem) vejde na notebook od 1280 px; zbytek místa rozdělí space-between */
  flex: none; padding: 0.85rem 0.5rem; font-size: 0.92rem; font-weight: 500; color: var(--text-2);
  border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.catnav a:first-child { padding-left: 0; }
.catnav a:last-child { padding-right: 0; }
.catnav a:hover { color: var(--brand); }
.catnav a.on { color: var(--brand); border-color: var(--brand); }
.catnav a.cn-women { color: var(--women); }
.catnav a.cn-custom { color: var(--brand); font-weight: 600; }
.catnav a.cn-pond { display: inline-flex; align-items: center; gap: 0.4rem; color: #1d5a55; font-weight: 600; cursor: default; } /* zatím jen ukázka, nikam nevede */
.catnav a.cn-pond:hover { color: #1d5a55; }
/* štítek „Již brzy“ u rybníka, dokud rezervace neběží naostro */
.cn-soon { padding: 2px 7px; border-radius: 999px; background: #e2a93b; color: #fff; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.4; animation: cnSoon 2.4s ease-in-out infinite; }
@keyframes cnSoon { 0%, 100% { box-shadow: 0 0 0 0 rgba(226, 169, 59, 0.45); } 50% { box-shadow: 0 0 0 5px rgba(226, 169, 59, 0); } }
@media (prefers-reduced-motion: reduce) { .cn-soon { animation: none; } }

/* ── Hero: hladina ─────────────────────────────────── */
.hero-water {
  position: relative; overflow: hidden; min-height: min(86svh, 820px); display: flex; flex-direction: column; justify-content: center;
  padding: 90px 0 150px; color: #e8eae4;
  background: radial-gradient(120% 75% at 70% 0%, #1b2a23 0%, #0a0f0d 62%);
}
#lake { position: absolute; inset: 0; width: 100%; height: 100%; }
/* klikací místa v úvodní scéně (bójka, prut); polohu nastavuje hero.js */
.hero-spot { position: absolute; left: 0; top: 0; width: 44px; height: 30px; padding: 0; border: 0; border-radius: 12px; background: none; cursor: pointer; transform-origin: 0 50%; }
.hero-spot[data-quick] { height: 56px; }
.hero-spot:focus-visible { outline: 2px solid rgba(232, 234, 228, 0.7); outline-offset: 2px; }
.hero-tip {
  position: absolute; left: 0; top: 0; z-index: 3; translate: -50% -100%; pointer-events: none; white-space: nowrap;
  padding: 0.4rem 0.75rem; border-radius: 999px; border: 1px solid rgba(232, 234, 228, 0.18);
  background: rgba(10, 15, 13, 0.85); color: #e8eae4; font-size: 0.8rem; opacity: 0; transition: opacity 0.2s;
}
.hero-tip.show { opacity: 1; }
.hero-fog {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 15, 13, 0) 30%, rgba(10, 15, 13, 0.55) 100%),
    radial-gradient(60% 45% at 12% 45%, rgba(10, 15, 13, 0.85), transparent 70%);
}
.hero-water-inner { position: relative; pointer-events: none; }
.hero-water-inner a { pointer-events: auto; }
.eyebrow-light { display: flex; align-items: center; gap: 0.6rem; color: #9fac97; }
/* malá česká vlajka před „Česká výroba · od roku 1993“ */
.eyebrow-flag { width: 18px; height: 12px; flex: none; stroke: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 1px 3px rgba(0, 0, 0, 0.4); }
@keyframes blink { 50% { opacity: 0.35; } }
.hero-title {
  font-size: clamp(2.8rem, 8.6vw, 7.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 0.92;
  color: #f3f1ea; margin-bottom: 1.6rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.08s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.16s; }
@keyframes rise { to { transform: none; } }
.accent { background: linear-gradient(92deg, #f5f2ea 0%, #a3ad7c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; padding-right: 0.08em; }
.hero-water .hero-sub { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: #b8bfb7; max-width: 44ch; margin: 0 0 2.2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-meta { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; align-items: flex-end; gap: clamp(1.5rem, 5vw, 4rem); pointer-events: none; }
.hero-meta b { display: block; font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: #f3f1ea; letter-spacing: -0.02em; }
.hero-meta span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8d978f; }
.hero-hint { margin-left: auto; display: flex; align-items: center; gap: 0.6rem; padding-bottom: 6px; }
.hero-hint::before { content: ''; width: 28px; height: 1px; background: #8d978f; }

/* ── USP ───────────────────────────────────────────── */
.usp { border-block: 1px solid var(--line); background: #fff; }
.usp-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.usp-grid > div { display: flex; align-items: center; gap: 0.9rem; padding: 1.4rem 1rem; }
.usp-grid > div + div { border-left: 1px solid var(--line); }
.usp-grid > div:first-child { padding-left: 0; }
.usp-grid svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); stroke-width: 1.7; }
.usp-grid b { display: block; font-size: 0.95rem; }
.usp-grid span { font-size: 0.84rem; color: var(--muted); }

/* ── Kategorie ─────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 16px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; text-align: left;
  border-radius: 20px; background: var(--studio); overflow: hidden; isolation: isolate;
  padding: 1.3rem 1.4rem; transition: background 0.3s, box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.cat-card:hover { background: var(--studio-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card.big { grid-column: span 2; grid-row: span 2; padding: 1.8rem 2rem; }
.cat-card.wide { grid-column: span 2; }
.cat-text { position: relative; z-index: 2; display: block; }
.cat-text b { display: block; font-family: var(--font-head); font-size: 1.25rem; letter-spacing: -0.01em; }
.cat-card.big .cat-text b { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cat-text span { font-size: 0.86rem; color: var(--muted); }
.cat-card.big .cat-text span { font-size: 0.95rem; }
.cat-blurb { display: block; max-width: 30ch; margin-top: 0.5rem; color: var(--text-2) !important; }
.cat-arrow {
  position: absolute; z-index: 2; left: 1.4rem; bottom: 1.2rem; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--brand); font-size: 1.05rem; box-shadow: var(--shadow-sm);
  transition: background 0.3s, color 0.3s;
}
.cat-card.big .cat-arrow { left: 2rem; bottom: 1.8rem; width: 48px; height: 48px; }
.cat-card:hover .cat-arrow { background: var(--brand); color: #fff; }
.cat-card img {
  position: absolute; z-index: 1; right: 4%; bottom: 6%; width: 64%; height: 70%; object-fit: contain; object-position: right bottom;
  transition: transform 0.6s var(--ease);
}
.cat-card.big img { width: 86%; height: 64%; right: 4%; bottom: 5%; object-position: center bottom; }
.cat-card.wide img { width: 52%; height: 84%; }
.cat-card:hover img { transform: scale(1.05); }

/* ── Produktové karty ──────────────────────────────── */
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden;
  container-type: inline-size;
  transition: border-color 0.2s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  animation: cardIn 0.4s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 1 / 0.85; background: var(--studio); margin: 6px 6px 0; border-radius: 9px; display: grid; place-items: center; overflow: hidden; cursor: pointer; }
.card-media img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; transition: opacity 0.4s, transform 0.5s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img { transform: scale(1.04); }
.card:hover .card-media img.alt { opacity: 1; }
.card:hover .card-media img.has-alt:not(.alt) { opacity: 0; }
.card-eye {
  position: absolute; z-index: 2; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--text); font-size: 1rem; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(-4px); transition: opacity 0.25s, transform 0.25s var(--ease);
}
.card:hover .card-eye { opacity: 1; transform: none; }
.card-eye:hover { color: var(--brand); }
.placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 0.8rem;
  background: var(--bg-alt);
}
.placeholder svg { font-size: 1.8rem; margin: 0 auto 0.4rem; stroke-width: 1.4; display: block; }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2; padding: 3px 9px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 600; background: var(--brand); color: #fff;
}
.badge-accent { background: var(--accent); }

/* ── Akce a slevové kódy ───────────────────────────── */
.badge-sale { background: var(--accent); font-weight: 800; }
.was { margin-left: 0.35em; font-size: 0.72em; font-weight: 500; color: var(--muted); text-decoration-thickness: 1px; }
.is-sale { color: var(--accent); }
.card-foot .add { white-space: nowrap; } /* u akce je cena delší, tlačítko se nesmí zalomit */
.sale-left { display: block; margin-top: 0.15rem; font-size: 0.76rem; font-weight: 600; color: var(--accent); }
.pd-sale { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.7rem; margin-top: -0.4rem; font-size: 0.86rem; font-weight: 600; color: var(--accent); }
.pd-sale .badge { position: static; }
.pd-sale small { flex-basis: 100%; font-weight: 400; font-size: 0.76rem; color: var(--muted); }
.coupon { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line-2); }
.coupon-form { display: flex; gap: 0.5rem; }
.coupon-form input { flex: 1; min-width: 0; height: 42px; padding: 0 0.85rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; text-transform: uppercase; }
.coupon-form input::placeholder { text-transform: none; }
.coupon-form .btn { height: 42px; }
.coupon-on { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0.8rem; border-radius: var(--r-sm); background: var(--brand-soft); font-size: 0.88rem; }
.coupon-on span { flex: 1; }
.coupon-on > b { color: var(--accent); white-space: nowrap; }
.coupon-on button { font-size: 0.8rem; color: var(--muted); text-decoration: underline; }
.coupon-err { display: block; margin-top: 0.4rem; font-size: 0.8rem; color: var(--accent); }
.co-discount { color: var(--accent) !important; }
.co-error { margin: 0.8rem 0 0; padding: 0.6rem 0.8rem; border-radius: var(--r-sm); background: #fbe9e7; color: var(--accent); font-size: 0.88rem; }
.badge-women { background: var(--women); }
.badge-3d { left: auto; right: 10px; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.card-media .badge-3d { top: auto; bottom: 10px; }
.card-body { padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.card-cat { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.card-name {
  font-weight: 600; font-size: 0.97rem; line-height: 1.35; cursor: pointer; margin: 0; font-family: var(--font); letter-spacing: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
.card-name:hover { color: var(--brand); }
.stock { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; font-weight: 500; color: var(--ok); }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: auto; padding-top: 0.4rem; }
.card-price { white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.card-price small { font-family: var(--font); font-weight: 500; font-size: 0.8rem; color: var(--muted); margin-right: 3px; }
.add { height: 40px; padding: 0 0.9rem; border-radius: var(--r-sm); background: var(--brand); color: #fff; font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.45rem; transition: background 0.2s; }
.add:hover { background: var(--brand-hover); }
.add svg { font-size: 1.05rem; }
.add.done { background: var(--ok); }
@container (max-width: 240px) {
  .card-foot { flex-wrap: wrap; }
  .add { width: 100%; justify-content: center; }
}
.empty { grid-column: 1 / -1; padding: 4rem 1rem; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line-2); border-radius: var(--r); }

/* ── Feature (JUMBO) ───────────────────────────────── */
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature-media { position: relative; border-radius: 22px; background: var(--studio); aspect-ratio: 4 / 3.1; display: grid; place-items: center; overflow: hidden; }
.feature-media img { width: 90%; max-height: 92%; object-fit: contain; }
.feature-media .badge { top: 16px; left: 16px; font-size: 0.8rem; padding: 5px 11px; }
.feature-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 1rem; }
.feature-copy .lead { margin-bottom: 1.6rem; }
.steps { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 0.6rem; }
.steps li { display: flex; align-items: center; gap: 0.9rem; }
.steps b { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 0.85rem; }
.steps b svg { font-size: 1.05rem; }
.steps strong { display: block; font-weight: 600; font-size: 0.97rem; }
.steps span { font-size: 0.88rem; color: var(--muted); }
.specs { margin: 0 0 1.8rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.specs div { padding: 0.8rem 1rem; }
.specs div + div { border-left: 1px solid var(--line); }
.specs dt { font-size: 0.76rem; color: var(--muted); }
.specs dd { margin: 0.1rem 0 0; font-weight: 600; font-size: 0.93rem; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.price-lg { font-family: var(--font-head); font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin-right: 0.75rem; }

/* ── Bójka v noci ──────────────────────────────────── */
.night { position: relative; overflow: hidden; background: #040605; color: #e8eae4; padding: clamp(80px, 10vw, 140px) 0; }
.night-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 32% 8%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 22%, #fff5 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 12%, #fff9 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 30%, #fff4 50%, transparent 51%),
    radial-gradient(1px 1px at 44% 34%, #fff3 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 40%, #fff4 50%, transparent 51%),
    linear-gradient(180deg, #070a12 0%, #040605 55%, #050807 100%);
}
.night-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.night h2 { color: #f3f1ea; font-size: clamp(2.2rem, 5vw, 4.2rem); letter-spacing: -0.035em; line-height: 1; }
.night .lead { color: #a9b1a9; margin: 1.4rem 0 2rem; max-width: 46ch; }
.night-specs { list-style: none; padding: 0; margin: 0 0 2.2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(232, 234, 228, 0.1); border-radius: var(--r); overflow: hidden; }
.night-specs li { background: #070a09; padding: 1.1rem 1.2rem; }
.night-specs b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: #f3f1ea; }
.night-specs span { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: #8d978f; }
.night .price-lg { color: #f3f1ea; }
.night-visual { position: relative; display: flex; flex-direction: column; gap: 14px; }

/* scéna: tyčová bójka na hladině, vzdaluje se podle posuvníku */
.buoy-scene { position: relative; }
.buoy-scene svg { display: block; width: 100%; height: auto; stroke: none; fill: none; overflow: hidden; }
.bs-glow { animation: bsPulse 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes bsPulse { 50% { opacity: 0.55; transform: scale(0.88); } }
.bs-bob, .bs-bob-r { transform-box: fill-box; animation: bob 4.2s ease-in-out infinite; }
.bs-bob { transform-origin: 50% 100%; }
.bs-bob-r { transform-origin: 50% 0%; animation-name: bobR; }
/* světlo se otáčí kolem paty tyče (0,0), stejně jako .bs-bob */
.bs-bob-light { transform-box: view-box; transform-origin: 0 0; animation: bob 4.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(1.5px) rotate(0.8deg); } }
@keyframes bobR { 50% { transform: translateY(-1.5px) rotate(-0.8deg); } }
.bs-streak rect { animation: shimmer 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.bs-streak rect:nth-child(2n) { animation-delay: -0.6s; }
.bs-streak rect:nth-child(3n) { animation-delay: -1.1s; }
@keyframes shimmer { 50% { transform: scaleX(1.5); opacity: 0.08; } }
.bs-ring { transform-box: fill-box; transform-origin: center; animation: ring 3.6s ease-out infinite; opacity: 0; }
.bs-ring.r2 { animation-delay: 1.8s; }
@keyframes ring { 0% { transform: scale(0.4); opacity: 0.35; } 100% { transform: scale(2.4); opacity: 0; } }

/* počasí u bójky (js/bojka-pocasi.js): plátno s deštěm a mlhou přes scénu, přepínač nahoře v panelu s posuvníkem */
.bs-weather { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* v mlze se tyč ztratí a odraz světla na vodě zeslábne; opacity na vnitřních skupinách, vnější nese útlum podle vzdálenosti (app.js) */
#bsPoleG > g, #bsReflect > g { transition: opacity 1s ease; }
.buoy-scene.is-fog #bsPoleG > g { opacity: 0.08; }
.buoy-scene.is-fog #bsReflect > .bs-bob-r { opacity: 0.05; }
.buoy-scene.is-fog #bsReflect > .bs-streak { opacity: 0.45; }
@media (prefers-reduced-motion: reduce) { #bsPoleG > g, #bsReflect > g { transition: none; } }
.weather { grid-column: 1 / -1; display: grid; gap: 0.5rem; padding-bottom: 1rem; margin-bottom: 0.3rem; border-bottom: 1px solid rgba(232, 234, 228, 0.1); }
.weather-pick { display: flex; align-items: center; gap: 4px; }
.weather-label { margin-right: auto; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8d978f; }
.weather-pick button { height: 32px; padding: 0 0.95rem; border-radius: 999px; border: 1px solid rgba(232, 234, 228, 0.14); font-size: 0.85rem; font-weight: 600; color: #c9cfc8; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.weather-pick button:hover { color: #fff; border-color: rgba(232, 234, 228, 0.3); }
.weather-pick button[aria-pressed="true"] { background: #f3f1ea; border-color: #f3f1ea; color: #0a0e0c; }
/* výšku podle nejdelšího textu dopočítá js/bojka-pocasi.js; 3em je jen záloha bez skriptu */
.weather-note { margin: 0; min-height: 3em; font-size: 0.84rem; line-height: 1.5; color: #a9b1a9; }
/* ve dvou sloupcích panel zajede do spodní, vytrácející se části scény, ať lícuje s textem vlevo */
@media (min-width: 901px) {
  .night-visual .distance { margin-top: -110px; }
  .night-inner { align-items: end; } /* spodek panelu ve stejné výšce jako tlačítka vlevo */
}

.distance {
  position: relative; z-index: 2; padding: 1.4rem; border-radius: var(--r-lg); border: 1px solid rgba(232, 234, 228, 0.12);
  background: rgba(10, 14, 12, 0.7); backdrop-filter: blur(12px);
  display: grid; grid-template-columns: 1fr auto; gap: 0.6rem 1rem; align-items: baseline;
}
.distance label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8d978f; }
.distance output { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: #ff8a80; }
.distance input { grid-column: 1 / -1; }
.distance-scale { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 0.75rem; color: #8d978f; }
.distance input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; outline: none; background: linear-gradient(90deg, var(--signal) var(--p, 30%), rgba(232, 234, 228, 0.18) var(--p, 30%)); }
.distance input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px var(--signal-soft); cursor: grab; }
.distance input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px var(--signal-soft); cursor: grab; }

/* ── Vlastní bazének (konfigurátor) ────────────────── */
.cfg { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cfg [hidden] { display: none !important; }
.cfg-stage { position: sticky; top: 140px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(90% 80% at 50% 35%, #fdfcf9 0%, var(--studio) 72%); }
.cfg-canvas { padding: 1.5rem 1rem 0.25rem; }
.cfg-canvas svg { display: block; width: 100%; height: auto; stroke: none; fill: none; touch-action: none; user-select: none; }
.cfg-draggable { cursor: grab; }
.cfg-canvas.dragging, .cfg-canvas.dragging .cfg-draggable { cursor: grabbing; }
.cfg-frame { stroke: rgba(255, 255, 255, 0); stroke-width: 1.5; stroke-dasharray: 5 4; transition: stroke 0.2s; }
.cfg-draggable:hover .cfg-frame, .dragging .cfg-frame { stroke: rgba(255, 255, 255, 0.85); }
.cfg-stage-bar { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem 1rem; font-size: 0.85rem; color: var(--muted); }
.cfg-hint { text-align: right; }
.cfg-panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem; display: grid; gap: 1.35rem; }
.cfg-panel fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.cfg-panel legend { display: flex; align-items: center; gap: 0.5rem; width: 100%; padding: 0; margin-bottom: 0.7rem; font-weight: 600; font-size: 0.95rem; }
.cfg-panel legend i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 0.74rem; }
.cfg-val { font-weight: 500; font-size: 0.85rem; color: var(--muted); }
.cfg-fee { margin-left: auto; font-size: 0.8rem; font-weight: 600; color: var(--khaki); }
.cfg-sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cfg-sizes button { padding: 0.65rem 0.5rem; border-radius: 10px; border: 1px solid var(--line-2); text-align: center; transition: border-color 0.2s, background 0.2s; }
.cfg-sizes button b { display: block; font-size: 0.92rem; }
.cfg-sizes button span { font-size: 0.8rem; color: var(--muted); }
.cfg-sizes button.on { border: 2px solid var(--brand); background: var(--brand-soft); padding: calc(0.65rem - 1px) calc(0.5rem - 1px); }
.cfg-models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cfg-tech { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0.6rem; }
.cfg-dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 0.75rem; }
.cfg-dims label { display: grid; gap: 0.3rem; font-size: 0.8rem; color: var(--muted); }
.cfg-dims label span { display: flex; align-items: center; gap: 0.35rem; color: var(--text-2); }
.cfg-dims input { width: 100%; min-width: 0; height: 42px; padding: 0 0.6rem; border-radius: 10px; border: 1px solid var(--line-2); outline: none; font: inherit; }
.cfg-dims input:focus { border-color: var(--brand); }
.cfg-dims p { grid-column: 1 / -1; margin: 0; font-size: 0.78rem; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.sw:hover { transform: scale(1.08); }
.sw.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand); }
.sw-custom { background: conic-gradient(#e53935, #fdd835, #43a047, #00acc1, #3949ab, #d81b60, #e53935); overflow: hidden; }
.sw-custom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
#cfgTextColors .sw { width: 28px; height: 28px; }
.cfg-tools label.sw { flex: none; min-width: 0; display: block; }
.upload { display: flex; align-items: center; gap: 0.7rem; min-height: 48px; padding: 0.6rem 1rem; border-radius: 10px; border: 1px dashed var(--line-2); color: var(--text-2); font-size: 0.9rem; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.upload:hover { border-color: var(--brand); background: var(--brand-soft); }
.upload input { display: none; }
.upload svg { font-size: 1.15rem; color: var(--brand); }
.upload span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfg-tools { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin-top: 0.75rem; }
.cfg-tools label { flex: 1; min-width: 160px; display: grid; gap: 0.35rem; font-size: 0.8rem; color: var(--muted); }
.cfg-tools input[type="range"] { width: 100%; accent-color: var(--brand); }
.cfg-panel input[type="text"] { width: 100%; height: 46px; padding: 0 0.9rem; border-radius: 10px; border: 1px solid var(--line-2); outline: none; text-transform: uppercase; letter-spacing: 0.04em; }
.cfg-panel input[type="text"]:focus { border-color: var(--brand); }
.cfg-panel textarea { display: block; width: 100%; min-height: 86px; padding: 0.7rem 0.9rem; border-radius: 10px; border: 1px solid var(--line-2); outline: none; resize: vertical; font: inherit; font-size: 0.92rem; line-height: 1.45; }
.cfg-panel textarea:focus { border-color: var(--brand); }
.cfg-note-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; font-size: 0.78rem; color: var(--muted); }
.link-btn { font-size: 0.85rem; color: var(--accent); text-decoration: underline; }
.cfg-summary { display: grid; gap: 0.8rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.cfg-summary dl { margin: 0; display: grid; gap: 0.35rem; font-size: 0.88rem; }
.cfg-summary dl div { display: flex; justify-content: space-between; gap: 1rem; }
.cfg-summary dt { color: var(--text-2); }
.cfg-summary dd { margin: 0; font-weight: 600; white-space: nowrap; }
.cfg-total { display: flex; justify-content: space-between; align-items: baseline; }
.cfg-total span { color: var(--muted); }
.cfg-total b { font-family: var(--font-head); font-size: 1.7rem; }
.cfg-price-note { margin: 0; padding: 0.6rem 0.8rem; border-radius: 10px; background: var(--brand-soft); color: var(--text-2); font-size: 0.84rem; line-height: 1.45; }
.fine { margin: 0; font-size: 0.8rem; color: var(--muted); text-align: center; }

/* ── Obchod ────────────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2rem; align-items: start; }
.shop-main { min-width: 0; }
.sidebar { position: sticky; top: 140px; }
.sidebar h4 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; font-family: var(--font); }
.side-cats { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.side-cats button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0.8rem; border-radius: var(--r-sm);
  font-size: 0.94rem; color: var(--text-2); text-align: left; transition: background 0.15s, color 0.15s;
}
.side-cats button:hover { background: #fff; color: var(--text); }
.side-cats button.on { background: #fff; color: var(--brand); font-weight: 600; box-shadow: var(--shadow-sm), inset 3px 0 0 var(--brand); }
.side-cats small { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.side-note { padding: 1.1rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); font-size: 0.9rem; }
.side-note p { margin: 0.2rem 0 0.6rem; color: var(--muted); }
.side-note a { font-weight: 600; color: var(--brand); }
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.result-count { margin: 0.3rem 0 0; font-size: 0.9rem; color: var(--muted); }
.shop-tools { display: flex; gap: 0.5rem; }
.filter-input { display: flex; align-items: center; gap: 0.5rem; height: 42px; padding: 0 0.8rem; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: #fff; color: var(--muted); }
.filter-input:focus-within { border-color: var(--text); }
.filter-input input { border: 0; outline: none; background: none; width: 170px; color: var(--text); font-size: 0.92rem; }
select {
  height: 42px; padding: 0 2.2rem 0 0.9rem; border-radius: var(--r-sm); border: 1px solid var(--line-2); font-size: 0.92rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236a726c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.7rem center / 14px;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.chips { display: none; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 1rem; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 36px; padding: 0 0.9rem; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 0.86rem; color: var(--text-2); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ── O nás ─────────────────────────────────────────── */
.story { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.story h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.pillars b { display: block; margin-bottom: 0.3rem; font-size: 0.98rem; }
.pillars span { font-size: 0.88rem; color: var(--muted); }
.story-photo { margin: 0; } /* fotka má bílé pozadí, splyne se stránkou */
.story-photo img { display: block; width: 100%; height: auto; }

/* ── Carp Women ────────────────────────────────────── */
.women { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 24px; background: #fbf0f4; border: 1px solid #f1dbe4; }
.women .eyebrow { color: var(--women); }
.women h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.women p { color: var(--text-2); margin: 0 0 1.5rem; max-width: 40ch; }
.women-imgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.women-imgs button { aspect-ratio: 1; border-radius: var(--r); background: #fff; display: grid; place-items: center; overflow: hidden; border: 1px solid #f1dbe4; transition: box-shadow 0.3s, transform 0.3s var(--ease); }
.women-imgs button:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.women-imgs img { width: 88%; height: 88%; object-fit: contain; }

/* ── Kamenná prodejna ──────────────────────────────── */
.store { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 24px; background: var(--brand-soft); border: 1px solid #d6e2d8; }
.store h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.store-copy p:not(.eyebrow) { color: var(--text-2); margin: 0 0 1.5rem; max-width: 44ch; }
.store-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.store-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.store-info > div { padding: 1.25rem 1.4rem; border-radius: var(--r); background: #fff; border: 1px solid #d6e2d8; }
.store-info .store-contact { grid-column: 1 / -1; }
.store-info dt { margin-bottom: 0.35rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--khaki); }
.store-info dd { margin: 0; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.store-info a { color: var(--brand); }
.store-info a:hover { text-decoration: underline; }

/* ── Patička ───────────────────────────────────────── */
.footer { position: relative; margin-top: clamp(40px, 5vw, 70px); background: #17271d; color: rgba(255, 255, 255, 0.72); padding: 64px 0 28px; font-size: 0.93rem; }
.footer-scene { stroke: none; position: absolute; left: 0; bottom: calc(100% - 1px); width: 100%; height: clamp(50px, 6vw, 90px); display: block; }
.footer-deco { position: absolute; display: block; width: auto; fill: #17271d; stroke: none; pointer-events: none; }
.footer-reeds { left: max(8px, 3vw); bottom: calc(100% - 12px); height: clamp(90px, 10vw, 150px); }
.footer-reeds-r { left: auto; right: max(8px, 3vw); transform: scaleX(-1); height: clamp(70px, 7.5vw, 112px); }
.footer-deco .reed-stem { fill: none; stroke: #17271d; stroke-width: 2.4; }
/* spodek kapra (kruhy na vodě) leží na tmavé přední vlně, tělo nad světlou hladinou */
.footer-carp { left: 60%; bottom: calc(100% + clamp(9px, 1.1vw, 17px)); height: clamp(62px, 7.5vw, 116px); }
.footer-carp .carp-line { fill: none; stroke: #b6c4a6; stroke-width: 1.3; }
.footer-carp .carp-eye { fill: #b6c4a6; }
.footer-carp .carp-barbel { fill: none; stroke: #17271d; stroke-width: 1.4; stroke-linecap: round; }
.footer-carp .carp-splash { fill: #6f8a6c; }
.footer-carp .carp-ripple { fill: none; stroke: #b6c4a6; stroke-width: 2.2; stroke-linecap: round; opacity: 0.7; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-brand p { max-width: 30ch; margin-top: 1rem; }
.footer h4 { color: #fff; font-family: var(--font); font-size: 0.9rem; font-weight: 600; letter-spacing: 0; margin-bottom: 0.9rem; }
.footer-top > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-top a:not(.logo):hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: 0.84rem; color: rgba(255, 255, 255, 0.5); }

/* ── Košík ─────────────────────────────────────────── */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(17, 24, 20, 0.45); opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: #fff; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; transform: translateX(105%); transition: transform 0.4s var(--ease);
}
.drawer.show { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.3rem; }
.ship-bar { padding: 1rem 1.25rem; background: var(--bg-alt); }
.ship-bar p { margin: 0 0 0.5rem; font-size: 0.88rem; color: var(--text-2); }
.ship-track { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.ship-fill { height: 100%; width: 0; background: var(--khaki); border-radius: 6px; transition: width 0.6s var(--ease); }
.ship-fill.full { background: var(--ok); }
.drawer-body { flex: 1; overflow-y: auto; padding: 0.25rem 1.25rem; }
.line-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item .thumb { position: relative; width: 72px; height: 60px; border-radius: var(--r-sm); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.line-item .thumb img { width: 88%; height: 88%; object-fit: contain; }
.line-item .thumb.thumb-custom { background: var(--studio); }
.line-item .thumb.thumb-custom img { width: 100%; height: 100%; mix-blend-mode: normal; filter: none; }
.line-item .nm { font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
.line-item .var { font-size: 0.8rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; margin-top: 0.5rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--text-2); font-size: 1rem; }
.qty button:hover { background: var(--bg-alt); }
.qty span { min-width: 26px; text-align: center; font-size: 0.88rem; font-weight: 600; }
.line-item .pr { text-align: right; font-weight: 700; white-space: nowrap; }
.line-item .rm { display: block; margin: 0.5rem 0 0 auto; font-size: 0.8rem; color: var(--muted); text-decoration: underline; }
.line-item .rm:hover { color: var(--accent); }
.cart-empty { text-align: center; padding: 3.5rem 1rem; color: var(--muted); }
.cart-empty svg { font-size: 2.6rem; stroke-width: 1.3; margin: 0 auto 1rem; display: block; }
.drawer-foot { padding: 1.1rem 1.25rem 1.25rem; border-top: 1px solid var(--line); display: grid; gap: 0.9rem; }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total span { color: var(--muted); font-size: 0.92rem; }
.total b { font-family: var(--font-head); font-size: 1.5rem; }
.checkout { display: grid; gap: 0.6rem; padding: 1rem 0; }
.checkout h4 { font-family: var(--font); font-size: 0.85rem; font-weight: 600; margin-top: 0.6rem; }
.back-link { justify-self: start; font-size: 0.88rem; color: var(--brand); font-weight: 600; }
.opt { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; border-radius: var(--r-sm); border: 1px solid var(--line-2); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.opt input { accent-color: var(--brand); }
.opt span { flex: 1; font-size: 0.92rem; }
.opt small { color: var(--muted); font-size: 0.82rem; }
.opt .opt-note { display: inline-block; margin-top: 2px; line-height: 1.35; }
.co-sum { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1rem; margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--text-2); }
.co-sum b { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.co-terms { margin: 0.9rem 0 0; font-size: 0.8rem; line-height: 1.45; color: var(--muted); }
.co-terms a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.success { text-align: center; padding: 3rem 0.5rem; }
.success .check { width: 72px; height: 72px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 2rem; }
.success .check svg { stroke-width: 2.6; }
.success p { color: var(--muted); }

/* ── Detail produktu ───────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; background: rgba(17, 24, 20, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.modal.show { opacity: 1; pointer-events: auto; }
.modal-card {
  position: relative; width: min(1040px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; overflow-x: hidden; border-radius: var(--r-lg); background: #fff;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); box-shadow: var(--shadow-lg);
  transform: translateY(16px); transition: transform 0.35s var(--ease);
}
.modal.show .modal-card { transform: none; }
.modal-card > .icon-btn { position: absolute; top: 12px; right: 12px; z-index: 3; background: #fff; border: 1px solid var(--line); }
.gallery { padding: 1.25rem; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--line); }
.gallery [hidden] { display: none !important; }
.gallery-main { position: relative; flex: 1; min-height: 360px; display: grid; place-items: center; overflow: hidden; cursor: zoom-in; border-radius: var(--r); }
.gallery-main img { width: 94%; max-height: 500px; object-fit: contain; transition: transform 0.25s; transform-origin: var(--ox, 50%) var(--oy, 50%); }
.gallery-main.zoom img { transform: scale(2); }
.thumbs { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; scrollbar-width: thin; }
.thumbs button { flex: none; width: 76px; height: 64px; border-radius: var(--r-sm); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; transition: border-color 0.2s; scroll-snap-align: center; }
/* šipky a počítadlo galerie v detailu produktu */
.g-nav {
  position: absolute; top: 50%; z-index: 2; translate: 0 -50%; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.25rem; color: var(--text); cursor: pointer;
  background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(17, 24, 20, 0.12);
  opacity: 0; transition: opacity 0.2s, transform 0.2s;
}
.g-nav.prev { left: 10px; }
.g-nav.next { right: 10px; }
.g-nav:hover { transform: scale(1.06); }
.gallery-main:hover .g-nav, .g-nav:focus-visible { opacity: 1; }
@media (hover: none) { .g-nav { opacity: 0.9; } }
.g-count { position: absolute; right: 12px; bottom: 10px; z-index: 2; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.75rem; color: #fff; background: rgba(17, 24, 20, 0.6); pointer-events: none; }
.thumbs button.on { border: 2px solid var(--brand); }
.thumbs img { width: 88%; height: 88%; object-fit: contain; }
.pd { padding: 2rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: 1.1rem; }
.pd h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); padding-right: 2.5rem; }
.pd-price { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 1rem; }
.pd-price b { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; }
.pd p { margin: 0; color: var(--text-2); }
.pd dl { margin: 0; display: grid; grid-template-columns: auto 1fr; font-size: 0.9rem; }
.pd dt, .pd dd { margin: 0; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.pd dt { color: var(--muted); padding-right: 1.5rem; }
.pd dd { font-weight: 500; }
.variant-label { font-size: 0.85rem; font-weight: 600; }
.variant-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.5rem; }
.variant-pills button { height: 38px; padding: 0 0.9rem; border-radius: var(--r-sm); border: 1px solid var(--line-2); font-size: 0.88rem; }
.variant-pills button.on { border: 2px solid var(--brand); color: var(--brand); font-weight: 600; padding: 0 calc(0.9rem - 1px); }
.variant-pills .swatch { display: inline-block; width: 14px; height: 14px; margin-right: 0.45rem; border-radius: 50%; vertical-align: -2px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.pd-buy { display: flex; gap: 0.6rem; margin-top: auto; padding-top: 0.5rem; }
.pd-buy .qty { margin: 0; }
.pd-buy .qty button { width: 40px; height: 48px; }
.pd-buy .btn { flex: 1; }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.perks div { padding: 0.75rem; border-radius: var(--r-sm); background: var(--bg-alt); font-size: 0.78rem; color: var(--muted); }
.perks b { display: block; color: var(--text); font-size: 0.84rem; }
.pd-share { display: inline-flex; align-items: center; gap: 0.45rem; align-self: flex-start; padding: 0.2rem 0; font-size: 0.84rem; font-weight: 600; color: var(--brand); }
.pd-share:hover { text-decoration: underline; }
.custom-cta { display: flex; align-items: center; gap: 0.8rem; width: 100%; padding: 0.8rem 1rem; border-radius: var(--r); border: 1px dashed var(--brand); text-align: left; font-size: 0.85rem; color: var(--text-2); transition: background 0.2s; }
.custom-cta:hover { background: var(--brand-soft); }
.custom-cta > span:first-child { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 1rem; }
.custom-cta > span:nth-child(2) { flex: 1; }
.custom-cta b { display: block; color: var(--text); font-size: 0.92rem; }
.custom-cta > svg { color: var(--brand); }

/* 3D model a AR */
.view-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--bg-alt); align-self: flex-start; }
.view-toggle button { height: 34px; padding: 0 0.9rem; border-radius: 7px; font-size: 0.86rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 0.4rem; }
.view-toggle button.on { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.model-box { position: relative; flex: 1; min-height: 380px; border-radius: var(--r); background: var(--studio); overflow: hidden; }
.model-box model-viewer { width: 100%; height: 100%; min-height: 380px; --poster-color: transparent; }
.model-hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font-size: 0.78rem; color: var(--muted); background: rgba(255, 255, 255, 0.85); padding: 4px 10px; border-radius: 999px; pointer-events: none; white-space: nowrap; }
.ar-btn { position: absolute; right: 12px; bottom: 12px; height: 40px; padding: 0 1rem; border-radius: var(--r-sm); background: var(--brand); color: #fff; font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.45rem; }

/* ── Vyhledávání ───────────────────────────────────── */
.palette { position: fixed; inset: 0; z-index: 96; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; background: rgba(17, 24, 20, 0.45); opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.palette.show { opacity: 1; pointer-events: auto; }
.palette-card { width: min(640px, 100%); border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: var(--shadow-lg); transform: translateY(-8px); transition: transform 0.3s var(--ease); }
.palette.show .palette-card { transform: none; }
.palette-input { display: flex; align-items: center; gap: 0.75rem; padding: 0 1.1rem; height: 60px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 1.15rem; }
.palette-input input { flex: 1; border: 0; outline: none; background: none; font-size: 1.02rem; color: var(--text); }
.palette-list { list-style: none; margin: 0; padding: 8px; max-height: 55vh; overflow-y: auto; }
.palette-list li { display: flex; align-items: center; gap: 0.85rem; padding: 0.5rem 0.65rem; border-radius: var(--r-sm); cursor: pointer; }
.palette-list li.on { background: var(--bg-alt); }
.palette-list .pt { position: relative; width: 52px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: 6px; display: grid; place-items: center; overflow: hidden; background: #fff; }
.palette-list .pt img { width: 88%; height: 88%; object-fit: contain; }
.palette-list .pt .placeholder svg { font-size: 1rem; margin: 0; }
.palette-list .pn { flex: 1; font-size: 0.92rem; }
.palette-list .pn small { display: block; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.palette-list .pp { font-weight: 700; font-size: 0.92rem; white-space: nowrap; }
.palette-list mark { background: #fff1b8; color: inherit; border-radius: 2px; }
.palette-empty { padding: 2rem; text-align: center; color: var(--muted); }

/* ── Toast ─────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 200%); visibility: hidden;
  display: flex; align-items: center; gap: 0.9rem; padding: 0.6rem 0.6rem 0.6rem 1rem; border-radius: var(--r);
  background: var(--text); color: #fff; font-size: 0.9rem; font-weight: 500; box-shadow: var(--shadow-lg);
  width: max-content; max-width: calc(100vw - 32px); /* bez width by ho left: 50 % na mobilu zúžil na půl obrazovky */
  transition: transform 0.35s var(--ease), visibility 0s 0.35s;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform 0.35s var(--ease); }
.toast svg { color: #7fd16a; font-size: 1.1rem; stroke-width: 2.4; }
.toast button { height: 34px; padding: 0 0.9rem; border-radius: var(--r-sm); background: #fff; color: var(--text); font-weight: 600; font-size: 0.84rem; flex: none; }

/* Fotky ze Shoptetu mají šedobílé pozadí — vybělit, ať splynou se světlým podkladem */
.cat-card img, .card-media img, .feature-media img, .gallery-main img, .thumbs img,
.line-item .thumb img, .palette-list .pt img, .women-imgs img {
  mix-blend-mode: multiply;
  filter: brightness(1.09) contrast(1.05);
}

/* ── Nájezdy sekcí ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── Responzivita ──────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 > :nth-child(n + 7) { display: none; }
  .cat-grid { grid-auto-rows: 210px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 1.5rem; }
}
@media (max-width: 900px) {
  .topbar-inner > span { display: none; }
  .topbar-inner { justify-content: center; }
  .header-inner { gap: 1rem; height: 64px; }
  .search-field { display: none; }
  .search-mobile { display: grid; }
  .feature, .night-inner, .story, .women, .store, .cfg { grid-template-columns: minmax(0, 1fr); }
  .feature .feature-media { order: -1; }
  .cfg-stage { position: static; }
  .usp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usp-grid > div { padding: 1rem 0.5rem; }
  .usp-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .usp-grid > div:nth-child(-n + 4) { border-bottom: 1px solid var(--line); }
  .usp-grid > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 > :nth-child(n + 5) { display: none; }
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .chips { display: flex; }
  .modal-card { grid-template-columns: minmax(0, 1fr); }
  .gallery { border-right: 0; border-bottom: 1px solid var(--line); }
  .gallery-main { min-height: 260px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .topbar { display: none; }
  html { scroll-padding-top: 120px; }
  .store-info { grid-template-columns: minmax(0, 1fr); }
  .logo { gap: 0.55rem; }
  .logo-img { height: 50px; }
  .logo-cz { padding-left: 0.6rem; height: 30px; }
  .logo-cz-text { display: none; } /* na mobilu jen vlajka */
  .logo-sub { font-size: 0.54rem; letter-spacing: 0.16em; }
  .cart-label { display: none; }
  .cart-btn { padding: 0 0.6rem; }
  .hero-water { padding: 70px 0 130px; min-height: 0; }
  .hero-hint { display: none; }
  .hero-meta { gap: 1.4rem; }
  .hero-cta .btn { flex: 1; }
  .grid, .cat-grid { gap: 10px; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 > :nth-child(n + 5) { display: none; }
  .card-body { padding: 0.7rem 0.75rem 0.8rem; }
  .card-name { font-size: 0.88rem; }
  .card-price { font-size: 1.05rem; }
  .card-foot { flex-wrap: wrap; }
  .add { width: 100%; justify-content: center; height: 38px; }
  .stock { font-size: 0.76rem; }
  .card-eye { display: none; }
  .cat-grid { grid-auto-rows: 170px; }
  .cat-card, .cat-card.big { padding: 0.9rem 1rem; }
  .cat-card.big { grid-row: span 1; }
  .cat-text b { font-size: 1rem; }
  .cat-card.big .cat-text b { font-size: 1.4rem; }
  .cat-blurb { display: none !important; }
  .cat-arrow, .cat-card.big .cat-arrow { display: none; }
  .cat-card img { width: 78%; height: 62%; }
  .cat-card.big img, .cat-card.wide img { width: 58%; height: 80%; right: 3%; object-position: right bottom; }
  .specs { grid-template-columns: minmax(0, 1fr); }
  .specs div + div { border-left: 0; border-top: 1px solid var(--line); }
  .price-lg { width: 100%; }
  .buy-row .btn { flex: 1; }
  .shop-tools { width: 100%; }
  .filter-input { flex: 1; }
  .filter-input input { width: 100%; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .cfg-panel { padding: 1.1rem; }
  .cfg-sizes b { font-size: 0.82rem; }
  .cfg-hint { display: none; }
  .perks { grid-template-columns: minmax(0, 1fr); }
  .pd { padding: 1.4rem 1.1rem; }
  .footer-top { grid-template-columns: 1fr; }
}
/* nízké obrazovky notebooků (1366×768, 1536×864): úvod vyplní okno pod hlavičkou a tlačítka jsou vidět bez posouvání */
@media (min-width: 901px) and (max-height: 900px) {
  .hero-water { min-height: max(520px, calc(100svh - 166px)); padding: clamp(32px, 5vh, 90px) 0 clamp(32px, 5vh, 60px); }
  .hero-title { font-size: clamp(2.8rem, min(8.6vw, 10vh), 7.8rem); margin-bottom: 1.2rem; }
  .hero-water .hero-sub { margin-bottom: 1.6rem; }
  /* čísla pod tlačítky v toku stránky, jinak by na ně při malé výšce najela */
  .hero-water .hero-meta { position: relative; bottom: auto; margin-top: clamp(1.2rem, 4vh, 2.2rem); }
}
/* velké monitory (QHD 2560×1440 a víc): širší obsah a větší písmo (texty jsou v rem), ať stránka není úzký pruh uprostřed */
@media (min-width: 1800px) {
  html { font-size: 106.25%; }
  .container { max-width: 1480px; }
  .modal-card { width: min(1160px, 100%); }
}
@media (min-width: 2200px) {
  html { font-size: 118.75%; scroll-padding-top: 150px; }
  .container { max-width: 1720px; }
  .header-inner { height: 88px; }
  .logo-img { height: 70px; }
  .grid, .cat-grid { gap: 20px; }
  .cat-grid { grid-auto-rows: 290px; }
  .hero-water { min-height: min(86svh, 1060px); }
  .modal-card { width: min(1320px, 100%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── Zákaznický účet ───────────────────────────────── */
.acc-btn.logged .cart-icon { color: var(--brand); }
.acc-btn.logged .cart-label b { color: var(--brand); }
.account { position: fixed; inset: 0; z-index: 97; display: grid; place-items: center; padding: 16px; background: rgba(17, 24, 20, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.account.show { opacity: 1; pointer-events: auto; }
.acc-card {
  position: relative; width: min(480px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; border-radius: var(--r-lg); background: #fff;
  box-shadow: var(--shadow-lg); transform: translateY(16px); transition: transform 0.35s var(--ease);
}
.account.show .acc-card { transform: none; }
.acc-close { position: absolute; top: 12px; right: 12px; }
.acc-body { padding: 2rem 1.75rem 1.25rem; display: grid; gap: 1rem; }
.acc-body h3 { font-size: 1.6rem; padding-right: 2.5rem; }
.acc-lead { margin: -0.5rem 0 0; color: var(--muted); font-size: 0.93rem; }
.acc-form { display: grid; gap: 0.85rem; }
.acc-field { display: grid; gap: 0.35rem; font-size: 0.86rem; font-weight: 600; color: var(--text-2); }
.acc-input { position: relative; display: block; }
.acc-input input, .acc-input select {
  width: 100%; height: 46px; padding: 0 0.9rem; border-radius: 10px; border: 1px solid var(--line-2); background: #fff;
  font-size: 0.95rem; font-weight: 400; color: var(--text); outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.acc-input input:focus, .acc-input select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.acc-input input[readonly] { background: var(--bg-alt); color: var(--muted); }
.acc-input input[aria-invalid="true"] { border-color: var(--accent); }
.acc-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; color: var(--muted); border-radius: 8px; }
.acc-eye:hover { color: var(--text); background: var(--bg-alt); }
.acc-input:has(.acc-eye) input { padding-right: 2.8rem; }
.acc-err { min-height: 0; font-size: 0.8rem; font-weight: 500; color: var(--accent); }
.acc-err:empty { display: none; }
.acc-hint { margin-top: -0.6rem; font-size: 0.78rem; color: var(--muted); }
.acc-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: -0.4rem; }
.acc-strength i { height: 4px; border-radius: 4px; background: var(--line); transition: background 0.2s; }
.acc-strength[data-score="1"] i.on { background: var(--accent); }
.acc-strength[data-score="2"] i.on { background: #d9902b; }
.acc-strength[data-score="3"] i.on, .acc-strength[data-score="4"] i.on { background: var(--ok); }
.acc-check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.86rem; color: var(--text-2); cursor: pointer; }
.acc-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.acc-check a { color: var(--brand); text-decoration: underline; }
.acc-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0.75rem; }
.acc-switch { margin: 0; text-align: center; font-size: 0.9rem; color: var(--muted); }
.acc-switch button { color: var(--brand); font-weight: 600; text-decoration: underline; }
.acc-ok { margin: 0; padding: 0.7rem 0.9rem; border-radius: 10px; background: #e8f5ea; color: #1f6b30; font-size: 0.88rem; font-weight: 500; }
.acc-demo { display: flex; gap: 0.5rem; align-items: center; margin: 0; padding: 0.8rem 1.75rem 1.1rem; font-size: 0.78rem; color: var(--muted); border-top: 1px solid var(--line); background: var(--bg-alt); }
.acc-hello { display: flex; align-items: center; gap: 0.9rem; }
.acc-hello h3 { font-size: 1.35rem; padding-right: 2.5rem; }
.acc-hello p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.88rem; }
.acc-avatar { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.acc-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--bg-alt); }
.acc-tabs button { flex: 1; height: 36px; border-radius: 7px; font-size: 0.84rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.acc-tabs button small { font-size: 0.72rem; margin-left: 2px; }
.acc-tabs button.on { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.acc-orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acc-orders li { padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 0.4rem; }
.acc-order-head { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; }
.acc-order-head span { color: var(--muted); font-size: 0.82rem; }
.acc-status { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: #e8f5ea; color: #1f6b30 !important; font-weight: 600; }
.acc-orders p { margin: 0; font-size: 0.86rem; color: var(--text-2); }
.acc-order-foot { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.82rem; color: var(--muted); }
.acc-order-foot b { color: var(--text); font-size: 0.95rem; }
.acc-empty { margin: 0; padding: 2rem 1rem; text-align: center; color: var(--muted); background: var(--bg-alt); border-radius: var(--r); }
.acc-logout { justify-self: start; font-size: 0.88rem; color: var(--accent); text-decoration: underline; }

/* údaje v pokladně */
.co-fields { display: grid; gap: 0.6rem; }
.co-fields .acc-row { gap: 0.6rem; }
.co-fields .acc-field { font-size: 0.8rem; }
.co-fields .acc-input input { height: 42px; font-size: 0.92rem; }
.co-login { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 0.9rem; border-radius: 10px; background: var(--brand-soft); font-size: 0.85rem; color: var(--text-2); }
.co-login button { font-weight: 600; color: var(--brand); text-decoration: underline; white-space: nowrap; }
.co-user { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text-2); }
.co-user .acc-avatar { width: 32px; height: 32px; font-size: 0.85rem; }
.success .order-no { display: inline-block; margin: 0.25rem 0 0.75rem; padding: 4px 12px; border-radius: 999px; background: var(--bg-alt); font-weight: 700; color: var(--text); }
@media (max-width: 1100px) {
  .acc-btn .cart-label, .contact-btn .cart-label { display: none; }
  .acc-btn, .contact-btn { padding: 0 0.6rem; }
}
@media (max-width: 600px) {
  .acc-body { padding: 1.6rem 1.2rem 1rem; }
  .acc-demo { padding: 0.8rem 1.2rem 1rem; }
  .acc-tabs button { font-size: 0.78rem; }
}

/* po objednávce převodem: QR Platba hned na stránce (js/app.js, payNowHtml) */
.pay-now { margin: 1.5rem auto 0; max-width: 320px; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-align: center; }
.pay-now h4 { margin: 0 0 0.8rem; font-size: 1rem; }
.pay-qr { width: 180px; margin: 0 auto; }
.pay-qr svg { display: block; width: 100%; height: auto; }
/* ikony webu mají obrys (svg { stroke }), QR kód ho mít nesmí, jinak se moduly slijí */
.pay-qr svg, .pay-qr svg * { stroke: none; }
.pay-now small { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 0.8rem; }
.pay-now dl { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; margin: 0.9rem 0 0; text-align: left; font-size: 0.9rem; }
.pay-now dt { color: var(--muted); }
.pay-now dd { margin: 0; text-align: right; font-weight: 700; color: var(--text); }

/* zpětná vazba – co vylepšit (js/feedback.js): odkaz v detailu produktu a dialog */
.pd-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.fb-dialog { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--r); background: #fff; color: var(--text); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.fb-dialog::backdrop { background: rgba(16, 22, 18, 0.55); }
.fb-form { position: relative; display: grid; gap: 0.9rem; padding: 1.6rem 1.5rem 1.4rem; }
.fb-form h3 { margin: 0; padding-right: 2.5rem; font-size: 1.3rem; }
.fb-close { position: absolute; top: 0.7rem; right: 0.7rem; }
.fb-lead { margin: -0.3rem 0 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.fb-field { display: grid; gap: 0.35rem; font-size: 0.86rem; font-weight: 600; color: var(--text-2); }
.fb-field small { font-weight: 400; color: var(--muted); }
.fb-field select, .fb-field input, .fb-field textarea { width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; font: inherit; font-weight: 400; color: var(--text); }
.fb-field textarea { resize: vertical; min-height: 110px; }
.fb-field select:focus, .fb-field input:focus, .fb-field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.fb-err { min-height: 0; color: var(--accent); font-size: 0.82rem; font-weight: 500; }
.fb-err:empty { display: none; }
.fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb-note { margin: 0; color: var(--muted); font-size: 0.78rem; text-align: center; }
.fb-note a { color: var(--brand); }
.fb-done { display: grid; gap: 0.8rem; justify-items: center; padding: 1rem 0 0.4rem; text-align: center; }
.fb-done h3 { padding: 0; }
.fb-done p { margin: 0; color: var(--muted); }
