/**
 * Long form product page.
 * Mobile first. The 375px viewport is the narrowest target.
 */

.ezi-section {
	margin: 0 0 2.5rem;
	scroll-margin-top: 5.5rem; /* keeps headings clear of the sticky nav */
}

.ezi-section__title {
	margin: 0 0 0.85rem;
	font-family: var(--ezi-font-display);
	font-weight: var(--ezi-fw-display);
	font-size: clamp(1.25rem, 1.05rem + 1vw, 1.65rem);
	line-height: 1.25;
}

.ezi-section__body > *:first-child {
	margin-top: 0;
}

.ezi-lead {
	font-size: 1.05rem;
	line-height: 1.65;
}

.ezi-richtext {
	line-height: 1.7;
}

.ezi-richtext > *:first-child {
	margin-top: 0;
}

/* Sticky anchor navigation ------------------------------------------------ */

.ezi-anchor-nav {
	position: sticky;
	top: 0;
	z-index: 20;
	margin: 0 0 2rem;
	background: var(--ezi-nav-bg);
	border-bottom: 1px solid var(--ezi-rule);
}

.ezi-anchor-nav__list {
	display: flex;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.ezi-anchor-nav__item {
	flex: 0 0 auto;
	margin: 0;
}

.ezi-anchor-nav__link {
	display: block;
	padding: 0.75rem 0.9rem;
	font-size: 0.9rem;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
	color: inherit;
	border-bottom: 2px solid transparent;
}

.ezi-anchor-nav__link:hover,
.ezi-anchor-nav__link:focus-visible {
	border-bottom-color: currentColor;
}

.ezi-anchor-nav__link.is-active {
	font-weight: 600;
	border-bottom-color: var(--ezi-accent);
}

/* Benefits ---------------------------------------------------------------- */

.ezi-benefits {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ezi-benefits__item {
	position: relative;
	margin: 0 0 0.9rem;
	padding-left: 1.4rem;
	line-height: 1.65;
}

.ezi-benefits__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--ezi-accent);
}

.ezi-benefits__lead {
	font-weight: 700;
}

/* Specification table ----------------------------------------------------- */

.ezi-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ezi-specs {
	width: 100%;
	border-collapse: collapse;
}

.ezi-specs th,
.ezi-specs td {
	padding: 0.7rem 0.75rem;
	text-align: left;
	border-bottom: 1px solid var(--ezi-rule);
	vertical-align: top;
	font-size: 0.95rem;
}

.ezi-specs th {
	width: 45%;
	font-weight: 600;
	color: var(--ezi-muted);
}

.ezi-specs__row--todo td {
	color: var(--ezi-gold-deep);
	background: var(--ezi-gold-tint);
	font-style: italic;
}

/* Refinery ---------------------------------------------------------------- */

.ezi-refinery__logo {
	max-width: 160px;
	height: auto;
	margin: 0 0 1rem;
}

.ezi-refinery__facts {
	display: grid;
	grid-template-columns: minmax(8rem, auto) 1fr;
	gap: 0.4rem 1rem;
	margin: 1.25rem 0;
	font-size: 0.95rem;
}

.ezi-refinery__facts dt {
	font-weight: 600;
	color: var(--ezi-muted);
}

.ezi-refinery__facts dd {
	margin: 0;
}

/* Description blocks ------------------------------------------------------ */

.ezi-detail-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

.ezi-detail-grid__title {
	margin: 0 0 0.35rem;
	font-family: var(--ezi-font-display);
	font-size: 1.15rem;
	font-weight: var(--ezi-fw-display);
}

.ezi-detail-grid__body {
	line-height: 1.65;
}

.ezi-detail-grid__body > *:first-child {
	margin-top: 0;
}

/* FAQ --------------------------------------------------------------------- */

.ezi-faq__item {
	border-bottom: 1px solid var(--ezi-rule);
}

.ezi-faq__heading {
	margin: 0;
	font-size: 1rem;
}

.ezi-faq__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1rem 0;
	background: none;
	border: 0;
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	color: inherit;
}

.ezi-faq__icon {
	flex: 0 0 auto;
	width: 0.75rem;
	height: 0.75rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transform-origin: center;
	transition: transform 0.18s ease;
}

