/* Život hvězdy – Shop sidebar filter */

.zh-shop-filter {
	--zh-navy: #2d2d5f;
	--zh-pink: #e84393;
	--zh-bg: #f4f3f8;
	--zh-card: #ffffff;
	--zh-text: #1a1a2e;
	--zh-muted: #6b6b8a;
	--zh-border: #e8e6f0;
	--zh-radius: 14px;
	--zh-filter-font: Figtree, Helvetica, Arial, sans-serif;

	font-family: var(--zh-filter-font) !important;
	color: var(--zh-text);
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}

.zh-shop-filter,
.zh-shop-filter__block-toggle,
.zh-shop-filter__link,
.zh-shop-filter__link-text,
.zh-shop-filter__group-toggle,
.zh-shop-filter__group-label,
.zh-shop-filter__reset,
.zh-shop-filter__search-input {
	font-family: var(--zh-filter-font) !important;
}

/* HybridMag (a podobná témata) dávají globálně button { padding: 0.8rem 1rem } –
   u úzkého expand tlačítka (32px) pak SVG nemá kam se vykreslit. */
.zh-shop-filter button {
	padding: 0;
	border: none;
	background: transparent;
	font: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

.zh-shop-filter__head {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-bottom: 12px;
}

.zh-shop-filter__reset {
	font-size: 12px;
	font-weight: 600;
	color: var(--zh-pink);
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.15s;
}

.zh-shop-filter__reset:hover {
	opacity: 0.75;
	text-decoration: underline;
}

.zh-shop-filter__search {
	margin-bottom: 12px;
}

.zh-shop-filter__search-field {
	position: relative;
}

.zh-shop-filter__search-inner {
	display: flex;
	align-items: stretch;
	gap: 0;
	background: var(--zh-card);
	border: 1px solid var(--zh-border);
	border-radius: var(--zh-radius);
	overflow: hidden;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.zh-shop-filter__search-field.is-open .zh-shop-filter__search-inner {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	border-bottom-color: transparent;
}

.zh-shop-filter__search-inner:focus-within {
	border-color: rgba(45, 45, 95, 0.35);
	box-shadow: 0 0 0 3px rgba(45, 45, 95, 0.08);
}

.zh-shop-filter__search-field.is-open .zh-shop-filter__search-inner:focus-within {
	box-shadow: none;
}

.zh-shop-filter__search-input {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border: none;
	background: transparent;
	font-size: 14px;
	font-weight: 500;
	color: var(--zh-text);
	outline: none;
}

.zh-shop-filter__search-input::placeholder {
	color: var(--zh-muted);
}

.zh-shop-filter__search-input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.zh-shop-filter__search-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 46px;
	border: none;
	border-left: 1px solid var(--zh-border);
	background: var(--zh-bg);
	color: var(--zh-navy);
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.zh-shop-filter__search-btn:hover {
	background: rgba(45, 45, 95, 0.08);
	color: var(--zh-pink);
}

.zh-shop-filter__search-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 30;
	background: var(--zh-card);
	border: 1px solid rgba(45, 45, 95, 0.35);
	border-top: none;
	border-radius: 0 0 var(--zh-radius) var(--zh-radius);
	box-shadow: 0 12px 28px rgba(45, 45, 95, 0.12);
	overflow: hidden;
}

.zh-shop-filter__search-list {
	margin: 0;
	padding: 6px;
	list-style: none;
}

.zh-shop-filter__search-item {
	margin: 0;
}

.zh-shop-filter__search-product {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s;
}

.zh-shop-filter__search-product:hover {
	background: var(--zh-bg);
}

.zh-shop-filter__search-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--zh-bg);
}

.zh-shop-filter__search-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.zh-shop-filter__search-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1;
}

.zh-shop-filter__search-name {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--zh-navy);
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.zh-shop-filter__search-price {
	font-size: 12px;
	font-weight: 700;
	color: var(--zh-pink);
}

