/* ==========================================================================
   Galaxy Banyo - WooCommerce Özel Stilleri (Mağaza, Filtreler & Ürün Detayı)
   ========================================================================== */

/* --- 1. Breadcrumb Stilleri --- */
.galaxy-breadcrumb,
.woocommerce-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 0.8125rem;
	color: var(--galaxy-text-muted);
	padding: 16px 0;
	margin-bottom: 8px;
}

.galaxy-breadcrumb a,
.woocommerce-breadcrumb a {
	color: var(--galaxy-text-muted);
}

.galaxy-breadcrumb a:hover,
.woocommerce-breadcrumb a:hover {
	color: var(--galaxy-text);
}

.breadcrumb-separator {
	color: var(--galaxy-border);
}

.breadcrumb-item:last-child {
	color: var(--galaxy-text);
	font-weight: 500;
}

/* --- 2. Ürün Kartları (Product Card) --- */
.galaxy-products-grid {
	display: grid;
	gap: 24px;
}

.galaxy-products-3col {
	grid-template-columns: repeat(3, 1fr);
}

.galaxy-products-4col {
	grid-template-columns: repeat(4, 1fr);
}

.galaxy-product-card {
	background-color: var(--galaxy-surface);
	border: 1px solid var(--galaxy-border);
	border-radius: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: var(--galaxy-transition);
}

.galaxy-product-card:hover {
	border-color: #D4D1C7;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.product-card-media-link {
	display: block;
	background-color: #FFFFFF;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	position: relative;
	border-radius: 0;
}

.product-card-thumb {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: 0;
	overflow: hidden;
}

.product-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	border-radius: 0;
	transition: transform 0.35s ease;
}

.galaxy-product-card:hover .product-card-thumb img {
	transform: scale(1.03);
}

/* Ürün Kartları & Görselleri İçin Keskin Sıfır Radius Standardı */
.galaxy-product-card,
.galaxy-variation-card,
.galaxy-glass-card {
	border-radius: 0 !important;
}

.galaxy-product-card .product-card-media-link,
.galaxy-product-card .product-card-thumb,
.galaxy-product-card .product-card-thumb img,
.galaxy-variation-card .product-card-media-link,
.galaxy-variation-card .product-card-thumb,
.galaxy-variation-card .product-card-thumb img,
.galaxy-glass-card .glass-card-thumb-link,
.galaxy-glass-card .glass-card-thumb,
.galaxy-glass-card .glass-card-thumb img {
	border-radius: 0 !important;
}

.product-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: space-between;
}

.product-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.product-card-title {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--galaxy-text);
}

.product-card-title a:hover {
	color: #000000;
}

.product-card-title-group {
	flex: 1;
	min-width: 0;
}

.product-card-subtitle {
	font-size: 0.8125rem;
	color: var(--galaxy-text-muted);
	margin-top: 4px;
	line-height: 1.4;
	font-weight: 400;
}

.product-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--galaxy-border-light);
}

.product-card-sku,
.glass-card-sku,
.glass-card-meta,
#galaxy-sku-line {
	display: none !important;
}

.galaxy-results-count {
	display: inline-block;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--galaxy-text-muted);
	margin-top: 4px;
}

.product-card-swatches {
	display: flex;
	align-items: center;
	gap: 6px;
}

.swatch-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.15);
	flex-shrink: 0;
}

.product-card-action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--galaxy-dark);
}

.product-card-action:hover {
	gap: 10px;
}

@media (max-width: 992px) {
	.galaxy-products-3col {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.galaxy-product-card {
		border-color: rgba(0, 0, 0, 0.08);
	}
	.product-card-media-link {
		background-color: #FFFFFF;
	}
	.product-card-thumb {
		padding: 0;
	}
	.product-card-body {
		padding: 12px;
	}
	.product-card-header {
		margin-bottom: 8px;
		gap: 8px;
	}
	.product-card-title {
		font-size: 0.875rem;
		line-height: 1.3;
	}
	.product-card-swatches {
		gap: 10px;
	}
	.swatch-dot {
		width: 13px;
		height: 13px;
	}
	.product-card-footer {
		margin-top: 8px;
		padding-top: 0;
		border-top: none !important;
	}
}

@media (max-width: 540px) {
	.galaxy-products-grid {
		gap: 10px;
	}
	.product-card-thumb {
		padding: 0;
	}
	.product-card-body {
		padding: 8px 10px 10px;
	}
	.product-card-title {
		font-size: 0.8125rem;
	}
	.product-card-header {
		margin-bottom: 6px;
	}
	.product-card-swatches {
		gap: 9px;
	}
	.swatch-dot {
		width: 12px;
		height: 12px;
	}
}

/* --- 3. Mağaza & Kategori Arşiv Düzeni --- */
.galaxy-shop-page {
	padding-bottom: 80px;
}

/* Duşakabinler Sayfası Mobil Arkaplan & Overlay (Masaüstünde Gizli) */
.galaxy-dusakabinler-backdrop-overlay {
	display: none;
}

.galaxy-shop-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding-bottom: 24px;
	margin-bottom: 32px;
	border-bottom: 1px solid var(--galaxy-border);
	gap: 20px;
}

.galaxy-shop-title {
	font-size: 2rem;
	font-weight: 700;
}

.galaxy-shop-desc {
	font-size: 0.9375rem;
	color: var(--galaxy-text-muted);
	margin-top: 6px;
}

.galaxy-shop-controls {
	display: flex;
	align-items: center;
	gap: 12px;
}

