.cp-shortcodes {
	margin: 1.5rem 0;
}

.cp-empty {
	margin: 1rem 0;
}

.cp-sphere-selector__form {
	margin-bottom: 1.25rem;
}

.cp-sphere-selector__table select {
	min-width: 12rem;
	padding: 0.35rem 0.5rem;
}

.cp-parts-browser {
	margin-top: 1.75rem;
}

.cp-parts-browser__filters {
	display: flex;
	align-items: stretch;
	gap: 0.75rem;
	margin: 0 0 1.5rem;
}

.cp-parts-browser__makes,
select.cp-parts-browser__models {
	display: block;
	min-height: 2.75rem;
	height: auto;
	margin: 0;
	padding: 0.35rem 2.5rem 0.35rem 0.75rem;
	box-sizing: border-box;
	font-size: 1.5rem;
	line-height: 1.2;
	font-weight: 600;
	color: #111;
	border: 1px solid #111;
	border-radius: 0;
	background-color: #fff;
	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 fill='%23111' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 0.75rem 0.5rem;
	appearance: none;
	cursor: pointer;
}

.cp-parts-browser__makes {
	flex: 0 0 30%;
	width: 30%;
	max-width: 30%;
}

select.cp-parts-browser__models {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
}

.cp-parts-browser__makes:focus,
select.cp-parts-browser__models:focus {
	outline: 2px solid #111;
	outline-offset: 2px;
}

@media (max-width: 900px) {
	.cp-parts-browser__makes {
		flex: 0 0 50%;
		width: 50%;
		max-width: 50%;
	}
}

.cp-parts-browser__models {
	margin-top: 0;
}

.cp-parts-browser__groups {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr));
	gap: 0.35rem 0.25rem;
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.cp-parts-browser__groups::after,
.cp-parts-browser__subgroups::after {
	content: '';
	display: block;
	grid-column: 1 / -1;
	height: 4px;
	margin-top: 1.25rem;
	background: #111;
}

.cp-parts-browser__group {
	text-align: center;
}

.cp-parts-browser__group a {
	display: block;
	padding: 0.45rem 0.25rem;
	text-decoration: none;
	color: inherit;
	border: 2px solid transparent;
	border-radius: 4px;
}

.cp-parts-browser__group img {
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto 0.35rem;
	object-fit: contain;
}

.cp-parts-browser__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 0.35rem;
	font-size: 1.75rem;
}

.cp-parts-browser__icon i {
	font-size: inherit;
	line-height: 1;
}

.cp-parts-browser__group a > span:last-child {
	display: block;
	font-size: 0.85rem;
}

.cp-parts-browser__group.is-selected a {
	border-color: #111;
	font-weight: 700;
}

.cp-parts-browser__subgroups {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
	gap: 0.35rem;
	list-style: none;
	margin: 1rem 0 1.5rem;
	padding: 0;
}

.cp-parts-browser__groups:has(+ .cp-parts-browser__subgroups) {
	margin-bottom: 0;
}

.cp-parts-browser__groups:has(+ .cp-parts-browser__subgroups)::after {
	display: none;
}

.cp-parts-browser__subgroup a {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 52px;
	padding: 0.4rem 0.5rem;
	text-align: center;
	text-decoration: none;
	color: inherit;
	border: 2px solid #111;
	border-radius: 4px;
	font-size: 0.85rem;
	line-height: 1.2;
	overflow: hidden;
}

