/**
 * Manuel AdSense slotları — navbar/header dışı, içerik akışına uyum.
 * Boş slot: belirgin placeholder; reklam dolunca .mh-ad--filled ile sadeleşir.
 */

.mh-ad-unit {
	box-sizing: border-box;
	margin: 1.25rem auto;
	text-align: center;
	min-height: 90px;
	max-width: 100%;
	overflow: visible;
	clear: both;
	background: #f1f3f5;
	border: 1px dashed #ced4da;
	border-radius: 6px;
	position: relative;
}

.mh-ad-unit:not(.mh-ad--filled)::before {
	content: 'Reklam alanı';
	display: block;
	position: absolute;
	left: 50%;
	top: 8px;
	transform: translateX(-50%);
	font-size: 11px;
	line-height: 1;
	color: #868e96;
	letter-spacing: 0.02em;
	pointer-events: none;
	z-index: 0;
}

.mh-ad-unit .adsbygoogle {
	position: relative;
	z-index: 1;
}

/* A: Yatay şerit (728/970 leaderboard) */
.mh-ad-unit.mh-ad--leaderboard {
	min-height: 90px;
	max-width: 728px;
}

@media (min-width: 992px) {
	.mh-ad-unit.mh-ad--leaderboard {
		max-width: 970px;
	}
}

/* B: Grid içi / içerik arası */
.mh-ad-unit.mh-ad--in-feed {
	min-height: 280px;
	margin: 1.5rem auto;
	width: 100%;
	max-width: 100%;
}

/* C: Sidebar dikey 300×250 */
.mh-ad-unit.mh-ad--sidebar {
	margin: 1rem auto;
	min-height: 250px;
	max-width: 300px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.mh-ad-unit.mh-ad--sidebar .adsbygoogle {
	flex-shrink: 0;
}

@media (min-width: 992px) {
	.mh-ad-unit.mh-ad--in-single-sidebar {
		margin-top: 0;
	}
}

/* Mobil anchor: ince şerit, güvenli alan */
.mh-ad-unit.mh-ad--mobile-anchor {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1020;
	margin: 0;
	min-height: 50px;
	max-height: 100px;
	padding: 4px 8px calc(4px + env(safe-area-inset-bottom, 0));
	background: rgba(248, 249, 250, 0.97);
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 0;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
}

.mh-ad-unit.mh-ad--mobile-anchor::before {
	display: none;
}

body.mh-body--mobile-anchor-ad {
	padding-bottom: calc(88px + env(safe-area-inset-bottom, 0));
}

@media (min-width: 992px) {
	.mh-ad-unit.mh-ad--mobile-anchor {
		display: none !important;
	}

	body.mh-body--mobile-anchor-ad {
		padding-bottom: 0;
	}
}

.mh-ad--lazy {
	min-height: 120px;
}

.mh-ad--lazy.mh-ad--in-feed {
	min-height: 280px;
}

.mh-ad--lazy.mh-ad--leaderboard {
	min-height: 90px;
}

/* Reklam gerçekten render edildiğinde placeholder kalkar */
.mh-ad-unit.mh-ad--filled {
	background: transparent;
	border-color: transparent;
	min-height: 0;
}

.mh-ad-unit.mh-ad--filled::before {
	display: none;
}

.mh-ad-unit.mh-ad--filled .adsbygoogle {
	display: block;
	min-height: 0;
}

.mh-ad-unit.mh-ad--filled.mh-ad--leaderboard {
	min-height: 90px;
}

.mh-ad-unit.mh-ad--filled.mh-ad--in-feed,
.mh-ad-unit.mh-ad--filled.mh-ad--lazy.mh-ad--in-feed {
	min-height: 250px;
}

.mh-ad-unit.mh-ad--filled.mh-ad--sidebar {
	min-height: 250px;
}

.single-product-ad-mid {
	margin-top: 1rem;
	margin-bottom: 1rem;
}