.galaxy-mobile-filter-trigger {
	display: none;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 16px;
	border: 1.5px solid var(--galaxy-dark);
	border-radius: 8px;
	background: #FFFFFF;
	color: var(--galaxy-dark);
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.galaxy-mobile-filter-trigger:active {
	background-color: #F3F4F6;
}

.active-filter-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	background-color: var(--galaxy-dark);
	color: #FFFFFF;
	font-size: 0.75rem;
	font-weight: 700;
	border-radius: 999px;
	line-height: 1;
}

/* Mobil Filtre Arka Plan Karartması (Backdrop) */
.galaxy-filter-backdrop {
	display: none;
}

/* Mobil Sabit Alt Çubuk Masaüstünde Gizli */
.filter-sidebar-footer {
	display: none;
}

.galaxy-shop-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 32px;
	align-items: flex-start;
}

/* Sol Filtre Sidebar (Masaüstünde Sabit / Sticky & Kompakt) */
.galaxy-filter-sidebar {
	position: sticky;
	top: 88px;
	align-self: flex-start;
	max-height: calc(100vh - 100px);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--galaxy-border) transparent;
	background-color: var(--galaxy-surface);
	border: 1px solid var(--galaxy-border);
	border-radius: var(--galaxy-radius, 8px);
	padding: 18px 16px;
	transition: top 0.2s ease;
}

.galaxy-filter-sidebar::-webkit-scrollbar {
	width: 4px;
}

.galaxy-filter-sidebar::-webkit-scrollbar-track {
	background: transparent;
}

.galaxy-filter-sidebar::-webkit-scrollbar-thumb {
	background-color: var(--galaxy-border);
	border-radius: 4px;
}

.galaxy-filter-sidebar::-webkit-scrollbar-thumb:hover {
	background-color: var(--galaxy-text-muted);
}

.filter-sidebar-header {
	display: none;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--galaxy-border);
}

.filter-sidebar-title {
	font-size: 1rem;
	font-weight: 700;
}

.galaxy-active-filters-box {
	display: none;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--galaxy-border-light);
}

.galaxy-active-filters-box.has-active {
	display: block;
}

.active-tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 8px;
}

.active-filter-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background-color: var(--galaxy-bg);
	border: 1px solid var(--galaxy-border);
	border-radius: var(--galaxy-radius);
	padding: 3px 6px;
	font-size: 0.72rem;
	font-weight: 500;
	cursor: pointer;
}

.active-filter-tag:hover {
	background-color: #EBE9E2;
}

.galaxy-clear-all-filters-btn {
	font-size: 0.75rem;
	color: var(--galaxy-text-muted);
	text-decoration: underline;
	cursor: pointer;
}

.galaxy-clear-all-filters-btn:hover {
	color: var(--galaxy-dark);
}

.filter-group {
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--galaxy-border-light);
}

.filter-group:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.filter-group-title {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #6b7280;
	margin-bottom: 8px;
}

.filter-options-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.galaxy-checkbox-label,
.galaxy-color-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8125rem;
	color: var(--galaxy-text);
	cursor: pointer;
	user-select: none;
	line-height: 1.3;
}

/* Model Filtresi (Cube, Solo, Portal) Başlık & Parantezli Açıklama */
.filter-model-item {
	align-items: flex-start;
	padding: 3px 0;
}

.filter-model-item .custom-checkbox {
	margin-top: 2px;
	flex-shrink: 0;
}

.filter-model-item .option-name {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 5px;
	row-gap: 2px;
	line-height: 1.35;
	font-size: 0.8125rem;
}

.filter-model-item .model-title {
	font-weight: 600;
	color: #111827;
}

.filter-model-item .model-subtitle {
	font-size: 0.735rem;
	font-weight: 400;
	color: #6B7280;
	letter-spacing: -0.01em;
	transition: color 0.15s ease;
}

.filter-model-item:hover .model-subtitle {
	color: #374151;
}

.filter-model-item input:checked ~ .option-name .model-title {
	color: #000000;
	font-weight: 700;
}

.filter-model-item input:checked ~ .option-name .model-subtitle {
	color: #111827;
	font-weight: 500;
}

.galaxy-checkbox-label input,
.galaxy-color-checkbox-label input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.custom-checkbox {
	width: 15px;
	height: 15px;
	border: 1px solid var(--galaxy-border);
	border-radius: 3px;
	background-color: var(--galaxy-bg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: var(--galaxy-transition);
	flex-shrink: 0;
}

.galaxy-checkbox-label input:checked ~ .custom-checkbox {
	background-color: var(--galaxy-dark);
	border-color: var(--galaxy-dark);
}

.galaxy-checkbox-label input:checked ~ .custom-checkbox::after {
	content: '';
	width: 4px;
	height: 8px;
	border: solid #FFFFFF;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	margin-top: -2px;
}

.color-swatch-circle {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.2);
	flex-shrink: 0;
	transition: var(--galaxy-transition);
}

.galaxy-color-checkbox-label input:checked ~ .color-swatch-circle {
	box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--galaxy-dark);
}

.galaxy-color-checkbox-label input:checked ~ .option-name {
	font-weight: 600;
}

.filter-submit-fallback {
	display: none; /* JS kapalıyken <noscript> veya CSS ile görünür */
	margin-top: 16px;
}

/* Yükleniyor Spinner */
.galaxy-shop-products-column {
	position: relative;
}

.galaxy-products-loader {
	position: absolute;
	inset: 0;
	background: rgba(247, 246, 242, 0.7);
	backdrop-filter: blur(2px);
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding-top: 120px;
	z-index: 10;
}

.galaxy-products-loader.is-loading {
	display: flex;
}

