/**
 * Ana sayfa ürün grid — görsel kutusu sabit yükseklik (oran korunur: object-fit).
 * Kapsam: .main-content.home (common/home.twig)
 */
 .main-content.home .product-grid .product .image > a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 260px;
	overflow: hidden;
	box-sizing: border-box;
}

.main-content.home .product-grid .product .image.image-swap-effect > a {
	position: relative;
}

.main-content.home .product-grid .product .image > a > img:not(.swap-image) {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
}

.main-content.home .product-grid .product .image-swap-effect > a > img.swap-image {
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
}

@media (max-width: 991px) {
	.main-content.home .product-grid .product .image > a {
		height: 220px;
	}
}

@media (max-width: 479px) {
	.main-content.home .product-grid .product .image > a {
		height: 200px;
	}
}

/* Ana sayfa ürün kartı — satıcı vitrinindeki kırmızı çizgi hissi + hover */
.main-content.home .product-grid .product:before,
.main-content.home .product-grid .product:after {
	display: none !important;
	content: none !important;
}

.main-content.home .product-grid .product {
	border: 1px solid rgb(255 77 75 / 75%) !important;
	border-radius: 14px;
	overflow: hidden;
	transition:
		border-color 0.2s ease,
		transform 0.22s ease,
		box-shadow 0.22s ease;
	box-shadow: 0 8px 26px rgba(0, 0, 0, 0.14);
	background-clip: padding-box;
}

.main-content.home .product-grid .product:hover {
	border-color: rgb(255 77 75) !important;
	/* transform: translateY(-4px); */
	box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
	z-index: 6;
}

.main-content.home .product-grid .lts-product-cat-label {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	/* text-transform: uppercase; */
	margin: 8px 0 0px;
	line-height: 1.25;
	color: rgba(255, 77, 75, 0.95);
}

.main-content.home .product-grid .lts-product-cat-label a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.main-content.home .product-grid .lts-product-cat-label a:hover {
	border-bottom-color: rgba(255, 77, 75, 0.55);
	color: #ff6a68;
}
