/* Shikharthi Ads Manager – slots. Selectors are doubled (.shk-ad.shk-ad) so theme styles do not leak in. */
.shk-ad.shk-ad {
	display: block; box-sizing: border-box; clear: both; text-align: center;
	width: 100%; max-width: 1280px; margin: 24px auto; padding: 0 16px;
	min-height: calc(var(--shk-ad-h, 0px) + 18px);
	line-height: 1;
}
.shk-ad.shk-ad template { display: none; }
.shk-ad.shk-ad .shk-ad__label {
	display: block; margin: 0 0 6px; font: 600 10.5px/1.4 var(--shk-font, system-ui, sans-serif);
	letter-spacing: .08em; text-transform: uppercase; color: #8a8a84;
}
.shk-ad.shk-ad .shk-ad__box { display: flex; justify-content: center; align-items: center; max-width: 100%; overflow: hidden; }
.shk-ad.shk-ad .shk-ad__box > * { max-width: 100%; }
.shk-ad.shk-ad .shk-ad__img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 10px; }
.shk-ad.shk-ad .shk-ad__link { display: inline-block; line-height: 0; border: 0; box-shadow: none; text-decoration: none; }
.shk-ad.shk-ad .shk-ad__frame { display: block; border: 0; max-width: 100%; background: transparent; }
.shk-ad.shk-ad.is-empty { display: none; }
.shk-ad.shk-ad--header_after { margin: 16px auto; }
.shk-ad.shk-ad--content_before,
.shk-ad.shk-ad--content_middle,
.shk-ad.shk-ad--content_after { padding: 0; margin: 28px auto; }
.shk-ad.shk-ad--dashboard_top,
.shk-ad.shk-ad--dashboard_bottom { padding: 0; margin: 0 0 18px; text-align: start; }
.shk-ad.shk-ad--dashboard_bottom { margin: 18px 0 0; }
.shk-ad.shk-ad--dashboard_top .shk-ad__box,
.shk-ad.shk-ad--dashboard_bottom .shk-ad__box,
.shk-ad.shk-ad--content_after .shk-ad__box,
.shk-ad.shk-ad--listing .shk-ad__box { display: block; text-align: start; }
.shk-ad.shk-ad--sidebar { padding: 0; margin: 0 0 24px; }

/* Admin preview placeholder (?shk_ads_preview=1). */
.shk-ad.shk-ad--preview {
	display: grid; place-items: center; min-height: 72px; padding: 12px;
	border: 2px dashed #c9972b; border-radius: 12px; background: repeating-linear-gradient(45deg, #fffaf0, #fffaf0 10px, #fbf3df 10px, #fbf3df 20px);
	font: 600 13px/1.4 system-ui, sans-serif; color: #6b4e0e;
}
.shk-ad.shk-ad--preview code { font-size: 12px; background: #fff; padding: 2px 6px; border-radius: 6px; }
.shk-ad.shk-ad.is-preview { outline: 2px dashed #c9972b; outline-offset: 4px; }

/* Mobile sticky bar: shown only below the mobile width (inline rule from settings). */
.shk-ad-sticky {
	display: none; position: fixed; z-index: 99990; left: 0; right: 0; bottom: 0;
	background: #fff; box-shadow: 0 -4px 18px rgba(0, 0, 0, .14); border-top: 2px solid var(--shk-accent, #c9972b);
	padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
}
.shk-ad-sticky .shk-ad.shk-ad { margin: 0 auto; padding: 0 36px; min-height: 0; }
.shk-ad-sticky .shk-ad__label { display: none !important; }
.shk-ad-sticky__close {
	position: absolute; top: -14px; right: 10px; width: 28px; height: 28px; border-radius: 50%;
	border: 0; background: #000; color: #fff; font: 700 18px/28px system-ui, sans-serif; cursor: pointer; padding: 0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
[dir="rtl"] .shk-ad-sticky__close { right: auto; left: 10px; }
@media print { .shk-ad, .shk-ad-sticky { display: none !important; } }
