.ma-vehicle-detail {
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px 24px 80px;
}

/* --- Layout: gallery + info --- */

.ma-vehicle-detail__layout {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	margin-bottom: 64px;
}

/* --- Gallery --- */

.ma-vehicle-gallery {
	flex: 1 1 55%;
	min-width: 0;
}

.ma-vehicle-gallery__main {
	position: relative;
}

.ma-vehicle-gallery__frame {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 14px;
	background-color: #eee;
	background-size: cover;
	background-position: center;
}

.ma-vehicle-gallery__frame::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: inherit;
	background-size: cover;
	background-position: center;
	filter: blur(24px) brightness(0.85);
	transform: scale(1.2);
}

.ma-vehicle-gallery__image {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ma-vehicle-gallery__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: #D2232A;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
	transition: background-color 0.2s ease;
}

.ma-vehicle-gallery__nav:hover {
	background: #A81B22;
}

.ma-vehicle-gallery__nav--prev {
	left: 12px;
}

.ma-vehicle-gallery__nav--next {
	right: 12px;
}

.ma-vehicle-gallery__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.ma-vehicle-gallery__thumb {
	flex: 0 0 auto;
	width: 88px;
	height: 64px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	background: none;
	cursor: pointer;
	opacity: 0.7;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.ma-vehicle-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ma-vehicle-gallery__thumb:hover {
	opacity: 1;
}

.ma-vehicle-gallery__thumb.is-active {
	border-color: #D2232A;
	opacity: 1;
}

/* --- Info panel --- */

.ma-vehicle-info {
	flex: 1 1 40%;
	min-width: 280px;
}

.ma-vehicle-info__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.ma-vehicle-info__stock {
	background: #D2232A;
	color: #ffffff;
	font-weight: 700;
	font-size: 0.85rem;
	padding: 6px 14px;
	border-radius: 999px;
}

.ma-vehicle-info__chassis {
	color: #9a9a9a;
	font-size: 0.85rem;
}

.ma-vehicle-info__title {
	color: #3d3636;
	font-size: 2rem;
	font-weight: 800;
	margin: 0 0 8px;
}

.ma-vehicle-info__spec-line {
	color: #7a7a7a;
	font-weight: 600;
	margin: 0 0 16px;
}

.ma-vehicle-info__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 12px;
}

.ma-vehicle-info__price-regular {
	color: #9a9a9a;
	text-decoration: line-through;
	font-size: 1.1rem;
}

.ma-vehicle-info__price-current {
	color: #D2232A;
	font-size: 2rem;
	font-weight: 800;
}

.ma-vehicle-info__price-badge {
	background: #D2232A;
	color: #ffffff;
	font-weight: 700;
	font-size: 0.8rem;
	padding: 4px 10px;
	border-radius: 999px;
}

.ma-vehicle-info__price-label {
	flex-basis: 100%;
	color: #9a9a9a;
	font-size: 0.85rem;
}

.ma-vehicle-info__location {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #3d3636;
	font-weight: 600;
	font-size: 0.9rem;
	border: 1px solid #e5e5e5;
	border-radius: 999px;
	padding: 8px 16px;
	margin-bottom: 20px;
}

.ma-vehicle-info__location svg {
	color: #D2232A;
	flex-shrink: 0;
}

.ma-vehicle-info__specs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 24px;
}

.ma-vehicle-info__spec-box {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #f7f5f2;
	border-radius: 10px;
	padding: 14px 16px;
}

.ma-vehicle-info__spec-box svg {
	color: #D2232A;
	flex-shrink: 0;
}

.ma-vehicle-info__spec-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ma-vehicle-info__spec-text em {
	font-style: normal;
	color: #9a9a9a;
	font-size: 0.8rem;
}

.ma-vehicle-info__spec-text strong {
	color: #3d3636;
	font-weight: 700;
	font-size: 0.95rem;
}

