/**
 * Product brand lockup — same SM mark + product name.
 */

.sm-product-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-align: start;
	line-height: 1.15;
	max-width: 100%;
}

.sm-product-brand__mark {
	flex-shrink: 0;
	display: block;
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.sm-product-brand__name {
	font-family: var(--sm-font, "Segoe UI", system-ui, sans-serif);
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: 0.04em;
	color: var(--sm-navy, #0B1A2B);
}

.sm-product-brand--hero .sm-product-brand__mark {
	width: 64px;
	height: 64px;
}

.sm-product-brand--hero .sm-product-brand__name {
	font-size: clamp(1.5rem, 3vw, 2rem);
	letter-spacing: 0.06em;
}

.sm-product-brand--inline .sm-product-brand__mark {
	width: 36px;
	height: 36px;
}

.sm-product-brand--inline .sm-product-brand__name {
	font-size: 1rem;
}

.sm-product-brand--card {
	display: flex;
	width: 100%;
	padding: 1.25rem 1rem;
	margin: 0;
	background: linear-gradient(145deg, #0B1A2B 0%, #1A3558 100%);
	border-radius: var(--sm-radius-sm, 10px);
	box-sizing: border-box;
}

.sm-product-brand--card .sm-product-brand__mark {
	width: 56px;
	height: 56px;
}

.sm-product-brand--card .sm-product-brand__name {
	color: #F5F7FA;
	font-size: 1.2rem;
}

/* Dark landing heroes */
.sm-finance-lp .sm-product-brand__name,
.sm-jomla-lp .sm-product-brand__name,
.sm-caisse-lp .sm-product-brand__name,
.sm-ecole-lp .sm-product-brand__name {
	color: #F5F7FA;
}

.sm-card--product .sm-card__brand {
	margin: 0 0 0.75rem;
}

.sm-card--product .sm-card__thumb--brand {
	aspect-ratio: auto;
	background: transparent;
	padding: 0;
	overflow: visible;
}

.sm-card--product .sm-card__thumb--brand img.sm-product-brand__mark {
	width: 56px;
	height: 56px;
}

.sm-single__image-frame--brand {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 180px;
	padding: 1.5rem;
	background: linear-gradient(145deg, #0B1A2B 0%, #1A3558 100%);
	border-radius: var(--sm-radius-sm, 10px);
}

.sm-single__image-frame--brand .sm-product-brand__name {
	color: #F5F7FA;
}

.sm-jomla-feature__brand {
	margin: 0 0 0.75rem;
}

.sm-jomla-lp__brand,
.sm-caisse-lp__brand,
.sm-ecole-lp__brand {
	margin: 0 0 1rem;
	display: flex;
}
