/* ==========================================================================
   products.css — Product Category & Portfolio Grid Styles
   Wolfa® Group — Ürün Sayfaları
   ========================================================================== */

/* ----------------------------------------------------------------------------
   Breadcrumb
   ---------------------------------------------------------------------------- */
.breadcrumb--wolfa {
	background: transparent;
	padding: 0;
	margin: 0;
	flex-wrap: wrap;
}

.breadcrumb--wolfa .breadcrumb-item a {
	color: #666;
	text-decoration: none;
	transition: color 0.3s ease;
}

.breadcrumb--wolfa .breadcrumb-item a:hover {
	color: var(--wolfa-accent);
}

.breadcrumb--wolfa .breadcrumb-item.active {
	color: var(--wolfa-accent);
	font-weight: 500;
	font-family: 'Poppins', sans-serif;
}

/* ----------------------------------------------------------------------------
   Product Grid
   ---------------------------------------------------------------------------- */
.product-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
	.product-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

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

@media (max-width: 576px) {
	.product-grid {
		grid-template-columns: 1fr;
	}
}

.product-grid__item--wide {
	grid-column: span 2;
}

@media (max-width: 576px) {
	.product-grid__item--wide {
		grid-column: span 1;
	}
}

/* ----------------------------------------------------------------------------
   Product Card
   ---------------------------------------------------------------------------- */
.product-card {
	display: block;
	text-decoration: none;
	color: inherit;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background: #fff;
}

.product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
	color: inherit;
}

.product-card__image {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	background: #f8f9fa;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-card__image img {
	width: 100%;
	height: auto;
	max-height: 400px;
	object-fit: contain;
	transition: transform 0.4s ease;
}

.product-card:hover .product-card__image img {
	transform: scale(1.05);
}

.product-card__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.product-card:hover .product-card__overlay {
	opacity: 1;
}

.product-card__overlay-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	color: var(--wolfa-text, #333);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	transform: translateY(10px);
	transition: transform 0.3s ease;
}

.product-card:hover .product-card__overlay-icon {
	transform: translateY(0);
}

.product-card__title {
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	padding: 12px 8px;
	margin: 0;
	color: #333;
	transition: color 0.3s ease;
}

.product-card:hover .product-card__title {
	color: var(--wolfa-accent);
}

/* ----------------------------------------------------------------------------
   Page Title Section (Product Pages)
   ---------------------------------------------------------------------------- */
.page-title--product {
	padding: 120px 0 40px;
}

.page-title--product .before-heading {
	font-family: 'Poppins', sans-serif;
}
