.fitment-selector {
	margin: 0 0 32px;
	padding: 20px;
	background: #f6f8fa;
	border: 1px solid rgba(17, 24, 39, .08);
	border-radius: 8px;
}

.fitment-selector__form {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
	gap: 12px;
	align-items: end;
}

.fitment-selector__field {
	min-width: 0;
}

.fitment-selector__field label {
	display: block;
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
	color: #4b5563;
}

.fitment-selector__field select {
	width: 100%;
	min-height: 46px;
	padding: 0 40px 0 14px;
	border: 1px solid #d8dee6;
	border-radius: 6px;
	background: #fff;
	color: #111827;
	font: inherit;
	line-height: 1.2;
}

.fitment-selector__field select:disabled {
	color: #8a94a6;
	background: #edf1f5;
	cursor: not-allowed;
}

.fitment-selector__actions {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: flex-end;
}

.fitment-selector__actions .button {
	white-space: nowrap;
}

.fitment-selector__actions .button:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.fitment-selector__status {
	min-height: 18px;
	margin: 10px 0 0;
	font-size: 13px;
	color: #64748b;
}

.fitment-selector.is-loading {
	opacity: .72;
	pointer-events: none;
}

.fitment-selector.is-error .fitment-selector__status {
	color: #b42318;
}

@media (max-width: 1199px) {
	.fitment-selector__form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fitment-selector__actions {
		justify-content: flex-start;
	}
}

@media (max-width: 575px) {
	.fitment-selector {
		padding: 16px;
	}

	.fitment-selector__form {
		grid-template-columns: 1fr;
	}

	.fitment-selector__actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.fitment-selector__actions .button {
		width: 100%;
		min-width: 0;
	}
}