.ezi-faq__button[aria-expanded="true"] .ezi-faq__icon {
	transform: rotate(-135deg);
}

.ezi-faq__panel {
	padding: 0 0 1rem;
	line-height: 1.65;
}

.ezi-faq__panel[hidden] {
	display: none;
}

/* Stock badge and CTA ----------------------------------------------------- */

.ezi-stock-badge {
	display: inline-block;
	padding: 0.3rem 0.7rem;
	border-radius: var(--ezi-radius-pill);
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.2;
	background: #EDF3ED;
	color: #2F6B3A;
}

.ezi-stock-badge--outofstock {
	background: #F7EAE8;
	color: #8C332B;
}

.ezi-stock-badge--onbackorder {
	background: var(--ezi-gold-tint);
	color: var(--ezi-gold-deep);
}

.ezi-cta {
	margin: 1.25rem 0;
}

.ezi-cta__button {
	display: inline-block;
	width: 100%;
	max-width: 22rem;
	padding: 0.95rem 1.5rem;
	border: 0;
	border-radius: var(--ezi-radius-sm);
	background: var(--ezi-accent);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.ezi-cta__button:hover,
.ezi-cta__button:focus-visible {
	filter: brightness(0.94);
}

.ezi-cta__todo {
	padding: 0.75rem 1rem;
	background: var(--ezi-gold-tint);
	color: var(--ezi-gold-deep);
	font-style: italic;
	border-radius: var(--ezi-radius-sm);
}

/* Quote dialog ------------------------------------------------------------ */

.ezi-quote-dialog {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 1rem;
	background: rgba(0, 0, 0, 0.55);
	overflow-y: auto;
}

.ezi-quote-dialog[hidden] {
	display: none;
}

.ezi-quote-dialog__inner {
	position: relative;
	width: 100%;
	max-width: 34rem;
	margin: auto;
	padding: 1.75rem 1.25rem 1.25rem;
	background: var(--ezi-ivory-2);
	border-radius: var(--ezi-radius-md);
}

.ezi-quote-dialog__close {
	position: absolute;
	top: 0.4rem;
	right: 0.6rem;
	width: 2.25rem;
	height: 2.25rem;
	background: none;
	border: 0;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}

.ezi-quote-dialog__sku {
	margin: 0 0 1rem;
	font-size: 0.85rem;
	color: var(--ezi-muted);
}

/* Trust badges and related ------------------------------------------------ */

.ezi-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 1.5rem 0;
	padding: 0;
	list-style: none;
}

.ezi-badges__item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
}

.ezi-badges__icon {
	width: 2.5rem;
	height: 2.5rem;
	object-fit: contain;
}

.ezi-related {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ezi-related__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.ezi-related__media img {
	width: 100%;
	height: auto;
	display: block;
}

.ezi-related__name {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.9rem;
	line-height: 1.35;
}

/* Gallery with a single image: hide the empty thumbnail strip -------------- */

.ezi-single-image .flex-control-thumbs,
.ezi-single-image .woocommerce-product-gallery__wrapper .flex-control-nav {
	display: none !important;
}

/* Wider viewports --------------------------------------------------------- */

@media (min-width: 48em) {
	.ezi-detail-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.75rem;
	}

	.ezi-related {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.ezi-specs th {
		width: 32%;
	}
}

/* Catalog filter bar ------------------------------------------------------ */

.ezi-catalog > * {
	width: 100%;
}

.ezi-filterbar {
	position: relative;
	margin: 0 0 1rem;
}

/* Mobile control ---------------------------------------------------------- */

.ezi-filterbar__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	justify-content: center;
	padding: 0.85rem 1.1rem;
	border: 1px solid var(--ezi-rule);
	border-radius: var(--ezi-radius-sm);
	background: var(--ezi-ivory-2);
	font: inherit;
	font-weight: var(--ezi-fw-body-bold);
	color: var(--ezi-ink);
	cursor: pointer;
}

.ezi-filterbar__toggle[aria-expanded="false"] .ezi-filterbar__label::after {
	transform: rotate(45deg);
}