.cp-parts-browser__subgroup a span {
	display: block;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.cp-parts-browser__subgroup.is-selected a {
	background: #111;
	color: #fff;
	font-weight: 700;
}

.cp-sphere-selector__table,
.entry-content .cp-sphere-selector__table {
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
}

.cp-sphere-selector__table {
	margin: 0 0 1.25rem;
}

.cp-sphere-selector__table th,
.cp-sphere-selector__table td,
.entry-content .cp-sphere-selector__table th,
.entry-content .cp-sphere-selector__table td {
	border: 0;
	background: transparent;
}

.cp-sphere-selector__table th {
	padding: 0.35rem 1.25rem 0.35rem 0;
	text-align: left;
	font-weight: 600;
	white-space: nowrap;
	width: 8rem;
}

.cp-sphere-selector__table td {
	padding: 0.35rem 0;
}

.cp-sphere-matrix {
	display: block;
	margin: 0 0 1rem;
}

.cp-sphere-matrix::after {
	content: "";
	display: table;
	clear: both;
}

.cp-sphere-matrix__cell {
	float: left;
	box-sizing: border-box;
	margin: 0 1.5rem 1.5rem 0;
}

.cp-sphere-matrix__title {
	font-weight: 600;
	margin: 0 0 0.5rem;
}

.cp-sphere-matrix__or {
	display: block;
	margin: 0.35rem 0;
	font-size: 0.9rem;
	opacity: 0.7;
}

.cp-sphere-matrix__option {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem;
}

.cp-sphere-matrix__code {
	font-weight: 600;
	text-decoration: none;
}

.cp-sphere-matrix__qty {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.85rem;
	opacity: 0.85;
}

.cp-sphere-matrix__qty input.qty {
	width: 3.5rem;
	padding: 0.2rem 0.35rem;
}

.cp-add-all {
	margin: 0 0 1rem;
}

.cp-product-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cp-product-list__item {
	display: flex;
	gap: 1rem;
	align-items: center;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.cp-product-list__image {
	flex: 0 0 80px;
}

.cp-product-list__image img {
	display: block;
	width: 80px;
	height: 80px;
	object-fit: cover;
}

.cp-product-list__body {
	flex: 1 1 auto;
	min-width: 0;
}

.cp-product-list__name {
	display: block;
	font-weight: 600;
	text-decoration: none;
}

.cp-product-list__codes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	font-size: 0.9rem;
	opacity: 0.85;
}

.cp-product-list__price {
	margin-top: 0.25rem;
	font-weight: 600;
}

.cp-product-list__cart {
	margin-top: 0.35rem;
}

@media (max-width: 600px) {
	.cp-product-list__item {
		align-items: flex-start;
	}
}

.cp-hero,
.entry-content[data-ast-blocks-layout] > .cp-hero,
.entry-content > .cp-hero.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	border-bottom: 4px solid #111;
	overflow: hidden;
}

.entry-content .cp-hero,
.entry-content .cp-hero img {
	max-width: none;
}

.cp-hero__img {
	display: block;
	width: 100%;
	height: min(32rem, 55vh);
	object-fit: cover;
	object-position: center;
}

.cp-product-grid {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cp-product-grid::after {
	content: "";
	display: table;
	clear: both;
}

.cp-product-card {
	float: left;
	box-sizing: border-box;
	width: auto;
	height: 220px;
	margin: 0 1.25rem 1.75rem 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	overflow: hidden;
}

.cp-product-card__image {
	display: block;
	flex: 1 1 auto;
	align-self: flex-start;
	min-height: 0;
	height: 0;
	width: auto;
	aspect-ratio: 1 / 1;
	margin-bottom: 0.35rem;
	overflow: hidden;
}

.cp-product-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center;
}

.cp-product-card__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 0 0 auto;
	align-self: stretch;
	width: 0;
	min-width: 100%;
	font-weight: 600;
	text-decoration: none;
	color: inherit;
	line-height: 1.25;
	font-size: 0.9rem;
}

.cp-product-card__sku {
	margin: 0.1rem 0 0.25rem;
	flex: 0 0 auto;
	align-self: stretch;
	width: 0;
	min-width: 100%;
	font-size: 0.75rem;
	opacity: 0.7;
}

.cp-product-card__add,
.cp-product-card a.button,
.cp-product-card a.button.loading,
.cp-product-card a.button.added {
	display: inline-flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 0;
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 120px !important;
	padding-left: 10px !important;
	padding-right: 10px !important;
	margin-top: auto;
	margin-bottom: 0 !important;
	text-decoration: none;
}

.cp-product-card__add i {
	font-size: 1.25em;
	line-height: 1;
}

.cp-product-card__add.added {
	opacity: 0.65;
}

.cp-product-card .added_to_cart {
	display: none;
}

.cp-product-card__add.is-disabled {
	opacity: 0.55;
	pointer-events: none;
}

.cp-pagination {
	margin: 1.75rem 0 0.5rem;
}

