/* =========================================================
   SPORTOVNÍ DESIGN E-SHOPU
   Barvy si snadno změníte v sekci :root níže.
   ========================================================= */
:root {
  --ink: #0b0f14;        /* téměř černá – hlavička, patička */
  --ink-2: #151b23;
  --ink-3: #252d38;
  --bg: #f3f4ef;         /* pozadí stránky */
  --paper: #ffffff;
  --line: #e1e4dc;
  --text: #11151b;
  --muted: #5b636e;
  --accent: #c8ff2e;     /* hlavní neonová limetková */
  --accent-d: #9fd400;
  --accent-ink: #0b0f14; /* text na limetkové */
  --hot: #ff5a1f;        /* oranžová pro slevy a oblečení */
  --ok: #17a058;
  --warn: #e08a00;
  --bad: #dc3545;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(11, 15, 20, .06), 0 8px 24px -12px rgba(11, 15, 20, .18);
  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-sport: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 28px; } }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.accent { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent-d); outline-offset: 2px; }

.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* ---------- Sportovní typografie ---------- */
.h-sport, .hero-title, .product-title, .logo-text, .world-name, .footer-h, .big-404 {
  font-family: var(--font-sport); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .01em;
}
.h-sport { font-size: clamp(1.9rem, 4vw, 2.8rem); position: relative; padding-left: 0; }
.h-sport::after { content: ''; display: block; width: 56px; height: 6px; margin-top: 10px; background: var(--accent); transform: skewX(-20deg); }
.section-dark .h-sport, .footer .h-sport { color: #fff; }

/* ---------- Tlačítka (zkosená = sportovní podpis) ---------- */
.btn {
  --b: var(--accent); --c: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.5em; border: 0; background: var(--b); color: var(--c); cursor: pointer;
  font-family: var(--font-sport); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .03em; font-size: 1.05rem;
  text-decoration: none; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background .15s, transform .15s; white-space: nowrap;
}
.btn:hover { background: var(--accent-d); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-lg { font-size: 1.2rem; padding: .85em 1.8em; }
.btn-sm { font-size: .95rem; padding: .55em 1.1em; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.btn-dark { --b: var(--ink); --c: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { --b: transparent; box-shadow: inset 0 0 0 2px var(--ink); clip-path: none; border-radius: var(--radius); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { --b: rgba(255,255,255,.08); --c: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); }
.btn-block { width: 100%; }
.btn-buy { flex: 1; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: var(--radius); }
.icon-btn:hover { background: rgba(127,127,127,.12); }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* ---------- Horní lišta a hlavička ---------- */
.announce { background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: .875rem; }
.announce .wrap { display: flex; justify-content: center; align-items: center; gap: .5em; padding-top: 7px; padding-bottom: 7px; text-align: center; }

.header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 16px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo-mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--accent); color: var(--ink); transform: skewX(-12deg); }
.logo-mark .ico { width: 22px; height: 22px; transform: skewX(12deg); fill: currentColor; }
.logo-text { font-size: 1.75rem; line-height: 1; }
.search { flex: 1; display: flex; max-width: 520px; margin-left: auto; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); overflow: hidden; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 14px; color: #fff; outline: none; }
.search input::placeholder { color: #8a93a0; }
.search button { border: 0; background: transparent; color: var(--accent); padding: 0 14px; cursor: pointer; }
.search:focus-within { border-color: var(--accent); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; text-decoration: none; font-weight: 600; border-radius: var(--radius); background: var(--ink-2); }
.cart-btn:hover { background: var(--ink-3); }
.cart-btn .ico { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--accent); color: var(--ink); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; color: #fff; }

.nav { background: var(--ink-2); border-top: 1px solid var(--ink-3); }
.nav-in { display: flex; align-items: stretch; gap: 4px; }
.nav-item { position: relative; }
.nav a { display: flex; align-items: center; gap: 8px; padding: 13px 14px; text-decoration: none; color: #dfe3e8; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav a .ico { color: var(--accent); }
.nav-item > a:hover, .nav-sale:hover { color: #fff; background: var(--ink-3); }
.nav-sale { margin-left: auto; color: var(--hot) !important; }
.nav-sale .ico { color: var(--hot) !important; }
.sub { position: absolute; left: 0; top: 100%; min-width: 240px; background: var(--paper); box-shadow: var(--shadow); border-top: 3px solid var(--accent); padding: 8px; display: none; z-index: 5; }
.sub a { color: var(--text); padding: 10px 12px; border-radius: 4px; }
.sub a:hover { background: var(--bg); }
.sub .sub-all { color: var(--muted); font-size: .875rem; }
.nav-item.has-sub:hover .sub, .nav-item.has-sub:focus-within .sub { display: block; }

@media (max-width: 900px) {
  .header-in { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .menu-toggle { display: inline-grid; margin-left: -10px; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .cart-btn { margin-left: auto; }
  .cart-label { display: none; }
  .logo-text { font-size: 1.45rem; }
  .nav { display: none; }
  .nav.open { display: block; max-height: calc(100vh - 120px); overflow: auto; }
  .nav-in { flex-direction: column; padding-top: 6px; padding-bottom: 10px; }
  .nav-sale { margin-left: 0; }
  .sub { position: static; display: block; box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 34px; }
  .sub a { color: #b9c0c9; padding: 7px 0; }
  .sub a:hover { background: none; color: #fff; }
}

/* ---------- Hlášky ---------- */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); margin: 16px 0; background: #eef4ff; border-left: 4px solid #3b82f6; }
.alert-success { background: #ecfbe1; border-color: var(--ok); }
.alert-error { background: #fdecee; border-color: var(--bad); }
.alert .ico { margin-top: 3px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero-stripes { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 58%, var(--accent) 58% 60%, transparent 60% 63%, rgba(200,255,46,.35) 63% 64%, transparent 64%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px),
    radial-gradient(1000px 500px at 85% 20%, #1f2a14 0%, transparent 60%);
}
.hero-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; min-height: 520px; padding-top: 56px; padding-bottom: 56px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.hero-title { font-size: clamp(3rem, 9vw, 6.6rem); line-height: .9; margin: .15em 0 .3em; }
.hero-text { font-size: 1.15rem; color: #c3c9d1; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual { position: relative; height: 380px; }
.hero-num { position: absolute; right: 8%; top: 4%; font-family: var(--font-sport); font-style: italic; font-weight: 800; font-size: 9rem; line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.22); }
.hero-num span { display: block; font-size: 1.4rem; -webkit-text-stroke: 0; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; margin-top: 8px; }
.hero-num-2 { top: 46%; right: 34%; }
.hero-num-2 span { color: var(--hot); }
.hero-badge { position: absolute; right: 2%; bottom: 0; display: flex; align-items: center; gap: 10px; background: var(--paper); color: var(--ink); padding: 14px 18px; font-weight: 600; line-height: 1.2; transform: rotate(-4deg); box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); }
.hero-badge .ico { width: 30px; height: 30px; color: var(--hot); }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; padding-bottom: 44px; }
  .hero-visual { display: none; }
  .hero-stripes { background: linear-gradient(115deg, transparent 0 78%, var(--accent) 78% 80%, transparent 80%), repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px); }
}

/* ---------- Dlaždice kategorií ---------- */
.worlds { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: -36px; position: relative; z-index: 2; }
.world { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 150px; padding: 22px; text-decoration: none; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s; }
.world::before { content: ''; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; background: var(--bg); transform: rotate(25deg); transition: background .2s; }
.world:hover { transform: translateY(-4px); }
.world:hover::before { background: var(--accent); }
.world-ico { position: relative; display: grid; place-items: center; width: 48px; height: 48px; background: var(--ink); color: var(--accent); transform: skewX(-10deg); margin-bottom: auto; }
.world-ico .ico { width: 26px; height: 26px; transform: skewX(10deg); }
.world-name { position: relative; font-size: 1.6rem; line-height: 1; margin-top: 18px; padding-right: 40px; }
.world-sub { position: relative; color: var(--muted); font-size: .9rem; padding-right: 40px; }
.world-go { position: absolute; right: 18px; bottom: 18px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .2s; }
.world:hover .world-go { transform: translateX(4px); }
.world-1 .world-ico, .world-3 .world-ico { color: var(--hot); }

/* ---------- Sekce ---------- */
.section { padding-top: 56px; padding-bottom: 56px; }
.section-sm { padding-top: 24px; padding-bottom: 48px; }
.section-dark { background: var(--ink); color: #fff; margin: 32px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.section-head p { color: var(--muted); max-width: 520px; margin: 0; }
.section-dark .link-more { color: var(--accent); }

/* ---------- Mřížka produktů a karta ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; color: var(--text); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(11,15,20,.35); }
.card:hover::after { transform: scaleX(1); }
.card-img { position: relative; display: block; aspect-ratio: 1; background: #f7f8f4; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.card-title { font-size: 1.05rem; font-weight: 600; line-height: 1.25; margin: 0; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-desc { font-size: .875rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.price-box { display: flex; flex-direction: column; line-height: 1.1; }
.price-box del { color: var(--muted); font-size: .85rem; }
.price { font-family: var(--font-sport); font-weight: 800; font-size: 1.45rem; white-space: nowrap; }
.price-sale { color: var(--hot); }
.btn-icon span { display: inline; }
@media (max-width: 520px) {
  .card-body { padding: 10px; }
  .card-desc { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .card-foot .btn { width: 100%; }
  .price { font-size: 1.25rem; }
}

/* Zástupný obrázek */
.ph { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 10px; position: relative; overflow: hidden; color: var(--ink); }
.ph::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(0,0,0,.04) 18px 20px); }
.ph .ico { width: 34%; height: 34%; stroke-width: 1.4; position: relative; }
.ph span { position: relative; font-family: var(--font-sport); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: .9rem; letter-spacing: .1em; opacity: .55; }
.ph-lime { background: linear-gradient(135deg, #e9ffb0, var(--accent)); }
.ph-orange { background: linear-gradient(135deg, #ffd5c2, #ff8a5c); }
.ph-green { background: linear-gradient(135deg, #d8f5e3, #8fd9ab); }

/* Štítky */
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--ink); color: #fff; transform: skewX(-10deg); }
.badge > * { transform: skewX(10deg); }
.badge .ico { width: 13px; height: 13px; }
.badge-akce { background: var(--hot); }
.badge-novinka { background: var(--accent); color: var(--ink); }
.badge-vegan, .badge-bio, .badge-bez-lepku, .badge-bez-laktozy { background: var(--ok); }

/* Sklad */
.stock { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 600; margin: 0; }
.stock .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent); }
.stock-in { color: var(--ok); }
.stock-low { color: var(--warn); }
.stock-out { color: var(--bad); }

/* ---------- Výpis kategorie ---------- */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 18px 0 28px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 760px; }
.crumbs { font-size: .875rem; color: var(--muted); padding: 14px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--text); }
.crumbs .sep { opacity: .5; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--bg); text-decoration: none; font-weight: 600; font-size: .9rem; border: 1px solid var(--line); }
.chip:hover { background: var(--accent); border-color: var(--accent); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.toolbar-form { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
select, input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], input[type=password], input[type=url], input:not([type]), textarea {
  border: 1px solid #cfd3cb; background: var(--paper); border-radius: var(--radius); padding: 10px 12px; width: 100%;
}
.toolbar select { width: auto; }
select:focus, input:focus, textarea:focus { outline: 2px solid var(--accent-d); outline-offset: 0; border-color: var(--accent-d); }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pagination a { min-width: 42px; height: 42px; display: grid; place-items: center; background: var(--paper); text-decoration: none; font-weight: 600; border-radius: var(--radius); }
.pagination a.active, .pagination a:hover { background: var(--ink); color: var(--accent); }
.empty { text-align: center; padding: 56px 16px; background: var(--paper); border-radius: var(--radius); }
.empty > .ico { width: 54px; height: 54px; color: var(--muted); margin: 0 auto 12px; display: block; }
.big-404 { display: block; font-size: 8rem; line-height: 1; color: var(--accent); -webkit-text-stroke: 3px var(--ink); }
.search-inline { max-width: 420px; margin: 0 auto 20px; background: var(--paper); border-color: var(--line); }
.search-inline input { color: var(--text); }
.search-inline button { color: var(--ink); }

/* ---------- Detail produktu ---------- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding-bottom: 32px; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 20px; } }
.gallery-main { position: relative; aspect-ratio: 1; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { width: 76px; height: 76px; flex: none; padding: 0; border: 2px solid transparent; background: var(--paper); cursor: pointer; border-radius: 4px; overflow: hidden; }
.thumbs button.active, .thumbs button:hover { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.brand { text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--muted); font-size: .85rem; margin: 0 0 4px; }
.product-title { font-size: clamp(2rem, 4.2vw, 3rem); line-height: .95; }
.buy-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin: 18px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-xl { font-size: 2.6rem; line-height: 1; }
.buy-price del { color: var(--muted); font-size: 1.1rem; }
.vat-note { color: var(--muted); font-size: .85rem; flex-basis: 100%; }
.variants { border: 0; padding: 0; margin: 0 0 16px; }
.variants legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.variant-list { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { position: relative; cursor: pointer; }
.variant input { position: absolute; opacity: 0; }
.variant span { display: inline-block; min-width: 52px; text-align: center; padding: 10px 16px; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); font-weight: 600; transition: border-color .15s; }
.variant:hover span { border-color: var(--ink); }
.variant input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--accent); }
.variant input:focus-visible + span { outline: 3px solid var(--accent-d); outline-offset: 2px; }
.variant.is-out span { color: #a5abb3; text-decoration: line-through; background: #f1f2ee; cursor: not-allowed; }
.size-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .9rem; font-weight: 600; }
.buy-row { display: flex; gap: 12px; margin-top: 16px; }
.qty { display: inline-flex; align-items: center; background: var(--paper); border: 1px solid #cfd3cb; border-radius: var(--radius); }
.qty button { width: 42px; height: 52px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.qty button:hover { color: var(--hot); }
.qty input { width: 46px; border: 0; text-align: center; padding: 0; font-weight: 600; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm button { height: 40px; width: 34px; }
.buy-usps { list-style: none; padding: 18px; margin: 22px 0 14px; background: var(--paper); border-radius: var(--radius); display: grid; gap: 10px; font-size: .95rem; }
.buy-usps li { display: flex; align-items: center; gap: 10px; }
.buy-usps .ico { color: var(--ok); }

.tabs { margin-top: 12px; }
.tab-list { display: flex; gap: 2px; overflow-x: auto; border-bottom: 3px solid var(--ink); }
.tab-list button { border: 0; background: transparent; padding: 12px 18px; font-family: var(--font-sport); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.1rem; cursor: pointer; white-space: nowrap; color: var(--muted); }
.tab-list button[aria-selected=true] { background: var(--ink); color: var(--accent); }
.tab-panel { background: var(--paper); padding: 24px; border-radius: 0 0 var(--radius) var(--radius); }
.prose { max-width: 820px; }
.prose h2 { font-family: var(--font-sport); font-style: italic; text-transform: uppercase; font-size: 1.6rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .3em; }
.prose li::marker { color: var(--accent-d); }
.prose a { color: inherit; text-decoration-color: var(--accent-d); text-decoration-thickness: 2px; }
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 8px 0 20px; }
.spec th, .spec td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tbody th { font-weight: 600; width: 45%; }
.spec thead th { background: var(--ink); color: #fff; font-weight: 600; }
.spec tbody tr:nth-child(even) { background: #fafbf8; }

/* ---------- Košík a pokladna ---------- */
.steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 22px; flex-wrap: wrap; font-weight: 600; font-size: .9rem; color: var(--muted); }
.steps li { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; background: var(--paper); border-radius: 999px; }
.steps span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--text); font-size: .8rem; }
.steps .active { color: var(--text); }
.steps .active span { background: var(--accent); }
.steps .done span { background: var(--ok); color: #fff; }
.steps a { text-decoration: none; }
.cart-layout, .checkout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
@media (max-width: 960px) { .cart-layout, .checkout { grid-template-columns: 1fr; } }
.cart-items { background: var(--paper); border-radius: var(--radius); padding: 8px 20px; }
.cart-row { display: grid; grid-template-columns: 80px 1fr auto auto 44px; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 80px; height: 80px; border-radius: 4px; overflow: hidden; display: block; background: var(--bg); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .ph .ico { width: 50%; height: 50%; }
.cart-thumb .ph span { display: none; }
.cart-info { display: flex; flex-direction: column; gap: 2px; }
.cart-name { font-weight: 600; text-decoration: none; }
.cart-total { font-size: 1.05rem; white-space: nowrap; min-width: 90px; text-align: right; }
.cart-remove { color: var(--muted); }
.cart-remove:hover { color: var(--bad); }
.warn { color: var(--warn); display: inline-flex; gap: 4px; align-items: center; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; flex-wrap: wrap; }
@media (max-width: 640px) {
  .cart-row { grid-template-columns: 64px 1fr auto; grid-template-areas: "img info del" "img qty total"; gap: 8px 12px; }
  .cart-thumb { grid-area: img; width: 64px; height: 64px; }
  .cart-info { grid-area: info; }
  .cart-row .qty { grid-area: qty; justify-self: start; }
  .cart-total { grid-area: total; }
  .cart-remove { grid-area: del; }
}
.summary { background: var(--paper); border-radius: var(--radius); padding: 22px; position: sticky; top: 140px; border-top: 5px solid var(--accent); }
.summary h2 { font-family: var(--font-sport); font-style: italic; text-transform: uppercase; font-size: 1.5rem; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.sum-total { font-size: 1.2rem; border-bottom: 0; padding-top: 14px; }
.sum-total strong { font-family: var(--font-sport); font-size: 1.7rem; font-weight: 800; }
.sum-items { list-style: none; padding: 0; margin: 0 0 8px; font-size: .92rem; }
.sum-items li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.sum-items strong { white-space: nowrap; }
.free-ship { background: var(--bg); padding: 12px 14px; border-radius: var(--radius); margin-bottom: 12px; }
.free-ship p { margin: 0 0 8px; display: flex; gap: 8px; align-items: center; }
.bar { height: 8px; background: #dfe3d8; border-radius: 4px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-d), var(--accent)); }
.summary .btn-block { margin-top: 14px; }
.box { background: var(--paper); border-radius: var(--radius); padding: 22px; border: 0; margin: 0 0 18px; min-width: 0; }
.box legend, .box > h2 { font-family: var(--font-sport); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.45rem; padding: 0; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; float: left; width: 100%; }
.box legend + * { clear: both; }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; background: var(--ink); color: var(--accent); font-size: 1.05rem; transform: skewX(-10deg); }
.option { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; cursor: pointer; transition: border-color .15s, background .15s; clear: both; }
.option:hover { border-color: #b9beb4; }
.option:has(input:checked) { border-color: var(--ink); background: #fbfff0; }
.option input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.option-ico { width: 40px; height: 40px; display: grid; place-items: center; background: var(--bg); border-radius: 50%; flex: none; }
.option-text { flex: 1; display: flex; flex-direction: column; }
.option-text small { color: var(--muted); }
.option-price { font-weight: 700; white-space: nowrap; }
.free { color: var(--ok); }
.pickup { padding: 14px; background: var(--bg); border-radius: var(--radius); margin-bottom: 10px; }
.pickup-chosen { font-weight: 600; margin: 10px 0 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; clear: both; }
.field { display: flex; flex-direction: column; gap: 5px; font-size: .92rem; font-weight: 600; }
.field input, .field textarea, .field select { font-weight: 400; font-size: 1rem; }
.field-full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field-error { color: var(--bad); font-size: .85rem; font-weight: 600; display: block; }
[aria-invalid=true] { border-color: var(--bad) !important; background: #fff7f8 !important; }
.company { margin: 6px 0 16px; }
.company summary { cursor: pointer; font-weight: 600; margin-bottom: 12px; }
.terms { align-items: flex-start; font-size: .9rem; margin: 16px 0 6px; }
.terms input { margin-top: 3px; flex: none; }
.terms.has-error { color: var(--bad); }
.hp { position: absolute; left: -5000px; }

/* Poděkování */
.thanks-hero { text-align: center; background: var(--ink); color: #fff; padding: 40px 20px; margin-bottom: 22px; position: relative; overflow: hidden; }
.thanks-hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.04) 0 2px, transparent 2px 22px); }
.thanks-hero > * { position: relative; }
.thanks-hero .h-sport::after { margin: 10px auto 0; }
.thanks-ico { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--accent); color: var(--ink); margin-bottom: 14px; }
.thanks-ico .ico { width: 38px; height: 38px; stroke-width: 3; }
.thanks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-bottom: 24px; }
.pay-box { border-top: 5px solid var(--accent); }
.pay-in { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; clear: both; }
.qr { background: #fff; padding: 8px; border: 1px solid var(--line); width: 196px; height: 196px; }
.qr img, .qr canvas { width: 100% !important; height: auto !important; }
.pay-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.pay-dl dt { color: var(--muted); }
.pay-dl dd { margin: 0; font-weight: 700; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #e7eefc; color: #1e4fb8; }
.status-green { background: #e2f7ea; color: #0f7a3f; }
.status-amber { background: #fff1d6; color: #9a5b00; }
.status-violet { background: #efe7fd; color: #5b2bb5; }
.status-red { background: #fde4e6; color: #b3202c; }

/* Stránky */
.page-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.page-layout:not(:has(aside)) { grid-template-columns: 1fr; }
@media (max-width: 860px) { .page-layout { grid-template-columns: 1fr; } }
.page-layout .prose { background: var(--paper); padding: 28px; border-radius: var(--radius); }
.contact-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .ico { color: var(--accent-d); }
.seo-block .seo-in { background: var(--paper); padding: 32px; border-radius: var(--radius); border-left: 6px solid var(--accent); }
.seo-block h2 { font-family: var(--font-sport); font-style: italic; text-transform: uppercase; font-size: 1.7rem; }

/* ---------- Výhody a patička ---------- */
.usp-strip { background: var(--paper); border-top: 1px solid var(--line); margin-top: 32px; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 26px; padding-bottom: 26px; }
@media (max-width: 860px) { .usp-grid { grid-template-columns: 1fr 1fr; } }
.usp { display: flex; align-items: center; gap: 12px; }
.usp > .ico { width: 44px; height: 44px; padding: 10px; background: var(--ink); color: var(--accent); flex: none; transform: skewX(-8deg); }
.usp strong { display: block; line-height: 1.2; }
.usp span { color: var(--muted); font-size: .875rem; }
.footer { background: var(--ink); color: #b9c0c9; padding-top: 48px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-h { color: #fff; font-size: 1.3rem; margin-bottom: 14px; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; background: var(--ink-2); border-radius: 50%; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--ink-3); padding-top: 18px; padding-bottom: 22px; font-size: .85rem; }
.pay-icons { display: flex; gap: 10px; color: var(--accent); }

/* Cookies a toast */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin: 0 auto; background: var(--ink); color: #fff; padding: 16px 20px; border-radius: var(--radius); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.5); border-left: 5px solid var(--accent); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1 1 320px; font-size: .9rem; }
.cookie a { color: var(--accent); }
.cookie-btns { display: flex; gap: 8px; }
.cookie .btn-ghost { box-shadow: inset 0 0 0 2px #fff; color: #fff; }
.toast { position: fixed; top: 90px; right: 16px; z-index: 95; background: var(--ink); color: #fff; padding: 14px 18px; border-left: 5px solid var(--accent); box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 360px; animation: slidein .3s; }
.toast[hidden] { display: none; }
.toast.is-error { border-color: var(--bad); }
.toast a { color: var(--accent); font-weight: 600; white-space: nowrap; }
@keyframes slidein { from { transform: translateX(30px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .header, .footer, .usp-strip, .announce, .cookie { display: none; } }
.tab-panel.prose { max-width: none; }
.empty .h-sport::after { margin: 10px auto 0; }

/* =========================================================
   FILTRY V KATEGORII
   ========================================================= */
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.listing-main { min-width: 0; }
.filters { background: var(--paper); border-radius: var(--radius); padding: 6px 18px 18px; position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; }
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 4px; }
.filters-head h2 { font-family: var(--font-sport); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.45rem; margin: 0; }
.filters-close, .filters-open, .filters-show { display: none !important; }
.fgroup { border-top: 1px solid var(--line); padding: 12px 0; }
.fgroup summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary .ico { transition: transform .2s; color: var(--muted); }
.fgroup[open] summary .ico { transform: rotate(180deg); }
.fgroup h3 { font-size: .95rem; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 6px; }
form.fgroup h3 { margin-bottom: 10px; }
.fcount { background: var(--accent); color: var(--ink); font-size: .72rem; border-radius: 999px; padding: 1px 7px; }
.fvalues { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 2px; }
.fval { display: flex; align-items: center; gap: 10px; padding: 6px 6px; border-radius: 5px; text-decoration: none; font-size: .93rem; }
a.fval:hover { background: var(--bg); }
.fbox { width: 18px; height: 18px; border: 2px solid #b9beb4; border-radius: 4px; display: grid; place-items: center; flex: none; background: #fff; }
.fbox .ico { width: 13px; height: 13px; stroke-width: 3.5; }
.fval.is-on .fbox { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.fval.is-on .fname { font-weight: 700; }
.fname { flex: 1; }
.fnum { font-size: .78rem; color: var(--muted); }
.fval.is-empty { opacity: .4; }
.fvalues-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fvalues-chips .fval { padding: 7px 12px; border: 2px solid var(--line); min-width: 46px; justify-content: center; gap: 4px; }
.fvalues-chips .fbox, .fvalues-chips .fnum { display: none; }
.fvalues-chips a.fval:hover { border-color: var(--ink); background: transparent; }
.fvalues-chips .fval.is-on { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.price-range { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.price-range input { padding: 8px; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 18px; }
.afilter { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; background: var(--ink); color: #fff; border-radius: 999px; text-decoration: none; font-size: .88rem; font-weight: 600; }
.afilter .muted { color: #9aa3ad; font-weight: 400; }
.afilter .ico { width: 15px; height: 15px; color: var(--accent); }
.afilter:hover { background: var(--ink-3); }
.afilter-clear { font-size: .88rem; font-weight: 600; color: var(--muted); }
@media (max-width: 960px) {
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(360px, 88vw); max-height: none; z-index: 80; border-radius: 0; transform: translateX(-105%); transition: transform .25s; padding-bottom: 90px; }
  body.filters-on .filters { transform: none; box-shadow: 0 0 0 100vmax rgba(11,15,20,.55); }
  body.filters-on { overflow: hidden; }
  .filters-close, .filters-open { display: inline-flex !important; }
  .filters-show { display: flex !important; position: sticky; bottom: 0; margin-top: 12px; }
  .toolbar { gap: 10px; }
}

/* Rychlé přidání do košíku z karty */
.card { position: relative; }
.quick { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; background: var(--ink); color: #fff; padding: 14px; border-top: 4px solid var(--accent); animation: quickin .18s ease-out; }
@keyframes quickin { from { transform: translateY(14px); } }
.quick-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.quick-head strong { font-family: var(--font-sport); font-style: italic; text-transform: uppercase; font-size: 1.1rem; }
.quick-head .icon-btn { color: #fff; width: 34px; height: 34px; }
.quick-list { display: flex; flex-wrap: wrap; gap: 6px; }
.quick-opt { min-width: 48px; padding: 9px 12px; border: 2px solid var(--ink-3); background: var(--ink-2); color: #fff; border-radius: 5px; font-weight: 700; cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; line-height: 1.15; }
.quick-opt small { font-weight: 400; font-size: .72rem; color: #aab2bc; }
.quick-opt:hover:not([disabled]), .quick-opt:focus-visible { border-color: var(--accent); color: var(--accent); }
.quick-opt[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.quick-opt.is-loading { opacity: .6; }
.quick-opt.is-added { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.quick-note { margin: 10px 0 0; font-size: .78rem; color: #9aa3ad; }
.btn.is-added { background: var(--ok); color: #fff; }
.btn.is-added .ico { animation: bump .4s; }

/* =========================================================
   DOLADĚNÍ (31. 10. 2026)
   ========================================================= */
/* Vyhledávání v hlavičce: tmavé pole, bílý text (obecný styl formulářů ho dřív přebíjel na bílé pole s bílým textem) */
.search input[type=search] { border: 0; border-radius: 0; background: transparent; color: #fff; padding: 11px 14px; outline: none; }
.search input[type=search]:focus { outline: none; border: 0; }
.search input[type=search]::-webkit-search-cancel-button { filter: invert(1); opacity: .6; }
.search-inline input[type=search] { color: var(--text); }
.search-inline input[type=search]::-webkit-search-cancel-button { filter: none; }
/* Počet kusů: bez vnitřního rámečku */
.qty input[type=number], .qty input[type=text], .qty input:not([type]) { width: 46px; border: 0; border-radius: 0; background: transparent; padding: 0; outline: none; }

/* Dlaždice kategorií: celé řady, žádná osamocená dlaždice */
@media (min-width: 1100px) { .worlds { grid-template-columns: repeat(6, 1fr); } .world-name { font-size: 1.4rem; } }
@media (min-width: 640px) and (max-width: 1099px) { .worlds { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639px) { .worlds { grid-template-columns: repeat(2, 1fr); gap: 10px; } .world { min-height: 130px; padding: 16px; } .world-name { font-size: 1.25rem; } .world-sub { display: none; } }

/* Fotky produktů: světlý podklad, aby ilustrace i fotky splývaly s kartou */
.card-img, .gallery-main, .cart-thumb, .thumbs button { background: #f1f2ee; }
.gallery-main { box-shadow: var(--shadow); }

/* Texty z editoru (tabulky, citace, zarovnání) */
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--ink); color: #fff; }
.prose blockquote { margin: 1em 0; padding: 6px 0 6px 18px; border-left: 5px solid var(--accent); color: var(--muted); }
.prose h4 { font-size: 1.05rem; margin-top: 1.3em; }
.prose img { border-radius: var(--radius); }
.prose [style*="text-align: center"] { text-align: center; }
.prose [style*="text-align: right"] { text-align: right; }
.prose [style*="text-align: justify"] { text-align: justify; }
