/* =========================================================================
   TEVORIA — Mağaza / Katalog + Filtre çubuğu
   ========================================================================= */

/* Mağaza başlık bandı → markalı mini-hero -------------------------------- */
.woocommerce-shop .hero-section,
.tax-product_cat .hero-section,
.post-type-archive-product .hero-section {
	position: relative; overflow: hidden;
	background:
		radial-gradient(1000px 440px at 50% -30%, var(--tv-pink-tint), transparent 62%),
		radial-gradient(700px 380px at 88% 130%, var(--tv-blue-tint), transparent 60%), var(--tv-bg-soft);
	border-bottom: 1px solid var(--tv-border);
}
.woocommerce-shop .hero-section::before,
.tax-product_cat .hero-section::before,
.post-type-archive-product .hero-section::before {
	content: ""; position: absolute; inset: 0;
	background-image: radial-gradient(rgba(42,35,88,.05) 1.2px, transparent 1.3px); background-size: 24px 24px;
	-webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000, transparent 72%); mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000, transparent 72%);
}
.woocommerce-shop .hero-section > *,
.tax-product_cat .hero-section > *,
.post-type-archive-product .hero-section > * { position: relative; z-index: 1; }
.woocommerce-shop .hero-section .page-title,
.tax-product_cat .hero-section .page-title,
.post-type-archive-product .hero-section .page-title {
	font-family: var(--tv-font-display); font-weight: 800; letter-spacing: -.03em;
	font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--tv-ink);
}

/* Filtre çubuğu --------------------------------------------------------- */
.tv-filters {
	background: #fff; border: 1px solid var(--tv-border);
	border-radius: var(--tv-radius-lg); padding: 22px 24px; margin-bottom: 34px;
	box-shadow: var(--tv-shadow-1);
}
.tv-filter-cats { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--tv-border); }
.tv-filter-groups { display: flex; flex-wrap: wrap; gap: 22px 40px; }
.tv-filter-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tv-filter-label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tv-text-3); }
.tv-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.tv-chip {
	font-family: var(--tv-font-body); font-size: .86rem; font-weight: 500; line-height: 1;
	padding: 9px 16px; border-radius: var(--tv-radius-pill);
	border: 1px solid var(--tv-border-2); background: #fff; color: var(--tv-text-2);
	cursor: pointer; transition: all .28s var(--tv-ease); white-space: nowrap;
}
.tv-chip:hover { border-color: var(--tv-navy); color: var(--tv-ink); transform: translateY(-1px); }
.tv-chip.is-active { background: var(--tv-navy); border-color: var(--tv-navy); color: #fff; }
.tv-chip--cat { font-weight: 600; padding: 10px 18px; }
.tv-chip--cat.is-active { background: var(--tv-grad-gold); border-color: transparent; color: #2a2208; }

.tv-filter-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--tv-border); }
.tv-filter-reset {
	background: none; border: none; cursor: pointer; font-family: var(--tv-font-body);
	font-size: .84rem; font-weight: 600; color: var(--tv-text-3); text-decoration: underline; text-underline-offset: 3px;
	transition: color .25s var(--tv-ease); padding: 0;
}
.tv-filter-reset:hover { color: var(--tv-gold-2); }
.tv-filter-count { font-size: .84rem; color: var(--tv-text-3); }

/* Mağaza döngüsü loading durumu ----------------------------------------- */
.tv-loading ul.products { opacity: .4; pointer-events: none; transition: opacity .25s; }
.tv-noresult { padding: 60px 0; text-align: center; color: var(--tv-text-3); font-size: 1.05rem; }

/* Ürün kartları (Blocksy loop üstüne premium dokunuş) ------------------- */
.woocommerce ul.products li.product .tv-loop-btn,
.woocommerce ul.products li.product .button {
	border-radius: var(--tv-radius-pill) !important;
}

/* Mobil: filtreyi katlanabilir yap ------------------------------------- */
.tv-filter-toggle { display: none; }
@media (max-width: 782px) {
	.tv-filter-toggle {
		display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center;
		padding: 13px 20px; border-radius: var(--tv-radius-pill); border: 1px solid var(--tv-border-2);
		background: #fff; font-weight: 600; color: var(--tv-ink); cursor: pointer; margin-bottom: 18px;
	}
	.tv-filters { display: none; }
	.tv-filters.is-open { display: block; }
	.tv-filter-groups { flex-direction: column; gap: 18px; }
	.tv-filter-group { align-items: flex-start; flex-direction: column; gap: 8px; }
}