.ma-vehicle-info__reserve {
	display: block;
	width: 100%;
	text-align: center;
	background: #D2232A;
	color: #ffffff;
	border: none;
	border-radius: 999px;
	padding: 16px 24px;
	font-size: 1.05rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ma-vehicle-info__reserve:hover {
	background: #A81B22;
	transform: translateY(-1px);
}

/* --- Features --- */

.ma-vehicle-features {
	margin-bottom: 64px;
}

.ma-vehicle-features__heading {
	color: #3d3636;
	font-size: 1.5rem;
	font-weight: 800;
	margin: 0 0 20px;
}

.ma-vehicle-features__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.ma-vehicle-feature {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border-radius: 10px;
	background: #f0f0ee;
	color: #3d3636;
	font-weight: 600;
	font-size: 0.95rem;
}

.ma-vehicle-feature svg {
	flex-shrink: 0;
	color: #3d3636;
}

.ma-vehicle-feature.is-active {
	background: #fdeeee;
	color: #D2232A;
	border: 1px solid #f3c9c9;
}

.ma-vehicle-feature.is-active svg {
	color: #D2232A;
}

/* --- Related vehicles --- */

.ma-vehicle-related {
	margin-bottom: 20px;
}

.ma-vehicle-related__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}

/* --- Reserve Now modal --- */

body.ma-reserve-modal-open {
	overflow: hidden;
}

.ma-reserve-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.ma-reserve-modal.is-open {
	display: flex;
}

.ma-reserve-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(26, 26, 26, 0.6);
}

.ma-reserve-modal__dialog {
	position: relative;
	z-index: 1;
	background: #ffffff;
	border-radius: 14px;
	padding: 32px;
	width: 100%;
	max-width: 420px;
	max-height: 90vh;
	overflow-y: auto;
}

.ma-reserve-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: none;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	color: #9a9a9a;
	cursor: pointer;
}

.ma-reserve-modal__close:hover {
	color: #3d3636;
}

.ma-reserve-modal__heading {
	color: #3d3636;
	font-size: 1.4rem;
	font-weight: 800;
	margin: 0 0 6px;
}

.ma-reserve-modal__vehicle {
	color: #D2232A;
	font-weight: 600;
	margin: 0 0 20px;
}

.ma-reserve-modal__notice {
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 0.9rem;
	margin-bottom: 16px;
}

.ma-reserve-modal__notice--success {
	background: #eaf7ee;
	color: #1e7a3d;
}

.ma-reserve-modal__notice--error {
	background: #fdeeee;
	color: #A81B22;
}

.ma-reserve-modal__row {
	margin-bottom: 16px;
}

.ma-reserve-modal__row label {
	display: block;
	color: #3d3636;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 6px;
}

.ma-reserve-modal__row input,
.ma-reserve-modal__row textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-family: inherit;
	font-size: 0.95rem;
	box-sizing: border-box;
	resize: vertical;
}

.ma-reserve-modal__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ma-reserve-modal__submit {
	display: block;
	width: 100%;
	text-align: center;
	background: #D2232A;
	color: #ffffff;
	border: none;
	border-radius: 999px;
	padding: 14px 20px;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.ma-reserve-modal__submit:hover {
	background: #A81B22;
}

/* --- Responsive --- */

@media (max-width: 900px) {
	.ma-vehicle-detail__layout {
		flex-direction: column;
	}

	.ma-vehicle-gallery,
	.ma-vehicle-info {
		flex: 1 1 auto;
		width: 100%;
	}

	.ma-vehicle-features__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.ma-vehicle-info__specs {
		grid-template-columns: 1fr;
	}

	.ma-vehicle-features__grid {
		grid-template-columns: 1fr;
	}

	.ma-vehicle-gallery__frame {
		aspect-ratio: 4 / 3;
		border-radius: 10px;
	}

	.ma-vehicle-gallery__nav {
		width: 34px;
		height: 34px;
	}
}
