.st-global-brand-filter-block {
	margin-block-start: 0 !important;
}

.st-global-brand-filter-heading-block {
	max-width: 100% !important;
	padding: 16px 10px;
}

.st-global-brand-filter-heading-innerblock {
	max-width: 100%;
    width: 100%;
/*     margin: 0 auto; */
}

.st-global-brand-filter-heading {
/* 	font-weight: 700;
    font-size: clamp(20px, 2.222vw, 28px);
    line-height: 135%;
    text-align: center;
    letter-spacing: normal;
    text-transform: uppercase;
    color: #fff; */
	font-weight: 700;
    font-size: clamp(20px, 2.222vw, 32px);
    line-height: 125%;
    letter-spacing: normal;
    text-transform: uppercase;
	color: #fff;
	max-width: 100%;
}

.st-global-brand-filter-short-code-block {
	max-width: 100%;
	margin-block-start: 0;
}

/* ============================================================
   BM Motor Kit Finder
   ============================================================ */

.bm-mkf-container {
/*     font-family: inherit; */
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
    padding: 30px 20px;
    background: transparent;
}

/* ?? Steps Row ??????????????????????????????????????????????? */
.bm-mkf-steps-row {
/*     display: flex; */
/*     justify-content: center;
    align-items: flex-start; */
/*     gap: 0; */
/*     margin-bottom: 20px;
	display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
	row-gap: 20px; */
	display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: visible;
}

.bm-mkf-step {
/*     flex: 1;
    min-width: 0;
    text-align: center;
    padding: 0 4px; */
	width: calc(33.333% - 14px);
    min-width: 0;
    text-align: center;
    padding: 0 4px;
    position: relative;
    z-index: 2;
    overflow: visible;
}

/* Dynamic steps should behave exactly like others */
.bm-mkf-step-dynamic {
    width: calc(33.333% - 14px);
    min-width: 0;
    position: relative;
    z-index: 2;
    overflow: visible;
}

/* ?? Step header ?????????????????????????????????????????????? */
.bm-mkf-step-header {
    display: flex;
    align-items: center;
/*     justify-content: center; */
    margin-bottom: 12px;
}

/* Connector lines */
.bm-mkf-step-line {
/*     flex: 1; */
    height: 2px;
    background: #222;
    display: block;
	width: 10%;
}
/* .bm-mkf-step:first-child .bm-mkf-step-line--left,
.bm-mkf-step:last-child  .bm-mkf-step-line--right {
    background: transparent;
} */

.bm-mkf-step-line--right {
	display: none;
}

/* Numbered badge */
.bm-mkf-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #222;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    margin: 0 8px;
    line-height: 1;
    transition: background 0.2s;
	border: 1px solid #000;
}
/* Greyed badge when step 3 is "not needed" */
.bm-mkf-badge.inactive {
    background: #bbb;
}

.bm-mkf-step:has(.bm-mkf-dropdown[disabled]) .bm-mkf-badge {
	background: #fff;
	color: #000;
}

/* Step title */
.bm-mkf-step-title {
    font-size: clamp(16px, 1.25vw, 18px);
    font-weight: 700;
    letter-spacing: normal;
    text-transform: uppercase;
    color: #222;
    white-space: nowrap;
    margin: 0 4px;
    transition: color 0.2s;
}
.bm-mkf-step-title.inactive {
    color: #bbb;
}

