/**
 * Menü altı ürün vitrini 2 (WooCommerce) — product-showcase.css’ten ayrı.
 * Bağımlılık: main.css (--banyoma-border, --banyoma-orange, --banyoma-max-banner, …)
 */

/* ——— Menü altı ürün vitrini 2 (6 ürün, masaüstü tek satır) ——— */

.banyoma-product-showcase-2 {
	margin: 0;
	padding: 24px 0 32px;
	width: 100%;
	background-color: var(--banyoma-showcase-strip-bg);
	box-sizing: border-box;
}

/* Hero .banyoma-fs__grid ile aynı: max-width banner, ekstra yan padding yok (çift gutter kutuyu daraltırdı). */
.banyoma-product-showcase-2 .banyoma-container {
	max-width: var(--banyoma-max-banner);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

.banyoma-product-showcase-2__heading {
	margin: 0 0 18px;
	font-family: "Roboto", sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 25.7143px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: normal;
	color: #333333;
}

.banyoma-product-showcase-2__box {
	position: relative;
	border: var(--banyoma-showcase-box-border);
	background: #fff;
	border-radius: var(--banyoma-showcase-box-radius);
	padding: 22px 24px 24px;
	box-sizing: border-box;
	box-shadow: var(--banyoma-showcase-box-shadow);
}

/*
 * Masaüstü: 6 sütun (≤768px: yatay kaydırmalı tek ürün).
 */
@media (min-width: 769px) {
	.banyoma-product-showcase-2__grid {
		display: grid;
		grid-template-columns: repeat(6, minmax(0, 1fr));
		grid-auto-rows: auto;
		row-gap: 8px;
		column-gap: 8px;
		align-items: start;
		width: 100%;
	}
}

.banyoma-product-showcase-2__card {
	margin: 0;
	min-width: 0;
	max-width: 100%;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 4px 5px 6px;
	background: #fff;
	box-sizing: border-box;
	box-shadow:
		0 1px 2px rgba(0, 0, 0, 0.05),
		0 4px 12px rgba(0, 0, 0, 0.06);
}

.banyoma-product-showcase-2__card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.banyoma-product-showcase-2__card-link:hover .banyoma-product-showcase-2__title {
	color: var(--banyoma-orange);
}

/*
 * Önceki 8/3’e göre yükseklik +%30 → width/height = 80/39 (h ≈ 0,4875×w)
 * contain: ürün tam görünsün, kırpma olmasın
 */
.banyoma-product-showcase-2__thumb {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	background: #fff;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 80 / 39;
}

.banyoma-product-showcase-2__thumb img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
}

.banyoma-product-showcase-2__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	font-size: 0.7rem;
	text-align: center;
	color: var(--banyoma-text-muted);
	z-index: 0;
}

.banyoma-product-showcase-2__badge {
	position: absolute;
	left: 4px;
	top: 4px;
	z-index: 2;
	max-width: calc(100% - 8px);
	padding: 3px 6px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
	font-family: "Roboto", sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 18px;
	line-height: 25.7143px;
	color: #333333;
}

.banyoma-product-showcase-2__badge .banyoma-ps-price {
	display: inline-block;
	font-family: inherit;
	font-style: inherit;
	font-weight: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}

.banyoma-product-showcase-2__badge .banyoma-ps-price--sale del,
.banyoma-product-showcase-2__badge .banyoma-ps-price__old,
.banyoma-product-showcase-2__badge del {
	text-decoration: line-through;
	font-size: 0.85em;
	font-weight: 500;
	line-height: 1.35;
	color: #c62828;
	margin-right: 4px;
	opacity: 0.95;
}

.banyoma-product-showcase-2__badge .banyoma-ps-price--sale ins,
.banyoma-product-showcase-2__badge .banyoma-ps-price__new,
.banyoma-product-showcase-2__badge ins {
	text-decoration: none !important;
	font-family: "Roboto", sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 1em;
	line-height: 25.7143px;
	letter-spacing: normal;
	color: #333333;
	background: none;
}

.banyoma-product-showcase-2__badge .banyoma-ps-price--sale ins .woocommerce-Price-amount,
.banyoma-product-showcase-2__badge .banyoma-ps-price__new .woocommerce-Price-amount,
.banyoma-product-showcase-2__badge ins .woocommerce-Price-amount {
	font-weight: 500;
	color: #333333;
}

.banyoma-product-showcase-2__badge .woocommerce-Price-amount {
	font-family: inherit;
	font-weight: 500;
	color: #333333;
}

/*
 * WooCommerce çekirdek / blok stilleri .woocommerce-Price-amount için font-size verir;
 * vitrin rozetinde Roboto 18px’nin görünmesi için tüm fiyat düğümlerine zorunlu kıl.
 */
section.banyoma-product-showcase-2 .banyoma-product-showcase-2__badge .banyoma-ps-price,
section.banyoma-product-showcase-2 .banyoma-product-showcase-2__badge .woocommerce-Price-amount,
section.banyoma-product-showcase-2 .banyoma-product-showcase-2__badge .woocommerce-Price-amount bdi,
section.banyoma-product-showcase-2 .banyoma-product-showcase-2__badge .woocommerce-Price-currencySymbol {
	font-family: "Roboto", sans-serif !important;
	font-style: normal !important;
	font-weight: 500 !important;
	font-size: 18px !important;
	line-height: 25.7143px !important;
	color: #333333 !important;
}

section.banyoma-product-showcase-2 .banyoma-product-showcase-2__badge del,
section.banyoma-product-showcase-2 .banyoma-product-showcase-2__badge del .woocommerce-Price-amount,
section.banyoma-product-showcase-2 .banyoma-product-showcase-2__badge del .woocommerce-Price-amount bdi {
	font-size: 0.85em !important;
	line-height: 1.35 !important;
	font-weight: 500 !important;
	color: #c62828 !important;
}

.banyoma-product-showcase-2__title {
	margin: 3px 0 0;
	padding: 0 2px;
	font-family: "Roboto", sans-serif;
	font-style: normal;
	font-weight: 300;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	color: #333333;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 768px) {
	.banyoma-product-showcase-2 .banyoma-container {
		max-width: min(calc(100vw - 20px), 1920px);
	}

	.banyoma-product-showcase-2 {
		padding: 10px 0 12px;
	}

	.banyoma-product-showcase-2__box {
		padding: 16px 10px 18px;
	}

	.banyoma-product-showcase-2__grid {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 12px;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 0;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.banyoma-product-showcase-2__grid::-webkit-scrollbar {
		display: none;
	}

	.banyoma-product-showcase-2__card {
		flex: 0 0 100%;
		min-width: 100%;
		max-width: 100%;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}
}

@media (max-width: 480px) {
	.banyoma-product-showcase-2 .banyoma-container {
		max-width: min(calc(100vw - 16px), 1920px);
	}

	.banyoma-product-showcase-2__box {
		padding: 14px 8px 16px;
	}
}

