/* ZAYO — magazin/categorie: breadcrumb, layout filtre + grilă, sortare */

.zy-shop-head { padding-block: var(--zy-space-8) var(--zy-space-4); }
.zy-shop-head .wp-block-woocommerce-breadcrumbs { font-size: var(--zy-fs-xs); color: var(--zy-muted); }
.zy-shop-head .wp-block-woocommerce-breadcrumbs a { color: var(--zy-muted); }
.zy-shop-head h1 { margin: var(--zy-space-2) 0; }
.zy-shop-head .wp-block-term-description { color: var(--zy-slate); max-width: 68ch; }
.zy-shop-head .wc-block-product-results-count { font-size: var(--zy-fs-xs); }

.zy-shop-layout {
	align-items: flex-start;
	gap: var(--zy-space-10);
	padding-bottom: var(--zy-section-y);
}

.zy-shop-filters-wrap { flex: 0 0 240px; width: 240px; position: sticky; top: var(--zy-space-6); }
.zy-shop-main { flex: 1 1 auto; min-width: 0; }

.zy-filters-toggle summary {
	font-size: var(--zy-fs-sm);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	padding-bottom: var(--zy-space-3);
	border-bottom: 1px solid var(--zy-line);
	margin-bottom: var(--zy-space-4);
}
.zy-filters-toggle summary::-webkit-details-marker { display: none; }
.zy-filters-toggle summary::after { content: '−'; float: right; }
.zy-filters-toggle:not([open]) summary::after { content: '+'; }

.zy-filter-block { margin-bottom: var(--zy-space-6); }
.zy-filter-title {
	font-family: var(--zy-font-text);
	font-size: var(--zy-fs-sm) !important;
	font-weight: 600 !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--zy-ink);
	margin: 0 0 var(--zy-space-3) !important;
}
.zy-filters .wc-block-product-filter-checkbox-list { font-size: var(--zy-fs-sm); }
.zy-filters .wc-interactivity-checkbox-list-item label { color: var(--zy-slate); }
.zy-filters .wc-block-components-price-slider__range-text { font-size: var(--zy-fs-xs); color: var(--zy-muted); }

.zy-shop-toolbar { margin-bottom: var(--zy-space-6); }
.zy-shop-toolbar select {
	border: 1px solid var(--zy-line-strong);
	border-radius: var(--zy-radius-control);
	padding: 8px 32px 8px 14px;
	font-size: var(--zy-fs-sm);
}

.zy-loop-title a { color: var(--zy-ink); text-decoration: none; }
.zy-loop-price { font-weight: 600; }

/* YITH Quick View — overlay pe imagine, nu buton separat sub preț */
.woocommerce ul.products li.product,
.wc-block-product-template .wc-block-product {
	position: relative;
}
.yith-wcqv-button {
	position: absolute;
	bottom: var(--zy-space-3);
	left: 50%;
	transform: translate(-50%, 8px);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--zy-dur) var(--zy-ease), transform var(--zy-dur) var(--zy-ease);
	padding: 8px 18px !important;
	white-space: nowrap;
}
li.product:hover .yith-wcqv-button,
.wc-block-product:hover .yith-wcqv-button {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

@media (max-width: 1024px) {
	.zy-shop-filters-wrap { flex-basis: 200px; width: 200px; }
}
@media (max-width: 781px) {
	.zy-shop-layout { flex-direction: column; }
	.zy-shop-filters-wrap { width: 100%; position: static; }
	.yith-wcqv-button { display: none; }
}