.zh-shop-filter__search-more {
	display: block;
	width: 100%;
	padding: 12px 14px;
	border: none;
	border-top: 1px solid var(--zh-border);
	background: var(--zh-bg);
	font-size: 13px;
	font-weight: 700;
	color: var(--zh-navy);
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.zh-shop-filter__search-more:hover {
	background: rgba(45, 45, 95, 0.08);
	color: var(--zh-pink);
}

.zh-shop-filter__search-empty,
.zh-shop-filter__search-loading {
	padding: 14px 16px;
	font-size: 13px;
	font-weight: 500;
	color: var(--zh-muted);
	text-align: center;
}

.zh-shop-filter__block {
	margin-bottom: 12px;
	background: var(--zh-card);
	border: 1px solid var(--zh-border);
	border-radius: var(--zh-radius);
	overflow: hidden;
}

.zh-shop-filter__block-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 100%;
	padding: 14px 44px;
	border: none;
	background: transparent;
	font-size: 12px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--zh-navy) !important;
	text-align: center;
	cursor: pointer;
	transition: background 0.15s;
}

.zh-shop-filter__block-toggle > span {
	flex: 1;
	text-align: center;
}

.zh-shop-filter__block-toggle:hover {
	background: var(--zh-bg);
}

.zh-shop-filter__block-toggle svg {
	position: absolute;
	right: 16px;
	top: 50%;
	flex-shrink: 0;
	transform: translateY(-50%);
	transition: transform 0.2s;
}

.zh-shop-filter__block-toggle.is-open svg {
	transform: translateY(-50%) rotate(180deg);
}

.zh-shop-filter__block-body {
	display: none;
	padding: 0 10px 10px;
}

.zh-shop-filter__block-body.is-open {
	display: block;
}

.zh-shop-filter__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.zh-shop-filter__list--root > .zh-shop-filter__item.is-root > .zh-shop-filter__row .zh-shop-filter__link,
.zh-shop-filter__list--root > .zh-shop-filter__item.is-root > .zh-shop-filter__row .zh-shop-filter__group-toggle {
	font-weight: 700 !important;
	font-size: 15px !important;
	color: #1a1a2e !important;
}

.zh-shop-filter__group-toggle {
	display: flex;
	align-items: center;
	flex: 1;
	min-width: 0;
	padding: 0;
	border: none;
	background: transparent;
	text-align: left;
	cursor: pointer;
	border-radius: 10px;
	transition: background 0.15s;
}

.zh-shop-filter__group-toggle:hover {
	background: var(--zh-bg);
}

.zh-shop-filter__group-label {
	display: block;
	flex: 1;
	padding: 10px 12px;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #1a1a2e !important;
	letter-spacing: -0.01em;
}

.zh-shop-filter__item.is-root.is-group > .zh-shop-filter__row .zh-shop-filter__group-toggle {
	font-weight: 700 !important;
	font-size: 15px !important;
	color: #1a1a2e !important;
}

.zh-shop-filter__item.is-active > .zh-shop-filter__row > .zh-shop-filter__group-toggle .zh-shop-filter__group-label,
.zh-shop-filter__item.is-active > .zh-shop-filter__row > .zh-shop-filter__link .zh-shop-filter__link-text {
	color: var(--zh-navy) !important;
	font-weight: 700 !important;
}

.zh-shop-filter__group-toggle:hover .zh-shop-filter__group-label {
	color: var(--zh-navy) !important;
	font-weight: 700 !important;
}

.zh-shop-filter__item--leaf .zh-shop-filter__link {
	font-size: 15px !important;
}

.zh-shop-filter__item--leaf .zh-shop-filter__link-text {
	color: #1a1a2e !important;
	font-weight: 600 !important;
}

.zh-shop-filter__item--leaf.is-active .zh-shop-filter__link-text,
.zh-shop-filter__item--leaf .zh-shop-filter__link:hover .zh-shop-filter__link-text {
	color: var(--zh-navy) !important;
	font-weight: 700 !important;
}

.zh-shop-filter__count {
	display: none;
	flex-shrink: 0;
	min-width: 24px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--zh-bg);
	font-size: 11px;
	font-weight: 700;
	color: var(--zh-muted);
	text-align: center;
}

.zh-shop-filter--show-count .zh-shop-filter__count {
	display: inline-block;
}

.zh-shop-filter__item.is-active .zh-shop-filter__count {
	background: var(--zh-navy);
	color: #fff;
}

.zh-shop-filter__list--root > .zh-shop-filter__item:first-child .zh-shop-filter__link {
	font-weight: 700;
}

.zh-shop-filter__list--child {
	margin: 2px 0 4px 10px;
	padding-left: 10px;
	border-left: 2px solid var(--zh-border);
}

.zh-shop-filter__item {
	margin: 0;
}

