/* Brändilehed poes: kategoorialehe logoriba (.mbl-ds) + esilehe kaardid [mbl_brands] (.mbl-bcs). */
.mbl-ds,
.mbl-bcs {
	--mbl-ds-brand: #3D3C6C;
	--mbl-ds-ink: #2B2A4C;
	--mbl-ds-muted: #6B6A85;
	--mbl-ds-tile: #F3F2FA;
	--mbl-ds-line: #ECECF2;
}

.mbl-ds {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0 0 20px;
	padding: 10px 14px;
	border: 1px solid var(--mbl-ds-line);
	border-radius: 12px;
	background: #fff;
}
.mbl-ds-label {
	margin-right: 4px;
	color: var(--mbl-ds-muted);
	font-size: 13px;
	font-weight: 700;
}
.mbl-ds-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	min-width: 96px;
	padding: 4px 12px;
	border: 1px solid var(--mbl-ds-line);
	border-radius: 8px;
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
}
.mbl-ds-item:hover {
	border-color: #DCDAF0;
	box-shadow: 0 4px 12px rgba(61, 60, 108, .12);
}
.mbl-ds-item img.mbl-ds-logo {
	max-height: 32px;
	max-width: 110px;
	width: auto;
	height: auto;
	object-fit: contain;
}
.mbl-ds-name {
	color: var(--mbl-ds-brand);
	font-weight: 700;
	font-size: 14px;
}

.mbl-bcs { margin: 10px 0 30px; }
.mbl-bcs-head { margin-bottom: 16px; }
.mbl-bcs-h {
	margin: 0 0 4px;
	font-size: 26px;
	line-height: 1.25;
	color: var(--mbl-ds-ink);
}
.mbl-bcs-lead { margin: 0; color: var(--mbl-ds-muted); font-size: 15px; }
.mbl-bcs-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}
.mbl-bc {
	display: flex;
	flex-direction: column;
	padding: 14px 14px 16px;
	border: 1px solid var(--mbl-ds-line);
	border-radius: 12px;
	background: #fff;
	color: var(--mbl-ds-ink);
	text-decoration: none;
	transition: box-shadow .2s, border-color .2s, transform .2s;
}
.mbl-bc:hover {
	border-color: #DCDAF0;
	box-shadow: 0 6px 18px rgba(61, 60, 108, .12);
	transform: translateY(-2px);
	color: var(--mbl-ds-ink);
}
.mbl-bc-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 72px;
	margin-bottom: 12px;
	border-radius: 8px;
	background: var(--mbl-ds-tile);
	padding: 8px 12px;
}
.mbl-bc-logo img {
	max-height: 52px;
	max-width: 80%;
	width: auto;
	height: auto;
	object-fit: contain;
	mix-blend-mode: multiply;
}
.mbl-bc-logo--2 img { max-width: 45%; max-height: 40px; }
.mbl-bc-word { font-size: 22px; font-weight: 800; color: var(--mbl-ds-brand); }
.mbl-bc-name { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.mbl-bc-text { flex: 1; color: var(--mbl-ds-muted); font-size: 13.5px; line-height: 1.45; margin-bottom: 10px; }
.mbl-bc-count { font-size: 13px; font-weight: 600; color: var(--mbl-ds-brand); }

@media (max-width: 1024px) {
	.mbl-bcs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.mbl-ds { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.mbl-ds::-webkit-scrollbar { display: none; }
	.mbl-ds-label { flex: 0 0 auto; }
	.mbl-ds-item { flex: 0 0 auto; }
	.mbl-bcs-h { font-size: 21px; }
	.mbl-bcs-grid {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-left: 15px;
		gap: 10px;
		margin: 0 -15px;
		padding: 2px 15px 8px;
		scrollbar-width: none;
	}
	.mbl-bcs-grid::-webkit-scrollbar { display: none; }
	.mbl-bc { flex: 0 0 62%; scroll-snap-align: start; }
}
