/* Vyhledávač náplní /naplne (pages/cartridge-finder.php) – v samostatném souboru, ať se drží v cache prohlížeče */
/* =====================================================================
   Vyhledávač náplní (/naplne) – motiv tiskového štítku a CMYK
   ===================================================================== */
.nf-page {
    --nf-c: #00a3e0;
    --nf-m: #e6007e;
    --nf-y: #ffd500;
    --nf-k: #1a1a2e;
    --nf-line: var(--cat-line, #e8e6f2);
    --nf-line-2: var(--cat-line-2, #d8d5e8);
    --nf-ink-3: var(--cat-ink-3, #797d93);
    --nf-wash: var(--cat-brand-wash, #f2effe);
    --nf-brand-ink: var(--cat-brand-ink, #3c14a6);
    --nf-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Roboto Mono', Menlo, Consolas, monospace;
    padding-bottom: 3.5rem;
}

/* CMYK proužek – drobný tiskařský podpis */
.nf-cmyk { display: inline-flex; gap: 2px; vertical-align: middle; }
.nf-cmyk i { width: 6px; height: 6px; border-radius: 50%; }
.nf-cmyk i:nth-child(1), .nf-plate-bar i:nth-child(1) { background: var(--nf-c); }
.nf-cmyk i:nth-child(2), .nf-plate-bar i:nth-child(2) { background: var(--nf-m); }
.nf-cmyk i:nth-child(3), .nf-plate-bar i:nth-child(3) { background: var(--nf-y); }
.nf-cmyk i:nth-child(4), .nf-plate-bar i:nth-child(4) { background: var(--nf-k); }

.nf-kicker {
    display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--primary); margin: 0 0 0.75rem;
}
.nf-beta {
    display: inline-flex; align-items: center; height: 22px; padding: 0 0.55rem;
    border-radius: 99px; background: var(--nf-k); color: #fff;
    font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    line-height: 1; cursor: help;
}

.nf-title { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; margin: 0; line-height: 1.08; color: var(--text-primary); }
.nf-title span { color: var(--primary); }
.nf-lede { color: var(--text-secondary); font-size: 1.0625rem; line-height: 1.6; margin: 0.9rem 0 1.5rem; max-width: 52ch; }

/* ---------- Hero ---------- */
.nf-hero {
    position: relative;
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 3rem; align-items: center;
    background:
        radial-gradient(120% 90% at 100% 0%, var(--nf-wash) 0%, rgba(242, 239, 254, 0) 55%),
        var(--bg-white);
    border: 1px solid var(--nf-line); border-radius: 24px;
    padding: 2.75rem 3rem;
    margin: 0.5rem 0 1rem;
    overflow: hidden;
}
.nf-hero::before {
    /* jemný rastr jako na tiskové zkoušce */
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(82, 28, 223, 0.07) 1px, transparent 1px);
    background-size: 14px 14px;
    -webkit-mask-image: linear-gradient(115deg, transparent 45%, #000 100%);
            mask-image: linear-gradient(115deg, transparent 45%, #000 100%);
}
.nf-hero > * { position: relative; }

/* ---------- Vyhledávání ---------- */
.nf-search { position: relative; z-index: 5; max-width: 640px; }
.nf-search-field { position: relative; display: flex; align-items: center; }
.nf-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--nf-ink-3); pointer-events: none; transition: color var(--transition-fast); }
.nf-search input {
    width: 100%; height: 56px; padding: 0 9.5rem 0 3rem;
    border: 1.5px solid var(--nf-line-2); border-radius: 14px;
    font: inherit; font-size: 1rem; font-weight: 500; color: var(--text-primary);
    background: var(--bg-white);
    box-shadow: 0 1px 2px rgba(26, 26, 46, 0.04), 0 8px 24px -16px rgba(60, 20, 166, 0.25);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.nf-search input::placeholder { color: #9a9db0; font-weight: 400; }
.nf-search input::-webkit-search-cancel-button { display: none; }
.nf-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light), 0 8px 24px -16px rgba(60, 20, 166, 0.35); }
.nf-search-field:focus-within .nf-search-icon { color: var(--primary); }
.nf-search-btn {
    position: absolute; right: 6px; top: 6px; bottom: 6px;
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0 1.15rem; border: 0; border-radius: 10px;
    background: var(--primary); color: #fff; font: inherit; font-size: 0.9375rem; font-weight: 700;
    cursor: pointer; white-space: nowrap;
    transition: background var(--transition-fast);
}
.nf-search-btn svg { transition: transform var(--transition-fast); }
.nf-search-btn:hover { background: var(--primary-hover); }
.nf-search-btn:hover svg { transform: translateX(2px); }
.nf-search-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.nf-search-lg input { height: 64px; font-size: 1.0625rem; border-radius: 16px; }
.nf-search-lg .nf-search-btn { right: 7px; top: 7px; bottom: 7px; border-radius: 11px; padding: 0 1.35rem; }

.nf-suggest {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30;
    background: var(--bg-white); border: 1px solid var(--nf-line); border-radius: 14px;
    box-shadow: 0 24px 48px -20px rgba(40, 20, 120, 0.35); overflow: hidden; padding: 0.35rem;
}
.nf-suggest a {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 0.7rem 0.85rem; border-radius: 10px;
    text-decoration: none; color: var(--text-primary); font-size: 0.9375rem; font-weight: 600;
}
.nf-suggest a:hover, .nf-suggest a[aria-selected="true"] { background: var(--nf-wash); color: var(--nf-brand-ink); }
.nf-suggest small { color: var(--nf-ink-3); font-weight: 500; white-space: nowrap; }
.nf-suggest mark { background: none; color: var(--primary); font-weight: 800; }

.nf-try { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-top: 1rem; font-size: 0.8125rem; }
.nf-try > span { color: var(--nf-ink-3); margin-right: 0.2rem; }
.nf-try a {
    font-family: var(--nf-mono); font-size: 0.78rem; font-weight: 600;
    padding: 0.35rem 0.6rem; border-radius: 8px;
    background: var(--bg-white); border: 1px dashed var(--nf-line-2); color: var(--text-secondary); text-decoration: none;
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}
.nf-try a:hover { border-style: solid; border-color: var(--primary); color: var(--primary); background: var(--nf-wash); }
.nf-hint { display: flex; gap: 0.45rem; align-items: flex-start; color: var(--nf-ink-3); font-size: 0.8125rem; margin: 1rem 0 0; }
.nf-hint svg { flex: none; margin-top: 1px; }
.nf-hint em { font-family: var(--nf-mono); font-style: normal; color: var(--text-secondary); }

/* ---------- Štítek tiskárny ---------- */
.nf-plate { justify-self: center; width: 100%; max-width: 340px; }
.nf-plate-card {
    position: relative;
    background: linear-gradient(180deg, #fdfdff 0%, #f6f5fb 100%);
    border: 1px solid var(--nf-line-2); border-radius: 12px;
    box-shadow: 0 1px 0 #fff inset, 0 30px 60px -30px rgba(40, 20, 120, 0.35), 0 2px 6px rgba(26, 26, 46, 0.05);
    transform: rotate(-2deg);
    transition: transform var(--transition-slow);
}
.nf-plate:hover .nf-plate-card { transform: rotate(0deg); }
.nf-plate-bar { display: grid; grid-template-columns: repeat(4, 1fr); height: 6px; border-radius: 12px 12px 0 0; overflow: hidden; }
.nf-plate-body { padding: 1.1rem 1.25rem 1.2rem; font-family: var(--nf-mono); }
.nf-plate-row { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; gap: 0.5rem; padding: 0.45rem 0; border-bottom: 1px dashed #e2e0ec; font-size: 0.8125rem; }
.nf-plate-key { font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nf-ink-3); }
.nf-plate-val { color: var(--text-primary); font-weight: 700; min-width: 0; overflow: hidden; white-space: nowrap; }
.nf-plate-dim { color: #a3a6b8; font-weight: 500; }
.nf-plate-row-hl {
    position: relative; margin: 0 -0.4rem; padding: 0.55rem 0.4rem; border-radius: 8px; border-bottom-color: transparent;
    background: #fff; box-shadow: 0 0 0 2px var(--primary), 0 10px 24px -12px rgba(82, 28, 223, 0.55);
}
.nf-plate-row-hl .nf-plate-key { color: var(--primary); font-weight: 700; }
.nf-plate-row-hl .nf-plate-val { font-size: 0.9375rem; }
.nf-caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: var(--primary); animation: nf-blink 1s steps(1) infinite; }
@keyframes nf-blink { 50% { opacity: 0; } }
.nf-plate-barcode {
    height: 30px; margin-top: 0.9rem; opacity: 0.8;
    background: repeating-linear-gradient(90deg, #1a1a2e 0 2px, transparent 2px 4px, #1a1a2e 4px 5px, transparent 5px 8px, #1a1a2e 8px 11px, transparent 11px 12px, #1a1a2e 12px 13px, transparent 13px 16px);
    -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent);
            mask-image: linear-gradient(90deg, #000 70%, transparent);
}
.nf-reg { position: absolute; width: 16px; height: 16px; opacity: 0.45; }
.nf-reg::before, .nf-reg::after { content: ""; position: absolute; background: var(--nf-k); }
.nf-reg::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.nf-reg::after { top: 50%; left: 0; right: 0; height: 1px; }
.nf-reg-tl { top: -22px; left: -22px; }
.nf-reg-br { bottom: -22px; right: -22px; }
.nf-plate-caption { font-size: 0.8125rem; line-height: 1.55; color: var(--text-secondary); margin: 1.4rem 0 0; text-align: center; }
.nf-plate-caption strong { color: var(--text-primary); }

/* ---------- Čísla ---------- */
.nf-stats { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--nf-line); border-radius: 16px; background: var(--bg-white); }
.nf-stats li { padding: 1.1rem 1.4rem; display: flex; flex-direction: column; gap: 0.15rem; }
.nf-stats li + li { border-left: 1px solid var(--nf-line); }
.nf-stats strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.nf-stats span { font-size: 0.8125rem; color: var(--nf-ink-3); }

/* ---------- Kompaktní lišta ---------- */
.nf-bar { display: flex; align-items: center; gap: 0.75rem; margin: 0.5rem 0 1.5rem; }
.nf-bar .nf-search { flex: 1; max-width: 560px; }
.nf-back {
    flex: none; display: inline-flex; align-items: center; gap: 0.4rem; height: 56px; padding: 0 1rem 0 0.85rem;
    border-radius: 14px; border: 1.5px solid var(--nf-line-2); background: var(--bg-white);
    color: var(--text-primary); font-size: 0.875rem; font-weight: 700; text-decoration: none;
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}
.nf-back svg { transition: transform var(--transition-fast); }
.nf-back:hover { border-color: var(--primary); color: var(--primary); background: var(--nf-wash); }
.nf-back:hover svg { transform: translateX(-3px); }
.nf-back:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Stránka značky a příbuzné tiskárny */
.nf-brand-mono { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; }
.nf-brand-mono > span:first-child { margin-top: -8px; }
.nf-brand-filter { position: relative; display: flex; align-items: center; }
.nf-brand-filter svg { position: absolute; left: 0.8rem; color: var(--nf-ink-3); pointer-events: none; }
.nf-brand-filter input {
    width: 240px; height: 44px; padding: 0 0.9rem 0 2.3rem; border: 1.5px solid var(--nf-line-2); border-radius: 12px;
    font: inherit; font-size: 0.9375rem; background: var(--bg-white);
}
.nf-brand-filter input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.nf-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.4rem; }
.nf-links a {
    display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem;
    padding: 0.6rem 0.8rem; border-radius: 10px; background: var(--bg-white); border: 1px solid var(--nf-line);
    font-size: 0.875rem; font-weight: 700; color: var(--text-primary); text-decoration: none;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}
.nf-links a:hover { border-color: var(--primary); color: var(--primary); }
.nf-links small { flex: none; font-weight: 600; color: var(--nf-ink-3); }
.nf-links a[hidden] { display: none; }
.nf-siblings { margin: 1rem 0 2.5rem; padding-top: 2rem; border-top: 1px solid var(--nf-line); }
.nf-more { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.875rem; font-weight: 700; color: var(--primary); text-decoration: none; }
.nf-more:hover svg { transform: translateX(3px); }
.nf-more svg { transition: transform var(--transition-fast); }
.nf-empty-filter { color: var(--text-secondary); }
.nf-empty-filter a { color: var(--primary); font-weight: 700; }

/* ---------- Sekce ---------- */
.nf-section-head { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.nf-section-head .nf-section-title { margin: 0; }
.nf-section-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 1rem; color: var(--text-primary); }
.nf-section-title span { font-size: 0.875rem; font-weight: 600; color: var(--nf-ink-3); margin-left: 0.3rem; }
.nf-matches { margin-bottom: 3rem; }

/* Jak to funguje */
.nf-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 3rem; }
.nf-step { position: relative; padding: 1.4rem 1.4rem 1.3rem; border-radius: 16px; background: var(--bg-white); border: 1px solid var(--nf-line); }
.nf-step-no { display: block; font-family: var(--nf-mono); font-size: 0.8125rem; font-weight: 700; color: var(--primary); margin-bottom: 0.7rem; }
.nf-step:nth-child(1) .nf-step-no { color: #0086b8; }
.nf-step:nth-child(2) .nf-step-no { color: #c4006b; }
.nf-step:nth-child(3) .nf-step-no { color: var(--nf-k); }
.nf-step::before { content: ""; position: absolute; top: -1px; left: 1.4rem; width: 28px; height: 3px; border-radius: 0 0 3px 3px; }
.nf-step:nth-child(1)::before { background: var(--nf-c); }
.nf-step:nth-child(2)::before { background: var(--nf-m); }
.nf-step:nth-child(3)::before { background: var(--nf-y); }
.nf-step h3 { font-size: 1.0625rem; font-weight: 800; margin: 0 0 0.35rem; letter-spacing: -0.01em; }
.nf-step p { font-size: 0.875rem; line-height: 1.55; color: var(--text-secondary); margin: 0; }
.nf-step em { font-family: var(--nf-mono); font-style: normal; font-size: 0.8125rem; color: var(--text-primary); }

/* Značky */
.nf-brands { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.nf-brands a {
    padding: 0.4rem 0.8rem; border-radius: 99px; font-size: 0.8125rem; font-weight: 700;
    color: var(--text-secondary); text-decoration: none; background: var(--bg-white); border: 1px solid var(--nf-line);
    transition: border-color var(--transition-fast), color var(--transition-fast);
}
.nf-brands a:hover { border-color: var(--primary); color: var(--primary); }

/* Karty tiskáren */
.nf-printer-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem; }
.nf-printer {
    display: flex; flex-direction: column; gap: 0.2rem; min-height: 116px;
    padding: 1rem 1.1rem 0.9rem; border-radius: 14px;
    background: var(--bg-white); border: 1px solid var(--nf-line);
    text-decoration: none; color: var(--text-primary);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}
.nf-printer:hover { border-color: var(--primary); box-shadow: 0 14px 30px -20px rgba(82, 28, 223, 0.55); }
.nf-printer:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.nf-printer-brand { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nf-ink-3); }
.nf-printer-name { font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; overflow-wrap: anywhere; }
.nf-printer-foot { margin-top: auto; padding-top: 0.6rem; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: var(--nf-ink-3); }
.nf-printer-foot svg { color: var(--nf-line-2); transition: color var(--transition-fast), transform var(--transition-fast); flex: none; }
.nf-printer:hover .nf-printer-foot svg { color: var(--primary); transform: translateX(3px); }

/* FAQ */
.nf-faq { max-width: 820px; margin-bottom: 3rem; }
.nf-faq details { border-bottom: 1px solid var(--nf-line); }
.nf-faq details:first-of-type { border-top: 1px solid var(--nf-line); }
.nf-faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1rem 0.25rem; cursor: pointer; list-style: none;
    font-weight: 700; font-size: 0.9875rem; color: var(--text-primary);
}
.nf-faq summary::-webkit-details-marker { display: none; }
.nf-faq summary::after {
    content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
    border-right: 2px solid var(--nf-ink-3); border-bottom: 2px solid var(--nf-ink-3);
    transform: rotate(45deg) translateY(-3px); transition: transform var(--transition-normal);
}
.nf-faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.nf-faq summary:hover { color: var(--primary); }
.nf-faq summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.nf-faq details p { margin: 0 0 1.1rem; padding: 0 0.25rem; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.65; max-width: 70ch; }
.nf-faq a, .nf-empty a, .nf-beta-note a { color: var(--primary); font-weight: 700; }

/* ---------- Stránka tiskárny ---------- */
.nf-printer-head {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.25rem 1.5rem;
    padding: 1.6rem 1.75rem; margin-bottom: 1rem;
    background: radial-gradient(90% 140% at 100% 0%, var(--nf-wash) 0%, rgba(242, 239, 254, 0) 60%), var(--bg-white);
    border: 1px solid var(--nf-line); border-radius: 20px;
}
.nf-printer-icon {
    position: relative; width: 72px; height: 72px; border-radius: 18px;
    display: grid; place-items: center; color: var(--primary);
    background: var(--nf-wash); border: 1px solid #e3dcfb;
}
.nf-printer-icon .nf-cmyk { position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%); }
.nf-printer-icon .nf-cmyk i { width: 5px; height: 5px; }
.nf-printer-icon svg { margin-top: -8px; }
.nf-printer-info .nf-kicker { margin-bottom: 0.35rem; }
.nf-title-printer { font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2rem); }
.nf-variants { color: var(--text-secondary); font-size: 0.875rem; margin: 0.4rem 0 0; }
.nf-title-printer .nf-kicker { color: var(--primary); }
.nf-intro { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.65; margin: 0 0 1.25rem; }
.nf-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 0.8rem 0 0; padding: 0; font-size: 0.875rem; color: var(--text-secondary); }
.nf-meta li { display: inline-flex; align-items: center; gap: 0.4rem; }
.nf-meta strong { color: var(--text-primary); }
.nf-dot { width: 8px; height: 8px; border-radius: 50%; }
.nf-dot-orig { background: var(--primary); }
.nf-dot-alt { background: var(--cat-ok, #0f8f5f); }

.nf-filter { display: inline-flex; gap: 2px; padding: 4px; background: var(--bg-gray); border-radius: 12px; align-self: center; }
.nf-filter-btn {
    border: 0; background: none; font: inherit; font-size: 0.8125rem; font-weight: 700; color: var(--text-secondary);
    min-height: 38px; padding: 0 0.85rem; border-radius: 9px; cursor: pointer; white-space: nowrap;
    transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.nf-filter-btn small { color: var(--nf-ink-3); margin-left: 0.2rem; font-weight: 600; }
.nf-filter-btn:hover { color: var(--text-primary); }
.nf-filter-btn[aria-pressed="true"] { background: var(--bg-white); color: var(--nf-brand-ink); box-shadow: 0 1px 3px rgba(26, 26, 46, 0.12); }
.nf-filter-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }

.nf-jump { display: flex; gap: 0.4rem; overflow-x: auto; margin: 0 0 1rem; padding-bottom: 2px; scrollbar-width: none; }
.nf-jump::-webkit-scrollbar { display: none; }
.nf-jump a {
    flex: none; padding: 0.45rem 0.85rem; border-radius: 99px; font-size: 0.8125rem; font-weight: 700;
    color: var(--text-secondary); text-decoration: none; background: var(--bg-white); border: 1px solid var(--nf-line);
}
.nf-jump a:hover { border-color: var(--primary); color: var(--primary); }
.nf-jump small { color: var(--nf-ink-3); font-weight: 600; margin-left: 0.15rem; }

.nf-notice {
    display: flex; gap: 0.65rem; align-items: flex-start;
    background: #f3fbf7; border: 1px solid #cdeedd; color: #155a3c;
    border-radius: 12px; padding: 0.8rem 1rem; font-size: 0.875rem; line-height: 1.55; margin-bottom: 1.75rem;
}
.nf-notice svg { flex: none; margin-top: 1px; }
.nf-notice a { color: inherit; font-weight: 700; }
/* Vyhledávač ve vývoji – viditelné, ale ne poplašné (jantarová, ne červená) */
.nf-dev {
    display: flex; gap: 0.75rem; align-items: flex-start;
    background: #fff8e6; border: 1px solid #f3dc9c; color: #5c4300;
    border-radius: 12px; padding: 0.85rem 1rem; margin: 0 0 1.5rem;
}
.nf-dev svg { flex: none; margin-top: 2px; color: #b07d00; }
.nf-dev p { margin: 0; font-size: 0.875rem; line-height: 1.55; }
.nf-dev strong { color: #3f2e00; }
.nf-dev a { color: inherit; font-weight: 700; }
.nf-dev-updated { white-space: nowrap; color: #7a5c12; }
.nf-group { margin-bottom: 2.25rem; scroll-margin-top: calc(var(--site-header-h, 80px) + 1rem); }
.product-card.nf-hidden { display: none; }
.nf-nowrap { white-space: nowrap; }

/* ---------- Prázdné výsledky a beta ---------- */
.nf-empty { display: flex; gap: 1rem; align-items: flex-start; background: var(--bg-white); border: 1px solid var(--nf-line); border-radius: 16px; padding: 1.5rem; margin-bottom: 2rem; }
.nf-empty-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--nf-wash); color: var(--primary); }
.nf-empty h2 { font-size: 1.1rem; font-weight: 800; margin: 0 0 0.35rem; }
.nf-empty p { margin: 0; color: var(--text-secondary); line-height: 1.6; }

.nf-beta-note {
    display: flex; gap: 0.85rem; align-items: center;
    padding: 1rem 1.25rem; border-radius: 14px;
    background: var(--bg-white); border: 1px dashed var(--nf-line-2);
}
.nf-beta-note p { margin: 0; font-size: 0.875rem; line-height: 1.55; color: var(--text-secondary); }
.nf-beta-note .nf-beta { flex: none; }

/* ---------- Vstupní animace ---------- */
@media (prefers-reduced-motion: no-preference) {
    .nf-hero-main > *, .nf-plate { animation: nf-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .nf-hero-main > :nth-child(2) { animation-delay: 0.05s; }
    .nf-hero-main > :nth-child(3) { animation-delay: 0.1s; }
    .nf-hero-main > :nth-child(4) { animation-delay: 0.15s; }
    .nf-hero-main > :nth-child(n+5) { animation-delay: 0.2s; }
    .nf-plate { animation-delay: 0.25s; }
    @keyframes nf-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
    .nf-caret { animation: none; }
    .nf-plate-card { transform: none; transition: none; }
}

/* ---------- Responzivita ---------- */
@media (max-width: 991px) {
    .nf-hero { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.75rem; }
    .nf-plate { max-width: 380px; }
    .nf-stats { grid-template-columns: repeat(2, 1fr); }
    .nf-stats li:nth-child(3) { border-left: 0; }
    .nf-stats li:nth-child(n+3) { border-top: 1px solid var(--nf-line); }
    .nf-printer-head { grid-template-columns: auto minmax(0, 1fr); }
    .nf-filter, .nf-brand-filter { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
    .nf-hero { padding: 1.5rem 1.1rem 1.75rem; border-radius: 18px; }
    .nf-lede { font-size: 1rem; margin-bottom: 1.25rem; }
    .nf-search input, .nf-search-lg input { height: 56px; padding-right: 3.75rem; font-size: 1rem; }
    .nf-search-btn { padding: 0; width: 44px; justify-content: center; }
    .nf-search-lg .nf-search-btn { width: 44px; padding: 0; }
    .nf-search-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .nf-plate { max-width: 300px; }
    .nf-reg { display: none; }
    .nf-stats li { padding: 0.9rem 1rem; }
    .nf-stats strong { font-size: 1.15rem; }
    .nf-steps { grid-template-columns: 1fr; gap: 0.6rem; }
    .nf-step { padding: 1.1rem 1.1rem 1rem; }
    .nf-printer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
    .nf-printer { min-height: 104px; padding: 0.85rem 0.9rem 0.75rem; }
    .nf-printer-name { font-size: 0.9375rem; }
    .nf-printer-head { padding: 1.1rem; gap: 0.9rem 1rem; border-radius: 16px; }
    .nf-printer-head { grid-template-columns: minmax(0, 1fr); }
    .nf-printer-icon { display: none; }
    .nf-filter { width: 100%; }
    .nf-filter-btn { flex: 1; padding: 0 0.4rem; }
    .nf-filter-btn[data-kind="alt"] { font-size: 0; }
    .nf-filter-btn[data-kind="alt"]::before { content: "Alternativy"; font-size: 0.8125rem; }
    .nf-filter-btn[data-kind="alt"] small { font-size: 0.8125rem; }
    .nf-bar { gap: 0.5rem; }
    .nf-back { width: 48px; padding: 0; justify-content: center; }
    .nf-bar > .nf-beta { display: none; }
    .nf-back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .nf-brand-filter, .nf-brand-filter input { width: 100%; }
    .nf-brand-head { grid-template-columns: minmax(0, 1fr); }
    .nf-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nf-beta-note { align-items: flex-start; }
}

/* Výběr náplní u tiskárny a kódu (templates/components/cartridge-picker.php) */
.cpk { --cpk-line: #e7e6ee; --cpk-muted: #5d6477; --cpk-faint: #8b8fa3; --cpk-stock: #0b7a48; }
.cpk-dot { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; background: #d9d8e2; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.cpk-color:focus-visible, .cpk-buy:focus-visible, .cpk-item-head:focus-visible, .cpk a:focus-visible { outline: 3px solid rgba(82, 28, 223, .35); outline-offset: 2px; }
/* Kroužky barev */
.cpk-colors { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.cpk-color { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--cpk-line);
    border-radius: 22px; background: #fff; color: var(--text-primary); font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer; transition: border-color .15s; }
.cpk-color:hover { border-color: #c9c7d6; }
.cpk-color-n { font-size: 0.8125rem; font-weight: 600; color: var(--cpk-muted); margin-left: -3px; }
.cpk-color[aria-pressed="true"] { border-color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--text-primary); font-weight: 700; }
/* Všechny barvy do košíku */
.cpk-bundle { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 26px; padding: 12px 14px; border: 1px dashed #d3d1de; border-radius: 12px;
    font-size: 0.875rem; color: var(--cpk-muted); }
.cpk-bundle b { color: var(--text-primary); white-space: nowrap; }
.cpk-bundle-dots { display: inline-flex; }
.cpk-bundle-dots .cpk-dot { width: 14px; height: 14px; margin-right: -4px; border: 2px solid #fff; }
.cpk-bundle-text { flex: 1; min-width: 200px; }
/* S JS je vidět jen vybraná barva; nadpis panelu nahrazují kroužky */
.cpk.is-js [data-cpk-panel] { display: none; }
.cpk.is-js [data-cpk-panel].is-active { display: block; }
.cpk.is-js .cpk-panel-title { display: none; }
.cpk-panel + .cpk-panel { margin-top: 36px; }
.cpk-panel-title { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 700; margin: 0 0 12px; }
/* Tři doporučení */
.cpk-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 34px; }
.cpk-picks.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.cpk-picks.is-1 { grid-template-columns: minmax(0, 380px); }
.cpk-pick { display: flex; flex-direction: column; border: 1px solid var(--cpk-line); border-radius: 14px; padding: 16px; background: #fff; }
.cpk-pick.is-main { border-color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--text-primary); }
.cpk-pick-label { font-size: 0.8125rem; font-weight: 800; margin: 0 0 10px; }
.cpk-pick-img { height: 96px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.cpk-pick-img img { max-height: 96px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
/* Název celý (dodavatelé v něm mají balení, řadu…), nejvýš 3 / 2 řádky; celý i v title */
.cpk-pick-name { font-size: 0.9375rem; font-weight: 700; line-height: 1.35; margin: 0; }
.cpk-pick-name a, .cpk-row-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; color: var(--text-primary); text-decoration: none; }
.cpk-pick-name a:hover, .cpk-row-name:hover { color: var(--primary); text-decoration: underline; }
.cpk-pick-sub { font-size: 0.8125rem; color: var(--cpk-muted); margin: 4px 0 0; }
.cpk-pick-sub b, .cpk-tag b { color: var(--text-primary); font-weight: 700; }
.cpk-pick-why { font-size: 0.84375rem; color: var(--cpk-muted); margin: 6px 0 12px; flex: 1; }
.cpk-pick-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cpk-pick-price { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; white-space: nowrap; }
.cpk-avail { display: block; font-size: 0.8125rem; color: var(--cpk-muted); font-weight: 500; }
.cpk-avail.is-in::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cpk-stock); margin-right: 6px; vertical-align: 1px; }
.cpk-buy { height: 40px; padding: 0 16px; border: 1.5px solid var(--primary); border-radius: 10px; background: #fff; color: var(--primary); white-space: nowrap;
    font: inherit; font-size: 0.875rem; font-weight: 700; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.cpk-buy:hover, .cpk-buy.is-solid { background: var(--primary); color: #fff; }
.cpk-buy.is-solid:hover { background: var(--primary-hover, #4318b8); border-color: var(--primary-hover, #4318b8); }
.cpk-na { font-size: 0.8125rem; color: var(--cpk-muted); white-space: nowrap; }
/* Všechny náplně podle výtěžnosti */
.cpk-all-h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 4px; }
.cpk-all-h h3 { font-size: 1.0625rem; font-weight: 800; margin: 0; }
.cpk-all-h span { color: var(--cpk-muted); font-size: 0.875rem; }
.cpk-note { color: var(--cpk-muted); font-size: 0.84375rem; margin: 0 0 16px; }
.cpk-groups { display: grid; grid-template-columns: minmax(0, 640px); gap: 24px 36px; }
.cpk-groups.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cpk-all-h + .cpk-groups { margin-top: 14px; }
.cpk-grp-title { font-size: 0.9375rem; font-weight: 800; margin: 0; }
.cpk-grp-meta { font-size: 0.8125rem; color: var(--cpk-muted); margin: 2px 0 8px; }
.cpk-grp-title + .cpk-rows { margin-top: 8px; }
.cpk-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cpk-line); }
.cpk-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--cpk-line); }
.cpk-row-img { display: block; width: 44px; height: 44px; }
.cpk-row-img img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: #fff; }
.cpk-row-main { min-width: 0; }
.cpk-row-name { -webkit-line-clamp: 2; font-weight: 600; line-height: 1.35; }
.cpk-row-sub { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 3px; font-size: 0.8125rem; color: var(--cpk-muted); }
.cpk-row-img { align-self: start; margin-top: 2px; }
.cpk-price { text-align: right; font-weight: 800; white-space: nowrap; }
.cpk-price small { display: block; font-size: 0.75rem; font-weight: 600; color: var(--cpk-faint); }
/* 7+ barev: rozbalovací seznam */
.cpk-group { font-size: 0.8125rem; font-weight: 700; color: var(--cpk-muted); margin: 20px 0 6px; }
.cpk-note + .cpk-group, .cpk-group:first-child { margin-top: 0; }
.cpk-items { border-top: 1px solid var(--cpk-line); }
.cpk-item { border-bottom: 1px solid var(--cpk-line); }
.cpk-item-head { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto 20px; align-items: center; gap: 12px; min-height: 56px; padding: 8px 2px;
    cursor: pointer; list-style: none; }
.cpk-item-head::-webkit-details-marker { display: none; }
.cpk-item-name { font-weight: 700; }
.cpk-item-name small { display: block; font-weight: 500; color: var(--cpk-muted); font-size: 0.8125rem; }
.cpk-item-from { font-size: 0.875rem; color: var(--cpk-muted); white-space: nowrap; }
.cpk-item-from b { color: var(--text-primary); font-weight: 800; }
.cpk-chev { width: 18px; height: 18px; color: var(--cpk-muted); transition: transform .2s; }
.cpk-item[open] .cpk-chev { transform: rotate(180deg); }
.cpk-item-body { padding: 8px 0 22px; }
@media (max-width: 900px) {
    .cpk-picks, .cpk-picks.is-2 { grid-template-columns: minmax(0, 1fr); max-width: 560px; gap: 10px; }
    .cpk-pick { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 12px; padding: 12px; }
    .cpk-pick-label { grid-column: 1 / -1; margin-bottom: 6px; }
    .cpk-pick-img { height: 76px; margin: 0; grid-row: span 4; align-self: start; }
    .cpk-pick-img img { max-height: 76px; }
    .cpk-pick-why { margin-bottom: 8px; }
    .cpk-pick-foot { grid-column: 2; }
    .cpk-pick-price { font-size: 1.0625rem; }
    .cpk-groups, .cpk-groups.is-two { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 767.98px) {
    .cpk-colors { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -1rem; margin-right: -1rem; padding: 0 1rem; }
    .cpk-colors::-webkit-scrollbar { display: none; }
    .cpk-color { flex-shrink: 0; }
    .cpk-bundle .cpk-buy { width: 100%; }
    /* Telefon: název přes celou šířku, cena a Koupit pod ním */
    .cpk-row { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "img main main" "img price buy"; gap: 8px 10px; }
    .cpk-row-img { grid-area: img; }
    .cpk-row-main { grid-area: main; }
    .cpk-row-name { -webkit-line-clamp: 3; }
    .cpk-row .cpk-price { grid-area: price; text-align: left; }
    .cpk-row .cpk-price small { display: inline; margin-left: 6px; }
    .cpk-row .cpk-buy, .cpk-row .cpk-na { grid-area: buy; }
    .cpk-row-img, .cpk-row-img img { width: 40px; height: 40px; }
    .cpk-row .cpk-buy { padding: 0 10px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .cpk * { transition: none !important; } }
