/* Vehicle tire-size lookup. Dark panel to match the home hero; colors follow the Kadence palette. */
.sw-fitment {
	--sw-red: var(--global-palette1, #c8102e);
	--sw-red-dark: var(--global-palette2, #9b0d23);
	--sw-black: var(--global-palette3, #111);
	--sw-line: var(--global-palette7, #e2e2e2);
	--sw-white: var(--global-palette9, #fff);
	padding: 1.5rem;
	border-radius: 6px;
	background: rgba(17, 17, 17, 0.92);
	color: #fff;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
/* Beat the theme's paragraph/form bottom margins inside the panel. */
.sw-fitment .sw-fitment__form {
	margin: 0;
}
.sw-fitment .sw-fitment__title {
	margin: 0 0 0.25rem;
	font-size: 1.2rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.sw-fitment .sw-fitment__intro {
	margin: 0 0 1rem;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.95rem;
}
.sw-fitment__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
	margin-bottom: 1rem;
}
.sw-fitment__field {
	display: flex;
	flex-direction: column;
	gap: 0.3em;
	min-width: 0;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.sw-fitment__field span {
	color: rgba(255, 255, 255, 0.85);
}
.sw-fitment__field select {
	width: 100%;
	min-height: 46px;
	padding: 0.5em 0.75em;
	border: 1px solid var(--sw-line);
	border-radius: 4px;
	background-color: var(--sw-white);
	color: var(--sw-black);
	font-size: 1rem;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}
.sw-fitment__field select:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}
.sw-fitment__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 0.75em 1.4em;
	border: 0;
	border-radius: 4px;
	background: var(--sw-red);
	color: #fff !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.15s ease, opacity 0.15s ease;
}
.sw-fitment__submit:hover,
.sw-fitment__submit:focus-visible {
	background: var(--sw-red-dark);
}
.sw-fitment__submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: var(--sw-red);
}
.sw-fitment__error {
	margin: 0.75rem 0 0;
	color: #ffb3bf;
	font-size: 0.9rem;
}

/* Result */
.sw-fitment__result:focus {
	outline: none;
}
.sw-fitment__vehicle {
	margin: 0 0 1rem;
	color: rgba(255, 255, 255, 0.8);
	font-weight: 600;
}
.sw-fitment__sizes {
	margin-bottom: 1rem;
}
.sw-fitment__size {
	margin: 0 0 0.5rem;
	padding: 0.6rem 0.9rem;
	border-left: 4px solid var(--sw-red);
	background: rgba(255, 255, 255, 0.08);
	font-size: 1.8rem;
	font-weight: 800;
	letter-spacing: 0.03em;
}
.sw-fitment__table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 0.95rem;
}
.sw-fitment__table th,
.sw-fitment__table td {
	padding: 0.45rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	text-align: left;
}
.sw-fitment__table th {
	font-weight: 600;
	color: rgba(255, 255, 255, 0.8);
}
.sw-fitment__table td {
	font-weight: 800;
	text-align: right;
}
.sw-fitment__note {
	margin: 0.85rem 0 0.5rem;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.85rem;
}
.sw-fitment__again {
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}
@media (max-width: 480px) {
	.sw-fitment__fields {
		grid-template-columns: 1fr;
	}
}