.zh-shop-filter__row {
	display: flex;
	align-items: stretch;
	gap: 2px;
	min-width: 0;
}

.zh-shop-filter__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex: 1 1 0;
	width: auto;
	max-width: 100%;
	min-width: 0;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #1a1a2e !important;
	text-decoration: none !important;
	letter-spacing: -0.01em;
	transition: background 0.15s, color 0.15s;
}

.zh-shop-filter__link:hover {
	background: var(--zh-bg);
	color: var(--zh-navy) !important;
}

.zh-shop-filter__item.is-active > .zh-shop-filter__row > .zh-shop-filter__link {
	background: rgba(45, 45, 95, 0.1);
	color: var(--zh-navy) !important;
	font-weight: 700 !important;
	box-shadow: inset 3px 0 0 var(--zh-navy);
}

.zh-shop-filter__link-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 15px !important;
	font-weight: inherit !important;
	line-height: 1.4;
	color: inherit !important;
}

.zh-shop-filter__expand {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	padding: 0;
	border: none;
	border-radius: 10px;
	background: transparent;
	color: #3d3d66 !important;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.zh-shop-filter__expand svg {
	display: block;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	stroke: currentColor;
	transition: transform 0.2s;
}

.zh-shop-filter__expand:hover {
	background: var(--zh-bg);
	color: var(--zh-navy);
}

.zh-shop-filter__item.is-open > .zh-shop-filter__row .zh-shop-filter__expand {
	color: var(--zh-navy);
}

.zh-shop-filter__item.is-open > .zh-shop-filter__row .zh-shop-filter__expand svg {
	transform: rotate(180deg);
}

.zh-shop-filter__block-body .zh-shop-filter__link,
.zh-shop-filter__block-body .zh-shop-filter__link-text,
.zh-shop-filter__block-body .zh-shop-filter__group-label {
	opacity: 1 !important;
}

.zh-shop-filter__item.is-active > .zh-shop-filter__row > .zh-shop-filter__group-toggle {
	background: rgba(45, 45, 95, 0.1);
	box-shadow: inset 3px 0 0 var(--zh-navy);
	border-radius: 10px;
}

@media (min-width: 992px) {
	.zh-shop-filter {
		position: sticky;
		top: 24px;
	}
}

/* ===== Archive layout: filtr vlevo + produkty vpravo ===== */
.zh-shop-layout {
	display: grid;
	grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
	gap: 28px 32px;
	align-items: start;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto 40px;
	padding: 0 16px;
	box-sizing: border-box;
}

.zh-shop-layout__sidebar {
	min-width: 0;
}

.zh-shop-layout__main {
	min-width: 0;
}