.ezi-filterbar__label::after {
	content: "";
	display: inline-block;
	margin-left: 0.5rem;
	width: 0.45rem;
	height: 0.45rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-135deg);
	transition: transform 0.18s ease;
	vertical-align: middle;
}

.ezi-filterbar__icon {
	width: 0.9rem;
	height: 0.9rem;
	clip-path: polygon(0 0, 100% 0, 62% 45%, 62% 100%, 38% 82%, 38% 45%);
	background: currentColor;
}

.ezi-facets-backdrop {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(22, 19, 14, 0.5);
}

.ezi-facets-backdrop[hidden] {
	display: none;
}

/* Mobile: the facets live in a bottom sheet ------------------------------- */

.ezi-facets {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 90;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	background: var(--ezi-nav-bg);
	border-radius: var(--ezi-radius-lg, 14px) var(--ezi-radius-lg, 14px) 0 0;
	box-shadow: 0 -0.5rem 2rem rgba(22, 19, 14, 0.22);
	transform: translateY(100%);
	transition: transform 0.24s ease;
	visibility: hidden;
}

.ezi-facets.is-open {
	transform: translateY(0);
	visibility: visible;
}

.ezi-facets__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 1rem;
	border-bottom: 1px solid var(--ezi-rule);
}

.ezi-facets__heading {
	font-family: var(--ezi-font-display);
	font-weight: var(--ezi-fw-display);
	font-size: 1.25rem;
}

.ezi-facets__close {
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	background: none;
	font-size: 1.75rem;
	line-height: 1;
	color: var(--ezi-ink);
	cursor: pointer;
}

.ezi-facets__body {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 1rem;
}

.ezi-facets__foot {
	padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--ezi-rule);
}

.ezi-facets__foot .ezi-cta__button {
	max-width: none;
	width: 100%;
}

.ezi-empty-state {
	padding: 2rem 1rem;
	text-align: center;
	border: 1px dashed var(--ezi-rule);
	border-radius: var(--ezi-radius-md);
}

.ezi-empty-state__title {
	margin: 0 0 0.5rem;
	font-family: var(--ezi-font-display);
	font-size: 1.3rem;
	font-weight: var(--ezi-fw-display);
}

.ezi-category-content {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ezi-rule);
}

@media (min-width: 1025px) {
	/* Desktop: the plugin's own horizontal layout puts the facets side by side
	   (wpc-horizontal-layout / wpc-horizontal-cols-4). Nothing here re-does that
	   layout; these rules only cover the drawer chrome and spacing around it. */
	.ezi-facets__head,
	.ezi-facets__foot,
	.ezi-facets-backdrop {
		display: none;
	}

	/* The toggle stays, sized to its content, and hides the whole block. */
	.ezi-filterbar__toggle {
		width: auto;
		justify-content: flex-start;
		margin-bottom: 0.35rem;
	}

	.ezi-filterbar.is-collapsed .ezi-facets {
		display: none;
	}

	.ezi-facets {
		position: static;
		max-height: none;
		display: block;
		background: none;
		border-radius: 0;
		box-shadow: none;
		transform: none;
		visibility: visible;
	}

	.ezi-facets__body {
		overflow: visible;
		padding: 0;
	}

	/* Frame the bar so it reads as one control strip above the grid. */
	.ezi-facets .wpc-filters-widget-content {
		padding: 1rem 0 0.35rem;
		border-top: 1px solid var(--ezi-rule);
		border-bottom: 1px solid var(--ezi-rule);
	}

	/* The plugin sets the column widths; this only tightens the vertical rhythm. */
	.ezi-facets .wpc-filters-section {
		margin-bottom: 1rem;
	}

	/* Facet options do not need to scroll when they sit in their own column. */
	.ezi-facets .wpc-filter-content .wpc-filters-ul-list {
		max-height: 13rem;
	}
}



/* Продаваме и изкупуваме ------------------------------------------------- */

.ezi-pricing {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 1.25rem 0;
}

.ezi-pricing__card {
	padding: 1rem 1.1rem;
	border: 1px solid var(--ezi-rule);
	border-radius: var(--ezi-radius-md);
}

.ezi-pricing__card--buy {
	background: var(--ezi-ivory-2);
	border-color: var(--ezi-gold);
}

