/* =====================================================
   HOMEPAGE (10/2026) – směr „přesná dílna“: vzdušná stránka s technickými detaily
   z konfigurátorů (rýsovací mřížka, mono údaje) a jednou tmavou sekcí pro kontrast.
   Načítá se jen na homepage (index.php). Karty produktů zůstávají z katalogu.
   ===================================================== */
.hp {
    --hp-ink: #15131f; --hp-ink-2: #3d4457; --hp-ink-3: #7b7f94;
    --hp-line: #e7e4f1; --hp-line-2: #d7d3e8; --hp-wash: #f3f0fe; --hp-wash-2: #e9e3fd;
    --hp-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Roboto Mono', Menlo, Consolas, monospace;
    --hp-c: #00a3e0; --hp-m: #e6007e; --hp-y: #ffd500; --hp-k: #1a1a2e;
    padding-bottom: 2rem;
}
.hp-title { margin: 0; font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; color: var(--hp-ink); }
.hp-title span { color: var(--primary); }
.hp-lede { margin: .8rem 0 0; max-width: 58ch; font-size: 16px; color: var(--hp-ink-2); }
.hp-section { margin-top: clamp(56px, 7vw, 96px); }
.hp-head { margin-bottom: 28px; }
.hp-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.hp-link { font-weight: 700; color: var(--primary); text-decoration: none; }
.hp-link:hover { color: var(--primary-hover, #3c14a6); }
.hp-beta { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 99px; background: rgba(255,255,255,.14); color: #fff; font-family: var(--hp-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.hp-tool:not(.hp-tool-ink) .hp-beta { background: var(--hp-ink); }

/* ---------- Kampaně + panel s uzávěrkou ---------- */
.hp-hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; margin-top: 20px; }
.hp-campaign { position: relative; min-height: 420px; border-radius: 24px; overflow: hidden; background: var(--hp-ink); isolation: isolate; }
.hp-slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 44px 48px 88px; color: #fff; text-decoration: none;
    background: linear-gradient(90deg, rgba(10,8,20,.82) 0%, rgba(10,8,20,.35) 45%, rgba(10,8,20,0) 70%), var(--img, none) var(--pos, 50% 50%) / cover no-repeat, var(--bg, transparent);
    opacity: 0; transform: scale(1.03); transition: opacity .8s ease, transform 6s ease; pointer-events: none; }
.hp-slide.is-on { opacity: 1; transform: scale(1); pointer-events: auto; }
.hp-slide:hover { color: #fff; }
.hp-slide-kicker { font-family: var(--hp-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hp-slide-title { max-width: 16ch; font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.hp-slide-text { max-width: 46ch; font-size: 16px; color: rgba(255,255,255,.82); }
.hp-slide-cta { margin-top: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; background: #fff; color: var(--hp-ink); font-weight: 800; font-size: 14px; transition: gap .2s; }
.hp-slide:hover .hp-slide-cta { gap: 12px; }
.hp-campaign-nav { position: absolute; left: 48px; right: 48px; bottom: 26px; z-index: 2; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; }
.hp-campaign-nav button { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; color: rgba(255,255,255,.55); font: inherit; font-size: 12px; font-weight: 700; }
.hp-campaign-nav i { display: block; height: 2px; margin-bottom: 8px; border-radius: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.hp-campaign-nav i::after { content: ""; display: block; height: 100%; width: 0; background: #fff; }
.hp-campaign-nav button.is-on { color: #fff; }
.hp-campaign-nav button.is-on i::after { animation: hp-progress 6s linear forwards; }
.hp-campaign.is-paused .hp-campaign-nav button.is-on i::after { animation-play-state: paused; }
@keyframes hp-progress { to { width: 100%; } }

.hp-today { position: relative; display: flex; flex-direction: column; padding: 26px 24px; border-radius: 24px; border: 1px solid var(--hp-line); overflow: hidden;
    background: linear-gradient(var(--hp-line) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--hp-line) 1px, transparent 1px) 0 0 / 24px 24px, #fff; }
.hp-today::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 30% 20%, rgba(255,255,255,.97) 40%, rgba(255,255,255,.72) 100%); }
.hp-today > * { position: relative; }
.hp-today-time { font-family: var(--hp-mono); font-size: 56px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--primary); }
.hp-today-lead { margin: 10px 0 0; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--hp-ink); }
.hp-today-note { margin: 6px 0 0; font-size: 12px; color: var(--hp-ink-3); }
.hp-today-live { margin: 14px 0 0; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--hp-wash); font-size: 13px; font-weight: 600; color: var(--hp-ink-2); }
.hp-today-live b { font-family: var(--hp-mono); color: var(--primary); }
.hp-pulse { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #16a34a; animation: hp-pulse 2s infinite; }
@keyframes hp-pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); } 70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.hp-today-list { list-style: none; margin: 18px 0 auto; padding: 16px 0 0; border-top: 1px dashed var(--hp-line-2); display: grid; gap: 9px; font-size: 14px; color: var(--hp-ink-2); }
.hp-today-list li { display: flex; align-items: center; gap: 8px; }
.hp-today-list svg { color: #16a34a; flex: none; }
.hp-today-phone { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 14px; padding: 14px 16px; border-radius: 14px; background: var(--hp-ink); color: #fff; text-decoration: none; transition: background .2s; }
.hp-today-phone span { font-size: 12px; color: rgba(255,255,255,.65); }
.hp-today-phone b { font-family: var(--hp-mono); font-size: 16px; }
.hp-today-phone:hover { color: #fff; background: var(--primary); }

/* ---------- Nástroje (bento) ---------- */
.hp-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.hp-tool { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 26px; border-radius: 22px; border: 1px solid var(--hp-line); background: #fff; color: var(--hp-ink); text-decoration: none; overflow: hidden; grid-column: span 4;
    transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
a.hp-tool:hover { transform: translateY(-3px); border-color: var(--hp-line-2); box-shadow: 0 24px 48px -28px rgba(40,20,120,.35); color: var(--hp-ink); }
.hp-tool h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; max-width: 20ch; }
.hp-tool p { margin: 0; }
.hp-tool-kicker { font-family: var(--hp-mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.hp-tool-stat { margin-top: auto !important; padding-top: 12px; font-size: 13px; color: var(--hp-ink-3); display: flex; align-items: center; gap: 4px; }
.hp-tool-stat b { font-family: var(--hp-mono); color: var(--hp-ink); white-space: nowrap; }
.hp-stat-txt { flex: 1; min-width: 0; }
.hp-go { flex: none; margin-left: auto; font-size: 18px; color: var(--primary); transition: transform .2s; }
a.hp-tool:hover .hp-go { transform: translateX(4px); }
.hp-ill { width: 100%; max-width: 220px; height: 92px; margin: 4px auto 0; }
.hp-ill-board { fill: #fff; stroke: var(--hp-ink); stroke-width: 2; }
.hp-ill-part { fill: var(--hp-wash-2); stroke: var(--hp-ink); stroke-width: 1.5; }
.hp-ill-core { fill: var(--primary); }
.hp-ill-trace { stroke: var(--hp-line-2); stroke-width: 2; stroke-linecap: round; fill: none; }
a.hp-tool:hover .hp-ill-part { animation: hp-slot .5s ease both; }
a.hp-tool:hover .hp-d2 { animation-delay: .08s; } a.hp-tool:hover .hp-d3 { animation-delay: .16s; } a.hp-tool:hover .hp-d4 { animation-delay: .24s; }
@keyframes hp-slot { from { fill: #fff; } to { fill: #c9b8fb; } }
.hp-ill-charge { fill: #86efac; transform-origin: 20px 0; animation: hp-charge 3.2s ease-in-out infinite; }
@keyframes hp-charge { 0% { transform: scaleX(.15); fill: #fbbf24; } 60%, 100% { transform: scaleX(1); fill: #86efac; } }
.hp-ill-text { font-family: var(--hp-mono); font-size: 9px; font-weight: 700; fill: var(--hp-ink); text-anchor: middle; }
.hp-ill-screen { fill: #1f1b2e; }
.hp-ill-sheen { fill: rgba(255,255,255,.28); animation: hp-sheen 3.5s ease-in-out infinite; }
@keyframes hp-sheen { 0%, 20% { transform: translateX(-30px) skewX(-18deg); } 60%, 100% { transform: translateX(46px) skewX(-18deg); } }

/* Náplně: tmavá, největší (strategický sortiment) */
.hp-tool-ink { grid-column: span 7; padding: 32px; color: #fff; border: 0;
    background: radial-gradient(120% 90% at 100% 0%, rgba(82,28,223,.55) 0%, rgba(82,28,223,0) 55%), radial-gradient(90% 70% at 0% 100%, rgba(230,0,126,.18) 0%, rgba(230,0,126,0) 60%), var(--hp-ink); }
.hp-tool-ink h3 { font-size: clamp(24px, 2.4vw, 32px); max-width: 16ch; color: #fff; }
.hp-tool-ink .hp-tool-desc { margin-top: 10px; color: rgba(255,255,255,.72); max-width: 44ch; }
.hp-tool-ink .hp-tool-kicker { color: #c9b8fb; }
.hp-tool-ink .hp-tool-stat { color: rgba(255,255,255,.6); }
.hp-tool-ink .hp-tool-stat b { color: #fff; }
.hp-cmyk { display: inline-flex; gap: 3px; }
.hp-cmyk i { width: 7px; height: 7px; border-radius: 50%; }
.hp-cmyk i:nth-child(1), .hp-plate-bar i:nth-child(1) { background: var(--hp-c); }
.hp-cmyk i:nth-child(2), .hp-plate-bar i:nth-child(2) { background: var(--hp-m); }
.hp-cmyk i:nth-child(3), .hp-plate-bar i:nth-child(3) { background: var(--hp-y); }
.hp-cmyk i:nth-child(4) { background: #fff; }
.hp-plate-bar i:nth-child(4) { background: var(--hp-k); }
.hp-plate { align-self: flex-end; width: min(300px, 80%); margin: 18px 0; border-radius: 12px; background: linear-gradient(180deg, #fdfdff, #f1eff8); color: var(--hp-ink); font-family: var(--hp-mono); transform: rotate(-2.5deg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); transition: transform .4s; }
.hp-tool-ink:hover .hp-plate { transform: rotate(0); }
.hp-plate-bar { display: grid; grid-template-columns: repeat(4, 1fr); height: 6px; border-radius: 12px 12px 0 0; overflow: hidden; }
.hp-plate-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 6px; margin: 0 14px; padding: 8px 0; border-bottom: 1px dashed #dedbe9; font-size: 13px; }
.hp-plate-row span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--hp-ink-3); }
.hp-plate-row b { display: block; min-height: 1.35em; line-height: 1.35; white-space: nowrap; overflow: hidden; } /* pevná výška – smazaný text nesmí poskočit stránkou */
.hp-plate-hl { margin: 8px 8px 0; padding: 9px 8px; border-radius: 8px; border: 0; background: #fff; box-shadow: 0 0 0 2px var(--primary); }
.hp-plate-hl span { color: var(--primary); }
.hp-plate-hl em { width: 2px; height: 1em; background: var(--primary); animation: hp-blink 1s steps(1) infinite; }
@keyframes hp-blink { 50% { opacity: 0; } }
.hp-dim { color: #a1a4b6; font-weight: 500; }
.hp-plate-code { height: 20px; margin: 10px 14px 14px; opacity: .8;
    background: repeating-linear-gradient(90deg, var(--hp-k) 0 2px, transparent 2px 4px, var(--hp-k) 4px 5px, transparent 5px 8px, var(--hp-k) 8px 11px, transparent 11px 12px);
    -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent); }
.hp-tool-search { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.hp-tool-search input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: #fff; font: inherit; font-size: 15px; }
.hp-tool-search input::placeholder { color: rgba(255,255,255,.45); }
.hp-tool-search input:focus { outline: none; background: rgba(255,255,255,.06); }
.hp-tool-search button { padding: 0 18px; border: 0; border-radius: 10px; background: #fff; color: var(--hp-ink); font: inherit; font-weight: 800; cursor: pointer; white-space: nowrap; }
.hp-tool-search button:hover { background: var(--hp-wash-2); }

/* Kabely: mřížka pracovního stolu, střídající se zástrčky */
.hp-tool-cable { grid-column: span 5;
    background: linear-gradient(var(--hp-line) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, var(--hp-line) 1px, transparent 1px) 0 0 / 22px 22px, #fff; }
.hp-tool-cable::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 55%, rgba(255,255,255,.9) 100%); }
.hp-tool-cable > * { position: relative; }
.hp-wire { position: relative; display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; margin: auto 0; padding: 12px 0 30px; }
.hp-wire-plug { position: relative; z-index: 1; width: 80px; height: 80px; border-radius: 18px; display: grid; place-items: center; background: var(--hp-ink); color: #fff; box-shadow: inset 0 -5px 0 rgba(0,0,0,.25), 0 12px 22px -12px rgba(23,26,36,.6); transition: transform .3s; }
.hp-wire-plug svg { width: 54px; height: 54px; }
.hp-wire-plug.is-swap { transform: scale(.85) rotate(-6deg); }
.hp-wire-line { width: calc(100% + 16px); height: 40px; margin: 0 -8px; overflow: visible; }
.hp-wire-line path { fill: none; stroke: var(--hp-ink); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hp-wire-label { position: absolute; left: 50%; top: 58%; transform: translateX(-50%); padding: 5px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--hp-line-2); font-family: var(--hp-mono); font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 18px -12px rgba(23,26,36,.45); }

/* ---------- Kategorie ---------- */
.hp-cats { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); grid-auto-flow: dense; gap: 14px; }
.hp-cat { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 20px 18px; border-radius: 20px; background: linear-gradient(160deg, #fff 0%, var(--hp-wash) 100%); border: 1px solid var(--hp-line); color: var(--hp-ink); text-decoration: none; overflow: hidden; transition: border-color .2s, box-shadow .25s; }
.hp-cat:hover { border-color: var(--hp-line-2); box-shadow: 0 22px 44px -28px rgba(40,20,120,.35); color: var(--hp-ink); }
.hp-cat-lg { grid-column: span 2; grid-row: span 2; }
.hp-cat-wide { grid-column: span 2; }
.hp-cat strong { position: relative; z-index: 1; font-size: 19px; font-weight: 800; letter-spacing: -.02em; max-width: 12ch; }
.hp-cat-lg strong { font-size: 30px; }
.hp-cat-count { position: relative; z-index: 1; font-family: var(--hp-mono); font-size: 11px; font-weight: 700; color: var(--hp-ink-3); }
.hp-cat-subs { position: relative; z-index: 1; margin-top: auto; max-width: 52%; font-size: 12px; color: var(--hp-ink-3); line-height: 1.4; }
.hp-cat img { position: absolute; right: 4%; bottom: 8%; width: 44%; height: 62%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.hp-cat-lg img { right: 5%; bottom: 7%; width: 62%; height: 66%; }
.hp-cat-lg .hp-cat-subs { max-width: 32%; }
.hp-cat-wide img { right: 5%; bottom: 8%; width: 40%; height: 84%; }
.hp-cat-wide .hp-cat-subs { max-width: 55%; }
.hp-cat:hover img { transform: translate(-6px, -6px) scale(1.04); }

/* ---------- Výběr produktů (záložky) ---------- */
.hp-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: #eceaf4; }
.hp-tabs button { border: 0; background: none; padding: 9px 14px; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 700; color: var(--hp-ink-2); cursor: pointer; white-space: nowrap; }
.hp-tabs button[aria-selected="true"] { background: #fff; color: var(--hp-ink); box-shadow: 0 1px 3px rgba(20,22,40,.12); }
.hp-panel[hidden] { display: none !important; }

/* ---------- Značky ---------- */
.hp-brands { margin-top: clamp(56px, 7vw, 88px); padding: 26px 0; border-top: 1px solid var(--hp-line); border-bottom: 1px solid var(--hp-line); }
.hp-brands-label { margin: 0 0 14px; text-align: center; font-family: var(--hp-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hp-ink-3); }
.hp-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hp-marquee-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: hp-marquee 45s linear infinite; }
.hp-marquee:hover .hp-marquee-track { animation-play-state: paused; }
.hp-marquee a { display: flex; align-items: center; height: 40px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: #b8b5c9; text-decoration: none; white-space: nowrap; transition: color .2s; }
.hp-marquee a:hover { color: var(--hp-ink); }
.hp-marquee img { display: block; max-height: 34px; max-width: 140px; width: auto; transition: filter .25s, opacity .25s; }
.hp-brands.is-gray .hp-marquee img { filter: grayscale(1); opacity: .36; }
.hp-brands.is-gray .hp-marquee a:hover img { filter: none; opacity: 1; }
@keyframes hp-marquee { to { transform: translateX(-50%); } }

/* ---------- Proč Printago (tmavá) ---------- */
.hp-why { margin-top: clamp(56px, 7vw, 96px); padding: clamp(56px, 7vw, 96px) 0; color: #fff;
    background: radial-gradient(60% 80% at 85% 10%, rgba(82,28,223,.45) 0%, rgba(82,28,223,0) 60%), radial-gradient(50% 60% at 0% 100%, rgba(0,163,224,.12) 0%, rgba(0,163,224,0) 60%), var(--hp-ink); }
.hp-why-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hp-why .hp-title { color: #fff; }
.hp-why .hp-title span { color: #b69cff; }
.hp-why blockquote { margin: 28px 0 14px; padding-left: 20px; border-left: 2px solid var(--primary); font-size: 19px; line-height: 1.55; color: rgba(255,255,255,.86); }
.hp-sign { margin: 0; font-family: var(--hp-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hp-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border-radius: 20px; overflow: hidden; }
.hp-facts div { padding: 26px 24px; background: rgba(21,19,31,.92); }
.hp-facts dt { font-family: var(--hp-mono); font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.hp-facts dd { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.66); }
.hp-facts a { color: #c9b8fb; }

.hp-watch { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-radius: 16px; border: 1px dashed var(--hp-line-2); }
.hp-watch div { display: flex; flex-direction: column; gap: 2px; }
.hp-watch strong { font-size: 15px; }
.hp-watch span { font-size: 13px; color: var(--hp-ink-3); }
.hp-watch a { font-weight: 700; color: var(--primary); text-decoration: none; white-space: nowrap; }

/* úvodní nájezd */
.hp-hero, .hp-bento > * { animation: hp-rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hp-bento > *:nth-child(2) { animation-delay: .06s; } .hp-bento > *:nth-child(3) { animation-delay: .12s; }
.hp-bento > *:nth-child(4) { animation-delay: .18s; } .hp-bento > *:nth-child(5) { animation-delay: .24s; }
@keyframes hp-rise { from { opacity: 0; transform: translateY(14px); } }

@media (max-width: 1199.98px) {
    .hp-hero { grid-template-columns: 1fr; }
    .hp-today { display: grid; grid-template-columns: auto 1fr; gap: 4px 28px; align-items: start; }
    .hp-today-time { grid-row: span 3; }
    .hp-today-list { grid-column: 1 / -1; margin-top: 14px; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 24px; }
    .hp-today-phone { grid-column: 1 / -1; }
    .hp-tool-ink, .hp-tool-cable { grid-column: span 12; }
    .hp-why-inner { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
    .hp-cats { grid-template-columns: repeat(2, 1fr); }
    /* Velká dlaždice přes celou šířku nemusí mít dvojitou výšku */
    .hp-cat-lg { grid-row: span 1; min-height: 220px; }
    .hp-cat-lg strong { font-size: 26px; max-width: 10ch; }
    .hp-cat-lg img { width: 48%; height: 78%; }
}
@media (max-width: 767.98px) {
    .hp-campaign { min-height: 380px; }
    .hp-slide { padding: 28px 22px 72px; background-image: linear-gradient(0deg, rgba(10,8,20,.88) 0%, rgba(10,8,20,.35) 60%, rgba(10,8,20,.1) 100%), var(--img-m, var(--img, none)); background-position: 0 0, var(--pos-m, var(--pos, 50% 50%)); }
    .hp-campaign-nav { left: 22px; right: 22px; bottom: 18px; }
    .hp-campaign-nav span { display: none; }
    .hp-today { display: flex; }
    .hp-today-list { grid-template-columns: 1fr; }
    .hp-bento { grid-template-columns: 1fr; }
    .hp-tool, .hp-tool-cable, .hp-tool-ink { grid-column: auto; }
    .hp-tool-ink { padding: 24px; }
    .hp-cats { gap: 10px; grid-auto-rows: minmax(160px, auto); }
    .hp-cat-lg, .hp-cat-wide { grid-column: span 2; grid-row: auto; }
    .hp-cat-subs { display: none; }
    /* Dlaždice: název nahoře, obrázek v dolní části – nepřekrývají se */
    .hp-cat { min-height: 172px; padding: 16px 16px 14px; }
    .hp-cat strong { font-size: 16px; max-width: none; line-height: 1.2; hyphens: auto; }
    .hp-cat img { right: 8%; bottom: 7%; width: 64%; height: 44%; }
    .hp-cat-lg, .hp-cat-wide { min-height: 190px; }
    .hp-cat-lg strong, .hp-cat-wide strong { font-size: 21px; max-width: 50%; }
    .hp-cat-lg img, .hp-cat-wide img { right: 5%; bottom: 8%; width: 44%; height: 72%; }
    .hp-today-phone { align-self: stretch; }
    .hp-tabs { width: 100%; overflow-x: auto; scrollbar-width: none; }
    .hp-facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .hp *, .hp *::before, .hp *::after { animation: none !important; transition: none !important; }
}