.zh-shop-layout .zh-product-grid--archive,
.zh-shop-layout .zh-product-grid {
	--zh-grid-columns: 4;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

/* Archive filter – Život hvězdy (navy / pink) */
.zh-shop-filter--notino {
	--zh-navy: #2d2d5f;
	--zh-pink: #e84393;
	--zh-bg: #f4f3f8;
	--zh-muted: #6b6b8a;
	--zh-border: #e8e6f0;
	--zh-radius: 14px;
	background: linear-gradient(180deg, #ffffff 0%, #faf9fc 100%);
	border: 1px solid var(--zh-border);
	border-radius: 18px;
	padding: 16px 14px 12px;
	box-shadow: 0 8px 28px rgba(45, 45, 95, 0.06);
}

.zh-shop-filter--notino .zh-shop-filter__head {
	margin-bottom: 10px;
}

.zh-shop-filter--notino .zh-shop-filter__reset {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(232, 67, 147, 0.1);
	font-size: 12px;
	font-weight: 700;
	color: var(--zh-pink) !important;
	text-decoration: none !important;
}

.zh-shop-filter--notino .zh-shop-filter__reset:hover {
	background: rgba(232, 67, 147, 0.18);
}

.zh-shop-filter--notino .zh-shop-filter__block {
	margin: 0 0 10px;
	padding: 12px 12px 10px;
	border: 1px solid var(--zh-border);
	border-radius: var(--zh-radius);
	background: #fff;
	box-shadow: none;
	overflow: hidden;
}

.zh-shop-filter--notino .zh-shop-filter__block:last-child {
	margin-bottom: 0;
}

.zh-shop-filter--notino .zh-shop-filter__block--cats {
	background: linear-gradient(160deg, #fff 0%, #fff5fa 100%);
	border-color: rgba(232, 67, 147, 0.18);
}

.zh-shop-filter--notino .zh-shop-filter__block-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	padding: 0 0 10px !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	text-transform: none !important;
	letter-spacing: -0.01em !important;
	color: var(--zh-navy) !important;
	text-align: left !important;
	cursor: pointer;
}

.zh-shop-filter--notino .zh-shop-filter__block-toggle:hover {
	background: transparent;
	color: var(--zh-pink) !important;
}

.zh-shop-filter--notino .zh-shop-filter__block-toggle > span {
	flex: 1 1 auto;
	text-align: left;
}

.zh-shop-filter--notino .zh-shop-filter__block-toggle svg {
	position: static;
	width: 18px;
	height: 18px;
	padding: 2px;
	border-radius: 999px;
	background: var(--zh-bg);
	color: var(--zh-navy);
	transform: none;
	flex-shrink: 0;
	transition: transform 0.2s, background 0.15s, color 0.15s;
}

.zh-shop-filter--notino .zh-shop-filter__block-toggle.is-open svg {
	transform: rotate(180deg);
	background: rgba(232, 67, 147, 0.12);
	color: var(--zh-pink);
}

.zh-shop-filter--notino .zh-shop-filter__block-body {
	padding: 0;
}

.zh-shop-filter__cat-title {
	display: block;
	margin: 0 0 10px !important;
	padding: 0 !important;
	font-size: 17px !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em !important;
	color: var(--zh-navy) !important;
	text-decoration: none !important;
	line-height: 1.25 !important;
}

a.zh-shop-filter__cat-title:hover {
	color: var(--zh-pink) !important;
}

.zh-shop-filter__back {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0 0 10px;
	padding: 4px 10px 4px 8px;
	border-radius: 999px;
	background: var(--zh-bg);
	font-size: 12px;
	font-weight: 700;
	color: var(--zh-muted);
	text-decoration: none;
	transition: color 0.15s, background 0.15s;
}

.zh-shop-filter__back:hover {
	color: var(--zh-pink);
	background: rgba(232, 67, 147, 0.1);
}

.zh-shop-filter__subcats {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.zh-shop-filter__subcats > li {
	margin: 0 0 2px !important;
}

.zh-shop-filter__subcats > li > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 10px;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #3a3a58 !important;
	text-decoration: none !important;
	line-height: 1.35;
	transition: background 0.15s, color 0.15s;
}

.zh-shop-filter__subcats > li > a:hover {
	background: var(--zh-bg);
	color: var(--zh-pink) !important;
}

.zh-shop-filter__subcats > li.is-active > a {
	font-weight: 800 !important;
	color: var(--zh-pink) !important;
	background: rgba(232, 67, 147, 0.1);
}

.zh-shop-filter__price-form {
	margin: 0 0 10px;
}

.zh-shop-filter__price-inputs {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.zh-shop-filter__price-inputs label {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0 10px;
	min-height: 40px;
	border: 1.5px solid var(--zh-border);
	border-radius: 12px;
	background: var(--zh-bg);
	font-size: 12px;
	font-weight: 600;
	color: var(--zh-muted);
	transition: border-color 0.15s, box-shadow 0.15s;
}

.zh-shop-filter__price-inputs label:focus-within {
	border-color: var(--zh-pink);
	box-shadow: 0 0 0 3px rgba(232, 67, 147, 0.15);
	background: #fff;
}

.zh-shop-filter__price-inputs input {
	width: 100%;
	min-width: 0;
	border: 0 !important;
	box-shadow: none !important;
	padding: 8px 0 !important;
	margin: 0 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: var(--zh-navy) !important;
	background: transparent !important;
	outline: none !important;
}

.zh-shop-filter__price-sep {
	color: var(--zh-muted);
	font-weight: 700;
}

.zh-shop-filter__price-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 40px;
	margin: 0 0 8px !important;
	padding: 8px 14px !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: var(--zh-navy) !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	letter-spacing: -0.01em;
	cursor: pointer;
	transition: background 0.15s, transform 0.15s;
}

.zh-shop-filter__price-submit:hover {
	background: var(--zh-pink) !important;
	transform: translateY(-1px);
}

.zh-shop-filter__list--price-presets {
	margin-top: 4px !important;
}

.zh-shop-filter--notino .zh-shop-filter__list--price-presets .zh-shop-filter__link {
	padding: 7px 10px;
	border-radius: 10px;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #3a3a58 !important;
}

.zh-shop-filter--notino .zh-shop-filter__list--price-presets .zh-shop-filter__link:hover {
	background: var(--zh-bg);
	color: var(--zh-pink) !important;
}

.zh-shop-filter--notino .zh-shop-filter__list--price-presets .zh-shop-filter__item.is-active .zh-shop-filter__link {
	background: rgba(232, 67, 147, 0.1);
	color: var(--zh-pink) !important;
	box-shadow: none;
}

.zh-shop-filter__brand-search {
	position: relative;
	margin: 0 0 10px;
}

.zh-shop-filter__brand-search-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--zh-muted);
	pointer-events: none;
}