.ezi-pricing__title {
	margin: 0 0 0.35rem;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: var(--ezi-ls-overline);
	color: var(--ezi-muted);
}

.ezi-pricing__value {
	margin: 0;
	font-family: var(--ezi-font-display);
	font-size: 1.25rem;
	font-weight: var(--ezi-fw-display);
	line-height: 1.35;
}

.ezi-pricing__note {
	margin-top: 0.5rem;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--ezi-muted);
}

.ezi-contact-channels {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--ezi-rule);
}

.ezi-contact-channels__intro {
	margin: 0 0 0.4rem;
	font-size: 0.9rem;
	color: var(--ezi-muted);
}

.ezi-contact-channels__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 600;
}

@media (min-width: 48em) {
	.ezi-pricing {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Contacts page ----------------------------------------------------------- */

.ezi-overline {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: var(--ezi-ls-overline);
	color: var(--ezi-gold-deep);
}

/*
 * The form and the contact panel side by side.
 *
 * A boxed Elementor container wraps its children in .e-con-inner, so the grid
 * belongs on that wrapper, not on the element carrying the class. The extra
 * .e-con in the selector is there to outrank .e-con > .e-con-inner, which sets
 * display from a custom property.
 */
.ezi-contact-layout.e-con > .e-con-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	width: 100%;
}

/* A full width container holds its children directly. */
.ezi-contact-layout.e-con:not(:has(> .e-con-inner)) {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
}

.ezi-contact-form__title,
.ezi-contact-panel__title {
	margin: 0 0 1.25rem;
	font-family: var(--ezi-font-display);
	font-weight: var(--ezi-fw-display);
	font-size: 1.6rem;
	line-height: 1.15;
}

.ezi-contact-panel {
	padding: 1.5rem 1.35rem;
	background: var(--ezi-ivory-2);
	border: 1px solid var(--ezi-rule);
	border-radius: var(--ezi-radius-md);
}

.ezi-contact-panel__list {
	margin: 0;
}

.ezi-contact-panel__list dt {
	margin-top: 1rem;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: var(--ezi-ls-overline);
	color: var(--ezi-gold-deep);
}

.ezi-contact-panel__list dt:first-child {
	margin-top: 0;
}

.ezi-contact-panel__list dd {
	margin: 0.2rem 0 0;
	font-size: 1rem;
	line-height: 1.5;
}

.ezi-contact-panel__list a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid var(--ezi-gold);
}

.ezi-contact-panel__note {
	margin: 1.5rem 0 0.75rem;
	font-size: 0.9rem;
	color: var(--ezi-muted);
}

.ezi-contact-panel__more {
	font-weight: 600;
	color: var(--ezi-gold-deep);
}

.ezi-contact-form__privacy {
	margin-top: 1rem;
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--ezi-muted);
}

@media (min-width: 1025px) {
	.ezi-contact-layout.e-con > .e-con-inner {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		gap: 3rem;
		align-items: start;
	}

	.ezi-contact-layout.e-con:not(:has(> .e-con-inner)) {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		gap: 3rem;
		align-items: start;
	}
}

/* Legal and long form pages ------------------------------------------------ */

.ezi-legal {
	max-width: 52rem;
	margin-inline: auto;
	font-size: 1rem;
	line-height: 1.7;
}

.ezi-legal__updated {
	margin: 0 0 2rem;
	font-size: 0.85rem;
	color: var(--ezi-muted);
}

.ezi-legal h2 {
	margin: 2.5rem 0 0.75rem;
	font-family: var(--ezi-font-display);
	font-weight: var(--ezi-fw-display);
	font-size: 1.5rem;
	line-height: 1.2;
}

.ezi-legal h2:first-of-type {
	margin-top: 0;
}

.ezi-legal h3 {
	margin: 1.75rem 0 0.5rem;
	font-family: var(--ezi-font-display);
	font-weight: var(--ezi-fw-display);
	font-size: 1.2rem;
	line-height: 1.25;
}

.ezi-legal p,
.ezi-legal ul,
.ezi-legal ol {
	margin: 0 0 1rem;
}

.ezi-legal ul,
.ezi-legal ol {
	padding-left: 1.35rem;
}

.ezi-legal li {
	margin-bottom: 0.4rem;
}

