.rmh-fitment-widget {
	--rmh-border: #d7d7d7;
	--rmh-accent: #1a1a1a;
	--rmh-title-accent: #c8102e;
	--rmh-bg: #f7f7f7;
	margin: 24px 0;
	padding: 20px;
	background: var(--rmh-bg);
	border: 1px solid var(--rmh-border);
	border-radius: 6px;
}

.rmh-fitment-title {
	margin: 0 0 20px;
	padding-left: 16px;
	border-left: 6px solid var(--rmh-title-accent);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.2;
	color: #1a1a1a;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

@media (max-width: 600px) {
	.rmh-fitment-title {
		font-size: 20px;
	}
}

.rmh-fitment-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: flex-end;
}

.rmh-fitment-field {
	display: flex;
	flex-direction: column;
	flex: 1 1 220px;
	min-width: 200px;
}

.rmh-fitment-field-wide {
	flex: 1.6 1 260px;
}

.rmh-fitment-field label {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #333;
}

.rmh-select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--rmh-border);
	border-radius: 4px;
	background: #fff;
	font-size: 15px;
}

.rmh-select:disabled {
	background: #eee;
	color: #999;
}

.rmh-fitment-submit {
	flex: 0 0 auto;
}

.rmh-search-btn {
	white-space: nowrap;
	padding: 11px 22px !important;
	background: var(--rmh-accent) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 4px !important;
	cursor: pointer;
}

.rmh-search-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.rmh-fitment-results {
	margin-top: 24px;
}

.rmh-loading,
.rmh-no-results {
	font-size: 14px;
	color: #555;
}

.rmh-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rmh-product-card {
	background: #fff;
	border: 1px solid var(--rmh-border);
	border-radius: 6px;
	padding: 14px;
	text-align: center;
}

.rmh-product-card a {
	text-decoration: none;
	color: inherit;
}

.rmh-product-image img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

.rmh-product-title {
	margin-top: 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.rmh-product-price {
	margin-top: 6px;
	font-size: 14px;
	color: #444;
}

.rmh-add-to-cart-wrap {
	margin-top: 10px;
}

.rmh-add-to-cart-wrap .button {
	font-size: 13px;
}

@media (max-width: 600px) {
	.rmh-fitment-row {
		flex-direction: column;
		align-items: stretch;
	}
}