.zh-shop-filter__brand-search-input {
	width: 100%;
	box-sizing: border-box;
	min-height: 40px;
	margin: 0 !important;
	padding: 8px 12px 8px 36px !important;
	border: 1.5px solid var(--zh-border) !important;
	border-radius: 12px !important;
	background: var(--zh-bg) !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: var(--zh-navy) !important;
	outline: none !important;
	box-shadow: none !important;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.zh-shop-filter__brand-search-input::placeholder {
	color: var(--zh-muted);
	font-weight: 500;
}

.zh-shop-filter__brand-search-input:focus {
	border-color: var(--zh-pink) !important;
	background: #fff !important;
	box-shadow: 0 0 0 3px rgba(232, 67, 147, 0.15) !important;
}

.zh-shop-filter__brand-empty {
	margin: 8px 0 0 !important;
	padding: 8px 4px;
	font-size: 12px;
	font-weight: 600;
	color: var(--zh-muted);
	text-align: center;
}

.zh-shop-filter__checks li.is-brand-hidden,
.zh-shop-filter__checks li[hidden] {
	display: none !important;
}

.zh-shop-filter__brand-empty[hidden] {
	display: none !important;
}

.zh-shop-filter__checks {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	max-height: 260px;
	overflow: auto;
	scrollbar-width: thin;
	scrollbar-color: #d4d0e0 transparent;
}

.zh-shop-filter__checks::-webkit-scrollbar {
	width: 6px;
}

.zh-shop-filter__checks::-webkit-scrollbar-thumb {
	background: #d4d0e0;
	border-radius: 999px;
}

.zh-shop-filter__check {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 8px;
	border-radius: 10px;
	text-decoration: none !important;
	color: #3a3a58 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	transition: background 0.15s, color 0.15s;
}

.zh-shop-filter__check:hover {
	background: var(--zh-bg);
	color: var(--zh-pink) !important;
}

.zh-shop-filter__checks li.is-active .zh-shop-filter__check {
	background: rgba(232, 67, 147, 0.08);
	color: var(--zh-navy) !important;
}

.zh-shop-filter__checkbox {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #c8c4d8;
	border-radius: 6px;
	font-size: 11px;
	line-height: 1;
	color: #fff;
	background: #fff;
	transition: background 0.15s, border-color 0.15s;
}

.zh-shop-filter__checks li.is-active .zh-shop-filter__checkbox {
	background: var(--zh-pink);
	border-color: var(--zh-pink);
}

.zh-shop-filter__check-label {
	flex: 1 1 auto;
	min-width: 0;
}

.zh-shop-filter--notino .zh-shop-filter__count,
.zh-shop-filter__count {
	flex: 0 0 auto;
	min-width: 22px;
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--zh-bg);
	color: var(--zh-muted) !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-align: center;
}

.zh-shop-filter__subcats > li.is-active .zh-shop-filter__count,
.zh-shop-filter__checks li.is-active .zh-shop-filter__count {
	background: rgba(232, 67, 147, 0.14);
	color: var(--zh-pink) !important;
}