.cp-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cp-pagination .page-numbers a,
.cp-pagination .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	padding: 0.25rem 0.45rem;
	text-decoration: none;
	color: inherit;
}

.cp-pagination .page-numbers .current {
	font-weight: 700;
	border-bottom: 2px solid #111;
}

.woocommerce-shop ul.products,
.woocommerce-shop .woocommerce-result-count,
.woocommerce-shop .woocommerce-ordering,
.woocommerce-shop nav.woocommerce-pagination {
	display: none;
}

.home .site-content {
	padding-bottom: 0;
}

body:not(.home) .entry-content > .cp-hero + * {
	margin-top: 2.5rem;
}

.cp-trust,
.entry-content[data-ast-blocks-layout] > .cp-trust,
.entry-content > .cp-trust.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: 2.5rem;
	margin-bottom: 0;
	padding: 2.25rem 1.5rem;
	background: #d7c7a8;
	color: #111;
}

.entry-content .cp-trust {
	max-width: none;
}

.cp-trust--empty {
	padding-top: 1.1rem;
	padding-bottom: 1.1rem;
}

.cp-trust__inner {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.25rem 1.5rem;
	list-style: none;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0;
	padding-left: 0 !important;
	text-align: center;
}

.cp-trust__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
}

.cp-trust__icon {
	font-size: 1.85rem;
	line-height: 1;
}

.cp-trust__title,
.cp-trust__label {
	font-weight: 700;
	font-size: 0.95rem;
}

.cp-trust__text {
	max-width: 14rem;
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1.35;
}

@media (max-width: 900px) {
	.cp-trust__inner {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {
	.cp-trust__inner {
		grid-template-columns: repeat(2, 1fr);
	}
}

.cp-ignition__brands {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	align-items: center;
	margin: 0 0 1.25rem;
}

.cp-ignition__brand {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 5.5rem;
	height: 3.25rem;
	padding: 0.35rem 0.5rem;
	border: 1px solid transparent;
	box-sizing: border-box;
}

.cp-ignition__brand img {
	display: block;
	max-width: 100%;
	max-height: 2.5rem;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.7;
}

.cp-ignition__brand:hover img,
.cp-ignition__brand.is-selected img {
	filter: none;
	opacity: 1;
}

.cp-ignition__brand.is-selected {
	border-color: #111;
}

.cp-ignition__form {
	margin-bottom: 1.25rem;
}

.cp-ignition__fits {
	margin: 0.35rem 0 0;
	font-size: 0.9rem;
	color: #444;
}

.cp-ignition__enquire {
	display: inline-block;
	font-weight: 600;
}

.cp-manuals__heading {
	margin: 0 0 0.75rem;
	font-size: 1.1rem;
}

.cp-manuals__selected {
	margin: 0 0 1.5rem;
}

.cp-manuals__full {
	display: block;
	width: 100%;
	max-width: 36rem;
	height: auto;
	margin: 0 0 1rem;
}

.cp-manuals__parts,
.entry-content .cp-manuals__parts {
	width: 100%;
	max-width: 48rem;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0 0 1.25rem;
}

.cp-manuals__parts td,
.entry-content .cp-manuals__parts td {
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	background: transparent;
	padding: 0.55rem 0.75rem 0.55rem 0;
	vertical-align: middle;
}

.cp-manuals__parts tr:first-child td {
	border-top: 0;
}

.cp-manuals__index {
	width: 2.5rem;
	white-space: nowrap;
	color: #555;
}

.cp-manuals__sku {
	width: 8rem;
	white-space: nowrap;
}

.cp-manuals__sku a,
.cp-manuals__name a {
	text-decoration: none;
	color: inherit;
}

.cp-manuals__sku a:hover,
.cp-manuals__name a:hover {
	text-decoration: underline;
}

.cp-manuals__text {
	margin-top: 0.2rem;
	font-size: 0.9rem;
	color: #555;
}

.cp-manuals__cart {
	width: 8rem;
	text-align: right;
}

.cp-manuals__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cp-manuals__plate a {
	display: block;
	padding: 0.2rem;
	border: 2px solid transparent;
	line-height: 0;
}

.cp-manuals__plate.is-selected a {
	border-color: #111;
}

.cp-manuals__plate img {
	display: block;
	width: 100%;
	height: auto;
}
