/* WooCommerce Akıllı Filtre - önyüz stilleri */

.wcaf-filter-box {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	padding: 16px;
	margin-bottom: 20px;
}

.wcaf-filter-title {
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 600;
}

.wcaf-clear-filters {
	display: inline-block;
	margin-bottom: 12px;
	font-size: 12px;
	color: #d63638;
	text-decoration: underline;
}

.wcaf-group {
	border-top: 1px solid #eee;
	padding: 10px 0;
}

.wcaf-group:first-of-type {
	border-top: none;
}

.wcaf-group-title {
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	list-style: none;
	padding: 4px 0;
}

.wcaf-group-title::-webkit-details-marker {
	display: none;
}

.wcaf-group-title::before {
	content: "▸";
	display: inline-block;
	margin-right: 6px;
	transition: transform 0.15s ease;
}

details[open] > .wcaf-group-title::before {
	transform: rotate(90deg);
}

.wcaf-term-options {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	max-height: 240px;
	overflow-y: auto;
}

.wcaf-term-options li {
	margin: 0 0 6px;
}

.wcaf-term-options label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	cursor: pointer;
}

.wcaf-term-count {
	color: #888;
	font-size: 12px;
}

.wcaf-term-disabled label {
	opacity: 0.45;
	cursor: not-allowed;
}

#wcaf-products-wrapper {
	position: relative;
	min-height: 80px;
	transition: opacity 0.15s ease;
}

#wcaf-products-wrapper.wcaf-loading {
	opacity: 0.45;
	pointer-events: none;
}

#wcaf-products-wrapper.wcaf-loading::after {
	content: "";
	position: absolute;
	top: 20px;
	left: 50%;
	width: 28px;
	height: 28px;
	margin-left: -14px;
	border: 3px solid #ccc;
	border-top-color: #333;
	border-radius: 50%;
	animation: wcaf-spin 0.7s linear infinite;
}

@keyframes wcaf-spin {
	to {
		transform: rotate(360deg);
	}
}