@media (max-width: 991px) {
	.zh-shop-layout {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.zh-shop-layout__sidebar {
		order: -1;
	}

	.zh-shop-filter {
		display: block !important;
		position: static;
		max-height: none;
	}

	.zh-shop-filter--notino .zh-shop-filter__block--cats {
		padding-bottom: 8px;
	}

	.zh-shop-layout .zh-product-grid--archive,
	.zh-shop-layout .zh-product-grid {
		--zh-grid-columns: 2;
	}
}

@media (min-width: 992px) and (max-width: 1200px) {
	.zh-shop-layout .zh-product-grid--archive,
	.zh-shop-layout .zh-product-grid {
		--zh-grid-columns: 3;
	}
}

/* ===== Kompaktní řazení (Notino styl) ===== */
.woocommerce .zh-ordering.woocommerce-ordering,
.zh-ordering.woocommerce-ordering {
	position: relative;
	float: none !important;
	display: block !important;
	width: fit-content !important;
	max-width: 100%;
	margin: 0 0 20px auto !important;
	z-index: 30;
}

.zh-ordering__toggle {
	display: inline-flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: auto;
	min-width: 200px;
	max-width: 100%;
	min-height: 44px;
	padding: 10px 14px !important;
	border: 1.5px solid #e8e6f0 !important;
	border-radius: 12px !important;
	background: #fff !important;
	color: #2d2d5f !important;
	font-family: Figtree, Helvetica, Arial, sans-serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	cursor: pointer;
	box-shadow: 0 2px 12px rgba(45, 45, 95, 0.06);
	transition: border-color 0.15s, box-shadow 0.15s;
}

.zh-ordering__toggle:hover {
	border-color: #d0cee0 !important;
}

.zh-ordering.is-open .zh-ordering__toggle,
.zh-ordering__toggle:focus {
	outline: none;
	border-color: #e84393 !important;
	box-shadow: 0 0 0 4px rgba(232, 67, 147, 0.12);
}

.zh-ordering__current {
	flex: 1 1 auto;
	text-align: left;
}

.zh-ordering__chevron {
	flex: 0 0 auto;
	color: #2d2d5f;
	transition: transform 0.2s;
}

.zh-ordering.is-open .zh-ordering__chevron {
	transform: rotate(180deg);
}

.zh-ordering__panel {
	position: absolute !important;
	top: calc(100% + 8px) !important;
	right: 0 !important;
	left: auto !important;
	width: max-content !important;
	min-width: 100% !important;
	max-width: 280px !important;
	padding: 8px;
	border: 1px solid #e8e6f0;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(45, 45, 95, 0.14);
	box-sizing: border-box;
}

.zh-ordering__panel[hidden] {
	display: none !important;
}

.zh-ordering__option {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 10px 12px;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.15s;
}

.zh-ordering__option:hover {
	background: #f4f3f8;
}

.zh-ordering__option.is-active {
	background: rgba(232, 67, 147, 0.08);
}

.zh-ordering__option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.zh-ordering__radio {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border: 1.5px solid #c8c4d8;
	border-radius: 50%;
	background: #fff;
	box-sizing: border-box;
	position: relative;
}

.zh-ordering__option.is-active .zh-ordering__radio,
.zh-ordering__option input:checked + .zh-ordering__radio {
	border-color: #2d2d5f;
}

.zh-ordering__option.is-active .zh-ordering__radio::after,
.zh-ordering__option input:checked + .zh-ordering__radio::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: #2d2d5f;
}

.zh-ordering__label {
	font-family: Figtree, Helvetica, Arial, sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #2d2d5f !important;
	line-height: 1.3;
	white-space: nowrap;
}

@media (max-width: 768px) {
	.woocommerce .zh-ordering.woocommerce-ordering,
	.zh-ordering.woocommerce-ordering {
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.zh-ordering__toggle {
		width: 100%;
		min-width: 0;
	}

	.zh-ordering__panel {
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		max-width: none !important;
	}
}

/* ===== Archiv kategorie (WooCommerce parity) ===== */
body.tax-product_cat {
	--zh-font: "Figtree", "DM Sans", system-ui, sans-serif;
	background: #fff !important;
	font-family: var(--zh-font, Figtree, "DM Sans", system-ui, sans-serif) !important;
	color: #2d2d5f !important;
}

body.tax-product_cat main {
	background: #fff;
	padding: 0;
}

body.tax-product_cat main > .container {
	max-width: none;
	padding: 0;
}

.content-area.hm-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
}

.hm-woocommerce-container.woocommerce {
	padding: 8px 0 32px;
}

.woocommerce-products-header {
	margin: 0 0 4px;
}

.woocommerce-products-header__title.page-title {
	margin: 0 0 16px !important;
	font-family: var(--zh-font, Figtree, "DM Sans", system-ui, sans-serif) !important;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem) !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.02em;
	color: #2d2d5f !important;
}

body.tax-product_cat .flash {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
}