.ezi-legal a {
	color: var(--ezi-gold-deep);
	text-decoration: none;
	border-bottom: 1px solid var(--ezi-gold);
}

/* Wide tables scroll rather than pushing the page sideways. */
.ezi-legal table {
	display: block;
	width: 100%;
	margin: 0 0 1.5rem;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.ezi-legal th,
.ezi-legal td {
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--ezi-rule);
	text-align: left;
	vertical-align: top;
}

.ezi-legal thead th {
	background: var(--ezi-ivory-2);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ezi-muted);
}

/* Offices ------------------------------------------------------------------ */

.ezi-office {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.5rem 1.35rem;
	background: var(--ezi-ivory-2);
	border: 1px solid var(--ezi-rule);
	border-radius: var(--ezi-radius-md);
}

.ezi-office__town {
	margin: 0;
	font-family: var(--ezi-font-display);
	font-weight: var(--ezi-fw-display);
	font-size: 1.5rem;
	line-height: 1.15;
}

.ezi-office__name {
	margin: 0.25rem 0 0;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: var(--ezi-ls-overline);
	color: var(--ezi-gold-deep);
}

.ezi-office__details {
	margin: 1.25rem 0 0;
}

.ezi-office__details dt {
	margin-top: 0.9rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: var(--ezi-ls-overline);
	color: var(--ezi-muted);
}

.ezi-office__details dt:first-child {
	margin-top: 0;
}

.ezi-office__details dd {
	margin: 0.15rem 0 0;
	font-size: 1rem;
	line-height: 1.5;
}

.ezi-office__details a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid var(--ezi-gold);
}

.ezi-office__note {
	margin-left: 0.5rem;
	font-size: 0.8rem;
	color: var(--ezi-muted);
}

/* Collapsible facets ------------------------------------------------------ */

.wpc-filters-section.wpc-filter-collapsible {
	border-bottom: 1px solid var(--ezi-rule);
}

.wpc-filters-section.wpc-filter-collapsible:last-child {
	border-bottom: 0;
}

.wpc-filter-title > button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 0.95rem 0;
	background: none;
	border: 0;
	font: inherit;
	font-family: var(--ezi-font-body);
	font-weight: var(--ezi-fw-body-bold);
	font-size: 0.95rem;
	line-height: 1.3;
	text-align: left;
	color: var(--ezi-ink);
	cursor: pointer;
}

.wpc-filter-title > button:hover,
.wpc-filter-title > button:focus-visible {
	color: var(--ezi-gold-deep);
}

/* Chevron, rotated when the section is open. */
.wpc-open-icon {
	flex: 0 0 auto;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transform-origin: center;
	transition: transform 0.18s ease;
}

.wpc-filters-section.wpc-opened > .wpc-filter-header .wpc-open-icon,
.wpc-filters-section:not(.wpc-closed) > .wpc-filter-header .wpc-open-icon {
	transform: rotate(-135deg);
}

.wpc-filter-content {
	padding-bottom: 0.9rem;
}

/* Nested child terms sit in from their parent. */
.wpc-filter-has-hierarchy .wpc-filters-ul-list ul {
	margin: 0.3rem 0 0.2rem 1.1rem;
	padding-left: 0.6rem;
	border-left: 1px solid var(--ezi-rule);
	list-style: none;
}

.wpc-see-more-control,
.wpc-see-less-control {
	display: inline-block;
	margin-top: 0.35rem;
	font-size: 0.85rem;
	font-weight: var(--ezi-fw-body-semibold);
	color: var(--ezi-gold-deep);
	text-decoration: none;
}

/* Facet option rows ------------------------------------------------------- */

.wpc-filters-ul-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wpc-filters-ul-list .wpc-term-item {
	margin: 0;
	list-style: none;
}

.wpc-term-item-content-wrapper {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	padding: 0.3rem 0;
}

/* Hide the native box and draw our own, so the tick is on brand. */
.wpc-term-item-content-wrapper > input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 1.05rem;
	height: 1.05rem;
	margin: 0;
	cursor: pointer;
	z-index: 1;
}

.wpc-term-item-content-wrapper > label {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	flex: 1 1 auto;
	padding-left: 1.6rem;
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.45;
	cursor: pointer;
}