.loader-spinner {
	width: 40px;
	height: 40px;
	border: 3px solid var(--galaxy-border);
	border-top-color: var(--galaxy-dark);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

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

/* Mobil Filtre Paneli & Çekmecesi Görünümü */
@media (max-width: 900px) {
	/* Duşakabinler Sayfası Mobilde Arka Plan Görseli & Şık Overlay */
	.galaxy-shop-page.is-dusakabinler-page {
		position: relative;
		background-image: var(--dusakabin-mobile-bg, url('../images/contact-luxury-mobile.jpg')) !important;
		background-size: cover !important;
		background-position: center top !important;
		background-repeat: no-repeat !important;
		background-attachment: scroll !important;
		padding-top: 14px;
		padding-bottom: 60px;
	}

	.galaxy-shop-page.is-dusakabinler-page .galaxy-dusakabinler-backdrop-overlay {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		background: linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.88) 0%,
			rgba(255, 255, 255, 0.82) 20%,
			rgba(255, 255, 255, 0.84) 60%,
			rgba(255, 255, 255, 0.92) 100%
		);
		pointer-events: none;
		z-index: 1;
	}

	.galaxy-shop-page.is-dusakabinler-page > .galaxy-container {
		position: relative;
		z-index: 2;
	}

	.galaxy-shop-page.is-dusakabinler-page .galaxy-shop-breadcrumb-wrap {
		margin-bottom: 10px;
	}

	.galaxy-shop-layout {
		grid-template-columns: 1fr;
	}

	.galaxy-shop-header {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin-bottom: 20px;
		padding-bottom: 0;
		border-bottom: none !important;
	}

	.galaxy-shop-page.is-dusakabinler-page .galaxy-shop-header {
		background: rgba(255, 255, 255, 0.76);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		padding: 10px 14px;
		border-radius: 10px;
		border: 1px solid rgba(229, 231, 235, 0.8) !important;
		margin-bottom: 16px;
	}

	.galaxy-shop-title {
		font-size: 1.5rem;
		margin: 0;
	}

	.galaxy-shop-desc {
		display: none;
	}

	.galaxy-mobile-filter-trigger {
		display: inline-flex;
	}

	/* Mobil Karartma Arka Planı (Backdrop) */
	.galaxy-filter-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(15, 23, 42, 0.55);
		backdrop-filter: blur(4px);
		-webkit-backdrop-filter: blur(4px);
		z-index: 1040;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
	}

	.galaxy-filter-backdrop.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	/* Mobil Filtre Çekmecesi (Drawer) */
	.galaxy-filter-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(390px, 92vw);
		height: 100%;
		height: 100dvh;
		max-height: 100dvh;
		background: #FFFFFF;
		z-index: 1050;
		display: flex;
		flex-direction: column;
		padding: 0;
		border: none;
		border-radius: 0 16px 16px 0;
		box-shadow: 10px 0 35px rgba(0, 0, 0, 0.16);
		transform: translateX(-105%);
		transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
		overflow: hidden;
	}

	.galaxy-filter-sidebar.is-open {
		transform: translateX(0);
	}

	/* Çekmece Başlık Çubuğu */
	.filter-sidebar-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16px 20px;
		background: #FFFFFF;
		border-bottom: 1px solid var(--galaxy-border);
		margin: 0;
		flex-shrink: 0;
	}

	.filter-header-left {
		display: flex;
		align-items: center;
		gap: 8px;
	}

	.filter-sidebar-title {
		font-size: 1.125rem;
		font-weight: 700;
		color: var(--galaxy-dark);
		margin: 0;
	}

	.filter-header-count {
		font-size: 0.75rem;
		font-weight: 700;
		color: #FFFFFF;
		background: var(--galaxy-dark);
		border-radius: 999px;
		padding: 2px 7px;
	}

	.filter-header-actions {
		display: flex;
		align-items: center;
		gap: 12px;
	}

	.filter-header-clear-btn {
		font-size: 0.8125rem;
		font-weight: 600;
		color: #6B7280;
		text-decoration: underline;
		background: none;
		border: none;
		padding: 6px 8px;
		cursor: pointer;
	}

	.filter-header-clear-btn:active {
		color: #DC2626;
	}

	.galaxy-filter-close-btn {
		width: 36px;
		height: 36px;
		border-radius: 50%;
		background: #F3F4F6;
		border: none;
		color: #374151;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		transition: background 0.2s ease;
	}

	.galaxy-filter-close-btn:active {
		background: #E5E7EB;
	}

	/* Çekmece Kaydırılabilir Form Alanı */
	#galaxy-filter-form {
		display: flex;
		flex-direction: column;
		flex: 1;
		min-height: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 20px;
	}

	/* Filtre Grupları ve Dokunmatik Seçenekler */
	.filter-group {
		margin-bottom: 20px;
		padding-bottom: 16px;
		border-bottom: 1px solid var(--galaxy-border-light);
	}

	.filter-group-title {
		font-size: 0.8125rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		color: #4B5563;
		margin-bottom: 12px;
	}

	.galaxy-checkbox-label {
		min-height: 44px;
		padding: 10px 14px;
		background: #F9FAFB;
		border: 1px solid var(--galaxy-border);
		border-radius: 8px;
		font-size: 0.9375rem;
		color: #1F2937;
		margin: 0;
		display: flex;
		align-items: center;
		gap: 12px;
		transition: background 0.15s ease, border-color 0.15s ease;
	}

	.galaxy-checkbox-label:active {
		background: #F3F4F6;
	}

	.galaxy-checkbox-label:has(input:checked) {
		background: #F0FDF4;
		border-color: #86EFAC;
	}

	.galaxy-checkbox-label:has(input:checked) .option-name {
		font-weight: 600;
		color: #065F46;
	}

	.filter-model-item {
		min-height: 48px;
		padding: 10px 14px;
		align-items: center;
	}

	.filter-model-item .custom-checkbox {
		margin-top: 0;
	}

	.filter-model-item .option-name {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		column-gap: 6px;
		row-gap: 2px;
		line-height: 1.35;
	}

	.filter-model-item .model-title {
		font-size: 0.9375rem;
		font-weight: 600;
		color: #1F2937;
	}

	.filter-model-item .model-subtitle {
		font-size: 0.8125rem;
		color: #6B7280;
		font-weight: 500;
	}

	.filter-model-item:has(input:checked) .model-title {
		color: #065F46;
	}

	.filter-model-item:has(input:checked) .model-subtitle {
		color: #047857;
		font-weight: 600;
	}

	.custom-checkbox {
		width: 20px;
		height: 20px;
		border-radius: 4px;
	}

	/* Renk Seçenekleri Mobilde Grid */
	.filter-colors-list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.galaxy-color-checkbox-label {
		min-height: 44px;
		padding: 8px 12px;
		background: #F9FAFB;
		border: 1px solid var(--galaxy-border);
		border-radius: 8px;
		font-size: 0.875rem;
		color: #1F2937;
		margin: 0;
		display: flex;
		align-items: center;
		gap: 10px;
		transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
	}

	.galaxy-color-checkbox-label:has(input:checked) {
		background: #FFFFFF;
		border-color: var(--galaxy-dark);
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	}

	.color-swatch-circle {
		width: 20px;
		height: 20px;
		flex-shrink: 0;
		border: 1px solid rgba(0, 0, 0, 0.18);
	}

	/* Çekmece Alt Sabit Çubuk */
	.filter-sidebar-footer {
		display: block;
		position: sticky;
		bottom: 0;
		padding: 12px 16px;
		background: #FFFFFF;
		border-top: 1px solid var(--galaxy-border);
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
		z-index: 10;
		margin-top: auto;
		flex-shrink: 0;
		box-sizing: border-box;
		width: 100%;
	}

	.galaxy-filter-apply-btn {
		width: 100%;
		min-height: 48px;
		height: auto;
		padding: 10px 14px;
		border-radius: 10px;
		font-size: clamp(0.8125rem, 3.6vw, 0.9375rem);
		font-weight: 600;
		background: var(--galaxy-dark, #0f172a);
		color: #FFFFFF;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		border: none;
		cursor: pointer;
		transition: background 0.2s ease, transform 0.1s ease;
		white-space: normal !important;
		line-height: 1.25;
		box-sizing: border-box;
	}

	.galaxy-filter-apply-btn span {
		display: inline-block;
		max-width: 100%;
		text-align: center;
		white-space: normal;
		word-break: normal;
	}

	.galaxy-filter-apply-btn:active {
		background: #000000;
		transform: scale(0.99);
	}
}

