/* ZP Sortiment – vše je uvnitř .zp-sort, aby se nic nebilo s motivem ani Elementorem. */
.zp-sort {
	--zp-ink: #16181d;
	--zp-text: #3b3f48;
	--zp-muted: #5b606b;
	--zp-line: #e3e5ea;
	--zp-line-strong: #d6d9e0;
	--zp-bg: #f3f4f6;
	--zp-soft: #f6f7f9;
	--zp-card: #fff;
	--zp-accent: #1f4fd8;
	--zp-accent-dark: #163a9e;
	--zp-accent-soft: #e8eefc;
	--zp-sale: #c2410c;
	--zp-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--zp-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	color: var(--zp-ink);
	font-size: 15px;
	line-height: 1.45;
	max-width: 1280px;
	margin: 0 auto;
	box-sizing: border-box;
}
.zp-sort *, .zp-sort *::before, .zp-sort *::after { box-sizing: border-box; }
.zp-sort a { color: inherit; text-decoration: none; }
.zp-sort h1, .zp-sort h2, .zp-sort h3 { font-family: var(--zp-display); margin: 0; letter-spacing: -0.01em; color: var(--zp-ink); }
.zp-sort p { margin: 0; }
.zp-sort .zp-ico { flex: 0 0 auto; }

/* Pruh důvěry */
.zp-trust { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 12px 0; font-size: 13.5px; color: var(--zp-text); border-bottom: 1px solid var(--zp-line); }
.zp-trust-item { display: inline-flex; align-items: center; gap: 8px; }
.zp-trust-item .zp-ico { color: var(--zp-accent); }

/* Rozložení */
.zp-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding: 28px 0 64px; }
.zp-side { flex: 1 1 240px; max-width: 256px; }
.zp-main { flex: 999 1 560px; min-width: 0; }

