/* ================================================================
 *  Sponsored Business Pins — Route Maker additions
 *  Reuses .mot-sponsored-* classes from design-system.css.
 *  This file only contains the mobile bottom sheet (unique to route maker).
 * ============================================================= */

/* ── Mobile bottom sheet ────────────────────────────────────── */
.mrm-spn-sheet {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	max-height: 70vh;
	background: var(--mot-bg-card, #1f1f1f);
	color: var(--mot-text, #f2f2f2);
	border-top: 1px solid var(--mot-border, rgba(255,255,255,.08));
	border-radius: var(--mot-radius, 10px) var(--mot-radius, 10px) 0 0;
	z-index: 9999;
	transform: translateY(100%);
	visibility: hidden;
	transition: transform .3s ease, visibility .3s;
	overflow-y: auto;
	padding: 8px 16px 20px;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, .5);
	font-family: var(--mot-font, system-ui, -apple-system, 'Segoe UI', sans-serif);
	font-size: .875rem;
	line-height: 1.5;
}
.mrm-spn-sheet--show {
	transform: translateY(0);
	visibility: visible;
}

/* Drag handle bar */
.mrm-spn-sheet__handle {
	width: 36px;
	height: 4px;
	border-radius: 2px;
	background: var(--mot-border, rgba(255,255,255,.08));
	margin: 4px auto 12px;
}

.mrm-spn-sheet__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 28px;
	height: 28px;
	border: none;
	background: var(--mot-bg-raised, #2a2a2a);
	color: var(--mot-text-muted, #9b9b9b);
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	line-height: 1;
	transition: color var(--mot-transition, .18s ease);
}
.mrm-spn-sheet__close:hover {
	color: var(--mot-text, #f2f2f2);
}

/* Sheet reuses .mot-sponsored-popup layout — minor tweaks for mobile */
.mrm-spn-sheet .mot-sponsored-popup {
	padding: 0;
	width: auto;
}
.mrm-spn-sheet .mot-sponsored-popup__name {
	white-space: normal;
}
.mrm-spn-sheet .mot-sponsored-popup__desc {
	-webkit-line-clamp: 5;
}

/* ── Hide mobile sheet on desktop ───────────────────────────── */
@media (min-width: 960px) {
	.mrm-spn-sheet {
		display: none !important;
	}
}
