/* Consistent typography and spacing for all /access pages. */

main .holder-coolant-guide {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border: 1px solid #bfdbfe;
	border-inline-start: 4px solid #1d4ed8;
	border-radius: 0.5rem;
	background: #f8fbff;
	color: #202833;
}
main .holder-coolant-guide h2 {
	margin: 0 0 0.55rem;
	font-size: 1.1rem;
}
main .holder-coolant-guide ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
	margin: 0 0 0.55rem;
	padding: 0;
	list-style: none;
}
main .holder-coolant-guide li {
	display: flex;
	align-items: baseline;
	gap: 0.45rem;
}
main .holder-coolant-guide li strong {
	min-width: 1.55rem;
	border-radius: 0.25rem;
	background: #dbeafe;
	color: #1e3a8a;
	text-align: center;
}
main .holder-coolant-guide p {
	margin: 0;
}
main .holder-coolant-guide p + p {
	margin-top: 0.3rem;
}
main .holder-coolant-guide a {
	color: #1e40af;
	text-decoration: underline;
}

main .search-result-list {
	display: grid;
	gap: 0.75rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}
main .search-result-list > li {
	min-width: 0;
	margin: 0;
}
main .search-result {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 0.75rem 1.25rem;
	padding: 1rem 1.15rem;
	border: 1px solid #dfe3e7;
	border-radius: 0.65rem;
	background: #fff;
}
main .search-result-overview,
main .search-result-facts,
main .search-result-actions {
	min-width: 0;
	overflow-wrap: anywhere;
}
main .search-result h2 {
	margin: 0 0 0.3rem;
	font-size: 1.1rem;
}
main .search-result h2 a {
	color: #202833;
	text-decoration: none;
}
main .search-result h2 a:hover,
main .search-result h2 a:focus-visible {
	color: #a50d25;
	text-decoration: underline;
}
main .search-result-description {
	margin: 0;
	color: #4b5563;
}
main .search-result-extra {
	margin: 0.45rem 0 0;
	color: #4b5563;
	font-size: 0.9rem;
}
main .search-result-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.7rem 0.8rem;
	margin: 0;
}
main .search-result-facts > div {
	min-width: 0;
}
main .search-result-facts dt {
	color: #5b6673;
	font-size: 0.78rem;
	font-weight: 600;
}
main .search-result-facts dd {
	margin: 0.1rem 0 0;
	color: #202833;
	font-size: 0.92rem;
	font-weight: 650;
}
main .search-result-actions,
main .search-result-options,
main .search-result-more-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
main .search-result-holder-actions {
	grid-column: 1 / -1;
}
main .search-result-options,
main .search-result-more-row {
	flex-basis: 100%;
	min-width: 0;
}
main .search-result-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.4rem 0.7rem;
	border: 1px solid #c8102e;
	border-radius: 0.35rem;
	color: #a50d25;
	font-size: 0.88rem;
	font-weight: 650;
	line-height: 1.3;
	text-decoration: none;
}
main .search-result-actions a:hover,
main .search-result-actions a:focus-visible {
	background: #c8102e;
	color: #fff;
}
main .search-result-actions .search-result-details-button {
	border-color: #1d4ed8;
	background: #1d4ed8;
	color: #fff;
}
main .search-result-actions .search-result-details-button:hover,
main .search-result-actions .search-result-details-button:focus-visible {
	border-color: #1e3a8a;
	background: #1e3a8a;
}
main .search-result-actions .search-result-details-button:focus-visible {
	outline: 2px solid #1e3a8a;
	outline-offset: 2px;
}
main .search-result-actions .search-result-more-button {
	border-color: #166534;
	color: #166534;
}
main .search-result-actions .search-result-more-button:hover,
main .search-result-actions .search-result-more-button:focus-visible {
	background: #f0fdf4;
	color: #166534;
}
main .search-result-actions a.accessory-sealed-collet,
main .product-detail-actions a.accessory-sealed-collet {
	border-color: #1d4ed8;
	background: #fff;
	color: #1d4ed8;
}
main .search-result-actions a.accessory-sealed-collet:hover,
main .search-result-actions a.accessory-sealed-collet:focus-visible,
main .product-detail-actions a.accessory-sealed-collet:hover,
main .product-detail-actions a.accessory-sealed-collet:focus-visible {
	border-color: #1d4ed8;
	background: #eff6ff;
	color: #1d4ed8;
}
main .search-result-actions a.accessory-non-sealed-collet,
main .product-detail-actions a.accessory-non-sealed-collet {
	border-color: #000;
	background: #fff;
	color: #000;
}
main .search-result-actions a.accessory-non-sealed-collet:hover,
main .search-result-actions a.accessory-non-sealed-collet:focus-visible,
main .product-detail-actions a.accessory-non-sealed-collet:hover,
main .product-detail-actions a.accessory-non-sealed-collet:focus-visible {
	border-color: #000;
	background: #f3f4f6;
	color: #000;
}
@media (max-width: 767.98px) {
	main .search-result {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 400px) {
	main .search-result-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

body {
	font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.55;
	letter-spacing: 0;
}

main.theme-content {
	max-width: 1140px;
}

/* Headings */
main h1, main h2, main h3, main h4, main h5, main h6 {
	font-family: inherit;
	font-weight: 650;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: #202833;
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
}

main h1 {
	font-size: clamp(2rem, 3.5vw, 2.7rem);
	font-weight: 750;
	letter-spacing: -0.035em;
	line-height: 1.1;
	margin-top: 0;
	margin-bottom: 1rem;
}

main h2 { font-size: 1.7rem; }
main h3 { font-size: 1.35rem; }
main h4 { font-size: 1.15rem; }
main h5 { font-size: 1rem; }
main h6 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* A heading that directly follows another heading needs no extra top space */
main h1 + h2, main h1 + h3, main h1 + h4, main h1 + h5, main h1 + h6,
main h2 + h3, main h2 + h4, main h2 + h5, main h2 + h6 {
	margin-top: 0;
}

/* Text */
main p {
	margin-top: 0;
	margin-bottom: 1rem;
}

main ul, main ol {
	margin-top: 0;
	margin-bottom: 1rem;
	padding-left: 1.5rem;
}

main li {
	margin-bottom: 0.25rem;
}

main strong, main b {
	font-weight: 700;
}

main hr {
	margin: 2rem 0;
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.15);
	opacity: 1;
}

main figure {
	margin-bottom: 1rem;
}

main figcaption {
	font-size: 0.9rem;
}

main a.selection-card {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(10rem, calc(50% - 0.5rem));
	min-height: 3.5rem;
	margin: 0 0.4rem 0.5rem 0;
	padding: 0.6rem;
	border: 1px solid #dfe3e7;
	border-radius: 0.5rem;
	background: #fff;
	color: #202833;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	vertical-align: top;
}

main a.selection-card:hover,
main a.selection-card:focus-visible {
	border-color: #c8102e;
	background: #fff1f3;
	color: #a50d25;
	box-shadow: 0 0.2rem 0.6rem rgba(200, 16, 46, 0.12);
}

.accessory-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(150px, 230px);
	gap: 1.5rem;
	align-items: start;
}