.wpc-term-item-content-wrapper > label::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.42rem;
	width: 1.05rem;
	height: 1.05rem;
	border: 1px solid var(--ezi-ink-faint);
	border-radius: 3px;
	background: #fff;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

/* Tick mark, drawn only when checked. */
.wpc-term-item-content-wrapper > label::after {
	content: "";
	position: absolute;
	left: 0.36rem;
	top: 0.62rem;
	width: 0.28rem;
	height: 0.55rem;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg) scale(0);
	transition: transform 0.15s ease;
}

.wpc-term-item-content-wrapper > input[type="checkbox"]:checked + label::before {
	background: var(--ezi-gold);
	border-color: var(--ezi-gold);
}

.wpc-term-item-content-wrapper > input[type="checkbox"]:checked + label::after {
	transform: rotate(45deg) scale(1);
}

.wpc-term-item-content-wrapper > input[type="checkbox"]:focus-visible + label::before {
	outline: 2px solid var(--ezi-gold);
	outline-offset: 2px;
}

.wpc-term-item-content-wrapper:hover > label::before {
	border-color: var(--ezi-gold-deep);
}

.wpc-filter-link {
	color: inherit;
	text-decoration: none;
}

.wpc-term-item-content-wrapper:hover .wpc-filter-link {
	color: var(--ezi-gold-deep);
}

/* Count sits quietly to the right of the label. */
.wpc-term-count {
	color: var(--ezi-ink-faint);
	font-size: 0.82rem;
	font-variant-numeric: tabular-nums;
}

/* Selected rows read as selected. */
.wpc-term-item.wpc-term-checked > .wpc-term-item-content-wrapper > label,
.wpc-term-item-content-wrapper > input[type="checkbox"]:checked + label {
	font-weight: var(--ezi-fw-body-semibold);
}

/* Radio rows (price ranges) use the same rhythm but a round control. */
.wpc-filters-radio .wpc-term-item-content-wrapper > label::before {
	border-radius: 50%;
}

.wpc-filters-radio .wpc-term-item-content-wrapper > label::after {
	left: 0.3rem;
	top: 0.72rem;
	width: 0.45rem;
	height: 0.45rem;
	border: 0;
	border-radius: 50%;
	background: #fff;
	transform: scale(0);
}

.wpc-filters-radio .wpc-term-item-content-wrapper > input:checked + label::after {
	transform: scale(1);
}

/* Long facets scroll rather than pushing the page down. */
.wpc-filter-content .wpc-filters-ul-list {
	max-height: 16rem;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.wpc-filter-content .wpc-filters-ul-list::-webkit-scrollbar {
	width: 6px;
}

.wpc-filter-content .wpc-filters-ul-list::-webkit-scrollbar-thumb {
	background: var(--ezi-rule);
	border-radius: var(--ezi-radius-pill);
}

/* Price facet: the range list is the control, so the free min/max form and the
   "Цена: min — max" readout below it are redundant.
   Kept in the layout but visually removed rather than display:none, because the
   plugin's script reads those inputs when it syncs a chosen range, and a
   display:none form is easy for it to treat as absent. */
.ezi-facets .wpc-filter-range-form {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* The price options must never be hidden with the form. */
.ezi-facets .wpc-filter-_price .wpc-filters-ul-list {
	position: static;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	overflow: visible;
}

/* Price ranges must always be listed.
 *
 * The plugin recounts terms client-side and marks any it reads as empty with
 * wpc-term-count-hidden-0, which its own stylesheet hides with !important. For
 * the taxonomy facets that is correct. For the price ladder it is not: the
 * buckets are a fixed scale, and when the recount payload is unavailable every
 * bucket reads as zero and the whole ladder disappears while its heading stays.
 * Overriding !important needs !important. Scoped to the price facet only, so
 * empty-term hiding still works everywhere else.
 */
.ezi-facets .wpc-filter-_price .wpc-filters-ul-list,
.ezi-facets .wpc-filter-_price .wpc-filters-ul-list > li {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	max-height: none !important;
}

.ezi-facets .wpc-filter-_price .wpc-filters-ul-list {
	overflow: visible !important;
}