/* --- 4. Sayfalama (Pagination) --- */
.galaxy-pagination,
.woocommerce-pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
}

.galaxy-pagination ul,
.woocommerce-pagination ul {
	display: flex;
	gap: 6px;
}

.galaxy-pagination li,
.woocommerce-pagination li {
	display: inline-block;
}

.galaxy-pagination a,
.galaxy-pagination span.current,
.woocommerce-pagination a,
.woocommerce-pagination span.current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--galaxy-border);
	border-radius: var(--galaxy-radius);
	background: var(--galaxy-surface);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--galaxy-text);
}

.galaxy-pagination span.current,
.woocommerce-pagination span.current {
	background-color: var(--galaxy-dark);
	border-color: var(--galaxy-dark);
	color: #FFFFFF;
}

/* --- 5. Tekil Ürün Sayfası (Product Detail) --- */
.galaxy-single-product-page {
	padding-bottom: 60px;
}

.galaxy-product-breadcrumb-wrap {
	margin-bottom: 24px;
}

.galaxy-product-main-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 50px;
	align-items: flex-start;
	width: 100%;
	max-width: 100%;
}

.galaxy-product-gallery-column {
	min-width: 0;
	max-width: 100%;
	width: 100%;
}

.galaxy-product-summary-column {
	min-width: 0;
	max-width: 100%;
	width: 100%;
}

/* Sol Galeri */
.galaxy-gallery-wrapper {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

/* Masaüstünde Galeri Sabit (Sticky) - Mobilde Doğal Akışında Üstte Kalır */
@media (min-width: 901px) {
	.galaxy-product-gallery-column {
		position: -webkit-sticky;
		position: sticky;
		top: 96px;
		align-self: flex-start;
		height: fit-content;
	}
	.galaxy-gallery-wrapper {
		position: -webkit-sticky;
		position: sticky;
		top: 96px;
	}
}

.galaxy-main-image-wrap {
	position: relative;
	background-color: #FAFAF8;
	border: 1px solid var(--galaxy-border);
	border-radius: var(--galaxy-radius-lg);
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 1 / 1;
	max-height: 560px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.galaxy-main-image-wrap img {
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 520px;
	object-fit: contain;
	object-position: center;
	transition: opacity 0.25s ease;
}

.galaxy-gallery-lightbox-trigger {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid var(--galaxy-border);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--galaxy-dark);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: var(--galaxy-transition);
}

.galaxy-gallery-lightbox-trigger:hover {
	background: #FFFFFF;
	transform: scale(1.05);
}

.galaxy-gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--galaxy-border);
	border-radius: 50%;
	display: none;
	align-items: center;
	justify-content: center;
	color: var(--galaxy-dark);
	z-index: 5;
}