.accessory-image {
	display: grid;
	place-items: center;
	padding: 1rem;
	border-radius: 0.6rem;
	background: #f5f6f7;
}

.accessory-image img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 270px;
	height: auto;
	object-fit: contain;
}

.accessory-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

main .accessory-options a.selection-card {
	flex: 1 1 8rem;
	width: auto;
	min-width: 0;
	margin: 0;
}

main .results-page-size {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 1rem 0;
}

main .results-page-size-label {
	margin-right: 0.35rem;
	font-weight: 600;
}

main .results-page-size a,
main .results-page-size [aria-current] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3rem;
	padding: 0.35rem 0.7rem;
	border: 1px solid #c8102e;
	border-radius: 0.35rem;
	color: #a50d25;
	text-decoration: none;
}

main .results-page-size [aria-current],
main .results-page-size a:hover,
main .results-page-size a:focus-visible {
	background: #c8102e;
	color: #fff;
}

.accessory-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

@media (max-width: 767.98px) {
	.accessory-layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Tables */
main table {
	margin-bottom: 1rem;
}

main table th,
main table td {
	vertical-align: middle;
}

main table:not(.table-dark) > thead:not(.table-dark) > tr > th:not(.table-dark) {
	--bs-table-bg: #f5f6f7;
	--bs-table-accent-bg: transparent;
	background-color: #f5f6f7;
	color: #202833;
	border-bottom: 3px solid #c8102e;
}

main .table > :not(caption) > * > * {
	padding: 0.4rem 0.6rem;
}

