/* 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: 10px; --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: 999px; 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: 999px; 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: 999px; 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: 999px; 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: 14px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--border); padding: 24px; }
.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; }
/* fotky produktů jsou nafocené na bílém pozadí; dáváme je do světlé karty,
   ať na tmavé dlaždici nevypadají jako nalepený bílý obdélník */
.htile img { position: absolute; right: 14px; bottom: 14px; width: 58%; height: 54%; object-fit: contain; object-position: center; background: #fff; border-radius: 12px; padding: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.htile.dark img { box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.htile .badge-round { position: absolute; left: 24px; bottom: 24px; 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: 50%; 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: 12px; 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: 8px; 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: 12px; padding: 14px; height: 200px; display: flex; flex-direction: column; overflow: hidden; transition: transform .15s; }
.mtile:hover { transform: translateY(-3px); }
.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: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .9rem; }

/* Ideal tiles */
.ideal { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.ideal a { text-align: center; }
.ideal .pic { aspect-ratio: 1/.85; border-radius: 12px; 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: 14px; 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: 14px; 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: 12px; 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: 4px; 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: 4px; }
.product-img .disc { position: absolute; left: 10px; bottom: 8px; }
.countdown { margin: 0 12px; background: var(--dark); color: #fff; border-radius: 8px; 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: 4px; 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: 14px; 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: 14px; 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: 50%; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; }

/* Rating box */
.ratebox { background: var(--dark); color: #fff; border-radius: 16px; padding: 30px; display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; }
.ratebox .pct { display: inline-block; background: var(--brand); border-radius: 999px; 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: 999px; 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: 4px; display: block; }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; background: var(--text); color: #fff; border-radius: 8px; 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 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: 6px; 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: 999px; 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: 999px; 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: 8px; 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: 4px; }
.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: 10px; 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: 8px; 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: 8px; 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: 8px; 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: 6px; 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: 300px; } .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: 8px; }
.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: 8px; 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: 4px; background: rgba(255,255,255,.15); overflow: hidden; }
.bar i b { display: block; height: 100%; background: #f5a623; border-radius: 4px; }
.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: 12px; 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: 8px; 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: 12px; 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: 12px; 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: 999px; }
.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: 6px; 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: 8px; 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: 12px; }
.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 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: 50%; 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: 16px; 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: 999px; 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: 12px; 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 { 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: 10px; 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: 14px; 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: 50%; padding: 4px; }
.modal-item { display: flex; gap: 14px; align-items: center; border: 1px solid var(--border); border-radius: 10px; 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: 4px; overflow: hidden; margin-bottom: 6px; }
.ship-bar-line i { display: block; height: 100%; background: var(--green); border-radius: 4px; 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: 12px; 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: 9px; 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; }