/* ?? Dropdowns ??????????????????????????????????????????????? */
.bm-mkf-dropdown {
    width: 100%;
    padding: 15px 36px 15px 14px;
    background: #fff;
    color: #222;
    border: 2px solid #555;
    border-radius: 6px;
	font-family: 'Montserrat';
    font-size: clamp(14px, 1.111vw, 16px);
    font-weight: 700;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.bm-mkf-dropdown:focus {
    outline: none;
    border-color: #000;
}
/* Standard disabled (HP before brand selected) */
.bm-mkf-dropdown:disabled {
    background-color: #f0f0f0;
    color: #aaa;
    border-color: #ccc;
    cursor: not-allowed;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23bbb' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
/* "Not Needed" state on step 3 — slightly different visual */
.bm-mkf-dropdown.not-needed {
    background-color: #ebebeb;
    color: #999;
    border-color: #ccc;
    cursor: not-allowed;
}

/* ?? Match found message (under step 3) ??????????????????????? */
.bm-mkf-match-msg {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #ed7d31;
    display: none;
    text-align: center;
}
.bm-mkf-match-msg.visible {
    display: block;
}

.bm-mkf-finder-body {
    position: relative;
    overflow: visible;
    z-index: 2;
}

/* ?? Actions row ?????????????????????????????????????????????? */
.bm-mkf-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 0;
}

/* Clear link */
.bm-mkf-clear {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    display: none;
	margin-bottom: 8px;
}
.bm-mkf-clear:hover { color: #000; }
.bm-mkf-clear.visible { display: inline; text-decoration: underline; }

/* CTA Button */
.bm-mkf-btn {
    background: #111;
    color: #fff;
    padding: 16px 60px;
    font-size: 20px;
    font-weight: 700;
    border: none;
/*     border-radius: 40px; */
	border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: normal;
    transition: transform 0.15s;
}
.bm-mkf-btn:hover:not(:disabled) { transform: scale(1.02); }
.bm-mkf-btn:disabled { background: #555; cursor: not-allowed; }

/* Error message */
.bm-mkf-error-msg {
    font-size: 13px;
    color: #c8252d;
    margin: 0;
    min-height: 18px;
}

/* Flash animation */
@keyframes flashBtn {
    0%   { background-color: #111; box-shadow: 0 0 0px #d58512; }
    50%  { background-color: #d58512; box-shadow: 0 0 18px #d58512; transform: scale(1.05); }
    100% { background-color: #111; box-shadow: 0 0 0px #d58512; }
}
.bm-mkf-btn.flash { animation: flashBtn 1.5s infinite; }

.bm-mkf-step-line-mobile {
	display: none;
}

.bm-mkf-step-header:has(.bm-mkf-step-title.inactive) .bm-mkf-step-line {
	background: #bbb;
}

#global-spinner {
	z-index: 1;
}

/* ?? Responsive ?????????????????????????????????????????????? */
@media (max-width: 768px) {
    .bm-mkf-steps-row 
	{ 
        gap: 16px;
        justify-content: flex-start;
	}
	.bm-mkf-step,
    .bm-mkf-step-dynamic {
        width: calc(50% - 10px);
    }
/*     .bm-mkf-step-line { display: none; } */
    .bm-mkf-step-header { justify-content: flex-start; }
    .bm-mkf-btn { padding: 14px 40px; font-size: 17px; }
}

@media (max-width: 640px) {
	.bm-mkf-steps-row {
		display: flex;
		flex-direction: column;
		align-items: end;
		position: relative;
/* 		grid-template-columns: repeat(1, minmax(0, 1fr)); */
	}
	.bm-mkf-step,
    .bm-mkf-step-dynamic {
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }
	.bm-mkf-badge {
		position: absolute;
		top: -2px;
		left: -12%;
		margin: 0;
/* 		border: 1px solid #000; */
	}
	
/* 	.bm-mkf-step:has(.bm-mkf-dropdown[disabled]) .bm-mkf-badge {
		background: #fff;
		color: #000;
	} */
	
	.bm-mkf-step-line-mobile {
		display: block;
		width: 4px;
		border-radius: 5px;
		height: 100%;
		background: #222;
		position: absolute;
		top: 2px;
/*         left: 2.8%; */
		left: 2.35%;
	}
	.st-global-brand-filter-heading-block {
		padding: 16px 24px;
	}
	.st-global-brand-filter-heading {
		line-height: 140%;
	}
}

