/* Multifab Solar Strip. Colours and fonts follow the site's Elementor globals, with the site's own values as fallbacks. */

.mfss {
	--mfss-primary: var(--e-global-color-primary, #19304E);
	--mfss-accent: var(--e-global-color-secondary, #F04123);
	--mfss-text: var(--e-global-color-text, #404040);
	--mfss-muted: #646985;
	--mfss-line: #D9D9DE;
	--mfss-value: var(--mfss-primary);
	--mfss-heading: var(--mfss-primary);
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	font-family: var(--e-global-typography-text-font-family, "Inter Tight"), "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	line-height: 1.3;
	color: var(--mfss-text);
}

.mfss *,
.mfss *::before,
.mfss *::after {
	box-sizing: inherit;
}

.mfss--dark {
	--mfss-line: rgba(255, 255, 255, 0.22);
	--mfss-muted: rgba(255, 255, 255, 0.74);
	--mfss-value: #FFFFFF;
	--mfss-heading: #FFFFFF;
	color: #FFFFFF;
}

.mfss__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 36px;
	padding: 14px 0;
	border-top: 1px solid var(--mfss-line);
	border-bottom: 1px solid var(--mfss-line);
}

.mfss--dark .mfss__inner {
	border-bottom: 0;
}

.mfss__heading {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 1 210px;
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--mfss-heading);
}

.mfss__icon {
	flex: none;
	width: 24px;
	height: 24px;
	color: var(--mfss-accent);
}

.mfss__stats {
	display: flex;
	flex: 1 1 520px;
	flex-wrap: wrap;
	gap: 12px 36px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mfss__stat {
	display: flex;
	flex-direction: column;
	min-width: 150px;
	margin: 0;
	padding: 0 0 0 14px;
	border-left: 2px solid var(--mfss-accent);
}

.mfss__stat[hidden] {
	display: none !important;
}

.mfss__value {
	font-family: var(--e-global-typography-primary-font-family, "Inter Tight"), "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: var(--mfss-value);
}

.mfss__unit {
	font-size: 15px;
	font-weight: 500;
	color: var(--mfss-accent);
}

.mfss__label {
	margin-top: 3px;
	font-size: 13px;
	color: var(--mfss-muted);
}

.mfss__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	margin-left: auto;
	font-size: 12px;
	text-align: right;
	color: var(--mfss-muted);
}

.mfss__method {
	position: relative;
}

.mfss__method summary {
	cursor: pointer;
	list-style: none;
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mfss__method summary::-webkit-details-marker {
	display: none;
}

.mfss__method summary:focus-visible {
	outline: 2px solid var(--mfss-accent);
	outline-offset: 2px;
}

.mfss__method p {
	position: absolute;
	right: 0;
	bottom: calc(100% + 10px);
	z-index: 30;
	width: min(420px, 86vw);
	margin: 0;
	padding: 14px 16px;
	font-size: 13px;
	line-height: 1.55;
	text-align: left;
	color: #404040;
	background: #FFFFFF;
	border: 1px solid #D9D9DE;
	border-radius: 4px;
	box-shadow: 0 10px 28px rgba(25, 48, 78, 0.22);
}

.mfss-empty {
	padding: 8px 12px;
	font-size: 13px;
	background: #FFF8E5;
	border-left: 3px solid #DBA617;
	color: #404040;
}

@media (max-width: 767px) {
	.mfss__inner {
		gap: 12px 20px;
		padding: 12px 0;
	}

	.mfss__heading {
		flex-basis: 100%;
		font-size: 12px;
	}

	.mfss__stats {
		flex-basis: 100%;
		gap: 12px 18px;
	}

	.mfss__stat {
		flex: 1 1 40%;
		min-width: 0;
		padding-left: 10px;
	}

	.mfss__value {
		font-size: 21px;
	}

	.mfss__unit {
		font-size: 13px;
	}

	.mfss__label {
		font-size: 12px;
	}

	.mfss__meta {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		margin-left: 0;
		text-align: left;
	}
}