.galaxy-nav-prev { left: 12px; }
.galaxy-nav-next { right: 12px; }

/* Kompakt Thumbnail Şeridi */
.galaxy-thumbnails-slider {
	display: flex;
	gap: 10px;
	margin-top: 14px;
	overflow-x: auto;
	overflow-y: hidden;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding-bottom: 8px;
	scrollbar-width: thin;
	scrollbar-color: var(--galaxy-border) transparent;
	-webkit-overflow-scrolling: touch;
}

.galaxy-thumbnails-slider::-webkit-scrollbar {
	height: 4px;
}

.galaxy-thumbnails-slider::-webkit-scrollbar-thumb {
	background-color: var(--galaxy-border);
	border-radius: 4px;
}

.galaxy-thumb-btn {
	width: 64px;
	height: 64px;
	flex-shrink: 0;
	background-color: #FAFAF8;
	border: 1px solid var(--galaxy-border);
	border-radius: var(--galaxy-radius);
	overflow: hidden;
	padding: 3px;
	cursor: pointer;
	transition: var(--galaxy-transition);
}

.galaxy-thumb-btn img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.galaxy-thumb-btn.is-active,
.galaxy-thumb-btn:hover {
	border-color: var(--galaxy-dark);
}

/* Sağ Sütun Detaylar */
.galaxy-summary-content {
	display: flex;
	flex-direction: column;
}

.galaxy-single-product-title {
	font-size: 2.25rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	margin-bottom: 8px;
}

.galaxy-single-short-desc {
	font-size: 0.9375rem;
	color: var(--galaxy-text-muted);
	margin-bottom: 24px;
	line-height: 1.65;
}

.galaxy-single-short-desc p {
	margin-bottom: 12px;
}

.galaxy-single-short-desc ul {
	list-style: disc;
	padding-left: 20px;
	margin: 12px 0 16px;
}

.galaxy-single-short-desc li {
	margin-bottom: 6px;
	line-height: 1.5;
}

.galaxy-single-short-desc b,
.galaxy-single-short-desc strong {
	color: var(--galaxy-text);
	font-weight: 600;
}

/* Varyasyon Seçiciler */
.galaxy-variation-selectors-wrap {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin-bottom: 24px;
}

.galaxy-attr-row .attr-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.galaxy-attr-row .attr-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--galaxy-text);
}

/* Model ve Cam Tipi Butonları */
.button-options-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.galaxy-attr-btn {
	padding: 8px 18px;
	background-color: var(--galaxy-surface);
	border: 1px solid var(--galaxy-border);
	border-radius: var(--galaxy-radius);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--galaxy-text);
	transition: var(--galaxy-transition);
}

.galaxy-attr-btn:hover {
	border-color: var(--galaxy-dark);
}

.galaxy-attr-btn.is-selected {
	background-color: var(--galaxy-dark);
	border-color: var(--galaxy-dark);
	color: #FFFFFF;
}

.galaxy-attr-btn.is-disabled {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
	background-color: var(--galaxy-bg-alt);
}

/* Renk Seçiciler (Swatch + Alt İsim) */
.color-swatches-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.galaxy-color-swatch-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	background: none;
	padding: 0;
	cursor: pointer;
}

.galaxy-color-swatch-btn .swatch-circle {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.2);
	transition: var(--galaxy-transition);
}

.galaxy-color-swatch-btn .swatch-name {
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--galaxy-text-muted);
}

