/* SuperComputer.cz – light blue/white e-shop (layout inspired by classic CZ shops) */
:root {
  --brand: #1355f0; --brand-dark: #0d43c4; --brand-soft: #e9f0ff;
  --green: #17944a; --red: #e0263c; --orange: #d97706;
  --text: #17181a; --muted: #6b7078; --bg: #fff; --bg-2: #f4f5f7; --bg-3: #eaeef5; --border: #e4e6ea;
  --dark: #14171c;
  --radius: 6px; --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --container: 1480px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: 2rem; font-weight: 700; } h2 { font-size: 1.45rem; font-weight: 700; } h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0; } .muted { color: var(--muted); }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 34px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head a { color: var(--brand); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.section-head a:hover { text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 4px; border: 1px solid transparent; font-weight: 600; font-size: .92rem; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; } .btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: #fff; color: var(--text); border-color: #cfd3d9; } .btn-outline:hover { border-color: var(--text); }
.btn-white { background: #fff; color: var(--text); } .btn-white:hover { background: var(--bg-2); }
.btn-sm { padding: 8px 16px; font-size: .84rem; } .btn-block { width: 100%; } .btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.logo-text { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.03em; color: var(--text); line-height: 1; }
.logo-text b { font-weight: 800; } .logo-text i { font-style: normal; color: var(--brand); font-weight: 800; }
.footer .logo-text { color: #fff; }

/* Top bar / header / nav */
.topbar { background: var(--bg-2); border-bottom: 1px solid var(--border); font-size: .8rem; color: var(--muted); }
.topbar .container { display: flex; justify-content: space-between; gap: 20px; height: 34px; align-items: center; }
.topbar b { color: var(--text); font-weight: 600; }
.topbar svg, .footer .contact svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.footer .contact span { display: flex; align-items: center; gap: 6px; } .topbar .right, .topbar .left { display: flex; gap: 18px; align-items: center; }
.header { background: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.search { flex: 1; display: flex; align-items: stretch; max-width: 720px; border: 1.5px solid #cfd3d9; border-radius: 4px; overflow: hidden; height: 46px; background: #fff; }
.search:focus-within { border-color: var(--brand); }
.search select { border: 0; border-right: 1px solid var(--border); background: var(--bg-2); padding: 0 12px 0 16px; font: inherit; font-size: .84rem; color: var(--text); outline: 0; }
.search input { flex: 1; border: 0; padding: 0 16px; font: inherit; font-size: .95rem; outline: 0; }
.search button { border: 0; background: transparent; color: var(--muted); width: 48px; display: grid; place-items: center; } .search button svg { width: 18px; height: 18px; }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-link { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 4px; font-size: .88rem; font-weight: 500; color: var(--text); }
.icon-link:hover { background: var(--bg-2); } .icon-link svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 2px; left: 26px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .2s; }
.cart-count.show { transform: scale(1); } .cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; } .menu-toggle svg { width: 24px; height: 24px; }
.catnav { background: #fff; border-bottom: 1px solid var(--border); }
.catnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; min-height: 50px; align-items: center; flex-wrap: wrap; }
.catnav a { display: block; padding: 8px 13px; border-radius: 4px; font-size: .92rem; font-weight: 600; color: var(--text); }
.catnav a:hover, .catnav a.active { background: var(--bg-2); color: var(--brand); }
.catnav a.pill { border: 1px solid #cfd3d9; margin: 0 8px; font-weight: 500; } .catnav a.pill:hover { border-color: var(--brand); }
.catnav a.hot { color: var(--brand); }

/* Hero tiles */
.hero-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 20px 0 6px; }
.htile { position: relative; display: flex; flex-direction: column; min-height: 400px; border-radius: 6px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--border); padding: 24px 24px 20px; }
.htile.dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.htile h2 { font-size: 1.6rem; line-height: 1.15; }
.htile .from { margin-top: 6px; font-size: .95rem; color: var(--muted); } .htile.dark .from { color: #c9cfd8; } .htile .from b { color: var(--brand); font-size: 1.15rem; } .htile.dark .from b { color: #8ab8ff; }
.htile .btn { margin-top: 14px; align-self: flex-start; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 10px 18px; }
/* fotka sedí pod textem a je vystředěná, ne zaražená do rohu */
.htile img { margin-top: auto; width: 100%; height: 200px; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; }
/* na tmavé dlaždici by násobení fotku sežralo, tam ji necháme tak jak je */
.htile.dark img { mix-blend-mode: normal; filter: drop-shadow(0 12px 26px rgba(0,0,0,.55)); }
html[data-theme="dark"] .htile img { mix-blend-mode: normal; }
.htile .badge-round { position: absolute; right: 20px; top: 20px; width: 82px; height: 82px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: .95rem; line-height: 1.1; box-shadow: 0 6px 18px rgba(224,38,60,.35); }
.htile .badge-round small { display: block; font-size: .65rem; font-weight: 600; }

/* USP row */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0; }
.usp div { display: flex; gap: 14px; align-items: flex-start; }
.usp .ico { width: 46px; height: 46px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; } .usp .ico svg { width: 22px; height: 22px; }
.usp b { display: block; font-size: .95rem; margin-bottom: 2px; text-decoration: underline; text-decoration-color: #b8cdf2; text-underline-offset: 3px; } .usp span { font-size: .84rem; color: var(--muted); }

/* Reviews strip */
.rstrip { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: stretch; background: var(--bg-2); border: 1px solid var(--border); border-radius: 6px; padding: 16px; }
.rstrip .score { border-right: 1px solid var(--border); padding-right: 16px; } .rstrip .score b { font-size: 1.6rem; display: block; } .rstrip .score .stars { color: #f5a623; letter-spacing: 1px; font-size: .9rem; }
.rstrip .score small { display: block; color: var(--muted); font-size: .78rem; } .rstrip .score a { display: block; margin-top: 6px; font-size: .78rem; color: var(--brand); text-decoration: underline; }
.rstrip .list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rstrip .list div { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 10px 12px; font-size: .84rem; }
.rstrip .list .stars { color: #f5a623; font-size: .75rem; letter-spacing: 1px; } .rstrip .list .d { color: var(--muted); font-size: .74rem; margin-top: 6px; }

/* Model tiles */
.models { display: grid; grid-auto-flow: column; grid-auto-columns: 176px; gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.mtile { position: relative; background: var(--dark); color: #fff; border-radius: 6px; padding: 14px; height: 200px; display: flex; flex-direction: column; overflow: hidden; }
.mtile b { font-size: .95rem; } .mtile span { font-size: .78rem; color: #b6bdc7; } .mtile span em { font-style: normal; color: #8ab8ff; font-weight: 700; }
.mtile img { position: absolute; right: 8px; bottom: 6px; width: 62%; height: 55%; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 6px 16px rgba(0,0,0,.5)); }
.mtile .arrow { position: absolute; left: 12px; bottom: 12px; width: 26px; height: 26px; border-radius: 6px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .9rem; }

/* Ideal tiles */
.ideal { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.ideal a { text-align: center; }
.ideal .pic { aspect-ratio: 1/.85; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--border); display: grid; place-items: center; padding: 14px; margin-bottom: 8px; transition: border-color .15s; }
.ideal a:hover .pic { border-color: var(--brand); }
.ideal img { width: 100%; height: 100%; object-fit: contain; }
.ideal b { display: block; font-size: .88rem; } .ideal span { font-size: .76rem; color: var(--muted); }

/* Banners */
.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.banner { position: relative; min-height: 170px; border-radius: 6px; padding: 28px 30px; color: #fff; background: linear-gradient(105deg, var(--brand) 0%, #2b8bff 100%); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.banner.dark { background: linear-gradient(105deg, #14171c, #2b3038); }
.banner h3 { font-size: 1.35rem; max-width: 60%; } .banner p { color: rgba(255,255,255,.8); font-size: .9rem; margin-top: 6px; max-width: 60%; }
.banner .btn { margin-top: 14px; align-self: flex-start; }
.banner img { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); height: 80%; width: 32%; object-fit: contain; }
.banner .big { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); font-size: 3.2rem; font-weight: 800; opacity: .9; }

/* Product block (grey panel with row) */
.pblock { background: var(--bg-2); border-radius: 6px; padding: 20px 20px 16px; margin-bottom: 18px; }
.pblock h2 { font-size: 1.25rem; margin-bottom: 14px; }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 14px) / 6); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.row-scroll > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 14px; }

/* Product card */
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: box-shadow .15s, border-color .15s; position: relative; }
.product:hover { border-color: #c9ccd2; box-shadow: 0 8px 24px rgba(0,0,0,.07); }
.product-img { position: relative; display: block; padding: 34px 18px 8px; aspect-ratio: 1 / .95; }
.product-img img { width: 100%; height: 100%; object-fit: contain; }
.labels { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 4px; z-index: 2; }
.lbl { font-size: .68rem; font-weight: 700; padding: 3px 7px; border-radius: 3px; background: var(--bg-2); color: var(--text); }
.lbl-new { background: #e6f4ec; color: #17944a; } .lbl-used { background: #fff3e0; color: #b35c00; } .lbl-best { background: var(--brand-soft); color: var(--brand); } .lbl-water { background: #e8f1ff; color: #1d5fc2; } .lbl-gift { background: #fdecef; color: var(--red); }
.disc { display: inline-block; background: var(--red); color: #fff; font-size: .78rem; font-weight: 700; padding: 3px 7px; border-radius: 3px; }
.product-img .disc { position: absolute; left: 10px; bottom: 8px; }
.countdown { margin: 0 12px; background: var(--dark); color: #fff; border-radius: 4px; padding: 6px 10px; text-align: center; font-size: .72rem; line-height: 1.3; }
.countdown b { color: #ffd166; font-variant-numeric: tabular-nums; }
.fps-strip { display: flex; gap: 4px; padding: 6px 12px 0; flex-wrap: wrap; }
.fps-strip span { font-size: .68rem; color: var(--muted); background: var(--bg-2); border-radius: 3px; padding: 2px 6px; white-space: nowrap; } .fps-strip b { color: var(--green); }
.product-body { display: flex; flex-direction: column; gap: 5px; padding: 8px 14px 14px; flex: 1; }
.product-name { font-weight: 600; font-size: .92rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; } .product-name:hover { color: var(--brand); }
.stars { color: #f5a623; font-size: .78rem; letter-spacing: 1px; } .stars small { color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.spec-lines { margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: .79rem; }
.spec-lines dt { color: var(--muted); white-space: nowrap; }
.spec-lines dd { margin: 0; text-align: right; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.stock { font-size: .8rem; font-weight: 600; color: var(--green); } .stock.low { color: var(--orange); } .stock.none { color: var(--muted); font-weight: 500; }
.price-box { margin-top: auto; padding-top: 10px; display: grid; gap: 8px; }
.price-box .price { display: flex; flex-direction: column; line-height: 1.15; }
.price-box .price s { font-size: .8rem; color: var(--muted); }
.price-box .price strong { font-size: 1.32rem; color: var(--red); }
.price-box .price small { font-size: .72rem; color: var(--muted); margin-top: 1px; }
.price-box .btn { width: 100%; justify-content: center; }
.price { line-height: 1.1; } .price s { display: block; color: var(--muted); font-size: .78rem; font-weight: 400; } .price strong { font-size: 1.2rem; font-weight: 800; color: var(--red); }
.price em { display: block; font-style: normal; font-size: .72rem; color: var(--muted); margin-top: 2px; }
.card-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.card-actions .cmp { font-size: .76rem; color: var(--muted); } .card-actions .cmp:hover { color: var(--brand); }

/* Team / store banners */
.photo-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pbanner { min-height: 230px; border-radius: 6px; padding: 30px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(160deg, #1f2a3a, #0b63d6); position: relative; overflow: hidden; }
.pbanner.alt { background: linear-gradient(160deg, #2b3038, #14171c); }
.pbanner h3 { font-size: 1.4rem; } .pbanner p { color: rgba(255,255,255,.8); }
.pbanner .btn { margin-top: 12px; align-self: flex-start; } .pbanner .hours { display: inline-block; margin-left: 10px; font-size: .8rem; color: rgba(255,255,255,.8); }
.pbanner svg.deco { position: absolute; right: -20px; top: -20px; width: 240px; height: 240px; opacity: .12; }

/* Brands */
.brandbar { display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center; align-items: center; padding: 20px 0; color: #9aa0a8; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }

/* Blog */
.blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { position: relative; border-radius: 6px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--border); min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.post img { position: absolute; right: 16px; top: 16px; width: 44%; height: 55%; object-fit: contain; }
.post h3 { font-size: 1.05rem; max-width: 60%; } .post span { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.post .go { position: absolute; right: 16px; bottom: 16px; width: 34px; height: 34px; border-radius: 6px; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; }

/* Rating box */
.ratebox { background: var(--dark); color: #fff; border-radius: 6px; padding: 30px; display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; }
.ratebox .pct { display: inline-block; background: var(--brand); border-radius: 4px; padding: 6px 18px; font-size: 1.6rem; font-weight: 800; margin: 10px 0; }
.ratebox p { color: #b6bdc7; font-size: .88rem; } .ratebox a { color: #8ab8ff; font-size: .8rem; text-decoration: underline; }
.ratebox .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* Footer */
.footer { background: var(--dark); color: #d5dae2; margin-top: 40px; font-size: .88rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; padding: 36px 0 26px; border-bottom: 1px solid #2a2f37; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.newsletter { display: flex; gap: 8px; max-width: 520px; }
.newsletter input { flex: 1; border: 1px solid #3a404a; background: #1d2127; color: #fff; border-radius: 4px; padding: 11px 16px; font: inherit; }
.newsletter .btn { background: var(--brand); color: #fff; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; font-size: .84rem; }
.checks span { display: flex; align-items: center; gap: 6px; } .checks svg { width: 14px; height: 14px; color: #8ab8ff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding: 30px 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; } .footer li a { color: #b6bdc7; } .footer li a:hover { color: #fff; }
.footer .contact { font-size: 1.05rem; font-weight: 700; color: #fff; display: grid; gap: 4px; margin-top: 8px; }
.footer .fine { border-top: 1px solid #2a2f37; padding: 16px 0 22px; color: #8b929c; font-size: .78rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logos { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .plogo { display: inline-block; width: 46px; height: 29px; flex-shrink: 0; } .plogo svg { width: 100%; height: 100%; border-radius: 3px; display: block; }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; background: var(--text); color: #fff; border-radius: 4px; padding: 12px 18px; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 100; transition: .25s; pointer-events: none; font-size: .92rem; }
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast .ok { width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.toast .err { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #d92d20; display: grid; place-items: center; font-size: .85rem; font-weight: 800; } .toast a { color: #8ab8ff; font-weight: 600; }

/* Breadcrumbs, page head, catalog */
.crumbs { display: flex; gap: 6px; font-size: .82rem; color: var(--muted); padding: 14px 0 0; flex-wrap: wrap; } .crumbs a:hover { color: var(--brand); }
.page-head { padding: 10px 0 20px; } .page-head p { margin-top: 6px; color: var(--muted); max-width: 680px; }
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; padding-bottom: 60px; }
.filters { border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 18px 14px; position: sticky; top: 94px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 0 6px; } .filters-head button { border: 0; background: none; color: var(--brand); font-size: .82rem; font-weight: 600; }
.fgroup { border-top: 1px solid var(--border); padding: 12px 0; } .fgroup h4 { font-size: .88rem; margin-bottom: 8px; }
.fgroup label { display: flex; align-items: center; gap: 8px; font-size: .86rem; padding: 4px 0; cursor: pointer; } .fgroup label:hover { color: var(--brand); } .fgroup label .n { margin-left: auto; font-size: .74rem; color: var(--muted); }
.fgroup input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--brand); margin: 0; }
.range { display: flex; align-items: center; gap: 8px; } .range input { width: 100%; border: 1px solid var(--border); border-radius: 4px; padding: 7px 9px; font: inherit; font-size: .86rem; } .range input:focus { outline: 0; border-color: var(--brand); }
.range-slider { width: 100%; margin-top: 10px; accent-color: var(--brand); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar select { border: 1px solid var(--border); border-radius: 4px; padding: 9px 34px 9px 14px; font: inherit; font-size: .88rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7078' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; } .chip { padding: 7px 12px; border-radius: 4px; border: 1px solid var(--border); background: #fff; font-size: .84rem; } .chip:hover { border-color: var(--text); } .chip.active { background: var(--text); color: #fff; border-color: var(--text); }
.result-count { font-size: .86rem; color: var(--muted); }
.empty { padding: 50px; text-align: center; color: var(--muted); border: 1px dashed var(--border); border-radius: var(--radius); }
.load-more { display: flex; justify-content: center; margin-top: 24px; } .filters-toggle { display: none; }

/* Product detail */
.detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; padding: 20px 0 50px; align-items: start; }
.gallery { position: sticky; top: 104px; }
.main-img { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; aspect-ratio: 1/1; display: grid; place-items: center; position: relative; }
.main-img img { width: 100%; height: 100%; object-fit: contain; } .main-img .disc { position: absolute; top: 14px; left: 14px; font-size: .9rem; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; } .thumbs button { width: 72px; height: 72px; border: 1px solid var(--border); border-radius: 4px; background: #fff; padding: 6px; } .thumbs button img { width: 100%; height: 100%; object-fit: contain; } .thumbs button.active, .thumbs button:hover { border-color: var(--brand); }
.detail h1 { font-size: 1.55rem; margin: 6px 0 8px; } .detail .sub { color: var(--muted); margin-bottom: 14px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 7px; border-radius: 3px; }
.tag-used { background: #fff3e0; color: #b35c00; } .tag-best { background: var(--brand-soft); color: var(--brand); } .tag-water { background: #e8f1ff; color: #1d5fc2; } .tag-school { background: #fff8d6; color: #8a6d00; } .tag-new { background: #e6f4ec; color: #17944a; }
.keyspecs { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: .92rem; } .keyspecs li { display: flex; gap: 10px; } .keyspecs li span:first-child { color: var(--muted); min-width: 120px; }
.buy-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.buy-box .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; } .buy-box .price strong { font-size: 2rem; } .buy-box .save { color: var(--red); font-weight: 600; font-size: .9rem; }
.buy-actions { display: flex; gap: 10px; } .buy-actions .btn-primary { flex: 1; height: 46px; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; background: var(--bg); height: 42px; }
.qty button { width: 38px; border: 0; background: var(--bg-2); color: var(--text); font-size: 1.15rem; line-height: 1; display: grid; place-items: center; }
.qty button:hover:not(:disabled) { background: var(--bg-3); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty span { min-width: 42px; display: grid; place-items: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.buy-box .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .84rem; color: var(--muted); } .buy-box .meta b { color: var(--text); font-weight: 600; }
.notice { border: 1px solid #ffd9a8; background: #fff8ee; border-radius: 4px; padding: 12px 14px; font-size: .88rem; margin-bottom: 14px; } .notice b { color: #b35c00; }
.tabs { display: flex; border-bottom: 1px solid var(--border); margin: 26px 0 16px; } .tabs button { border: 0; background: none; padding: 10px 16px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; } .tabs button.active { color: var(--text); border-color: var(--brand); }
.tab-panel { display: none; } .tab-panel.active { display: block; }
.specs { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; } .specs dl { margin: 0; display: grid; grid-template-columns: 200px 1fr; }
.specs dt, .specs dd { margin: 0; padding: 10px 14px; font-size: .9rem; border-bottom: 1px solid var(--border); } .specs dt { color: var(--muted); background: var(--bg-2); } .specs dt:last-of-type, .specs dd:last-of-type { border-bottom: 0; }
.fps { width: 100%; border-collapse: collapse; font-size: .9rem; } .fps th, .fps td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); } .fps th { background: var(--bg-2); font-weight: 600; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.fps td:last-child, .fps th:last-child { text-align: right; } .fps td:last-child { font-weight: 700; color: var(--green); }
.desc p { margin-bottom: 12px; color: #333; }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1.5fr .8fr; gap: 24px; padding-bottom: 60px; align-items: start; }
.cart-items { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--border); } .cart-item:last-child { border-bottom: 0; }
.cart-item .thumb { width: 96px; height: 96px; border: 1px solid var(--border); border-radius: 4px; padding: 6px; } .cart-item .thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-item h3 { font-size: .98rem; margin-bottom: 3px; } .cart-item .sub { font-size: .82rem; color: var(--muted); }
.cart-item .right { text-align: right; display: grid; gap: 8px; justify-items: end; } .cart-item .remove { border: 0; background: none; color: var(--muted); font-size: .8rem; text-decoration: underline; } .cart-item .remove:hover { color: var(--red); }
.summary { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; position: sticky; top: 94px; }
.summary .line { display: flex; justify-content: space-between; padding: 6px 0; font-size: .92rem; color: var(--muted); } .summary .line.saved { color: var(--red); font-weight: 600; }
.summary .line.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; color: var(--text); font-size: 1.25rem; font-weight: 700; }
.options { display: grid; gap: 8px; } .opt { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 4px; padding: 10px 14px; cursor: pointer; font-size: .9rem; }
.opt.active { border-color: var(--brand); background: var(--brand-soft); } .opt input { accent-color: var(--brand); } .opt .p { margin-left: auto; font-weight: 600; } .opt .logos { gap: 4px; } .opt .plogo { width: 40px; height: 24px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .form .full { grid-column: 1 / -1; } .form label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.form input { width: 100%; border: 1px solid var(--border); border-radius: 4px; padding: 10px 12px; font: inherit; font-size: .92rem; } .form input:focus { outline: 0; border-color: var(--brand); }
.success { text-align: center; padding: 70px 20px; } .success .check { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; font-size: 2rem; font-weight: 800; }
h3.block { margin: 28px 0 10px; }

/* Responsive */
@media (max-width: 1200px) { .hero-tiles { grid-template-columns: repeat(2, 1fr); } .ideal { grid-template-columns: repeat(4, 1fr); } .usp { grid-template-columns: repeat(2, 1fr); } .rstrip { grid-template-columns: 1fr; } .rstrip .score { border-right: 0; } .rstrip .list { grid-template-columns: repeat(2, 1fr); } .row-scroll { grid-auto-columns: calc((100% - 3 * 14px) / 4); } }
@media (max-width: 1100px) {
  .catalog { grid-template-columns: 1fr; } .filters { position: static; display: none; } .filters.open { display: block; } .filters-toggle { display: inline-flex; }
  .detail { grid-template-columns: 1fr; } .gallery { position: static; } .cart-layout { grid-template-columns: 1fr; } .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; } .footer-top { grid-template-columns: 1fr; } .blog { grid-template-columns: 1fr; } .ratebox { grid-template-columns: 1fr; } .ratebox .cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .topbar { display: none; } .header-inner { height: 62px; gap: 12px; } .search { display: none; } .icon-link span { display: none; } .menu-toggle { display: block; }
  .catnav { display: none; } .catnav.open { display: block; } .catnav ul { flex-direction: column; align-items: stretch; padding: 8px 0; } .catnav a.pill { margin: 4px 0; }
  .hero-tiles { grid-template-columns: 1fr; } .htile { min-height: 280px; } .htile img { height: 150px; } .usp { grid-template-columns: 1fr; } .rstrip .list { grid-template-columns: 1fr; } .ideal { grid-template-columns: repeat(2, 1fr); }
  .banners, .photo-banners { grid-template-columns: 1fr; } .banner h3, .banner p { max-width: 100%; } .banner img, .banner .big { display: none; }
  .row-scroll { grid-auto-columns: 72%; } .specs dl { grid-template-columns: 1fr; } .specs dt { border-bottom: 0; padding-bottom: 2px; }
  .cart-item { grid-template-columns: 72px 1fr; } .cart-item .right { grid-column: 1 / -1; justify-items: start; } .form { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; } .section { padding: 24px 0; }
}

/* ===== Avatary, recenze, účet, přihlášení ===== */
.avatar { display: inline-grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 700; flex-shrink: 0; line-height: 1; }
.rv-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rv-head b { display: block; font-size: .88rem; }
.verified, .rstrip .list .verified { display: inline-flex; align-items: center; gap: 3px; font-size: .72rem; color: var(--green); font-weight: 600; }
.verified svg { width: 12px; height: 12px; }
.score-badge { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.score-badge b { font-size: 1.15rem; display: block; line-height: 1.1; }
.score-badge .logo-mark { border-radius: 4px; }
.rstrip .score b { font-size: 1.15rem; }
.rv-prod { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 8px; background: var(--bg-2); border-radius: 4px; font-size: .76rem; color: var(--muted); }
.rv-prod img { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.rv-prod:hover { color: var(--brand); }
.bars { display: grid; gap: 5px; margin-top: 14px; }
.bar { display: grid; grid-template-columns: 34px 1fr 40px; align-items: center; gap: 8px; font-size: .78rem; color: #b6bdc7; }
.bar i { display: block; height: 7px; border-radius: 3px; background: rgba(255,255,255,.15); overflow: hidden; }
.bar i b { display: block; height: 100%; background: #f5a623; border-radius: 3px; }
.bar small { text-align: right; }

/* Přihlášení */
.auth { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; max-width: 960px; margin: 0 auto 40px; align-items: start; }
.auth-main, .auth-side { border: 1px solid var(--border); border-radius: 6px; padding: 26px; }
.auth-side { background: var(--bg-2); }
.auth-main h2 { font-size: 1.3rem; }
.auth .form { gap: 14px; }
.auth .form .two { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.otp-input { font-size: 1.5rem !important; letter-spacing: 10px; text-align: center; font-weight: 700; }
.form-err { margin-top: 12px; background: #fdecef; border: 1px solid #f7c4cd; color: #a3121f; border-radius: 4px; padding: 10px 12px; font-size: .88rem; }
.form-ok { margin-top: 12px; color: var(--green); font-size: .88rem; font-weight: 600; }
.benefits { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.benefits svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.benefits b { display: block; }
.benefits span { color: var(--muted); }
.auth-trust { display: flex; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: .84rem; }
.auth-trust svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; }
.auth-trust b { display: block; } .auth-trust span { color: var(--muted); }

/* Účet */
.acc-grid { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; }
.acc-side { border: 1px solid var(--border); border-radius: 6px; padding: 18px; position: sticky; top: 94px; }
.acc-me { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.acc-me b { display: block; font-size: .95rem; } .acc-me span { font-size: .8rem; color: var(--muted); word-break: break-all; }
.orders { display: grid; gap: 12px; }
.order { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.order-items { padding: 12px 16px; display: grid; gap: 4px; font-size: .88rem; }
.order-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--border); font-size: .88rem; }
.st { font-size: .74rem; font-weight: 700; padding: 4px 9px; border-radius: 4px; }
.st-new { background: var(--brand-soft); color: var(--brand); }
.st-ok { background: #e6f4ec; color: var(--green); }
.st-off { background: var(--bg-2); color: var(--muted); }
#accLink .avatar { margin-right: 2px; }

@media (max-width: 900px) {
  .auth, .acc-grid { grid-template-columns: 1fr; }
  .acc-side { position: static; }
  .auth .form .two { grid-template-columns: 1fr; }
}

/* ===== v2: čistší karty, porovnání, logo ===== */
.logo-text { font-weight: 600; font-size: 1.3rem; }
.logo-text b { font-weight: 800; } .logo-text i { font-style: normal; color: var(--brand); font-weight: 800; }
.footer .logo-text { color: #fff; } .footer .logo-text i { color: #8ab8ff; }
.search button { width: auto; padding: 0 18px 0 14px; gap: 6px; background: var(--brand); color: #fff; display: flex; align-items: center; font-weight: 600; font-size: .9rem; }
.search button span { display: inline; }
.topbar .right a:hover { color: var(--brand); }
.catnav li.right { margin-left: auto; }

/* karta – Alza/Smarty styl, bez zbytečného balastu */
.product-img { padding: 16px 16px 6px; aspect-ratio: 1 / .88; }
.product-img .disc { position: absolute; left: 10px; top: 10px; bottom: auto; }
.product-img .lbl { position: absolute; left: 10px; bottom: 8px; }
.product-body { padding: 10px 14px 14px; gap: 6px; }
.product-name { font-size: .93rem; min-height: 2.5em; }
.stars small { font-weight: 500; }
.spec-lines { font-size: .79rem; }
.fps-line { font-size: .76rem; color: var(--muted); background: var(--bg-2); border-radius: 4px; padding: 4px 8px; }
.fps-line b { color: var(--green); }
.avail { display: flex; flex-direction: column; gap: 1px; }
.avail .muted { font-size: .76rem; }

.price strong { font-size: 1.25rem; }
.product .btn-sm svg { width: 15px; height: 15px; }
.cmp { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); cursor: pointer; margin-top: 2px; }
.cmp input { width: 15px; height: 15px; accent-color: var(--brand); margin: 0; }
.cmp.on { color: var(--brand); font-weight: 600; }

/* lišta porovnání */
.cmp-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 24px rgba(0,0,0,.10); z-index: 60; padding: 10px 0; }
.cmp-inner { display: flex; align-items: center; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.cmp-items { display: flex; gap: 10px; flex-wrap: wrap; }
.cmp-item { position: relative; display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 4px; padding: 6px 26px 6px 8px; max-width: 260px; font-size: .8rem; }
.cmp-item img { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.cmp-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-item button { position: absolute; right: 4px; top: 4px; border: 0; background: none; color: var(--muted); padding: 2px; line-height: 0; }
.cmp-item button svg { width: 14px; height: 14px; } .cmp-item button:hover { color: var(--red); }
.cmp-act { display: flex; gap: 8px; align-items: center; }
body:has(.cmp-bar) .footer { padding-bottom: 70px; }

/* tabulka porovnání */
.cmp-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; cursor: pointer; }
.switch input { width: 17px; height: 17px; accent-color: var(--brand); }
.cmp-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 6px; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 640px; }
.cmp-table th, .cmp-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.cmp-table thead th, .cmp-table thead td { text-align: center; vertical-align: top; position: relative; border-left: 1px solid var(--border); width: 22%; }
.cmp-table thead .corner { background: var(--bg-2); }
.cmp-table thead img { width: 100%; max-width: 130px; height: 120px; object-fit: contain; margin: 0 auto 8px; }
.cmp-table thead .nm { display: block; font-weight: 600; margin-bottom: 6px; }
.cmp-table thead .nm:hover { color: var(--brand); }
.cmp-table thead .tags { justify-content: center; margin-bottom: 6px; }
.cmp-table thead .pr { margin-bottom: 4px; } .cmp-table thead .pr s { display: block; color: var(--muted); font-size: .78rem; }
.cmp-table thead .pr strong { font-size: 1.15rem; color: var(--red); }
.cmp-table .best { color: var(--green) !important; }
.cmp-table .rm { position: absolute; right: 6px; top: 6px; border: 1px solid var(--border); background: #fff; border-radius: 6px; width: 24px; height: 24px; display: grid; place-items: center; color: var(--muted); }
.cmp-table .rm svg { width: 13px; height: 13px; } .cmp-table .rm:hover { color: var(--red); border-color: var(--red); }
.cmp-table tbody th { width: 200px; color: var(--muted); font-weight: 500; background: var(--bg-2); }
.cmp-table tbody td { border-left: 1px solid var(--border); }
.cmp-table tr.diff td { background: #fffbeb; }
.cmp-table tr.grp th { background: var(--dark); color: #fff; font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }

@media (max-width: 760px) {
  .search button span { display: none; }
  .cmp-bar { padding: 8px 0; } .cmp-item span { max-width: 90px; }
  .cmp-act { width: 100%; } .cmp-act .btn { flex: 1; }
}

/* ===== Back to School blok ===== */
.bts { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: center; background: linear-gradient(120deg, #0b63d6 0%, #2b8bff 55%, #59a5ff 100%); color: #fff; border-radius: 6px; padding: 34px 36px; margin-bottom: 18px; overflow: hidden; position: relative; }
.bts h2 { font-size: 1.9rem; line-height: 1.15; color: #fff; }
.bts .kick { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 4px; margin-bottom: 12px; }
.bts p.lead { color: rgba(255,255,255,.9); margin: 10px 0 16px; font-size: .98rem; max-width: 460px; }
.bts .perks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 7px; }
.bts .perks li { display: flex; align-items: center; gap: 8px; font-size: .9rem; }
.bts .perks svg { width: 17px; height: 17px; color: #bfe0ff; flex-shrink: 0; }
.bts .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.bts .art { width: 100%; height: auto; max-height: 260px; }
.bts .pricetag { position: absolute; right: 30px; top: 26px; background: #fff; color: var(--brand); border-radius: 6px; padding: 8px 14px; font-weight: 800; box-shadow: 0 8px 24px rgba(0,0,0,.18); text-align: center; line-height: 1.15; }
.bts .pricetag small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 900px) { .bts { grid-template-columns: 1fr; padding: 26px 22px; } .bts .pricetag { position: static; margin-bottom: 12px; display: inline-block; } .bts h2 { font-size: 1.5rem; } }

/* fotky recenzentů */
.avatar-photo { display: inline-block; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--bg-2); }
.avatar-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* doladění karet recenzí */
.rstrip .list div { display: flex; flex-direction: column; }
.rstrip .list .d { margin-top: auto; padding-top: 8px; }

/* ===== oprava karet: pevná výška obrázku, ořez parametrů ===== */
.product-img { aspect-ratio: auto; height: 190px; padding: 14px 14px 4px; display: flex; align-items: center; justify-content: center; }
.product-img img { width: 100%; height: 100%; object-fit: contain; }



.product-body { min-height: 0; }
.row-scroll .product, .grid .product { height: 100%; }

/* ===== cookie lišta ===== */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 2px solid var(--brand); box-shadow: 0 -8px 30px rgba(0,0,0,.14); padding: 14px 0; }
.cookie-inner { display: flex; align-items: center; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
.cookie-inner b { display: block; margin-bottom: 3px; }
.cookie-inner p { font-size: .86rem; color: var(--muted); max-width: 780px; }
.cookie-inner a { color: var(--brand); text-decoration: underline; }
.cookie-act { display: flex; gap: 8px; flex-shrink: 0; }
body:has(.cookie-bar) .cmp-bar, body:has(.cookie-bar) .buybar, body:has(.cookie-bar) .co-bar { bottom: 84px; }
@media (max-width: 760px) { .cookie-act { width: 100%; } .cookie-act .btn { flex: 1; } }

/* výzva k přihlášení v košíku */
.login-gate { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--brand); background: var(--brand-soft); border-radius: 4px; padding: 16px; margin-bottom: 14px; }
.login-gate svg { width: 26px; height: 26px; color: var(--brand); flex-shrink: 0; }
.login-gate b { display: block; margin-bottom: 3px; }
.login-gate p { font-size: .88rem; color: var(--muted); }
.gate-act { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

/* logo podle dodané značky */
.logo-mark { height: auto; }
.logo-text { font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em; }
.logo-text b { font-weight: 800; color: var(--brand); }
.logo-text i { font-style: normal; color: var(--text); font-weight: 800; }
.footer .logo-text b { color: #6f9dff; } .footer .logo-text i { color: #fff; }
@media (max-width: 760px) { .logo-text { font-size: 1rem; } }

/* ===== okno po vložení do košíku ===== */
.modal-back { position: fixed; inset: 0; background: rgba(20,23,28,.55); display: none; align-items: center; justify-content: center; z-index: 90; padding: 20px; }
.modal-back.show { display: flex; animation: fadein .15s ease; }
@keyframes fadein { from { opacity: 0 } }
.modal { position: relative; background: #fff; border-radius: 6px; padding: 24px; width: min(460px, 100%); box-shadow: 0 20px 60px rgba(0,0,0,.28); }
.modal-x { position: absolute; right: 12px; top: 12px; border: 0; background: none; color: var(--muted); padding: 4px; line-height: 0; }
.modal-x svg { width: 18px; height: 18px; } .modal-x:hover { color: var(--text); }
.modal-head { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 16px; }
.modal-head svg { width: 22px; height: 22px; color: #fff; background: var(--green); border-radius: 6px; padding: 4px; }
.modal-item { display: flex; gap: 14px; align-items: center; border: 1px solid var(--border); border-radius: 4px; padding: 12px; }
.modal-item img { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; }
.modal-item b { display: block; font-size: .92rem; line-height: 1.3; } .modal-item span { font-size: .84rem; }
.modal-sum { display: flex; justify-content: space-between; align-items: center; padding: 14px 2px 10px; font-size: .95rem; }
.modal-sum b { font-size: 1.2rem; color: var(--brand); }
.ship-bar { font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.ship-bar-line { height: 7px; background: var(--bg-2); border-radius: 3px; overflow: hidden; margin-bottom: 6px; }
.ship-bar-line i { display: block; height: 100%; background: var(--green); border-radius: 3px; transition: width .3s; }
.ship-bar.ok { display: flex; align-items: center; gap: 8px; color: var(--green); }
.ship-bar.ok svg { width: 18px; height: 18px; }
.ship-bar b { color: var(--text); }
.modal-act { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; }
.modal-act .btn { width: 100%; }
@media (max-width: 480px) { .modal-act { grid-template-columns: 1fr; } }
.buy-actions #buyBtn { flex: 0 0 auto; }
@media (max-width: 520px) { .buy-actions { flex-wrap: wrap; } .buy-actions .btn { flex: 1 1 100%; } }
[hidden] { display: none !important; }

/* ===== karty recenzí ===== */
.ratebox .cards { align-items: stretch; }
.rv { background: #fff; color: var(--text); border-radius: 6px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.rv-top { display: flex; align-items: center; gap: 11px; }
.rv-who { min-width: 0; flex: 1; }
.rv-who b { display: block; font-size: .94rem; line-height: 1.25; }
.rv-who .v { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-size: .75rem; font-weight: 600; }
.rv-who .v svg { width: 12px; height: 12px; }
.rv-stars { color: #f5a623; font-size: .82rem; letter-spacing: 1px; white-space: nowrap; align-self: flex-start; }
.rv-text { font-size: .88rem; line-height: 1.55; color: #33383f; }
.rv .rv-prod { display: flex; align-items: center; gap: 9px; margin: 0; padding: 8px 10px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 4px; font-size: .78rem; color: var(--muted); text-decoration: none; }
.rv .rv-prod img { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.rv .rv-prod span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv .rv-prod:hover { border-color: var(--brand); color: var(--brand); }
.rv-date { margin-top: auto; padding-top: 2px; color: var(--muted); font-size: .76rem; }

/* ================================================================
   Doladění vzhledu: hero a lišta důvěry
   ================================================================ */
h1 { font-weight: 800; letter-spacing: -.02em; }
h2 { letter-spacing: -.015em; }
.section { padding: 40px 0; }
.pblock { border-radius: 6px; }

/* lišta důvěry nahoře */
.topbar .trust { display: flex; align-items: center; gap: 22px; }
.topbar .trust span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .trust svg { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }
.topbar .t-phone { display: inline-flex; align-items: center; gap: 6px; }
.topbar .t-phone svg { width: 14px; height: 14px; }
.topbar .t-phone small { color: var(--muted); font-size: inherit; margin-left: 4px; }
@media (max-width: 1280px) { .topbar .t-hide, .topbar .t-phone small { display: none; } }


/* hero: jedna velká dlaždice a čtyři menší */
.hero { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; padding: 20px 0 6px; }
.hero .htile { min-height: 0; padding: 22px 22px 18px; background: var(--bg-2); }
.hero .htile-big { grid-row: span 2; min-height: 540px; padding: 36px 36px 28px; background: var(--bg-3); }
.htile .eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.hero .htile h2 { font-weight: 800; letter-spacing: -.02em; font-size: 1.28rem; }
.hero .htile-big h2 { font-size: 2.35rem; line-height: 1.06; }
.hero .htile-big .from { font-size: 1rem; margin-top: 10px; }
.htile .go { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--brand); align-self: flex-start; }
.hero .htile-big .go { margin-top: 18px; background: var(--brand); color: #fff; padding: 12px 22px; border-radius: 4px; font-size: .92rem; box-shadow: 0 8px 20px rgba(19, 85, 240, .25); }
.hero .htile img { height: 128px; }
.hero .htile-big img { height: 310px; }
.pill-disc { position: absolute; top: 18px; right: 18px; background: var(--red); color: #fff; font-weight: 800; font-size: .8rem; padding: 5px 11px; border-radius: 4px; box-shadow: 0 6px 14px rgba(224, 38, 60, .28); }
.pill-disc.soft { background: var(--green); box-shadow: 0 6px 14px rgba(23, 148, 74, .25); font-weight: 700; }
.htile-big .pill-disc { top: 26px; right: 26px; font-size: .95rem; padding: 7px 14px; }
@media (max-width: 1200px) {
  .hero { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .hero .htile-big { grid-column: span 2; grid-row: auto; min-height: 400px; }
}
@media (max-width: 640px) {
  .hero { gap: 10px; }
  .hero .htile-big { min-height: 340px; padding: 24px 22px 20px; }
  .hero .htile-big h2 { font-size: 1.7rem; }
  .hero .htile-big img { height: 180px; }
  .hero .htile:not(.htile-big) { min-height: 0; padding: 14px 14px 12px; }
  .hero .htile:not(.htile-big) h2 { font-size: 1rem; }
  .hero .htile:not(.htile-big) img { height: 92px; }
  .hero .htile:not(.htile-big) .pill-disc { top: 10px; right: 10px; font-size: .68rem; padding: 3px 8px; }
  .hero .htile:not(.htile-big) .eyebrow { font-size: .62rem; }
}

/* karty produktů */
.product-img { overflow: hidden; }
.row-scroll { padding-top: 4px; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
.topbar .trust svg, .topbar .t-phone svg { margin-right: 0; }

/* řádek výhod: flex jen na vnější boxy, text uvnitř pod sebou */
.usp > div > div { display: block; }

/* štítky v hero na mobilu nesmí překrývat nadpis */
@media (max-width: 640px) {
  .hero .pill-disc, .hero .htile-big .pill-disc { position: static; order: -1; align-self: flex-start; margin-bottom: 8px; box-shadow: none; }
  .hero .htile:not(.htile-big) .eyebrow { display: none; }
}

/* lišta důvěry se nesmí zalamovat: položky ubíráme podle šířky okna.
   Selektory jsou konkrétnější než .topbar .trust span, jinak by se neuplatnily. */
.topbar .trust span, .topbar .right > * { white-space: nowrap; }
@media (max-width: 1280px) { .topbar .trust .t-hide { display: none; } }
@media (max-width: 1100px) { .topbar .trust span:nth-child(3) { display: none; } }
@media (max-width: 940px)  { .topbar .trust span:nth-child(2), .topbar .right a:nth-of-type(2) { display: none; } }

.htile .go i { font-style: normal; }

/* ================================================================
   Co má mít každý e-shop: našeptávač, fotky přes obrazovku,
   lišta s cenou na mobilu, naposledy prohlížené, stránka 404
   ================================================================ */

/* čitelnost pro starší zákazníky */
:root { --muted: #5d626a; }
body { font-size: 16px; }
.product-name { font-size: 1rem; }
.spec-lines { font-size: .84rem; }
.stock { font-size: .84rem; }

/* našeptávač */
.search { position: relative; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 16px 40px rgba(16, 24, 40, .14); z-index: 60; overflow: hidden; }
.suggest[hidden] { display: none; }
.sg-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--border); color: var(--text); }
.sg-item img { width: 52px; height: 52px; object-fit: contain; }
.sg-item:hover, .sg-item.on { background: var(--bg-2); }
.sg-name { font-size: .95rem; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sg-price { color: var(--red); white-space: nowrap; font-size: 1rem; }
.sg-all { display: block; padding: 12px 14px; font-weight: 700; color: var(--brand); font-size: .95rem; }
.sg-empty { padding: 16px; color: var(--muted); font-size: .95rem; }

/* na telefonu je vyhledávání vždycky vidět pod logem */
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 8px 0 10px; row-gap: 8px; }
  .header .search { display: flex; order: 3; flex: 1 1 100%; }
  .header .search select { display: none; }
  .header .search button span { display: none; }
  .header .search input { font-size: 16px; }
}

/* fotky přes celou obrazovku */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 12, 16, .92); display: grid; place-items: center; padding: 56px 70px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; border-radius: 6px; padding: 18px; }
.lb-close, .lb-prev, .lb-next { position: absolute; border: 0; background: rgba(255, 255, 255, .16); color: #fff; width: 50px; height: 50px; border-radius: 6px; font-size: 2rem; line-height: 1; display: grid; place-items: center; cursor: pointer; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .28); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; margin-top: -25px; }
.lb-next { right: 14px; top: 50%; margin-top: -25px; }
.lb-n { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-size: .95rem; }
@media (max-width: 760px) {
  .lightbox { padding: 66px 10px 76px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; margin-top: 0; }
}

/* lišta s cenou dole na mobilu */
.buybar { display: none; }
@media (max-width: 760px) {
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(16, 24, 40, .08); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; }
  .buybar b { display: block; font-size: 1.3rem; color: var(--red); line-height: 1.1; }
  .buybar span { font-size: .82rem; color: var(--green); font-weight: 600; }
  .buybar .btn { padding: 13px 22px; font-size: 1rem; }
  body.has-buybar { padding-bottom: 78px; }
}
.buybar[hidden] { display: none !important; }

/* naposledy prohlížené */
.recent { margin-top: 8px; }

/* stránka 404 */
.nf { padding: 60px 0 80px; }
.nf-box { max-width: 640px; margin: 0 auto; text-align: center; }
.nf-code { font-size: 5rem; font-weight: 800; color: var(--brand); line-height: 1; letter-spacing: -.03em; }
.nf-box h1 { margin: 12px 0 10px; }
.nf-box > p { color: var(--muted); }
.nf-search { display: flex; gap: 8px; margin: 24px auto 18px; max-width: 520px; }
.nf-search input { flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 4px; padding: 12px 18px; font: inherit; font-size: 16px; }
.nf-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.nf-cats a { border: 1px solid var(--border); border-radius: 4px; padding: 9px 16px; font-weight: 600; font-size: .95rem; }
.nf-cats a:hover { border-color: var(--brand); color: var(--brand); }

/* vzorový formulář v informacích */
.form-vzor { border: 1px dashed #c9cfd8; border-radius: 6px; padding: 18px 20px; background: var(--bg-2); margin: 12px 0; }
.form-vzor p { margin: 0 0 10px; }
.form-vzor p:last-child { margin-bottom: 0; }

/* rozbalený našeptávač musí být nad pruhem kategorií i obsahem stránky */
.header:focus-within { z-index: 80; }

/* telefon: logo a ikony v jednom řádku, vyhledávání pod nimi */
@media (max-width: 760px) {
  .header-inner { column-gap: 8px; }
  .header-actions > a:first-child { display: none; }
  .icon-link { padding: 8px; }
}

/* našeptávač nesmí oříznout zakulacený rámeček vyhledávání:
   místo overflow:hidden zakulatíme krajní prvky */
.search { overflow: visible; }
.search select { border-radius: 4px 0 0 4px; }
.search button { border-radius: 0 4px 4px 0; }
@media (max-width: 760px) { .header .search input { border-radius: 4px 0 0 4px; } }

/* děkovná stránka po zaplacení */
.dk { padding: 50px 0 70px; }
.dk-acts { margin-top: 22px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* štítky na kartě (Nové / Použité / Nejprodávanější) a ceny v eurech */
.product-img .lbls { position: absolute; left: 10px; bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.product-img .lbls .lbl { position: static; }
.lbl-nove { background: var(--green); color: #fff; }
.price-box .price .eur { font-size: .84rem; font-weight: 600; color: var(--muted); margin-top: 2px; }
.eur-big { display: block; font-size: 1rem; font-weight: 600; color: var(--muted); margin-top: 4px; }
.eur-line { color: var(--muted); font-size: .9rem; }
.eur:empty, .eur-big:empty, .eur-sum:empty { display: none; }

/* tlačítko v hlavní dlaždici: menší a bez stínu, ať nepřebíjí nadpis */
.hero .htile-big .go { padding: 9px 16px; font-size: .88rem; font-weight: 600; box-shadow: none; margin-top: 14px; }

/* Back to School: fotka místo ilustrace, jednolitá barva místo přechodu */
.bts { grid-template-columns: 1fr 1fr; gap: 0; padding: 0; background: #0b3a8a; overflow: hidden; align-items: stretch; }
.bts > div:first-child { padding: 38px 40px; align-self: center; }
.bts-foto { position: relative; min-height: 360px; }
.bts-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bts .pricetag { right: 18px; top: 18px; box-shadow: none; }
@media (max-width: 900px) {
  .bts { grid-template-columns: 1fr; padding: 0; }
  .bts-foto { order: -1; min-height: 220px; }
  .bts > div:first-child { padding: 24px 22px; }
  .bts .pricetag { position: absolute; margin: 0; }
}
/* obličeje jsou v horní třetině fotky – při ořezu na šířku je nechceme useknout */
.bts-foto img { object-position: center 35%; }

/* Back to School: produkt na světlém panelu – rendery jsou dělané pro světlé pozadí */
.bts-foto { background: #eef2f7; }
.bts-foto img { object-fit: contain; object-position: center; padding: 34px 34px 24px; }
.bts .pricetag { border: 1px solid var(--border); }
@media (max-width: 900px) { .bts-foto img { padding: 40px 18px 14px; } }
/* telefon: cenovka nesmí zakrývat notebooky */
@media (max-width: 900px) { .bts-foto { min-height: 250px; } .bts-foto img { padding: 70px 18px 14px; } }
/* počítač: notebooky pod cenovkou, ať se nepřekrývají */
@media (min-width: 901px) { .bts-foto img { padding: 70px 34px 22px; } }

/* ================================================================
   Back to School – jednoduše, „liquid glass“: barevné světlo za matným sklem
   ================================================================ */
.bts { position: relative; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; align-items: center; padding: 34px; background: #eef2f8; color: var(--text); overflow: hidden; isolation: isolate; }
/* barvy MacBooku Neo rozmazané do pozadí */
.bts::before, .bts::after, .bts .bts-foto::before { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.bts::before { width: 560px; height: 560px; left: -160px; top: -200px; background: radial-gradient(circle, rgba(64, 132, 255, .55), rgba(64, 132, 255, 0) 65%); }
.bts::after { width: 600px; height: 600px; right: 6%; bottom: -300px; background: radial-gradient(circle, rgba(255, 92, 190, .42), rgba(255, 92, 190, 0) 65%); }
.bts .bts-foto::before { inset: 5% 12%; background: radial-gradient(circle, rgba(170, 230, 40, .38), rgba(170, 230, 40, 0) 65%); }
/* matné sklo s jemnou světlou hranou */
.bts > div.bts-glass { position: relative; padding: 30px 32px; align-self: center; background: rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); border: 1px solid rgba(255, 255, 255, .75); border-radius: 6px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 12px 32px rgba(16, 24, 40, .08); }
.bts-glass .kick { background: rgba(19, 85, 240, .1); border: 0; color: var(--brand); }
.bts-glass h2 { color: #0f172a; font-size: 2.3rem; line-height: 1.06; margin-top: 12px; }
.bts-cena { font-size: 1.55rem; font-weight: 800; color: var(--brand); margin: 6px 0 4px; }
.bts-sub { color: #475467; font-size: .95rem; margin-bottom: 20px; }
.bts-btn-glass { background: rgba(255, 255, 255, .6); border: 1px solid rgba(15, 23, 42, .14); color: #0f172a; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bts-btn-glass:hover { background: rgba(255, 255, 255, .88); border-color: rgba(15, 23, 42, .3); }
.bts .bts-foto { position: relative; min-height: 0; background: transparent; }
.bts .bts-foto img { position: static; inset: auto; width: 100%; height: auto; object-fit: contain; padding: 0 0 0 26px; }
@media (max-width: 900px) {
  .bts { grid-template-columns: 1fr; padding: 16px; gap: 12px; }
  .bts .bts-foto { order: -1; min-height: 0; }
  .bts .bts-foto img { padding: 6px 4px 0; }
  .bts > div.bts-glass { padding: 22px 20px; }
  .bts-glass h2 { font-size: 1.75rem; }
  .bts-cena { font-size: 1.3rem; }
}

/* nepovinné přihlášení v košíku */
.form-hint { font-size: .9rem; color: var(--muted); margin: -4px 0 14px; }
.form-hint a { color: var(--brand); font-weight: 600; }

/* telefon: logo, účet, košík a menu v jednom řádku */
@media (max-width: 760px) {
  .header .logo-text { font-size: .92rem; }
  .header .logo-mark { width: 30px; height: 30px; }
  .header-actions { gap: 0; }
  .header-actions .icon-link { padding: 7px; }
}
/* velmi úzké telefony: účet zůstává v patičce */
@media (max-width: 359px) { #accLink { display: none; } }

/* hlavička nesmí přetéct do strany: hledání se smí zúžit, ikony vpravo ne */
.header .search { min-width: 0; }
.header-actions { flex-shrink: 0; }

/* střední šířky: v hlavičce jen ikony, hledání bez výběru kategorie – jinak se tlačítko Hledat překrývá s ikonami */
.header .search input { min-width: 0; }
@media (min-width: 761px) and (max-width: 1100px) {
  .header-actions .icon-link > span:not(.cart-count) { display: none; }
  .header .search select { display: none; }
  .header .search button span { display: none; }
}

/* výprodej skladu: krátké vysvětlení, proč jsou ceny nižší (detail produktu) */
.vyprodej-note { margin-top: 8px; padding: 7px 10px; border-left: 3px solid #e5484d; background: rgba(229, 72, 77, .08); font-size: .88rem; color: var(--text); }
.vyprodej-note b { color: #d92d20; }

/* platba: částka v Kč i v eurech a kurz – ať je jasné, co se z karty strhne */
.payamount { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 18px; margin: 0 0 8px; border: 1px solid #b9ccfb; background: #eef3ff; border-radius: 6px; }
.payamount span { display: block; font-size: .78rem; color: var(--muted); }
.payamount b { display: block; font-size: 1.6rem; line-height: 1.2; color: var(--text); }
.payamount-eq { font-size: 1.3rem; color: var(--muted); }
.payamount-eur b { color: var(--brand); }
.payrate { font-size: .82rem; color: var(--muted); margin: 0 0 18px; }
html[data-theme="dark"] .payamount { background: rgba(19, 85, 240, .12); border-color: rgba(19, 85, 240, .4); }

/* menu kategorií musí zůstat na jednom řádku: na užších monitorech bez tlačítka „Jak poznáte stav“ a s menšími mezerami */
@media (min-width: 761px) and (max-width: 1380px) {
  .catnav li.right { display: none; }
  .catnav a { padding: 8px 10px; }
}
@media (min-width: 761px) and (max-width: 1100px) { .catnav a { padding: 8px 7px; font-size: .86rem; } }

/* recenze: dlouhý název produktu (nowrap) nesmí roztáhnout mřížku a celou stránku do strany */
.ratebox { grid-template-columns: 240px minmax(0, 1fr); }
.ratebox .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ratebox > *, .ratebox .cards > * { min-width: 0; }
@media (max-width: 1100px) { .ratebox { grid-template-columns: minmax(0, 1fr); } .ratebox .cards { grid-template-columns: minmax(0, 1fr); } }

/* menu: oddělení s rozbalovacím seznamem podkategorií */
.catnav li.dd { position: relative; }
.catnav li.dd > a::after { content: ""; display: inline-block; width: 5px; height: 5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 0 3px 8px; opacity: .45; }
.catnav .dd-panel { display: none; position: absolute; left: 0; top: 100%; z-index: 70; min-width: 250px; padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 14px 34px rgba(16, 24, 40, .13); }
.catnav li.dd:hover > .dd-panel, .catnav li.dd:focus-within > .dd-panel { display: block; }
.catnav .dd-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
.catnav .dd-grid.dd-2 { grid-template-columns: repeat(2, minmax(175px, 1fr)); column-gap: 6px; }
.catnav .dd-panel a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 4px; font-size: .9rem; font-weight: 500; white-space: nowrap; }
.catnav .dd-panel a small { color: var(--muted); font-size: .78rem; font-weight: 500; }
.catnav .dd-panel a:hover { background: var(--bg-2); color: var(--brand); }
.catnav .dd-panel a.dd-all { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--border); border-radius: 0; color: var(--brand); font-weight: 600; }
.catnav li.dd:nth-child(n+6) > .dd-panel { left: auto; right: 0; }
/* podkategorie s malou fotkou typického produktu */
.catnav .dd-panel .dd-grid a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; padding: 6px 10px 6px 6px; }
.catnav .dd-panel .dd-grid a img, .catnav .dd-panel .dd-grid a i { width: 36px; height: 36px; object-fit: contain; background: #fff; border-radius: 4px; }
.catnav .dd-panel .dd-grid a span { overflow: hidden; text-overflow: ellipsis; }
.catnav .dd-grid.dd-2 { grid-template-columns: repeat(2, minmax(215px, 1fr)); }
html[data-theme="dark"] .catnav .dd-panel { background: var(--bg-2); border-color: var(--border); }
@media (max-width: 760px) { .catnav .dd-panel { display: none !important; } .catnav li.dd > a::after { display: none; } }

/* úvod: nakupujte podle kategorie */
.kategorie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kategorie a { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 72px; padding: 10px 16px 10px 12px; background: #fff; border: 1px solid transparent; border-radius: 6px; box-shadow: 0 2px 10px rgba(16, 24, 40, .08); color: var(--text); }
.kategorie a:hover { border-color: var(--brand); }
.kategorie b { display: block; font-size: .98rem; line-height: 1.25; }
.kategorie span { display: block; margin-top: 3px; font-size: .78rem; color: var(--muted); }
.kategorie img { width: 56px; height: 48px; object-fit: contain; }
html[data-theme="dark"] .kategorie a { background: var(--bg-2); box-shadow: none; border-color: var(--border); }
@media (max-width: 1000px) { .kategorie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .kategorie { gap: 8px; } .kategorie a { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; min-height: 60px; padding: 8px 10px; } .kategorie img { width: 42px; height: 38px; } .kategorie b { font-size: .88rem; } .kategorie span { font-size: .72rem; } }
/* „Najdi svůj ideální počítač“: stejně vysoké dlaždice bez ohledu na tvar fotky */
.ideal .pic { overflow: hidden; min-height: 0; }
.ideal a { display: flex; flex-direction: column; }

/* =====================================================================
   VZHLED 2026 – sjednocení: měkčí zaoblení, jemné stíny, čistší karty,
   nová pokladna a platba. Přepisuje starší pravidla výše.
   ===================================================================== */
:root {
  --radius: 12px;
  --text: #0f1419; --muted: #5f6b7a; --border: #e5e8ed; --bg-2: #f5f7fa; --bg-3: #edf0f5;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 4px 14px rgba(16, 24, 40, .07);
  --shadow-lg: 0 14px 36px rgba(16, 24, 40, .12);
  --ring: 0 0 0 4px rgba(19, 85, 240, .14);
}
html[data-theme="dark"] { --shadow: 0 4px 14px rgba(0, 0, 0, .35); --shadow-lg: 0 14px 36px rgba(0, 0, 0, .45); --ring: 0 0 0 4px rgba(77, 134, 255, .22); }
h1 { letter-spacing: -.025em; } h2 { letter-spacing: -.02em; }

/* tlačítka */
.btn { border-radius: 10px; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .06s; }
.btn:active:not([disabled]) { transform: translateY(1px); }
.btn-primary { box-shadow: 0 1px 2px rgba(19, 85, 240, .28), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn-outline { border-color: #d4d9e1; } .btn-outline:hover { border-color: #9aa3af; background: var(--bg-2); }
html[data-theme="dark"] .btn-outline:hover { background: var(--bg-3); }

/* hlavička, hledání, menu */
.search { border: 1px solid #d9dee5; border-radius: 12px; background: var(--bg-2); height: 48px; transition: border-color .15s, box-shadow .15s, background .15s; }
.search:focus-within { border-color: var(--brand); background: var(--bg); box-shadow: var(--ring); }
.search select { background: transparent; border-right-color: #d9dee5; border-radius: 12px 0 0 12px; font-weight: 500; }
.search input { background: transparent; }
.search button { margin: 5px; border-radius: 8px; padding: 0 16px; }
html[data-theme="dark"] .search { background: var(--bg-2); border-color: #333a45; }
html[data-theme="dark"] .search:focus-within { background: var(--bg-3); }
.suggest { border-radius: 14px; }
.catnav a { border-radius: 8px; }
.catnav li.right a, .catnav li.right a.pill { background: transparent; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; font-weight: 500; font-size: .84rem; padding: 6px 14px; box-shadow: none; }
.catnav li.right a:hover { color: var(--brand); border-color: var(--brand); background: transparent; }
.chip { border-radius: 999px; padding: 7px 14px; border-color: #d9dee5; font-weight: 500; }
.toolbar select, .range input { border-radius: 10px; }
.filters { border-radius: 16px; }
.toast { border-radius: 12px; }
.empty { border: 0; background: var(--bg-2); border-radius: 16px; }

/* plochy na úvodu a v detailu – měkčí rohy */
.htile, .banner, .pbanner, .pblock, .ratebox, .rstrip, .post { border-radius: 16px; }
.ideal .pic, .mtile, .rstrip .list div { border-radius: 12px; }
.main-img { border-radius: 16px; }
.thumbs button { border-radius: 10px; }
.buy-box { border-radius: 16px; box-shadow: var(--shadow); }
.buy-actions .btn-primary { height: 50px; font-size: 1rem; }
.specs { border-radius: 12px; }
.qty { border-radius: 10px; border-color: #d4d9e1; } .qty button { background: var(--bg); } .qty button:hover:not(:disabled) { background: var(--bg-2); }

/* karta produktu */
.grid { gap: 16px; }
.product { border-radius: 14px; border-color: var(--border); transition: box-shadow .2s, transform .2s, border-color .2s; }
.product:hover { border-color: #d6dbe3; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-img { padding: 20px 20px 8px; aspect-ratio: 1 / 1; }
.product-img img { transition: transform .3s ease; }
.product:hover .product-img img { transform: scale(1.035); }
.product-img .disc { top: 12px; left: 12px; bottom: auto; border-radius: 6px; font-size: .74rem; padding: 4px 8px; }
.lbls { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.lbl { border-radius: 6px; font-size: .68rem; padding: 3px 8px; }
.product-body { padding: 6px 16px 16px; gap: 6px; }
.product-name { font-size: .94rem; line-height: 1.35; }
.stars:empty { display: none; }
.spec-lines { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--border); font-size: .78rem; gap: 4px 12px; }
.price-box { padding-top: 12px; gap: 10px; }
.price strong, .price-box .price strong { color: var(--text); font-weight: 800; letter-spacing: -.02em; }
.price-box .price strong { font-size: 1.4rem; }
.avail { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.avail .stock { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; }
.avail .stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.avail .dlv { color: var(--muted); font-size: .76rem; }
.price-box .btn { height: 42px; }
.cmp { margin-top: 4px; }

/* formuláře */
.form { gap: 14px; }
.form label { font-size: .8rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea { height: 46px; border: 1px solid #d4d9e1; border-radius: 10px; padding: 0 14px; background: var(--bg); color: var(--text); transition: border-color .15s, box-shadow .15s; }
.form textarea { height: auto; padding: 12px 14px; }
.form input:not([type="checkbox"]):not([type="radio"]):hover { border-color: #b9c1cc; }
.form input:not([type="checkbox"]):not([type="radio"]):focus { outline: 0; border-color: var(--brand); box-shadow: var(--ring); }
.form input:user-invalid { border-color: var(--red); }
html[data-theme="dark"] .form input:not([type="checkbox"]):not([type="radio"]) { border-color: #333a45; }

/* ----- pokladna ----- */
.co-steps { list-style: none; margin: 2px 0 22px; padding: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.co-steps li { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: var(--muted); }
.co-steps li + li::before { content: ""; width: 56px; height: 2px; border-radius: 2px; background: var(--border); }
.co-steps li.on + li.on::before, .co-steps li.done + li::before { background: var(--brand); }
.co-steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; background: var(--bg); border: 1.5px solid #cfd5dd; color: var(--muted); }
.co-steps li.on { color: var(--text); font-weight: 600; }
.co-steps li.on b { background: var(--brand); border-color: var(--brand); color: #fff; }
.co-steps li.done { color: var(--text); }
.co-steps li.done b { background: var(--green); border-color: var(--green); color: #fff; }

.co { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; padding-bottom: 72px; }
.co-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px 24px; }
.co-card + .co-card { margin-top: 16px; }
.co-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin-bottom: 16px; }
.co-card h2 small { margin-left: auto; font-size: .82rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.co-card h2 .n { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: .78rem; font-weight: 700; flex: none; }
.co-sub { font-size: .95rem; margin: 22px 0 10px; }
.co-card .form-hint { margin: -6px 0 16px; }

.ci { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto 130px; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--border); }
.ci:first-child { border-top: 0; padding-top: 2px; }
.ci:last-child { padding-bottom: 0; }
.ci-img { width: 88px; height: 88px; border-radius: 12px; border: 1px solid var(--border); background: #fff; padding: 8px; display: block; }
.ci-img img { width: 100%; height: 100%; object-fit: contain; }
.ci-name { display: block; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.ci-name:hover { color: var(--brand); }
.ci-info .tag { margin-top: 4px; }
.ci-meta { font-size: .8rem; color: var(--muted); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.ci-stock { font-size: .8rem; color: var(--green); font-weight: 600; margin-top: 4px; }
.ci-stock.none { color: var(--muted); }
.ci .qty { height: 38px; }
.ci-price { text-align: right; display: grid; justify-items: end; gap: 1px; }
.ci-price s { font-size: .78rem; color: var(--muted); }
.ci-price b { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.ci-rm { border: 0; background: none; padding: 0; margin-top: 6px; color: var(--muted); font-size: .78rem; text-decoration: underline; text-underline-offset: 2px; }
.ci-rm:hover { color: var(--red); }

.co-card .options { gap: 10px; }
.opt { display: grid; grid-template-columns: 18px 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); cursor: pointer; font-size: .9rem; transition: border-color .15s, box-shadow .15s, background .15s; }
.opt:hover { border-color: #c3cad4; }
.opt.active { border-color: var(--brand); box-shadow: var(--ring); background: var(--bg); }
.opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.o-logo { width: 64px; height: 40px; border: 1px solid var(--border); border-radius: 8px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.o-logo .plogo { width: 52px; height: 32px; }
.o-txt { min-width: 0; }
.o-txt b { display: block; font-weight: 600; font-size: .93rem; }
.o-txt > span { display: block; font-size: .8rem; color: var(--muted); margin-top: 1px; }
.o-badge { font-style: normal; font-size: .68rem; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 1px; }
.o-price { font-weight: 700; font-size: .88rem; color: var(--green); white-space: nowrap; }
.opt-pay { grid-template-columns: 18px minmax(0, 1fr) auto auto; }
.o-logos { display: flex; gap: 4px; }
.o-logos .plogo { width: 38px; height: 24px; }
.pickup { border-radius: 12px; margin-top: 12px; }

.co-sum { position: sticky; top: 96px; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 22px 22px 20px; box-shadow: var(--shadow); }
.co-sum h2 { font-size: 1.12rem; margin-bottom: 12px; }
.cs-line { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: .9rem; color: var(--muted); }
.cs-line span:last-child { color: var(--text); font-weight: 500; text-align: right; }
.cs-line.save span:last-child, .cs-line .free { color: var(--green); font-weight: 600; }
.cs-pick { max-width: 60%; }
.cs-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.cs-total span { font-weight: 600; }
.cs-total b { font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; }
.cs-vat { text-align: right; font-size: .76rem; color: var(--muted); }
.co-sum .btn-primary { height: 54px; margin-top: 16px; font-size: 1.02rem; border-radius: 12px; }
.cs-terms { font-size: .74rem; color: var(--muted); margin-top: 10px; line-height: 1.45; text-align: center; }
.cs-terms a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.cs-logos { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.cs-logos .plogo { width: 40px; height: 25px; }
.cs-trust { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--border); display: grid; gap: 10px; font-size: .82rem; color: var(--muted); }
.cs-trust li { display: flex; gap: 10px; align-items: flex-start; }
.cs-trust svg { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 2px; }
.cs-trust b { color: var(--text); font-weight: 600; }
.co-bar { display: none; }

/* ----- platba ----- */
.pay2 { max-width: 1080px; margin: 0 auto 72px; }
.pay2-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.pay2-head h2 { font-size: 1.35rem; }
.pay2-head p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.pay2-lock { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600; color: var(--green); background: #e8f6ee; border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.pay2-lock svg { width: 14px; height: 14px; }
html[data-theme="dark"] .pay2-lock { background: #12261a; }
.pay2-body { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; min-height: 280px; }
.pay2-body > :not(#stripe-checkout):not(#sumup-card) { margin: 22px 24px; }
.pay2-body .payload-box { padding: 60px 0; }
#stripe-checkout { min-height: 540px; }
#sumup-card { padding: 20px 24px; }
.pay2-trust { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; font-size: .8rem; color: var(--muted); }
.pay2-trust li { display: inline-flex; align-items: center; gap: 6px; }
.pay2-trust svg { width: 14px; height: 14px; color: var(--green); }
.pay2-trust .help b { color: var(--text); }

@media (max-width: 1100px) { .co { grid-template-columns: 1fr; } .co-sum { position: static; } }
@media (max-width: 760px) {
  .co-card { padding: 18px 16px 20px; border-radius: 14px; }
  .ci { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px 12px; }
  .ci-img { width: 72px; height: 72px; grid-row: 1 / 3; align-self: start; }
  .ci-info { grid-column: 2 / 4; }
  .ci-qty { grid-column: 2; grid-row: 2; justify-self: start; }
  .ci-price { grid-column: 3; grid-row: 2; }
  .opt { grid-template-columns: 18px 52px minmax(0, 1fr) auto; gap: 10px; padding: 12px; }
  .o-logo { width: 52px; height: 34px; } .o-logo .plogo { width: 44px; height: 28px; }
  .opt-pay { grid-template-columns: 18px minmax(0, 1fr) auto; }
  .opt-pay .o-logos { display: none; }
  .co-steps { gap: 8px; } .co-steps li { font-size: .82rem; gap: 6px; } .co-steps li + li::before { width: 18px; }
  .co-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; align-items: center; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--border); box-shadow: 0 -10px 30px rgba(16, 24, 40, .1); }
  .co-bar div { flex: 1; min-width: 0; }
  .co-bar small { display: block; font-size: .72rem; color: var(--muted); }
  .co-bar b { font-size: 1.2rem; letter-spacing: -.02em; }
  .co-bar .btn { height: 48px; padding: 0 20px; border-radius: 12px; }
  body.has-co-bar { padding-bottom: 80px; }
  .pay2-head { flex-direction: column; }
  .pay2-body { border-radius: 14px; }
}

/* ----- sledování objednávky (jako u Zásilkovny: 4 kroky s časy) ----- */
.trk-wrap { padding: 28px 0 72px; }
.trk-load, .trk-empty { max-width: 560px; margin: 40px auto; text-align: center; display: grid; gap: 12px; justify-items: center; }
.trk-empty h1 { font-size: 1.5rem; }
.trk-empty p { color: var(--muted); }
.trk-empty a:not(.btn) { color: var(--brand); font-weight: 600; }
.trk { background: var(--bg); border: 1px solid var(--border); border-radius: 18px; padding: 26px 28px; box-shadow: var(--shadow); }
.trk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.trk-kicker { font-size: .76rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.trk-head h1 { font-size: 1.7rem; margin: 2px 0 4px; }
.trk-head p { color: var(--muted); font-size: .9rem; }
.trk-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .86rem; font-weight: 700; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.trk-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.trk-badge.ok { background: #e8f6ee; color: var(--green); }
.trk-badge.warn { background: #fff4e5; color: #b35c00; }
.trk-badge.off { background: var(--bg-2); color: var(--muted); }
.trk-steps { list-style: none; margin: 30px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trk-steps li { position: relative; padding-right: 14px; }
.trk-steps li::before { content: ""; position: absolute; top: 17px; left: 44px; right: 8px; height: 3px; border-radius: 3px; background: var(--border); }
.trk-steps li:last-child::before { display: none; }
.trk-steps li.done::before { background: var(--green); }
.trk-steps .dot { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; background: var(--bg); border: 2px solid #cfd5dd; color: var(--muted); margin-bottom: 12px; }
.trk-steps li.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.trk-steps li.on .dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 6px rgba(19, 85, 240, .14); }
.trk-steps b { display: block; font-size: .95rem; }
.trk-steps li:not(.done):not(.on) b { color: var(--muted); }
.trk-steps span { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; max-width: 230px; }
.trk-steps time { display: block; font-size: .76rem; color: var(--text); font-weight: 600; margin-top: 6px; }
.trk-alert { margin-top: 22px; border-radius: 14px; padding: 18px 20px; background: var(--bg-2); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.trk-alert b { display: block; font-size: 1rem; }
.trk-alert p { color: var(--muted); font-size: .88rem; margin-top: 2px; max-width: 600px; }
.trk-alert.warn { background: #fff7ec; }
.trk-alert.err { background: #fdeef0; }
.trk-alert .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.trk-track { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border: 1px dashed #c3cfe3; border-radius: 14px; padding: 14px 18px; background: #f6f9ff; }
.trk-track span { font-size: .8rem; color: var(--muted); display: block; }
.trk-track b { font-size: 1.05rem; letter-spacing: .02em; }
.trk-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 16px; }
.trk-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; }
.trk-card h2 { font-size: 1.05rem; margin-bottom: 12px; }
.trk-it { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--border); font-size: .9rem; }
.trk-it:first-of-type { border-top: 0; padding-top: 0; }
.trk-it img, .trk-it i { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--border); border-radius: 10px; background: #fff; padding: 4px; display: block; }
.trk-it a:hover { color: var(--brand); }
.trk-it small { display: block; color: var(--muted); font-size: .78rem; }
.trk-it b { white-space: nowrap; }
.trk-sum { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--border); font-weight: 700; font-size: 1.05rem; }
.trk-sum-sub { display: flex; justify-content: space-between; font-size: .84rem; color: var(--muted); padding-top: 8px; }
.trk-kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .88rem; margin: 0 0 18px; }
.trk-kv dt { color: var(--muted); }
.trk-kv dd { margin: 0; }
.trk-acts { display: flex; gap: 8px; flex-wrap: wrap; }
html[data-theme="dark"] .trk, html[data-theme="dark"] .trk-card { background: var(--bg-2); }
html[data-theme="dark"] .trk-alert { background: var(--bg-3); }
html[data-theme="dark"] .trk-track { background: var(--bg-3); border-color: var(--border); }
html[data-theme="dark"] .trk-badge.ok { background: #12261a; }
html[data-theme="dark"] .trk-badge.warn { background: #2a2011; }
/* průběh objednávky v seznamu v účtu */
.order-prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 12px 16px 2px; }
.order-prog span { font-size: .74rem; color: var(--muted); padding-top: 8px; border-top: 3px solid var(--border); font-weight: 500; }
.order-prog span.on { color: var(--green); border-top-color: var(--green); font-weight: 600; }
@media (max-width: 860px) {
  .trk { padding: 20px 18px; border-radius: 16px; }
  .trk-steps { grid-template-columns: 1fr; margin-top: 24px; }
  .trk-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 0 0 20px; }
  .trk-steps li::before { top: 40px; bottom: 2px; left: 17px; right: auto; width: 3px; height: auto; }
  .trk-steps .dot { margin: 0; }
  .trk-grid { grid-template-columns: 1fr; }
}

/* upozornění na poslední kusy v košíku */
.qty-hint { font-size: .76rem; color: var(--orange); font-weight: 600; margin-top: 4px; }

/* pokladna na telefonu: kratší volby dopravy a krokovník na jeden řádek */
@media (max-width: 760px) {
  .opt { grid-template-columns: 18px 44px minmax(0, 1fr) auto; gap: 10px; padding: 12px; }
  .o-logo { width: 44px; height: 30px; } .o-logo .plogo { width: 38px; height: 24px; }
  .o-badge { display: none; }
  .o-txt b { font-size: .88rem; } .o-txt > span { font-size: .75rem; }
  .o-price { font-size: .8rem; }
  .co-steps { flex-wrap: nowrap; }
  .co-steps li:not(.on):not(.done) span { display: none; }
  .co-steps b { width: 26px; height: 26px; }
}

/* =====================================================================
   DOMOVSKÁ STRÁNKA 2026 – ploché bílé karty, velké fotky, žádné přechody
   ===================================================================== */
.plogo-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.plogo-card { border: 1px solid var(--border); border-radius: 5px; padding: 3px 4px; background: #fff; }
.o-logo .plogo-img { padding: 2px; }

.hp-sec { padding: 26px 0 0; }
.hp-sec .section-head { margin-bottom: 14px; }
.hp-sec .section-head h2 { font-size: 1.3rem; }
.hp-sec-grey { margin-top: 30px; padding: 30px 0 34px; background: var(--bg-2); }
body.home .footer { margin-top: 30px; }
.kicker { display: block; font-size: .74rem; font-weight: 700; color: var(--brand); letter-spacing: .04em; text-transform: uppercase; }

/* hlavní nabídka */
.hp-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; padding: 16px 0 0; }
.hp-main { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px; min-height: 420px; padding: 34px 20px 34px 38px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; color: var(--text); }
.hp-main h1 { font-size: 2.15rem; line-height: 1.1; letter-spacing: -.03em; margin: 8px 0 12px; }
.hp-main p { color: var(--muted); font-size: .95rem; max-width: 380px; }
.hp-main-price { display: block; margin: 18px 0 16px; font-size: 1rem; color: var(--muted); }
.hp-main-price b { font-size: 1.55rem; color: var(--text); font-weight: 800; letter-spacing: -.02em; }
.hp-main .btn { align-self: start; padding: 13px 26px; font-size: .98rem; }
.hp-main img { width: 100%; height: 360px; object-fit: contain; object-position: center; mix-blend-mode: multiply; transition: transform .35s ease; }
.hp-main:hover img { transform: scale(1.03); }
html[data-theme="dark"] .hp-main img { mix-blend-mode: normal; }
.hp-side { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.hp-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 18px 18px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; color: var(--text); transition: box-shadow .2s, border-color .2s; }
.hp-tile:hover { border-color: #cfd6e0; box-shadow: var(--shadow); }
.hp-tile b { display: block; font-size: 1.05rem; line-height: 1.2; margin-top: 3px; letter-spacing: -.01em; }
.hp-tile .from { display: block; font-size: .84rem; color: var(--muted); margin-top: 3px; }
.hp-tile img { width: 100%; height: 108px; object-fit: contain; object-position: center bottom; margin-top: 8px; transition: transform .3s; }
.hp-tile:hover img { transform: scale(1.04); }
.hp-pill { position: absolute; top: 14px; right: 14px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.hp-pill.soft { background: #e8f6ee; color: var(--green); }
html[data-theme="dark"] .hp-pill.soft { background: #12261a; }

/* proč u nás */
.hp-usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); overflow: hidden; }
.hp-usp > div { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-left: 1px solid var(--border); }
.hp-usp > div:first-child { border-left: 0; }
.hp-usp .ico { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.hp-usp .ico svg { width: 20px; height: 20px; }
.hp-usp b { display: block; font-size: .9rem; text-decoration: none; }
.hp-usp span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; }
.hp-usp-cards { margin-top: 0; }

/* kategorie */
.hp-kat { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.hp-kat a { display: block; text-align: center; color: var(--text); }
.hp-kat .pic { display: grid; place-items: center; aspect-ratio: 1 / .92; padding: 16px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 8px; transition: border-color .15s, background .15s; }
.hp-kat a:hover .pic { border-color: var(--brand); background: var(--brand-soft); }
.hp-kat img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
html[data-theme="dark"] .hp-kat img { mix-blend-mode: normal; }
.hp-kat b { display: block; font-size: .88rem; line-height: 1.25; }
.hp-kat span { display: block; font-size: .74rem; color: var(--muted); margin-top: 2px; }

/* nejprodávanější */
.hp-tabs-head { flex-wrap: wrap; }
.hp-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.hp-tabs button { border: 1px solid var(--border); background: var(--bg); color: var(--text); border-radius: 999px; padding: 7px 14px; font-size: .84rem; font-weight: 500; }
.hp-tabs button:hover { border-color: var(--text); }
.hp-tabs button.on { background: var(--text); color: var(--bg); border-color: var(--text); }
html[data-theme="dark"] .hp-tabs button.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.hp-top { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* dva bannery */
.hp-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp-banner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 16px; min-height: 230px; padding: 26px 22px 26px 28px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; color: var(--text); overflow: hidden; }
.hp-banner h3 { font-size: 1.35rem; letter-spacing: -.02em; margin: 6px 0 8px; line-height: 1.15; }
.hp-banner p { color: var(--muted); font-size: .88rem; }
.hp-banner .link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--brand); font-size: .9rem; }
.hp-banner img { width: 100%; height: 190px; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.hp-banner:hover img { transform: scale(1.04); }
html[data-theme="dark"] .hp-banner img { mix-blend-mode: normal; }

/* řady produktů: bílé, bez šedého panelu */
body.home .row-scroll { grid-auto-columns: calc((100% - 5 * 16px) / 6); gap: 16px; padding-bottom: 4px; }

/* ideální počítač a modely */
.ideal { gap: 14px; }
.ideal .pic { border-radius: 14px; background: var(--bg-2); padding: 18px; }
.ideal img { mix-blend-mode: multiply; } html[data-theme="dark"] .ideal img { mix-blend-mode: normal; }
.ideal b { font-size: .9rem; } .ideal span { font-size: .76rem; }
.models { grid-auto-columns: 168px; gap: 12px; }
.mtile { position: relative; height: auto; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 14px; padding: 12px 12px 12px; transition: border-color .15s, box-shadow .15s; }
.mtile:hover { border-color: #cfd6e0; box-shadow: var(--shadow); }
.mtile img { position: static; width: 100%; height: 92px; object-fit: contain; object-position: center; filter: none; margin-bottom: 8px; }
.mtile b { font-size: .88rem; line-height: 1.25; } .mtile span { color: var(--muted); font-size: .76rem; } .mtile span em { color: var(--text); }
.mtile .arrow { display: none; }

/* prodejna, výkup, doprava */
.hp-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hp-info-card { border: 1px solid var(--border); border-radius: 16px; padding: 22px 22px 20px; background: var(--bg); }
.hp-info-card .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.hp-info-card .ico svg { width: 21px; height: 21px; }
.hp-info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.hp-info-card p { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.hp-info-card a { display: inline-block; margin-top: 12px; color: var(--brand); font-weight: 700; font-size: .88rem; }

/* hodnocení */
.hp-rate { display: grid; grid-template-columns: 300px repeat(3, 1fr); gap: 14px; align-items: stretch; }
.hp-score { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.hp-score .big { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hp-score .big small { font-size: 1.1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; margin-left: 2px; }
.hp-score .stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; margin: 6px 0 4px; }
.hp-score p { font-size: .84rem; color: var(--muted); }
.hp-score .bars { margin-top: 14px; }
.hp-score .bar { color: var(--muted); }
.hp-score .bar i { background: var(--bg-3); }
.hp-score .note { font-size: .74rem; margin-top: 14px; }
.hp-rate .rv { border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
html[data-theme="dark"] .hp-rate .rv, html[data-theme="dark"] .hp-score { background: var(--bg-2); }
html[data-theme="dark"] .hp-sec-grey { background: #101216; }

/* značky */
.brandbar { padding: 26px 0 6px; gap: 10px 30px; font-size: 1.05rem; color: #b3b9c2; }

@media (max-width: 1200px) {
  .hp-kat { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hp-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-rate { grid-template-columns: 1fr 1fr; }
  body.home .row-scroll { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
}
@media (max-width: 960px) {
  .hp-hero { grid-template-columns: 1fr; }
  .hp-main { min-height: 0; padding: 26px 22px; }
  .hp-main h1 { font-size: 1.7rem; }
  .hp-main img { height: 260px; }
  .hp-usp { grid-template-columns: 1fr 1fr; }
  .hp-usp > div:nth-child(3) { border-left: 0; }
  .hp-usp > div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .hp-promo, .hp-info { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hp-hero { padding-top: 12px; }
  .hp-main { grid-template-columns: 1fr; padding: 22px 18px 18px; }
  .hp-main img { height: 200px; order: -1; }
  .hp-main .btn { width: 100%; }
  .hp-side { grid-template-columns: 1fr 1fr; }
  .hp-tile img { height: 84px; }
  .hp-usp { grid-template-columns: 1fr; }
  .hp-usp > div { border-left: 0; border-top: 1px solid var(--border); }
  .hp-usp > div:first-child { border-top: 0; }
  .hp-kat { display: grid; grid-auto-flow: column; grid-auto-columns: 38%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; padding-bottom: 4px; }
  .hp-kat a { scroll-snap-align: start; }
  .hp-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hp-banner { grid-template-columns: 1fr; padding: 20px; }
  .hp-banner img { height: 150px; }
  .hp-rate { grid-template-columns: 1fr; }
  .ideal { gap: 10px; }
  .hp-sec .section-head h2 { font-size: 1.15rem; }
}
/* dlaždice kategorií drží stejnou výšku bez ohledu na rozměr fotky; „naposledy prohlížené“ bíle jako zbytek úvodu */
.hp-kat .pic { position: relative; aspect-ratio: 1 / .92; padding: 0; overflow: hidden; }
.hp-kat .pic img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
body.home .pblock { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 18px 18px 14px; margin: 26px 0 0; }

/* ---------- detail: popis nahoře přes celou šířku, parametry ve dvou sloupcích ---------- */
.desc-wrap2 { grid-template-columns: 1fr; gap: 0; }
.desc-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.desc-intro h2 { font-size: 1.2rem; margin-bottom: 8px; }
.desc-intro .desc-lead { font-size: 1rem; line-height: 1.6; }
.desc-intro .desc-for { border-radius: 10px; margin-top: 12px; }
.desc-video h3 { margin-top: 0 !important; border: 0 !important; padding: 0 !important; font-size: .82rem !important; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.desc-video .vid-link, .desc-video .vid-thumb { border-radius: 12px; }
.parts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.part { border-radius: 12px; padding: 16px 18px; }
.spec-cols { columns: 2; column-gap: 16px; }
.spec-cols .spec-group { break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 12px; border-radius: 10px; }
.spec-group dl { grid-template-columns: 42% 58%; }
.spec-group dt, .spec-group dd { padding: 8px 14px; }
.desc-main h3 { margin-top: 30px; }
@media (max-width: 900px) {
  .desc-intro { grid-template-columns: 1fr; gap: 18px; }
  .parts-grid { grid-template-columns: 1fr; }
  .spec-cols { columns: 1; }
}

/* ---------- loga dopravců a plateb bez rámečku, v přirozené velikosti ---------- */
.o-logo { width: 96px; height: 40px; border: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: flex-start; }
.o-logo .plogo, .o-logo .plogo-img { width: 96px; height: 40px; padding: 0; }
.o-logo .plogo-img img { object-position: left center; }
.o-logo .plogo:not(.plogo-img) svg { width: 40px; height: 40px; }
.opt { grid-template-columns: 18px 96px minmax(0, 1fr) auto; }
.o-logos .plogo { width: 42px; height: 26px; }
.plogo-card { padding: 2px 4px; }
.cs-logos .plogo { width: 44px; height: 27px; }
@media (max-width: 760px) {
  .opt { grid-template-columns: 18px 72px minmax(0, 1fr) auto; }
  .o-logo, .o-logo .plogo, .o-logo .plogo-img { width: 72px; height: 32px; }
}

/* ---------- čísla kroků v pokladně: plné kolečko jako v krokovníku ---------- */
.co-card h2 .n { width: 28px; height: 28px; background: var(--brand); color: #fff; font-size: .8rem; box-shadow: 0 2px 6px rgba(19, 85, 240, .25); }

/* ---------- platba: formulář brány bez rámečku, ať sedí na střed ---------- */
.pay2 { max-width: 960px; }
.pay2-body { background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.pay2-body > :not(#stripe-checkout):not(#sumup-card) { margin: 0; }
.pay2-body .form-note, .pay2-body .payload-box { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; }
.pay2-body .payload-box { padding: 48px 0; }
.pay2-body .btn { margin-top: 12px; }
#sumup-card { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; }
.pay2-head { align-items: center; }
.pay2-trust { margin-top: 20px; }
/* loga dopravců a plateb v detailu produktu a v patičce: čitelná velikost */
.ship-row .logos { gap: 10px; }
.ship-row .plogo-img { width: 62px; height: 26px; }
.ship-row .plogo-card { width: 44px; height: 26px; }
.footer .plogo-img { width: 62px; height: 26px; }
.footer .plogo-card { width: 44px; height: 26px; background: #fff; }
/* volba platby: text přes celou šířku, loga karet vpravo (pravidlo .opt výše ji přebíjelo) */
.opt.opt-pay { grid-template-columns: 18px minmax(0, 1fr) auto auto; }
.opt-pay .o-txt b { white-space: normal; }
.opt-pay .o-logos { display: flex; gap: 5px; }
.opt-pay .o-logos .plogo { width: 46px; height: 28px; }
@media (max-width: 760px) { .opt.opt-pay { grid-template-columns: 18px minmax(0, 1fr) auto; } }
/* platba: formulář brány dostane celou šířku stránky */
.pay2 { max-width: none; }
#stripe-checkout { min-height: 600px; }
/* značka osobního odběru se chová jako logo dopravce (bez rámečku, plná šířka sloupce) */
.plogo-odber svg { width: 100%; height: 100%; border-radius: 0; }
.o-logo .plogo-odber svg { width: 96px; height: 40px; }
.ship-row .plogo-odber, .footer .plogo-odber { width: 62px; height: 26px; }
html[data-theme="dark"] .plogo-odber text { fill: #e9ecf1; } html[data-theme="dark"] .plogo-odber text:last-child { fill: #98a1ad; }
/* výprodej skladu: štítek u ceny místo červeného pruhu mezi cenou a tlačítky */
.save-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.tag-sale { background: #fdecef; color: var(--red); font-size: .72rem; padding: 4px 9px; border-radius: 999px; }
html[data-theme="dark"] .tag-sale { background: #2a1418; color: #ff8b99; }
.buy-box .price-legal { margin-bottom: 14px; }

/* mobilní menu: oddělení se rozbalují do seznamu podkategorií */
.catnav .dd-toggle { display: none; }
@media (max-width: 760px) {
  .catnav li.dd { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; }
  .catnav li.dd > a { grid-column: 1; }
  .catnav .dd-toggle { display: block; grid-column: 2; width: 44px; height: 40px; border: 0; background: none; position: relative; }
  .catnav .dd-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -6px 0 0 -4px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
  .catnav li.dd.open .dd-toggle::after { transform: rotate(225deg); margin-top: -2px; }
  .catnav li.dd .dd-panel { display: none !important; grid-column: 1 / -1; position: static; min-width: 0; padding: 4px 0 8px 12px; border: 0; box-shadow: none; background: transparent; }
  .catnav li.dd.open .dd-panel { display: block !important; }
  .catnav .dd-grid, .catnav .dd-grid.dd-2 { grid-template-columns: 1fr; }
  .catnav .dd-panel .dd-grid a { padding: 7px 8px; }
  .catnav .dd-panel a.dd-all { margin-top: 4px; }
}

/* tmavý režim: barevná upozornění na stránce sledování */
html[data-theme="dark"] .trk-alert.warn { background: #2a2011; }
html[data-theme="dark"] .trk-alert.err { background: #2a1418; }
/* mobil: loga karet u volby platby schovat, ať se „Zdarma“ nezalamuje */
@media (max-width: 760px) { .opt.opt-pay .o-logos { display: none; } }

/* karta produktu: čtvercová fotka (dřívější pevná výška 190 px přebíjela poměr stran), štítky vpravo nahoře */
.product-img { height: auto; aspect-ratio: 1 / 1; }
.product-img .lbls { inset: 12px 12px auto auto; }

/* ---------- mobil: řady produktů ukazují 1,5 karty, ne čtyři rozmačkané ---------- */
@media (max-width: 1200px) and (min-width: 761px) { body.home .row-scroll { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (max-width: 760px) {
  body.home .row-scroll, .row-scroll { grid-auto-columns: 64%; gap: 12px; scroll-snap-type: x mandatory; scroll-padding-left: 20px; }
  .hp-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-name { font-size: .9rem; }
  /* číslo položek u košíku v hlavičce se na mobilu nesmí schovat s textem */
  .icon-link .cart-count { display: grid; }
  .icon-link { padding: 8px 8px; }
}
/* tečka skladovosti zůstává u prvního slova i při zalomení */
.avail .stock { display: inline; }
.avail .stock::before { display: inline-block; margin-right: 6px; vertical-align: 1px; }

/* =====================================================================
   MOBIL 2026 – kompaktní karty jako jabkolevne/Alza: fotka, název, sklad, cena,
   malé tlačítko. Parametry a porovnání až na detailu. Dvě karty vedle sebe.
   ===================================================================== */
@media (max-width: 760px) {
  .product { border-radius: 12px; }
  .product-img { padding: 10px 10px 2px; }
  .product-img .disc { top: 8px; left: 8px; font-size: .66rem; padding: 3px 6px; }
  .lbls { top: 8px; right: 8px; } .lbl { font-size: .6rem; padding: 2px 6px; }
  .product-body { padding: 4px 10px 10px; gap: 3px; }
  .product-name { font-size: .82rem; line-height: 1.3; min-height: 2.6em; }
  .stars { font-size: .68rem; letter-spacing: 0; } .stars small { font-size: .66rem; }
  .spec-lines, .card-desc, .product .cmp, .fps-strip { display: none !important; }
  .price-box { padding-top: 6px; gap: 6px; }
  .price-box .price { flex-direction: column-reverse; }
  .price-box .price strong { font-size: 1.08rem; }
  .price-box .price s { font-size: .7rem; }
  .avail { gap: 0 6px; }
  .avail .stock { font-size: .72rem; }
  .avail .dlv { display: none; }
  .price-box .btn { height: 36px; font-size: .8rem; padding: 0 8px; gap: 5px; border-radius: 8px; }
  .price-box .btn svg { width: 15px; height: 15px; }

  /* výpis kategorie: dvě karty vedle sebe */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .toolbar { gap: 8px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 4px; }
  .chip { white-space: nowrap; flex: none; }
  .page-head h1 { font-size: 1.45rem; } .page-head p { font-size: .88rem; }

  /* úvod: řady po dvou kartách, kratší sekce */
  body.home .row-scroll, .row-scroll { grid-auto-columns: 47%; gap: 10px; }
  .hp-top { gap: 10px; }
  .hp-top .product:nth-child(n+5) { display: none; }
  .hp-sec { padding-top: 20px; }
  .hp-sec .section-head { margin-bottom: 10px; }
  .hp-sec .section-head h2 { font-size: 1.1rem; }
  .section-head a { font-size: .84rem; }
  .hp-main { padding: 16px 16px 16px; border-radius: 14px; }
  .hp-main h1 { font-size: 1.45rem; }
  .hp-main p { font-size: .88rem; }
  .hp-main img { height: 170px; }
  .hp-main-price { margin: 10px 0 12px; }
  .hp-tile { padding: 12px 12px 8px; border-radius: 12px; }
  .hp-tile b { font-size: .92rem; } .hp-tile .from { font-size: .78rem; }
  .hp-usp > div { padding: 10px 14px; } .hp-usp .ico { width: 34px; height: 34px; } .hp-usp b { font-size: .84rem; } .hp-usp span { font-size: .74rem; }
  .hp-kat { grid-auto-columns: 30%; gap: 8px; }
  .hp-kat b { font-size: .78rem; } .hp-kat span { display: none; }
  .hp-kat .pic { padding: 10px; }
  .hp-banner { min-height: 0; padding: 16px; gap: 10px; }
  .hp-banner h3 { font-size: 1.1rem; } .hp-banner p { font-size: .82rem; } .hp-banner img { height: 120px; }
  .hp-info-card { padding: 16px; }
  .hp-rate .rv { padding: 16px; }
  .brandbar { display: none; }
  .models { grid-auto-columns: 132px; gap: 10px; }
  .mtile img { height: 72px; } .mtile b { font-size: .8rem; }
  .ideal { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ideal .pic { padding: 10px; border-radius: 10px; }
  .ideal b { font-size: .78rem; } .ideal span { display: none; }
  .ideal a:nth-child(n+7) { display: none; }
}

/* =====================================================================
   KONKURENCE 2026 – podle planeo.cz, datart.cz, smarty.cz a jabkolevne.cz
   ===================================================================== */
/* hodnocení na úvodu nesmí roztáhnout stránku do šířky (vodorovný posuvník na 1280 px) */
.hp-rate { grid-template-columns: 300px repeat(3, minmax(0, 1fr)); }
.hp-rate > * { min-width: 0; }
@media (max-width: 1200px) { .hp-rate { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .hp-rate { grid-template-columns: minmax(0, 1fr); } }

/* výpis: řazení v záložkách */
.sortbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 16px; border-bottom: 1px solid var(--border); }
.sort-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.sort-tabs::-webkit-scrollbar { display: none; }
.sort-tabs button { border: 0; background: none; font: inherit; font-size: .88rem; font-weight: 600; color: var(--muted); padding: 10px 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.sort-tabs button:hover { color: var(--text); }
.sort-tabs button.on { color: var(--brand); border-bottom-color: var(--brand); }
.sortbar-r { display: flex; align-items: center; gap: 10px; flex-shrink: 0; padding-bottom: 10px; }
.sortbar #sort { display: none; border: 1px solid var(--border); border-radius: 10px; padding: 9px 34px 9px 14px; font: inherit; font-size: .88rem; color: var(--text); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7078' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; }

/* výpis: tři nejprodávanější nahoře */
.top-picks { border: 1px solid var(--border); border-radius: 16px; padding: 14px 18px 6px; margin-bottom: 16px; background: var(--bg); }
.top-picks h2 { font-size: 1.02rem; margin-bottom: 4px; }
.top-picks ol { list-style: none; margin: 0; padding: 0; }
.top-picks li { display: grid; grid-template-columns: 28px 56px minmax(0, 1fr) auto 44px; grid-template-areas: "n img info price add"; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--border); }
.top-picks li:first-child { border-top: 0; }
.tp-n { grid-area: n; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: var(--bg-2); color: var(--muted); }
.top-picks li:nth-child(1) .tp-n { background: #f6c343; color: #4d3900; }
.top-picks li:nth-child(2) .tp-n { background: #d7dce3; color: #343a43; }
.top-picks li:nth-child(3) .tp-n { background: #e5b98f; color: #4f2c0f; }
.tp-img { grid-area: img; } .tp-img img { width: 56px; height: 56px; object-fit: contain; display: block; }
.tp-info { grid-area: info; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tp-info a { font-weight: 700; font-size: .9rem; color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-info a:hover { color: var(--brand); }
.tp-info .stock { font-size: .78rem; font-weight: 600; }
.tp-price { grid-area: price; font-size: 1.05rem; font-weight: 800; white-space: nowrap; }
.tp-add { grid-area: add; width: 44px; height: 40px; padding: 0; display: grid; place-items: center; border-radius: 10px; }
.tp-add svg { width: 18px; height: 18px; }

/* detail: boční karta s cenou vedle popisu (pravý sloupec byl prázdný) */
.desc-wrap.desc-wrap2 { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
.pd-side { position: sticky; top: 90px; border: 1px solid var(--border); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); box-shadow: 0 6px 24px rgba(15, 23, 42, .06); }
.pd-side-top { display: flex; gap: 12px; align-items: center; }
.pd-side-top img { width: 64px; height: 64px; object-fit: contain; flex-shrink: 0; }
.pd-side-top b { font-size: .9rem; line-height: 1.3; }
.pd-side-price { display: flex; flex-direction: column; }
.pd-side-price s { font-size: .8rem; color: var(--muted); }
.pd-side-price strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.pd-side .stock { font-size: .86rem; font-weight: 600; }
.pd-side-dl { font-size: .84rem; color: var(--muted); margin-top: -6px; }
.pd-side .btn { width: 100%; height: 46px; justify-content: center; gap: 8px; }
.pd-side .btn svg { width: 18px; height: 18px; }
.pd-side ul { list-style: none; margin: 2px 0 0; padding: 10px 0 0; border-top: 1px solid var(--border); display: grid; gap: 6px; font-size: .84rem; color: var(--muted); }
.pd-side li { display: flex; gap: 8px; align-items: center; }
.pd-side li svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }
@media (max-width: 1000px) { .desc-wrap.desc-wrap2 { grid-template-columns: minmax(0, 1fr); gap: 0; } .pd-side { display: none; } }
html[data-theme="dark"] .pd-side, html[data-theme="dark"] .top-picks { background: var(--bg-2); }

@media (max-width: 760px) {
  /* výpis na mobilu: místo záložek rozbalovací řazení vedle Filtrů */
  .sortbar { border-bottom: 0; margin-bottom: 12px; }
  .sort-tabs { display: none; }
  .sortbar #sort { display: block; }
  .sortbar-r { width: 100%; padding-bottom: 0; }
  .sortbar-r .result-count { margin-left: auto; }
  .top-picks { padding: 12px 12px 4px; border-radius: 12px; }
  .top-picks li { grid-template-columns: 22px 44px minmax(0, 1fr) 40px; grid-template-areas: "n img info add" "n img price add"; gap: 2px 10px; }
  .tp-n { width: 22px; height: 22px; font-size: .74rem; }
  .tp-img img { width: 44px; height: 44px; }
  .tp-info a { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .82rem; line-height: 1.3; }
  .tp-price { font-size: .95rem; }
  .tp-add { width: 40px; height: 38px; }

  /* košík na mobilu: logo dopravce nahoře, popis přes celou šířku (text se lámal po slovech) */
  .opt:not(.opt-pay) { grid-template-columns: 18px minmax(0, 1fr) auto; grid-template-areas: "r logo price" "r txt txt"; gap: 6px 12px; }
  .opt:not(.opt-pay) > input { grid-area: r; align-self: start; margin-top: 6px; }
  .opt:not(.opt-pay) .o-logo { grid-area: logo; width: auto; height: 30px; justify-self: start; display: flex; align-items: center; }
  .opt:not(.opt-pay) .o-logo .plogo, .opt:not(.opt-pay) .o-logo .plogo-img { width: 92px; height: 30px; }
  .opt:not(.opt-pay) .o-txt { grid-area: txt; }
  .opt:not(.opt-pay) .o-price { grid-area: price; }

  /* detail na mobilu: cena a úspora pod sebou, tlačítka přes celou šířku, výhody 2 × 2 */
  .buy-box .row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .buy-box .save-wrap { flex-direction: row; align-items: center; gap: 8px; }
  .buy-actions { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; }
  .buy-actions #buyBtn { grid-column: 1 / -1; width: 100%; }
  .usp-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .usp-mini > div { padding: 10px 12px; }
  .usp-mini span { font-size: .72rem; }
}
/* výpis: sloupec s produkty se nesmí roztáhnout přes okraj (na mobilu o 3 px širší než displej) */
.catalog > * { min-width: 0; }
@media (max-width: 1100px) { .catalog { grid-template-columns: minmax(0, 1fr); } }
/* detail na mobilu: výhody 2 × 2 (detail.css se načítá později a přebíjel to na jeden sloupec) */
@media (max-width: 760px) { body .usp-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
@media (max-width: 760px) { .opt:not(.opt-pay) .o-logo .plogo-odber, .opt:not(.opt-pay) .o-logo .plogo-odber svg { width: 72px; height: 30px; } }
/* info stránky na mobilu: menu jako vodorovný pás místo 16 odkazů pod sebou, obsah nepřetéká */
.info-layout > * { min-width: 0; }
@media (max-width: 900px) {
  .info-layout { grid-template-columns: minmax(0, 1fr) !important; gap: 18px !important; padding-top: 8px !important; }
  .info-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border: 0 !important; padding: 2px 20px 6px !important; margin: 0 -20px; position: static !important; }
  .info-nav::-webkit-scrollbar { display: none; }
  .info-nav a { flex: none; white-space: nowrap; border: 1px solid var(--border); border-radius: 999px !important; padding: 7px 13px !important; font-size: .84rem !important; background: var(--bg); }
  .info-nav a.active { background: var(--text) !important; color: var(--bg) !important; border-color: var(--text); }
  .info-layout table { display: block; overflow-x: auto; }
}
/* telefon jako odkaz na volání (patička a horní lišta) */
.footer .contact a { display: flex; align-items: center; gap: 6px; color: inherit; }
.topbar a.t-phone { color: inherit; }
/* slevový kód v souhrnu košíku (nenápadně, bez propagace) */
.cs-kod { margin: 2px 0 12px; }
.cs-kod summary { cursor: pointer; font-size: .86rem; color: var(--brand); font-weight: 600; list-style: none; display: inline-block; }
.cs-kod summary::-webkit-details-marker { display: none; }
.cs-kod-row { display: flex; gap: 8px; margin-top: 8px; }
.cs-kod-row input { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--border); border-radius: 10px; padding: 0 12px; font: inherit; font-size: .9rem; text-transform: uppercase; background: var(--bg); color: var(--text); }
.cs-kod-row input:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.cs-kod-row .btn { height: 40px; }
.cs-kod-err { font-size: .8rem; color: var(--red); margin-top: 6px; }
.cs-kod-err:empty { display: none; }
.cs-kod-x { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1rem; line-height: 1; padding: 0 4px; vertical-align: 1px; }
.cs-kod-x:hover { color: var(--red); }

/* okno po přidání do košíku: co dalšího v košíku je */
.modal-more { font-size: .8rem; color: var(--muted); margin: -2px 0 10px; line-height: 1.4; }

/* filtry: na počítači bez zavíracích prvků */
.filters-close, .filters-foot { display: none; }
@media (max-width: 1100px) {
  /* filtry na mobilu jako celá obrazovka – produkty zůstanou na místě a tlačítko ukáže počet */
  .filters.open { position: fixed; inset: 0; z-index: 95; display: block; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border: 0; border-radius: 0; padding: 0 18px 96px; }
  .filters.open .filters-head { position: sticky; top: 0; z-index: 2; background: var(--bg); padding: 14px 0 12px; margin-bottom: 4px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 14px; }
  .filters.open .filters-head h3 { margin-right: auto; }
  .filters.open .filters-close { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; }
  .filters.open .filters-foot { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(16, 24, 40, .08); }
  .filters.open .filters-foot .btn { height: 48px; font-size: 1rem; }
  body.filters-lock { overflow: hidden; }
}
@media (max-width: 760px) {
  /* lišta porovnání na mobilu v jednom řádku a nad lištou s cenou u detailu produktu */
  .cmp-bar .cmp-items { display: none; }
  body.has-buybar .cmp-bar { bottom: 76px; }
}

/* detail: popis bez boční karty (tlačítko do košíku je hned nahoře) */
.desc-wrap.desc-wrap2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
.desc-intro:not(:has(.desc-video)) { grid-template-columns: minmax(0, 1fr); }
.desc-intro:not(:has(.desc-video)) .desc-lead, .desc-intro:not(:has(.desc-video)) .desc-for { max-width: 820px; }

/* PŘEDOBJEDNÁVKY 2026: štítek, stav v košíku a informační box na detailu */
.stock.pre, .ci-stock.pre { color: #b35c00; }
.tag-pre { background: #fff3e0; color: #b35c00; font-size: .72rem; padding: 4px 9px; border-radius: 999px; }
.pre-box { margin-top: 14px; padding: 12px 14px 12px 16px; border-radius: 10px; background: #fff3e0; border-left: 4px solid #f08a24; font-size: .86rem; line-height: 1.5; }
.pre-box b { display: block; color: #b35c00; margin-bottom: 4px; }
.pre-box p { margin: 0 0 6px; }
.pre-box p:last-child { margin-bottom: 0; }
.pre-box .muted { font-size: .8rem; }

/* NOVINKA NA PŘEDOBJEDNÁVKU (homepage, pod hlavní nabídkou) */
.hp-novinka { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-top: 14px; padding: 22px 28px; background: var(--bg); border: 1px solid var(--border); border-left: 5px solid #f08a24; border-radius: 16px; color: var(--text); transition: box-shadow .2s; }
.hp-novinka:hover { box-shadow: 0 8px 24px rgba(15, 30, 60, .08); }
.hp-novinka[hidden] { display: none; }
.hp-novinka .kicker { color: #b35c00; font-weight: 800; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.hp-novinka h2 { font-size: 1.45rem; line-height: 1.15; letter-spacing: -.02em; margin: 6px 0 8px; }
.hp-novinka p { margin: 0 0 14px; color: var(--muted); font-size: .92rem; max-width: 620px; }
.hp-novinka p b { color: var(--text); }
.hp-novinka-img { display: flex; gap: 8px; align-items: center; }
.hp-novinka-img img { height: 150px; width: auto; max-width: 150px; object-fit: contain; }
@media (max-width: 900px) { .hp-novinka-img img { height: 120px; max-width: 120px; } }
@media (max-width: 640px) { .hp-novinka { grid-template-columns: 1fr; padding: 18px 16px; gap: 12px; } .hp-novinka h2 { font-size: 1.2rem; } .hp-novinka-img { justify-content: center; } .hp-novinka-img img { height: 100px; max-width: 30%; } }
/* malé dlaždice na mobilu: štítek („záruka 12 měsíců“) pod textem, ne přes něj */
@media (max-width: 640px) { .hp-tile .hp-pill { position: static; align-self: flex-start; margin-top: 6px; } .hp-tile img { order: 2; } }
/* deset oddělení v horním menu: na běžném notebooku (do 1320 px) těsnější, ať se nezalamuje na dva řádky */
@media (min-width: 1101px) and (max-width: 1320px) { .catnav a { padding: 8px 7px; font-size: .86rem; } .catnav li.dd > a::after { margin-left: 5px; } .catnav a.pill { margin: 0 4px; } }

/* ÚVODNÍ STRÁNKA – TELEFONY NAHOŘE (2026-09-15)
   „Vybírej podle modelu“: tmavé dlaždice s fotkou bez pozadí, vodorovně posuvné (vzor jabkolevne.cz) */
.mcar { position: relative; }
.mcar-track { display: grid; grid-auto-flow: column; grid-auto-columns: 214px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.mcar-track::-webkit-scrollbar { display: none; }
.mcard { position: relative; isolation: isolate; display: block; height: 256px; padding: 22px 22px; background: #232628; border-radius: 14px; color: #fff; overflow: hidden; scroll-snap-align: start; }
.mcard b { display: block; font-size: 1.12rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.mcard span { display: block; margin-top: 7px; font-size: .8rem; font-weight: 600; color: #8fb8ff; }
.mcard img { position: absolute; left: 50%; bottom: -26px; z-index: -1; width: 80%; height: 172px; object-fit: contain; object-position: center bottom; transform: translateX(-50%); transition: transform .3s ease; }
.mcard:hover img { transform: translateX(-50%) translateY(-6px); }
.mcard i { position: absolute; right: 14px; bottom: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.mcard i::before { content: ""; width: 7px; height: 7px; margin-left: -3px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.mcar-btn { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: #fff; color: var(--text); box-shadow: 0 6px 18px rgba(16, 24, 40, .16); cursor: pointer; }
.mcar-btn.next { right: -16px; }
.mcar-btn.prev { left: -16px; }
.mcar-btn.prev svg { transform: rotate(180deg); }
.mcar-btn[hidden] { display: none; }
html[data-theme="dark"] .mcard { background: #1b1e21; border: 1px solid #2c3036; }
html[data-theme="dark"] .mcar-btn { background: var(--bg); }

/* „Najdi svůj ideální iPhone“: fotka na světlém barevném pozadí, pod ní název */
.ideal-tel { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.ideal-tel a { display: flex; flex-direction: column; background: var(--bg-2); border-radius: 14px; overflow: hidden; color: var(--text); text-align: center; transition: box-shadow .2s, transform .2s; }
.ideal-tel a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ideal-tel .pic { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 14px; }
.ideal-tel .pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.ideal-tel a:hover .pic img { transform: scale(1.05); }
.ideal-tel b { display: block; padding: 12px 8px 2px; font-size: .9rem; }
.ideal-tel span { display: block; padding: 0 8px 14px; font-size: .76rem; color: var(--muted); }
html[data-theme="dark"] .ideal-tel .pic { background: #1f2327 !important; }
html[data-theme="dark"] .ideal-tel .pic img { mix-blend-mode: normal; }

/* kategorie: 12 oddělení ve dvou řadách po šesti */
@media (min-width: 761px) { .hp-kat { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

@media (max-width: 1100px) { .ideal-tel { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .mcar-track { grid-auto-columns: 164px; gap: 10px; }
  .mcard { height: 212px; padding: 16px; }
  .mcard b { font-size: 1rem; }
  .mcard img { height: 134px; bottom: -20px; }
  .mcar-btn { display: none; }
  .ideal-tel { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ideal-tel::-webkit-scrollbar { display: none; }
  .ideal-tel a { scroll-snap-align: start; }
}
/* „Jaký telefon hledáte?“: karty se skutečnou fotkou přes celou horní část */
.ideal-tel a.foto .pic { padding: 0; overflow: hidden; }
.ideal-tel a.foto .pic img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
html[data-theme="dark"] .ideal-tel a.foto .pic { background: #1f2327 !important; }
/* pruh výhod bez ikon: výrazný údaj a vedle něj vysvětlení */
.hp-usp strong { flex: none; min-width: 66px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--brand); }
/* kategorie: nízké světlé dlaždice s malou fotkou a názvem v řádku */
.hp-kat2 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.hp-kat2 a { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 12px 8px 8px; background: #eef3fb; border-radius: 10px; color: var(--text); transition: background .15s; }
.hp-kat2 a:hover { background: #e1eaf8; }
.hp-kat2 img { width: 48px; height: 48px; flex: none; object-fit: contain; mix-blend-mode: multiply; }
.hp-kat2 b { display: block; font-size: .88rem; line-height: 1.2; }
.hp-kat2 small { display: block; margin-top: 2px; font-size: .72rem; color: var(--muted); }
html[data-theme="dark"] .hp-kat2 a { background: #1c2230; }
html[data-theme="dark"] .hp-kat2 a:hover { background: #232b3c; }
html[data-theme="dark"] .hp-kat2 img { mix-blend-mode: normal; }
@media (max-width: 1200px) { .hp-kat2 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .hp-kat2 { grid-template-columns: 1fr 1fr; gap: 8px; } .hp-kat2 a { min-height: 56px; } .hp-kat2 img { width: 40px; height: 40px; } .hp-usp strong { min-width: 58px; font-size: 1.15rem; } }
/* s deseti odděleními se odkaz „Jak poznáte stav zboží?“ na užších obrazovkách nevejde – ať menu zůstane na jednom řádku */
@media (max-width: 1560px) { .catnav li.right { display: none; } }

/* filtr na počítači: vyšší než obrazovka → vlastní posuvník (jinak spodní část nejde zobrazit) */
@media (min-width: 1101px) {
  .filters { max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
  .filters .filters-head { position: sticky; top: -6px; z-index: 2; background: var(--bg); margin-top: -6px; padding-top: 18px; }
  .filters::-webkit-scrollbar { width: 6px; }
  .filters::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
}



/* ---------- AI asistent ---------- */
#scChat { --chat-bg: #f5f6f8; --chat-od: 0px; position: fixed; right: 22px; bottom: calc(22px + var(--chat-od)); z-index: 80; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 14.5px; font-weight: 400; letter-spacing: 0; color: #202124; -webkit-font-smoothing: auto; }
#scChat button, #scChat textarea { font-family: inherit; }
html[data-theme="dark"] #scChat { --chat-bg: var(--bg-2); }
#scChat b { font-weight: 600; }
.chat-fab { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(19, 85, 240, .3); cursor: pointer; transition: transform .18s, background .18s; }
.chat-fab:hover { background: var(--brand-dark); transform: scale(1.05); }
.chat-fab svg { width: 26px; height: 26px; }
.chat-fab span { position: absolute; display: grid; transition: opacity .18s, transform .18s; }
.chat-fab .i-off, #scChat.open .chat-fab .i-on { opacity: 0; transform: rotate(-45deg) scale(.6); }
#scChat.open .chat-fab .i-off { opacity: 1; transform: none; }
.chat-panel { position: absolute; right: 0; bottom: 74px; width: 400px; height: min(680px, calc(100vh - 130px - var(--chat-od))); height: min(680px, calc(100dvh - 130px - var(--chat-od))); background: var(--chat-bg); border-radius: 16px; box-shadow: 0 12px 40px rgba(16, 24, 40, .14), 0 2px 8px rgba(16, 24, 40, .06); overflow: hidden; animation: chatIn .22s cubic-bezier(.2, .8, .2, 1); }
.chat-panel[hidden], .chat-home[hidden], .chat-view[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(10px); } }
.chat-ava { display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px rgba(16, 24, 40, .1); }
#scChat .chat-ava svg { width: 60%; height: auto; }
.chat-x { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; flex-shrink: 0; }
.chat-x:hover { background: rgba(16, 24, 40, .06); }
.chat-x svg { width: 21px; height: 21px; }

/* úvod */
.chat-home { height: 100%; display: flex; flex-direction: column; padding: 18px 18px 16px; }
.chat-home-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.chat-home h2 { margin: 0 0 6px; font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.chat-home p { margin: 0; color: #5f6368; font-size: 16px; line-height: 1.5; }
.chat-start { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; margin-top: auto; padding: 16px 18px; text-align: left; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 14px; font: inherit; cursor: pointer; transition: box-shadow .15s; }
.chat-start:hover { box-shadow: 0 4px 16px rgba(16, 24, 40, .08); }
.chat-start small { color: #5f6368; font-size: 15px; }
.chat-start em { display: flex; align-items: center; gap: 4px; margin-top: 12px; font-style: normal; font-weight: 600; color: var(--brand); }
.chat-start em svg { width: 16px; height: 16px; }

/* konverzace */
.chat-view { height: 100%; display: flex; flex-direction: column; }
.chat-bar { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 8px; background: var(--bg); box-shadow: 0 1px 2px rgba(16, 24, 40, .06); position: relative; z-index: 2; }
.chat-name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; gap: 1px; }
.chat-name b { font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-name small { color: #5f6368; font-size: 13px; }
.chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px 16px 16px 12px; display: flex; flex-direction: column; gap: 16px; scroll-behavior: smooth; scrollbar-width: none; }
.chat-log::-webkit-scrollbar { display: none; width: 0; height: 0; }
.chat-time { color: #80868b; font-size: 11.5px; line-height: 1; padding-left: 8px; margin-top: 2px; }
.chat-time.me { align-self: flex-end; padding: 0 6px 0 0; margin-top: -8px; }
.chat-date { display: flex; align-items: center; gap: 16px; color: #5f6368; font-size: 13px; margin: 0 0 4px; }
.chat-date::before, .chat-date::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.chat-row { display: flex; padding-left: 26px; }
.chat-bub { position: relative; align-self: flex-start; max-width: 100%; }
.chat-bub > .chat-ava { position: absolute; left: -26px; bottom: -6px; z-index: 1; box-shadow: inset 0 0 0 1px rgba(16, 24, 40, .1), 0 1px 3px rgba(16, 24, 40, .12); }
.chat-bub > .chat-msg { max-width: 100%; }
.chat-col { display: flex; flex-direction: column; gap: 6px; max-width: 82%; min-width: 0; }
.chat-msg { position: relative; padding: 12px 16px; border-radius: 18px; line-height: 1.45; overflow-wrap: anywhere; animation: chatMsg .25s ease-out; }
@keyframes chatMsg { from { opacity: 0; transform: translateY(6px); } }
.chat-msg p { margin: 0; } .chat-msg p + p { margin-top: 10px; }
.chat-msg.bot { align-self: flex-start; background: var(--bg); box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06); }
.chat-bub.s-palci { margin-bottom: 10px; }
.chat-react { position: absolute; right: 12px; bottom: -13px; display: flex; gap: 0; padding: 1px 3px; background: var(--bg); border-radius: 999px; box-shadow: 0 1px 3px rgba(16, 24, 40, .14); }
.chat-react::after { content: "Ohodnotit kvalitu odpovědi"; position: absolute; right: -4px; bottom: calc(100% + 8px); padding: 6px 10px; border-radius: 6px; background: #3c4043; color: #fff; font-size: 12.5px; line-height: 1.2; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.chat-react:hover::after { opacity: 1; transform: none; transition-delay: .35s; }
@media (hover: none) { .chat-react::after { display: none; } }
.chat-react button { display: grid; place-items: center; width: 26px; height: 22px; padding: 0; border: 0; background: transparent; color: #5f6368; cursor: pointer; border-radius: 999px; transition: color .15s; }
.chat-react button:hover, .chat-react button.on { color: var(--brand); }
.chat-react button.on svg { fill: var(--brand-soft); }
.chat-react svg { width: 15px; height: 15px; }
.chat-msg.me { align-self: flex-end; max-width: 78%; padding: 10px 16px; background: var(--brand); color: #fff; font-weight: 500; }
.chat-msg.err { color: #b42318; }
.chat-msg.typing { display: flex; align-items: center; gap: 4px; padding: 12px 15px; border-radius: 999px; }
.chat-msg.pise { min-width: 60px; min-height: 46px; }
.chat-msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa0a6; animation: chatDot 1.2s infinite ease-in-out; }
.chat-msg.typing i:nth-child(2) { animation-delay: .15s; } .chat-msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.chat-sugg { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 26px; }
.chat-sugg button { border: 1px solid var(--border); background: var(--bg); color: var(--text); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .84rem; cursor: pointer; transition: border-color .15s, color .15s; }
.chat-sugg button:hover { border-color: var(--brand); color: var(--brand); }
.chat-prods { display: flex; flex-direction: column; gap: 6px; }
.chat-prod { display: flex; gap: 11px; align-items: center; padding: 8px 12px 8px 8px; background: var(--bg); border-radius: 14px; color: inherit; text-decoration: none; box-shadow: 0 2px 10px rgba(16, 24, 40, .07); border: 1px solid transparent; transition: border-color .15s; }
.chat-prod:hover { border-color: var(--brand); }
.chat-prod img, .chat-prod > i { width: 54px; height: 54px; object-fit: contain; flex-shrink: 0; border-radius: 10px; background: #fff; }
.chat-prod > span { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
#scChat .chat-prod b { font-size: 14px; font-weight: 400; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chat-prod small { font-size: 12.5px; }
.chat-prod small.new { color: #12813a; } .chat-prod small.used { color: #b25e09; } .chat-prod small.pre { color: #c2410c; }
.chat-prod em { font-style: normal; font-weight: 600; }
.chat-prod s { color: var(--muted); font-weight: 400; font-size: .76rem; margin-left: 4px; }
.chat-view { position: relative; }
.chat-form { position: relative; margin: 0 14px 14px; padding: 5px 6px 5px 16px; background: var(--bg); border: 1px solid #dadce0; border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: border-color .15s, box-shadow .15s; }
.chat-form:focus-within { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.chat-input { display: flex; align-items: flex-end; gap: 0; }
.chat-form textarea { flex: 1; min-width: 0; resize: none; min-height: 40px; max-height: 120px; padding: 10px 6px 10px 0; border: 0; outline: none; background: transparent; color: var(--text); font: inherit; font-size: 15px; line-height: 1.3; }
.chat-form textarea::placeholder { color: #80868b; }
.chat-form button { display: grid; place-items: center; width: 36px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: #5f6368; cursor: pointer; flex-shrink: 0; transition: background .15s, color .15s; }
.chat-form button:hover { color: var(--brand); background: var(--brand-soft); }
.chat-form button:disabled { opacity: .4; cursor: default; }
.chat-form button svg { width: 21px; height: 21px; }
.chat-form .chat-send { color: var(--brand); display: none; }
.chat-form.plne .chat-send { display: grid; animation: chatMsg .15s ease-out; }
.chat-att { position: relative; display: inline-block; margin: 8px 0 2px; }
.chat-att[hidden] { display: none; }
.chat-att img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.chat-form .chat-att button { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; background: var(--text); color: var(--bg); }
.chat-form .chat-att button:hover { background: #b42318; color: #fff; }
.chat-form .chat-att button svg { width: 13px; height: 13px; }
.chat-emoji { position: absolute; right: -2px; bottom: calc(100% + 8px); z-index: 3; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 2px; width: 296px; max-width: calc(100% + 4px); padding: 8px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 10px 30px rgba(16, 24, 40, .14); }
.chat-emoji[hidden] { display: none; }
.chat-form .chat-emoji button { display: grid; place-items: center; width: auto; min-width: 0; height: 34px; padding: 0; border: 0; color: inherit; border-radius: 8px; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.chat-form .chat-emoji button:hover { background: var(--bg-2); }
.chat-msg.me.s-fotkou { padding: 4px; }
.chat-msg.me.s-fotkou > span { display: block; padding: 6px 10px 6px; }
.chat-img { display: block; max-width: 220px; max-height: 260px; border-radius: 12px; object-fit: cover; }
html[data-theme="dark"] .chat-panel { box-shadow: 0 16px 48px rgba(0, 0, 0, .55), 0 0 0 1px var(--border); }
html[data-theme="dark"] .chat-x:hover { background: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .chat-msg.bot, html[data-theme="dark"] .chat-prod { box-shadow: none; border: 1px solid var(--border); }
@media (max-width: 640px) {
  #scChat { right: 14px; bottom: calc(14px + var(--chat-od)); }
  .chat-fab { width: 54px; height: 54px; }
  #scChat.open .chat-fab { display: none; }
  .chat-panel { position: fixed; inset: 0; width: auto; height: 100%; border-radius: 0; box-shadow: none; z-index: 96; }
  .chat-form textarea { font-size: 16px; }
  body.chat-lock { overflow: hidden; }
}
@media print { #scChat { display: none; } }
