.cds-step {
	margin-bottom: 50px;
	scroll-margin-top: 140px;
}

.cds-step-number {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: #cc1b1b;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
}

.cds-step-title {
	display: flex;
	flex-direction: row;
	margin-bottom: 18px;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.cds-step-head {
	margin-bottom: 35px;
}

.cds-step-title h2 {
	font-size: 28px;
	font-weight: 700;
	color: #0a0a0a;
	margin: 0;
}

.cds-step-head p {
	font-size: 16px;
	color: #666;
	margin: 0;
	max-width: 650px;
}

/* .cds-vehicle-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
} */

.cds-vehicle-grid {
    overflow-y: hidden;
    padding-bottom: 10px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 25px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.cds-v-card {
	background: #fff;
	border: 1px solid #88888870;
	border-radius: 18px;
	padding: 20px;
	text-align: center;
	cursor: pointer;
	transition: 0.35s;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cds-v-card img {
	display: block;
	height: 85px;
	object-fit: contain;
	margin-bottom: 5px;
}

.cds-v-name,
.cds-v-card h4 {
	font-size: 22px;
	font-weight: 700;
	color: #0a0a0a;
	margin-bottom: 8px;
}

.cds-v-card span {
	color: #cc1b1b;
	font-size: 16px;
	font-weight: 700;
}

.cds-v-card:hover {
	border-color: #cc1b1b;
}

.cds-v-card.active {
	border-color: #cc1b1b;
	box-shadow: 0 0 15px 0 rgb(204 27 27 / 26%);
}

.cds-v-card.active::after {
	content: "✓";
	position: absolute;
	top: 15px;
	right: 15px;
	width: 34px;
	height: 34px;
	background: #cc1b1b;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

.cds-package-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.cds-package-card {
	position: relative;
	background: #fff;
	border: 1px solid #88888870;
	border-radius: 20px;
	padding: 30px;
	transition: 0.35s;
	display: flex;
	flex-direction: column;
	cursor: pointer;
}

.cds-package-card:hover {
	transform: translateY(-8px);
	border-color: #cc1b1b;
}

.cds-package-card.active {
	border-color: #cc1b1b;
	box-shadow: 0 0 15px 0 rgb(204 27 27 / 26%);
}

.cds-package-card {
    position: relative;
}

.package-check {
    display: none;
}

.cds-package-card .checkmark {
	margin-bottom: 20px;
}

.package-check:checked + .checkmark,
.cds-package-card.active .checkmark {
    background: #cc1b1b;
    border-color: #cc1b1b;
}

.package-check:checked + .checkmark::after,
.cds-package-card.active .checkmark::after {
    content: "✓";
    color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
}

.cds-pop-badge {
	position: absolute;
	top: -1px;
	right: -1px;
	background: #cc1b1b;
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	padding: 4px 14px;
	border-radius: 0 14px 0 8px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.cds-package-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 20px;
	flex-wrap: wrap !important;
	gap: 10px;
}

.cds-package-top h3 {
	font-size: 24px;
	margin: 0;
	color: #0a0a0a;
	font-weight: 700;
}

.cds-price {
	text-align: right;
}

.cds-price .price {
	display: block;
	font-size: 34px;
	font-weight: 700;
	color: #cc1b1b;
}

.cds-price small {
	color: #0a0a0a;
	font-size: 14px;
}

.cds-package-card ul {
	margin: 0;
	padding-left: 18px;
	flex: 1;
}

.cds-package-card li {
	margin-bottom: 10px;
	color: #0a0a0a;
}

.cds-package-card ul,
.addon-content ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.cds-package-card ul li,
.addon-content ul li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 12px;
	color: #0a0a0a;
}

.cds-package-card ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 20px;
	height: 20px;
	background: var(--cds-check-icon) no-repeat center;
	background-size: contain;
}

.addon-content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: -2px;
	width: 20px;
	height: 20px;
	background: var(--cds-check-icon) no-repeat center;
	background-size: contain;
}

.cds-package-card button,
.cds-book-btn {
	position: relative;
	overflow: hidden;
	z-index: 1;
	margin-top: 20px;
	width: 100%;
	border: none !important;
	background: #cc1b1b !important;
	color: #fff;
	border-radius: 35px;
	height: 52px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: 0.3s;
}

.cds-package-card button::before,
.cds-book-btn::before {
	content: "";
	position: absolute;
	left: -15%;
	top: -200%;
	width: 130%;
	height: 200%;
	background-color: #0a0a0a;
	border-radius: 100%;
	transition: all 0.8s ease;
	z-index: -1;
}

.cds-package-card button:hover,
.cds-book-btn:hover {
	border-color: #fff !important;
	transition: all 0.8s ease;
}

.cds-package-card button:hover::before,
.cds-book-btn:hover::before {
	top: -50%;
}

.cds-addon-wrapper {
	display: flex;
	gap: 30px;
	align-items: stretch;
	flex-direction: column;
}

.cds-addon-column {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.cds-addon-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
	color: #0a0a0a;
}

.cds-addon-list {
	flex: 1;
	display: flex;
	flex-direction: row;
	gap: 30px;
	justify-content: space-between;
}

.cds-addon-card {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	padding: 24px;
	background: #fff;
	border: 1px solid #88888870;
	border-radius: 16px;
	cursor: pointer;
	transition: 0.35s;
	width: 50%;
}

.cds-addon-card:hover {
	border-color: #cc1b1b;
}

.cds-addon-card input {
	display: none;
}

.checkmark {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 2px solid #ccc;
	flex: none;
	position: relative;
}

.cds-addon-card input:checked + .checkmark {
	background: #cc1b1b;
	border-color: #cc1b1b;
}

.cds-addon-card input:checked + .checkmark::after {
	content: "✓";
	position: absolute;
	color: #fff;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 14px;
}

.cds-addon-card.active {
	border-color: #cc1b1b;
	box-shadow: 0 0 15px 0 rgb(204 27 27 / 26%);
}

.addon-content {
	flex: 1;
}

.addon-content h4 {
	font-size: 22px;
	color: #0a0a0a;
	margin: 0 0 5px;
}

.addon-content p {
	color: #0a0a0a;
	font-size: 14px;
	margin: 0 0 10px;
}

.addon-price {
	color: #cc1b1b;
	margin-bottom: 15px;
	font-weight: 700;
}

.cds-summary {
	background: #fff;
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 20px 55px rgba(0, 0, 0, 0.05);
	border: 1px solid #88888870;
}

.summary-row {
	display: flex;
	justify-content: space-between;
	gap: 25px;
	padding: 18px 0;
	border-bottom: 1px solid #eee;
}

.summary-row span {
	color: #0a0a0a;
	font-weight: 700;
}

.summary-row strong {
	color: #0a0a0a;
	font-weight: 500;
	text-align: end;
}

.summary-total {
	margin-top: 25px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.summary-total span {
	font-size: 20px;
	font-weight: 700;
}

.summary-total strong {
	color: #cc1b1b;
	font-size: 42px;
	font-weight: 800;
}

@media (max-width: 991px) {
	.e-con.e-flex > .e-con-inner {
		align-items: unset;
	}

	.cds-package-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.cds-v-card h4 {
		font-size: 20px;
	}

	.cds-step-title h2 {
		font-size: 24px;
	}

	.cds-step-number {
		width: 38px;
		height: 38px;
	}

	.cds-addon-card {
		flex-direction: column;
	}
}

@media (max-width: 767px) {
	.cds-step {
		margin-bottom: 40px;
	}

	.cds-v-card {
		padding: 20px;
	}

	.cds-package-card {
		padding: 24px;
	}

	.cds-summary {
		padding: 25px;
	}

	.summary-row {
		flex-direction: column;
		gap: 6px;
	}

	.summary-total {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.summary-total strong {
		font-size: 34px;
	}

	.summary-row strong {
		text-align: left;
	}
}

@media (max-width: 700px) {
	.cds-package-grid {
		grid-template-columns: repeat(1, 1fr);
	}

	.cds-vehicle-grid {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		gap: 15px;
		padding-bottom: 10px;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
	}

	.cds-v-card {
		flex: 0 0 220px;
		min-width: 220px;
		scroll-snap-align: start;
	}

	.cds-addon-list {
		flex-direction: column;
	}

	.cds-addon-card {
		width: 100%;
	}
}

.cds-package-card.is-unavailable {
	display: none;
}

.cds-empty-message,
.cds-addon-empty-message {
	color: #646970;
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
	text-align: center;
}

.cds-empty-message {
	grid-column: 1 / -1;
	padding: 24px 16px;
}

.cds-addon-empty-message {
	padding: 16px 0;
	text-align: left;
}

.cds-addon-column:only-child .cds-addon-empty-message,
.cds-empty-message[data-cds-addons-empty] {
	text-align: center;
}

.cds-detailing-calculator--hide-vehicle [data-cds-step='vehicle'] {
	display: none;
}

.cds-detailing-calculator--hide-summary [data-cds-step='summary'] {
	display: none;
}

.cds-detailing-calculator--hide-book .cds-book-btn-wrap {
	display: none;
}

.cds-detailing-calculator--has-external-summary [data-cds-step='summary'] {
	display: none;
}

.cds-detailing-calculator--inquiry-summary {
	margin-bottom: 0;
}

body.mcpherson-inquiry-form-submitted [data-cds-detailing],
body.mcpherson-inquiry-form-submitted [data-cds-detailing-summary] {
	display: none !important;
}