.galaxy-color-swatch-btn.is-selected .swatch-circle {
	outline: 1.5px solid #27272a;
	outline-offset: 2.5px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.galaxy-color-swatch-btn.is-selected .swatch-name {
	color: var(--galaxy-text);
	font-weight: 600;
}

.galaxy-color-swatch-btn.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

/* Seçili Varyasyon Özeti & SKU Kartı */
.galaxy-selection-summary-card {
	background-color: #EFEFEA;
	border: 1px solid var(--galaxy-border);
	border-radius: var(--galaxy-radius);
	padding: 16px 20px;
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.summary-line {
	display: flex;
	font-size: 0.875rem;
}

.summary-key {
	width: 90px;
	color: var(--galaxy-text-muted);
	font-weight: 500;
}

.summary-val {
	color: var(--galaxy-text);
	font-weight: 600;
}

/* İsteğe Bağlı Ölçü Alanı */
.galaxy-size-input-wrap {
	margin-top: 24px;
	margin-bottom: 24px;
	padding: 16px 18px;
	background: #FAFAFA;
	border: 1px solid #EBEAE5;
	border-radius: 6px;
}

.galaxy-size-input-wrap .size-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 10px;
	color: var(--galaxy-text);
}

.galaxy-size-input-wrap .size-label svg {
	color: #6B685F;
	flex-shrink: 0;
}

.galaxy-size-input-wrap .size-input-inner {
	position: relative;
	width: 100%;
}

.galaxy-size-input {
	width: 100%;
	padding: 12px 14px;
	background-color: #FFFFFF;
	border: 1px solid #D8D6CE;
	border-radius: 4px;
	font-size: 0.875rem;
	color: var(--galaxy-text);
	outline: none;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.galaxy-size-input::placeholder {
	color: #9E9B91;
	font-size: 0.84375rem;
}

.galaxy-size-input:focus {
	border-color: #121212;
	box-shadow: 0 0 0 1px #121212;
	background-color: #FFFFFF;
}

.custom-size-hint {
	font-size: 0.78125rem;
	color: #7A776D;
	line-height: 1.5;
	margin-top: 8px;
	margin-bottom: 0;
}

/* WhatsApp Satın Alma Aksiyonu */
.galaxy-action-cta-wrap {
	margin-bottom: 24px;
}

.galaxy-cta-microtext {
	font-size: 0.8125rem;
	color: var(--galaxy-text-muted);
	margin-top: 8px;
	text-align: center;
}

.galaxy-reset-selection-wrap {
	margin-bottom: 24px;
}

/* Teknik Detaylar Accordion & Tablosu (Belirgin & Premium Kart) */
.galaxy-tech-specs-section {
	margin-top: 24px;
	margin-bottom: 24px;
}

.galaxy-accordion-item {
	background-color: var(--galaxy-bg-alt);
	border: 1.5px solid var(--galaxy-border);
	border-radius: var(--galaxy-radius-lg);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.galaxy-accordion-item:hover {
	border-color: #CFCBC2;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.galaxy-accordion-item.is-open {
	border-color: var(--galaxy-dark);
	background-color: var(--galaxy-bg-alt);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.galaxy-accordion-trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	cursor: pointer;
	user-select: none;
	background: transparent;
	border: none;
	text-align: left;
	transition: background-color 0.15s ease;
}

.galaxy-accordion-trigger:hover {
	background-color: rgba(0, 0, 0, 0.02);
}

/* Sol Taraf: İkon + Başlık Grubu */
.galaxy-specs-trigger-left {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.galaxy-specs-icon-badge {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background-color: #FFFFFF;
	border: 1px solid var(--galaxy-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--galaxy-dark);
	flex-shrink: 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.galaxy-accordion-trigger:hover .galaxy-specs-icon-badge {
	transform: scale(1.05);
	background-color: var(--galaxy-dark);
	color: #FFFFFF;
	border-color: var(--galaxy-dark);
}

.galaxy-specs-text-group {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.galaxy-specs-trigger-title {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--galaxy-dark);
	letter-spacing: -0.01em;
	line-height: 1.3;
}

.galaxy-specs-trigger-subtitle {
	font-size: 0.8125rem;
	color: var(--galaxy-text-muted);
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Sağ Taraf: Pill Rozet + Chevron */
.galaxy-specs-trigger-right {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	margin-left: 12px;
}

.galaxy-specs-pill {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	background-color: #FFFFFF;
	border: 1px solid var(--galaxy-border);
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--galaxy-text);
	letter-spacing: 0.02em;
	transition: var(--galaxy-transition);
}

.galaxy-accordion-trigger:hover .galaxy-specs-pill {
	border-color: var(--galaxy-dark);
}

.galaxy-specs-chevron-box {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-color: #FFFFFF;
	border: 1px solid var(--galaxy-border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--galaxy-dark);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.galaxy-specs-chevron-box svg {
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.galaxy-accordion-item.is-open .galaxy-specs-chevron-box svg {
	transform: rotate(180deg);
}

.galaxy-accordion-item.is-open .galaxy-specs-pill {
	background-color: var(--galaxy-dark);
	border-color: var(--galaxy-dark);
	color: #FFFFFF;
}

/* Akordeon İçeriği */
.galaxy-accordion-content {
	display: none;
	padding: 0 18px 18px;
}

.galaxy-accordion-item.is-open .galaxy-accordion-content {
	display: block;
}

.tech-specs-table-wrap {
	background-color: #FFFFFF;
	border-radius: var(--galaxy-radius);
	border: 1px solid var(--galaxy-border-light);
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.galaxy-specs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.galaxy-specs-table tr:not(:last-child) {
	border-bottom: 1px solid #F0EEE8;
}

.galaxy-specs-table tr:hover {
	background-color: #FCFBF9;
}

.galaxy-specs-table th {
	width: 130px;
	vertical-align: top;
	padding: 14px 18px;
	color: var(--galaxy-text-muted);
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: normal;
	background-color: #FAF9F6;
	border-right: 1px solid #F0EEE8;
	white-space: nowrap;
}

.galaxy-specs-table td {
	padding: 14px 18px;
	color: var(--galaxy-text);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.65;
}

/* Teknik Çizim Alanı Stilleri */
.tech-specs-drawing-wrap {
	padding: 18px;
	background: #ffffff;
}

.tech-drawing-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 14px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.2s ease;
}

.tech-drawing-link {
	display: block;
	width: 100%;
	text-align: center;
	cursor: zoom-in;
	position: relative;
	overflow: hidden;
	border-radius: 6px;
}

.tech-drawing-img {
	max-width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: contain;
	display: inline-block;
	transition: transform 0.25s ease;
}

.tech-drawing-card:hover .tech-drawing-img {
	transform: scale(1.02);
}

.tech-drawing-zoom-overlay {
	position: absolute;
	bottom: 10px;
	right: 10px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(15, 23, 42, 0.88);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 6px;
	pointer-events: none;
	opacity: 0.9;
	transition: all 0.2s ease;
}

.tech-drawing-card:hover .tech-drawing-zoom-overlay {
	opacity: 1;
	background: #000000;
}

.tech-drawing-actions-bar {
	margin-top: 12px;
	display: flex;
	justify-content: center;
}

.galaxy-btn-drawing-lightbox {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 10px 16px;
	background: #f8fafc;
	color: #1e293b;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.galaxy-btn-drawing-lightbox:hover {
	background: #0f172a;
	color: #ffffff;
	border-color: #0f172a;
}

.tech-drawing-note {
	font-size: 0.8125rem;
	color: #64748b;
	margin: 12px 0 0 0;
	line-height: 1.5;
	text-align: center;
}

.tech-drawing-placeholder {
	padding: 24px 16px;
	text-align: center;
	color: #64748b;
	font-size: 0.875rem;
}

@media (max-width: 540px) {
	.galaxy-specs-trigger-subtitle {
		display: none;
	}
	.galaxy-specs-pill {
		display: none;
	}
	.galaxy-specs-table th {
		width: 100px;
		padding: 12px 14px;
		white-space: normal;
	}
	.galaxy-specs-table td {
		padding: 12px 14px;
	}
}

.galaxy-variation-raw-desc {
	display: none;
}

/* Ürün Açıklaması & İlgili Ürünler */
.galaxy-product-description-section {
	margin-top: 60px;
	padding-top: 48px;
	border-top: 1px solid var(--galaxy-border);
}

.galaxy-desc-title {
	font-size: 1.5rem;
	margin-bottom: 20px;
}

.galaxy-desc-body {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--galaxy-text);
	max-width: 880px;
}

.galaxy-desc-body h2,
.galaxy-desc-body h3,
.galaxy-desc-body h4 {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--galaxy-dark);
	margin: 24px 0 10px;
}

.galaxy-desc-body h2:first-child,
.galaxy-desc-body h3:first-child,
.galaxy-desc-body h4:first-child {
	margin-top: 0;
}

.galaxy-desc-body p {
	margin-bottom: 14px;
}

.galaxy-desc-body ul {
	list-style: disc;
	padding-left: 22px;
	margin: 12px 0 18px;
}

.galaxy-desc-body li {
	margin-bottom: 8px;
	line-height: 1.55;
}

.galaxy-desc-body b,
.galaxy-desc-body strong {
	color: var(--galaxy-dark);
	font-weight: 600;
}

.galaxy-related-products-section {
	margin-top: 60px;
	padding-top: 48px;
	border-top: 1px solid var(--galaxy-border);
}

.galaxy-related-products-section .galaxy-section-header {
	margin-bottom: 32px;
}

.galaxy-related-products-section .galaxy-section-title {
	font-size: 1.625rem;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -0.015em;
	margin: 0;
	line-height: 1.25;
}

/* Lightbox Modal */
.galaxy-lightbox-modal {
	padding: 20px;
}

.galaxy-lightbox-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	z-index: 1001;
	display: flex;
	align-items: center;
	justify-content: center;
}

.galaxy-lightbox-content img {
	max-width: 100%;
	max-height: 85vh;
	object-fit: contain;
	background: #FFFFFF;
	border-radius: var(--galaxy-radius);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.galaxy-lightbox-close {
	position: absolute;
	top: -44px;
	right: 0;
	color: #FFFFFF;
}

/* Mobil Alt Sabit WhatsApp Bar (Sticky Bottom CTA) */
.galaxy-mobile-sticky-cta {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--galaxy-surface);
	border-top: 1px solid var(--galaxy-border);
	padding: 12px 16px;
	padding-bottom: max(12px, env(safe-area-inset-bottom));
	z-index: 92;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.sticky-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: var(--galaxy-container);
	margin: 0 auto;
}

.sticky-cta-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.sticky-title {
	font-size: 0.875rem;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sticky-selection {
	font-size: 0.75rem;
	color: var(--galaxy-text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 900px) {
	.galaxy-product-main-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
	.galaxy-product-gallery-column {
		position: static !important;
		top: auto !important;
		align-self: auto !important;
		height: auto !important;
	}
	.galaxy-gallery-wrapper {
		position: static !important;
		top: auto !important;
	}
	.galaxy-single-product-title {
		font-size: 1.75rem;
	}
	.galaxy-gallery-nav {
		display: flex;
	}
	.galaxy-mobile-sticky-cta {
		display: block;
	}
	.galaxy-single-product-page {
		padding-bottom: 90px; /* Sabit barın içeriği örtmesini engeller */
	}
	.galaxy-product-description-section {
		margin-top: 36px;
		padding-top: 24px;
		border-top: none !important;
	}
	.galaxy-related-products-section {
		margin-top: 36px;
		padding-top: 24px;
		border-top: none !important;
	}
}

/* ==========================================================================
   Duşakabinler Seri -> Model -> Cam Tipi Bölümlü Katalog Stilleri
   ========================================================================== */
.galaxy-sections-container {
	width: 100%;
}

.galaxy-series-section {
	margin-bottom: 64px;
	padding-bottom: 48px;
	border-bottom: 1px solid var(--galaxy-border);
}

.galaxy-series-section:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.galaxy-series-header {
	margin-bottom: 36px;
	position: relative;
	padding-top: 10px;
}

.galaxy-series-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: #64748b;
	margin-bottom: 6px;
}

.galaxy-series-kicker::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 1.5px;
	background: #0f172a;
}

.galaxy-series-title {
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	letter-spacing: 0.05em;
	line-height: 1.1;
	text-transform: uppercase;
	margin: 0 0 16px 0;
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}

.series-name-main {
	color: #0f172a;
	font-weight: 850;
	position: relative;
}

.series-name-sub {
	color: #94a3b8;
	font-weight: 300;
	letter-spacing: 0.08em;
}

.galaxy-series-header-line {
	width: 100%;
	height: 1.5px;
	background: linear-gradient(90deg, #0f172a 0%, #cbd5e1 55%, transparent 100%);
	margin-top: 4px;
}

.series-name-light {
	color: #94a3b8;
	font-weight: 300;
	opacity: 0.85;
}

.series-name-bold {
	color: #0f172a;
	font-weight: 850;
}

.galaxy-model-block {
	margin-bottom: 48px;
}

.galaxy-model-block:last-child {
	margin-bottom: 0;
}

.galaxy-model-header {
	margin-bottom: 22px;
	padding-bottom: 8px;
	border-bottom: 1px solid #f1f5f9;
}

.galaxy-model-title {
	font-size: 1.45rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #0f172a;
	margin: 0;
	line-height: 1.25;
	text-transform: uppercase;
}

.galaxy-model-subtitle {
	font-size: 0.875rem;
	color: #64748b;
	margin: 4px 0 0 0;
	font-weight: 400;
}

/* Cam Tipi Satır Grubu (Etiketler kaldırıldı, temiz 4'erli satır akışı) */
.galaxy-glass-type-group {
	margin-bottom: 24px;
}

.galaxy-glass-type-group:last-child {
	margin-bottom: 0;
}

.galaxy-glass-type-header,
.galaxy-glass-badge,
.galaxy-glass-type-line {
	display: none !important;
}

/* Filtrelenmiş Kesintisiz 4 Sütunlu Grid (1. Öneri: Dolu ve Zengin Görünüm) */
.galaxy-filtered-results-wrap {
	width: 100%;
}

.galaxy-filtered-full-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

/* 4 Sütunlu Grid - Büyütülmüş ve Ferahlatılmış */
.galaxy-glass-cards-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

/* Cam Tipi Kartı - Modern Keskin Kenarlar & Tam Boy Görsel (İç Kutu Kaldırıldı) */
.galaxy-glass-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 0;
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
	position: relative;
}

.galaxy-glass-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 14px 28px -6px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
	transform: translateY(-4px);
}

.glass-card-thumb-link {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #ffffff;
	text-decoration: none;
}

.glass-card-thumb {
	aspect-ratio: 1 / 1;
	width: 100%;
	height: 100%;
	background-color: transparent !important;
	border-radius: 0 !important;
	border: none !important;
	padding: 0 !important;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.glass-card-thumb img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center;
	display: block;
	border-radius: 0 !important;
	transition: transform 0.35s ease, opacity 0.25s ease;
}

.galaxy-glass-card:hover .glass-card-thumb img {
	transform: scale(1.04);
}

.glass-card-info {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #ffffff;
}

.glass-card-title {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #0f172a;
	margin: 0;
	line-height: 1.35;
	letter-spacing: 0.01em;
}

.glass-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}

.glass-card-title a:hover {
	color: #000000;
}

.glass-card-swatches {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
	min-height: 22px;
}

.glass-swatch-dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.14);
	cursor: pointer;
	padding: 0;
	outline: none;
	background: none;
	position: relative;
	transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), outline 0.2s ease, box-shadow 0.2s ease;
}