/* Sidebar */
.zp-side-toggle { display: none; width: 100%; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; border: 1px solid var(--zp-line-strong); border-radius: 10px; background: var(--zp-card); color: var(--zp-ink); font: inherit; font-weight: 600; cursor: pointer; }
.zp-panel { background: var(--zp-card); border: 1px solid var(--zp-line); border-radius: 12px; padding: 8px; }
.zp-panel + .zp-panel { margin-top: 16px; }
.zp-panel-title { font-family: var(--zp-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--zp-muted); padding: 10px 10px 6px; }
.zp-sort .zp-tree-btn, .zp-sort .zp-tree-sub { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; border-radius: 8px; color: var(--zp-ink); }
.zp-sort .zp-tree-btn { min-height: 44px; padding: 0 10px; font-weight: 600; }
.zp-sort .zp-tree-sub { min-height: 38px; padding: 0 10px 0 22px; color: var(--zp-text); }
.zp-sort a.zp-tree-btn:hover, .zp-sort a.zp-tree-sub:hover { background: var(--zp-bg); }
.zp-sort .zp-tree-btn.is-active, .zp-sort .zp-tree-sub.is-active { background: var(--zp-accent-soft); color: var(--zp-accent-dark); }
.zp-sort .is-soon { color: #8a8f99; cursor: default; }
.zp-count { font-family: var(--zp-mono); font-size: 12px; color: #6b707a; font-weight: 400; }
.zp-soon { font-size: 11px; border: 1px solid var(--zp-line-strong); border-radius: 99px; padding: 1px 8px; color: #6b707a; font-weight: 400; }
.zp-tree-children { padding: 2px 0 6px; }

.zp-filter { padding: 4px 10px 12px; }
.zp-filter-label { font-weight: 600; margin: 6px 0 8px; font-size: 14px; }
.zp-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.zp-sort .zp-pill { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 44px; padding: 4px 12px; border: 1px solid var(--zp-line-strong); border-radius: 8px; background: var(--zp-card); font-weight: 500; color: var(--zp-ink); }
.zp-sort .zp-pill small { font-size: 11.5px; color: #6b707a; font-weight: 400; }
.zp-sort a.zp-pill:hover { border-color: #aab0bc; }
.zp-sort .zp-pill.is-on { border-color: var(--zp-accent); background: var(--zp-accent-soft); color: var(--zp-accent-dark); }
.zp-sort .zp-pill.is-disabled { opacity: .45; cursor: default; }
.zp-sort .zp-check { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--zp-ink); }
.zp-box { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1.5px solid #8a8f99; border-radius: 5px; background: #fff; }
.zp-check.is-on .zp-box { background: var(--zp-accent); border-color: var(--zp-accent); color: #fff; }
.zp-check .zp-box .zp-ico { width: 14px; height: 14px; }

.zp-help { padding: 16px 18px; }
.zp-help p { margin: 6px 0 10px; font-size: 13.5px; color: var(--zp-text); }
.zp-sort .zp-help a { color: var(--zp-accent); font-weight: 600; font-size: 14px; }
.zp-sort .zp-help a:hover { color: var(--zp-accent-dark); text-decoration: underline; }

/* Hlavička kategorie */
.zp-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: #6b707a; margin-bottom: 10px; }
.zp-sort .zp-crumbs a:hover { color: var(--zp-accent); text-decoration: underline; }
.zp-cat-head h1 { font-size: 34px; line-height: 1.1; }
.zp-cat-desc { margin-top: 8px; max-width: 680px; color: var(--zp-text); }
.zp-cat-desc p + p { margin-top: 8px; }

/* Štítky podkategorií (mobil) */
.zp-chips { display: none; gap: 8px; overflow-x: auto; padding: 16px 0 2px; scrollbar-width: none; }
.zp-chips::-webkit-scrollbar { display: none; }
.zp-sort .zp-chip { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--zp-line-strong); background: var(--zp-card); font-weight: 500; white-space: nowrap; }
.zp-sort .zp-chip.is-active { background: var(--zp-ink); border-color: var(--zp-ink); color: #fff; }

/* Doporučujeme */
.zp-section-title { font-size: 20px; margin: 28px 0 12px !important; }
.zp-feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.zp-fcard { display: flex; flex-direction: column; gap: 14px; background: var(--zp-card); border: 1px solid var(--zp-line); border-radius: 14px; padding: 14px; }
.zp-fcard-vis { flex: 0 0 auto; height: 140px; display: flex; align-items: center; justify-content: center; background: var(--zp-soft); border-radius: 10px; overflow: hidden; padding: 8px; }
.zp-fcard-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.zp-fcard-title { font-size: 18px; margin-top: 4px !important; }
.zp-sort .zp-fcard-title a:hover, .zp-sort .zp-card-title a:hover { color: var(--zp-accent); }
.zp-reason { font-size: 13.5px; color: var(--zp-text); margin-top: 4px !important; }
.zp-fcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.zp-fcard-foot .zp-price { margin: 0; padding: 0; font-size: 18px; }
.zp-sort .zp-link { display: inline-flex; align-items: center; gap: 6px; color: var(--zp-accent); font-weight: 600; font-size: 14px; }
.zp-sort .zp-link:hover { color: var(--zp-accent-dark); }

.zp-promo { display: flex; flex-direction: column; gap: 6px; justify-content: center; background: var(--zp-ink); color: #fff; border-radius: 14px; padding: 20px 22px; min-height: 150px; }
.zp-sort .zp-promo-title { font-size: 22px; color: #fff; }
.zp-sort .zp-promo-title a:hover { text-decoration: underline; }
.zp-promo-text { color: #d6d9e0; font-size: 14px; }
.zp-promo-price { font-family: var(--zp-display); font-weight: 700; font-size: 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 4px; }
.zp-promo-price del { color: #9aa0ab; font-size: 16px; font-weight: 500; }
.zp-promo-price ins { text-decoration: none; }
.zp-promo-price .zp-lowest { flex-basis: 100%; color: #b9bec8; }
.zp-promo-to { font-size: 12.5px; color: #b9bec8; }
.zp-sort .zp-promo-cta { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 8px; min-height: 40px; padding: 0 14px; border-radius: 10px; background: #fff; color: var(--zp-ink); font-weight: 600; font-size: 14px; }

.zp-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.zp-badge { align-self: flex-start; display: inline-block; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: var(--zp-accent-soft); color: var(--zp-accent-dark); line-height: 1.4; }
.zp-badge-sale { background: var(--zp-sale); color: #fff; }

/* Lišta nad výpisem */
.zp-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 32px 0 6px; }
.zp-toolbar-left { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.zp-results { font-weight: 600; }
.zp-sort .zp-active-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; border-radius: 99px; background: var(--zp-accent-soft); color: var(--zp-accent-dark); font-size: 13.5px; font-weight: 500; }
.zp-active-chip .zp-ico { width: 12px; height: 12px; }
.zp-seg { display: flex; flex-wrap: wrap; background: #e7e9ee; border-radius: 10px; padding: 3px; }
.zp-sort .zp-seg a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--zp-text); }
.zp-sort .zp-seg a.is-on { background: #fff; color: var(--zp-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.zp-note { font-size: 12.5px; color: #6b707a; margin: 0 0 14px !important; }

/* Mřížka a karty */
.zp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.zp-card { display: flex; flex-direction: column; background: var(--zp-card); border: 1px solid var(--zp-line); border-radius: 14px; overflow: hidden; transition: border-color .15s; }
.zp-card:hover { border-color: #b9bfcb; }
.zp-card-vis { position: relative; height: 180px; display: flex; align-items: center; justify-content: center; background: var(--zp-soft); padding: 12px; overflow: hidden; }
.zp-sort .zp-photo, .zp-sort .zp-card-vis img, .zp-sort .zp-fcard-vis img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; margin: 0; }
.zp-card-body { display: flex; flex-direction: column; gap: 3px; padding: 14px 14px 16px; flex: 1; }
.zp-card-title { font-size: 16.5px; line-height: 1.25; }
.zp-model { font-family: var(--zp-mono); font-size: 12.5px; color: var(--zp-muted); }
.zp-spec { font-size: 13.5px; color: var(--zp-text); margin-top: 2px; }
.zp-price { font-family: var(--zp-display); font-weight: 700; font-size: 19px; margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.zp-price .zp-from { font-family: inherit; font-weight: 500; font-size: .8em; color: var(--zp-muted); }
.zp-price del { color: #8a8f99; font-size: .8em; font-weight: 500; }
.zp-price ins { text-decoration: none; color: var(--zp-sale); }
.zp-lowest { flex-basis: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 11.5px; font-weight: 400; color: #6b707a; }
.zp-sort .zp-cta { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 10px; border-radius: 10px; background: var(--zp-ink); color: #fff; font-weight: 600; text-align: center; padding: 0 12px; }
.zp-sort .zp-cta:hover { background: #2c3039; color: #fff; }
.zp-sort .zp-cta:focus-visible, .zp-sort a:focus-visible, .zp-side-toggle:focus-visible { outline: 2px solid var(--zp-accent); outline-offset: 2px; }

/* Obrys otisku */
.zp-imp { display: block; max-width: 100%; height: auto; overflow: visible; }
.zp-imp-outline > * { fill: #fff; stroke: var(--zp-accent); stroke-width: 2.5; }
.zp-imp-line { fill: #c7ccd6; }
.zp-imp-date { fill: var(--zp-accent); font-family: var(--zp-mono); font-size: 9px; font-weight: 500; letter-spacing: .04em; }

/* Prázdný stav, stránkování */
.zp-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; background: var(--zp-card); border: 1px dashed #c7ccd6; border-radius: 14px; padding: 40px 24px; text-align: center; color: var(--zp-text); }
.zp-sort .zp-ghost { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--zp-line-strong); background: #fff; font-weight: 600; }
.zp-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 32px; }
.zp-sort .zp-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--zp-line-strong); background: #fff; font-weight: 500; }
.zp-sort .zp-pagination .page-numbers.current { background: var(--zp-ink); border-color: var(--zp-ink); color: #fff; }
.zp-sort .zp-pagination .page-numbers.dots { border: 0; background: transparent; }

/* Tablet a mobil */
@media (max-width: 860px) {
	.zp-side { max-width: none; flex-basis: 100%; }
	.zp-side-toggle { display: flex; }
	.zp-side-body { display: none; margin-top: 12px; }
	.zp-side.is-open .zp-side-body { display: block; }
	.zp-chips { display: flex; }
	.zp-layout { gap: 12px; padding-top: 16px; }
	.zp-cat-head h1 { font-size: 28px; }
	.zp-trust { gap: 6px 20px; }
}
@media (max-width: 560px) {
	.zp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.zp-card-vis { height: 150px; padding: 36px 8px 8px; }
	.zp-card-vis .zp-imp, .zp-card-vis img { max-height: 100%; width: auto; }
	.zp-badges { top: 8px; left: 8px; }
	.zp-badge { font-size: 10px; padding: 2px 6px; }
	.zp-card-body { padding: 12px; }
	.zp-sort .zp-cta { font-size: 13.5px; min-height: 42px; padding: 0 6px; white-space: nowrap; }
	.zp-card-title { font-size: 15px; }
	.zp-price { font-size: 17px; }
	.zp-fcard-vis { height: 120px; }
	.zp-seg { width: 100%; }
	.zp-sort .zp-seg a { flex: 1; justify-content: center; padding: 0 6px; }
}
