/**
 * Hero Banner Module — mobile-first, loaded only on pages that render it.
 * BEM root: .myio-hero-banner. Ported from the UI reference's .hero-* /
 * .hero-chooser-* / .hero-rating-* / .hero-trust-badge* rules onto this
 * module's own class names (kept separate from hero-section's .myio-hero__*
 * so both modules' CSS can never collide if ever loaded on the same page).
 */

.myio-hero-banner {
	background: var(--myio-hb-bg, #fffbf8);
	padding: 24px 20px 28px;
}

.myio-hero-banner__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	align-items: start;
}

/* Text column */
.myio-hero-banner__eyebrow {
	margin: 0;
	font-size: 12.5px;
	font-weight: 600;
	color: #f43f68;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.myio-hero-banner__heading {
	font-size: clamp(28px, 6vw, 44px);
	line-height: 1.16;
	font-weight: 700;
	color: #17131a;
	margin: 12px 0 14px;
	max-width: 560px;
}

.myio-hero-banner__desc {
	font-size: 15px;
	line-height: 1.6;
	color: #55505a;
	margin: 0 0 22px;
	max-width: 520px;
}

/* Rating pill */
.myio-hero-banner__rating-card {
	border: 1px solid #ede7e9;
	border-radius: 12px;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
	max-width: 480px;
}

.myio-hero-banner__rating-icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1.5px solid #ede7e9;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.myio-hero-banner__rating-icon-text {
	font-size: 14px;
	font-weight: 600;
	color: #76717a;
}

.myio-hero-banner__rating-info {
	flex: 1;
	min-width: 0;
}

.myio-hero-banner__rating-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.myio-hero-banner__rating-score {
	font-size: 15px;
	font-weight: 600;
	color: #17131a;
}

.myio-hero-banner__rating-stars {
	display: flex;
	gap: 1px;
}

.myio-hero-banner__rating-count {
	font-size: 13px;
	color: #76717a;
}

.myio-hero-banner__rating-caption {
	display: block;
	font-size: 12.5px;
	color: #76717a;
}

/* Trust badges */
.myio-hero-banner__trust-badges {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 10px;
	max-width: 480px;
}

.myio-hero-banner__trust-badge {
	background: #fff4f6;
	border-radius: 10px;
	padding: 12px 8px;
	text-align: center;
}

.myio-hero-banner__trust-badge-text {
	font-size: 12.5px;
	font-weight: 600;
	color: #17131a;
	line-height: 1.3;
}

/* Chooser column */
.myio-hero-banner__chooser {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.myio-hero-banner__chooser-card,
.myio-hero-banner__chooser-card--featured {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px;
	background: #fff;
	border-radius: 14px;
	text-decoration: none;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.myio-hero-banner__chooser-card {
	border: 1px solid #ede7e9;
}

.myio-hero-banner__chooser-card--featured {
	border: 1.5px solid #ffc9d6;
	box-shadow: 0 8px 22px rgba(244, 63, 104, 0.09);
}

.myio-hero-banner__chooser-card:hover,
.myio-hero-banner__chooser-card--featured:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(23, 19, 26, 0.1);
}

.myio-hero-banner__chooser-icon {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	background: #fff4f6;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
}

.myio-hero-banner__chooser-icon img {
	width: 26px;
	height: 26px;
	object-fit: contain;
	display: block;
}

.myio-hero-banner__chooser-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.myio-hero-banner__chooser-title-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.myio-hero-banner__chooser-title {
	font-size: 18px;
	font-weight: 600;
	color: #17131a;
	line-height: 1.25;
}

.myio-hero-banner__chooser-badge {
	font-size: 10px;
	font-weight: 600;
	color: #f43f68;
	background: #fff4f6;
	border: 1px solid #ffc9d6;
	padding: 2px 6px;
	border-radius: 20px;
	white-space: nowrap;
}

.myio-hero-banner__chooser-desc {
	font-size: 14px;
	color: #76717a;
	line-height: 1.35;
}

.myio-hero-banner__chooser-price {
	font-size: 13px;
	color: #17131a;
	line-height: 1.3;
}

.myio-hero-banner__chooser-price-strong {
	font-weight: 600;
}

.myio-hero-banner__chooser-arrow {
	flex-shrink: 0;
}

.myio-hero-banner__chooser-footer {
	text-align: center;
	margin-top: 4px;
}

.myio-hero-banner__chooser-footer-link {
	font-size: 14px;
	font-weight: 500;
	color: #f43f68;
	text-decoration: none;
}
.myio-hero-banner__chooser-footer-link:hover {
	text-decoration: underline;
}

@media (max-width: 868px) {
	.myio-hero-banner__desc,
	.myio-hero-banner__trust-badges {
		max-width: 100%;
	}
}

@media (max-width: 544px) {
	.myio-hero-banner {
		padding: 20px 15px 24px;
	}
	.myio-hero-banner__chooser-card,
	.myio-hero-banner__chooser-card--featured {
		padding: 10px;
		gap: 10px;
	}
	.myio-hero-banner__chooser-title-row {
		min-width: 0;
		flex-wrap: wrap;
	}
}

/* ── Tablet and up ── */
@media (min-width: 768px) {
	.myio-hero-banner {
		padding: 40px clamp(20px, 4vw, 40px) 44px;
	}
	.myio-hero-banner__inner {
		grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
		gap: 40px;
	}
}