.glass-swatch-dot:hover {
	transform: scale(1.15);
}

.glass-swatch-dot.is-active {
	outline: 2px solid #0f172a;
	outline-offset: 2px;
	transform: none !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.glass-card-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.glass-card-single-swatch {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.glass-card-variant-label {
	font-size: 0.8125rem;
	color: #6b7280;
	margin: 0;
	line-height: 1.35;
	font-weight: 400;
}

.glass-card-footer-row {
	margin-top: 4px;
	padding-top: 8px;
	border-top: 1px solid #f3f4f6;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.glass-card-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--galaxy-dark, #111827);
	text-decoration: none;
	transition: all 0.2s ease;
}

.glass-card-cta-btn:hover {
	color: #000000;
	gap: 6px;
}



/* Responsive Kırılımlar */
@media (max-width: 1200px) {
	.galaxy-glass-cards-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
	}
}

@media (max-width: 900px) {
	.galaxy-glass-cards-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
	.galaxy-series-title {
		font-size: 1.85rem;
	}
	.galaxy-series-section {
		margin-bottom: 36px;
		padding-bottom: 0;
		border-bottom: none !important;
	}
	.galaxy-model-block {
		margin-bottom: 28px;
	}
	.galaxy-glass-card {
		padding: 0 !important;
		border-radius: 0 !important;
		border-color: rgba(0, 0, 0, 0.08);
	}
	.glass-card-thumb {
		padding: 0 !important;
		background-color: transparent !important;
		border: none !important;
		border-radius: 0 !important;
	}
	.glass-card-thumb img {
		border-radius: 0 !important;
	}
	.glass-card-info {
		padding: 10px 12px 12px !important;
		gap: 6px;
	}
	.glass-card-title {
		font-size: 0.84rem;
		line-height: 1.3;
	}
	.glass-card-swatches {
		gap: 10px;
		min-height: 22px;
	}
	.glass-swatch-dot {
		width: 13px;
		height: 13px;
	}
}

@media (max-width: 480px) {
	.galaxy-glass-cards-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.galaxy-series-title {
		font-size: 1.625rem;
	}
	.galaxy-series-section {
		margin-bottom: 28px;
		padding-bottom: 0;
		border-bottom: none !important;
	}
	.galaxy-model-block {
		margin-bottom: 22px;
	}
	.galaxy-glass-card {
		padding: 0 !important;
		border-radius: 0 !important;
	}
	.glass-card-thumb {
		padding: 0 !important;
		background-color: transparent !important;
		border: none !important;
		border-radius: 0 !important;
	}
	.glass-card-thumb img {
		border-radius: 0 !important;
	}
	.glass-card-info {
		padding: 8px 10px 10px !important;
		gap: 5px;
	}
	.glass-card-title {
		font-size: 0.8125rem;
		line-height: 1.25;
	}
	.glass-card-swatches {
		gap: 9px;
	}
	.glass-swatch-dot {
		width: 12px;
		height: 12px;
	}
	.glass-swatch-dot.is-active {
		outline: 1.25px solid #27272a;
		outline-offset: 1.5px;
		transform: none !important;
	}
}
