/**
 * MSDB Powersports Inventory Showroom & Single Vehicle Detail Stylesheet
 *
 * @package MSDB_Powersports_Inventory
 * @author  MS Digital Branding
 */

/* ==========================================================================
   1. SHOWROOM HERO & ARCHIVE HEADER
   ========================================================================== */
.msdb-inventory-hero {
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
	border-bottom: 1px solid #e2e8f0;
	padding: 2.5rem 0 2rem;
	margin-bottom: 2rem;
}

.msdb-breadcrumbs {
	font-size: 0.82rem;
	color: #64748b;
	margin-bottom: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 500;
	flex-wrap: wrap;
}

.msdb-breadcrumbs a {
	color: #475569;
	text-decoration: none;
	transition: color 0.2s;
}

.msdb-breadcrumbs a:hover {
	color: #e11d48;
}

.msdb-breadcrumbs .sep {
	color: #475569;
}

.msdb-breadcrumbs .current {
	color: #e11d48;
	font-weight: 700;
}

.msdb-inventory-page-title {
	font-size: 2.25rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	color: #0f172a;
	margin: 0 0 0.5rem 0;
	line-height: 1.15;
}

.msdb-inventory-page-subtitle {
	color: #64748b;
	font-size: 0.95rem;
	max-width: 800px;
	margin: 0;
	line-height: 1.5;
}

/* ==========================================================================
   2. INVENTORY SHOWROOM LAYOUT & GRID
   ========================================================================== */
.msdb-inventory-main-wrap {
	margin-bottom: 4rem;
}

.msdb-inventory-layout {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
}

.msdb-inventory-sidebar-col {
	width: 290px;
	flex-shrink: 0;
}

.msdb-inventory-results-col {
	flex: 1;
	min-width: 0;
}

/* ==========================================================================
   3. FILTER SIDEBAR (DESKTOP & MOBILE DRAWER)
   ========================================================================== */
.msdb-filter-sidebar {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1.25rem;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.msdb-filter-sidebar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e2e8f0;
	margin-bottom: 1rem;
}

.header-title-wrap {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.filter-sidebar-title {
	font-size: 1rem;
	font-weight: 800;
	text-transform: uppercase;
	color: #0f172a;
	letter-spacing: 0.05em;
	margin: 0;
	font-family: var(--msdb-font-heading, 'Oswald', sans-serif);
}

.filter-icon {
	color: #dc2626;
	font-size: 1.1rem;
}

.msdb-reset-filters-link {
	background: none;
	border: none;
	color: #dc2626;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
	padding: 0.2rem 0.4rem;
	border-radius: 4px;
	transition: all 0.2s;
}

.msdb-reset-filters-link:hover {
	color: #991b1b;
	background: #fee2e2;
}

.msdb-close-filter-drawer {
	display: none;
	background: #1e293b;
	border: none;
	color: #0f172a;
	font-size: 1.5rem;
	line-height: 1;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

/* Accordions */
.msdb-filter-accordion {
	border-bottom: 1px solid #f1f5f9;
	padding: 0.85rem 0;
}

.msdb-filter-accordion:last-child {
	border-bottom: none;
}

.accordion-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: none;
	border: none;
	color: #1e293b;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	padding: 0.25rem 0;
	text-align: left;
}

.accordion-arrow {
	color: #64748b;
	font-size: 0.85rem;
	transition: transform 0.2s ease;
}

.msdb-filter-accordion.is-open .accordion-arrow {
	transform: rotate(180deg);
}

.accordion-body {
	display: none;
	padding-top: 0.75rem;
}

.msdb-filter-accordion.is-open .accordion-body {
	display: block;
}

/* Filter Checkbox List */
.filter-scroll-list {
	max-height: 180px;
	overflow-y: auto;
	padding-right: 0.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.filter-scroll-list::-webkit-scrollbar {
	width: 4px;
}

.filter-scroll-list::-webkit-scrollbar-thumb {
	background: #334155;
	border-radius: 4px;
}

.msdb-checkbox-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	font-size: 0.82rem;
	color: #64748b;
	user-select: none;
	transition: color 0.15s;
}

.msdb-checkbox-label:hover {
	color: #0f172a;
}

.msdb-checkbox-label input[type="checkbox"] {
	accent-color: #e11d48;
	width: 15px;
	height: 15px;
	cursor: pointer;
	border-radius: 3px;
}

.msdb-checkbox-label .item-count {
	font-size: 0.72rem;
	color: #475569;
	margin-left: auto;
}

/* Condition Pill Grid */
.filter-pill-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
}

.filter-pill-checkbox {
	position: relative;
	margin: 0;
}

.filter-pill-checkbox input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.filter-pill-checkbox .pill-text {
	display: block;
	width: 100%;
	text-align: center;
	padding: 0.5rem 0.25rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	color: #475569;
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	transition: all 0.2s;
}

.filter-pill-checkbox input:checked + .pill-text {
	background: #dc2626;
	border-color: #dc2626;
	color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

/* Range Inputs */
.range-inputs-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.range-col {
	flex: 1;
}

.range-sublabel {
	display: block;
	font-size: 0.7rem;
	color: #64748b;
	text-transform: uppercase;
	margin-bottom: 0.2rem;
	font-weight: 600;
}

.range-separator {
	color: #64748b;
	font-weight: bold;
}

.msdb-input-field,
.msdb-select-field,
.form-input {
	width: 100%;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #1e293b;
	padding: 0.55rem 0.75rem;
	border-radius: 6px;
	font-size: 0.85rem;
	outline: none;
	transition: border-color 0.2s;
}

.msdb-input-field:focus,
.msdb-select-field:focus,
.form-input:focus {
	border-color: #e11d48;
}

.price-slider-display {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.82rem;
	font-weight: 800;
	color: #0ea5e9;
	margin-bottom: 0.4rem;
}

.msdb-filter-drawer-footer {
	display: none;
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #e2e8f0;
}

/* ==========================================================================
   4. TOOLBAR & ACTIVE FILTER CHIPS
   ========================================================================== */
.msdb-inventory-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 0.75rem 1.25rem;
	margin-bottom: 1rem;
	flex-wrap: wrap;
	gap: 1rem;
}

.msdb-units-count {
	font-size: 0.88rem;
	font-weight: 700;
	color: #475569;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.toolbar-right {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.msdb-sort-control {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.sort-label {
	font-size: 0.8rem;
	font-weight: 700;
	color: #64748b;
	text-transform: uppercase;
	white-space: nowrap;
}

.msdb-sort-dropdown {
	min-width: 170px;
}

.msdb-view-switcher {
	display: flex;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	overflow: hidden;
}

.view-btn {
	background: none;
	border: none;
	color: #64748b;
	padding: 0.4rem 0.6rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
}

.view-btn.active,
.view-btn:hover {
	background: #e11d48;
	color: #0f172a;
}

/* Active Filter Chips */
.msdb-active-filters-bar {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
	padding: 0.75rem 1rem;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.active-filters-label {
	font-size: 0.75rem;
	font-weight: 800;
	color: #0f172a;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-family: var(--msdb-font-heading, 'Oswald', sans-serif);
}

.active-chips-wrapper {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.msdb-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: #fee2e2;
	border: 1px solid #fecaca;
	color: #dc2626;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 0.3rem 0.75rem;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.msdb-filter-chip:hover {
	background: #dc2626;
	border-color: #dc2626;
	color: #ffffff;
}

.chip-remove-icon {
	font-weight: 900;
	font-size: 0.95rem;
	line-height: 1;
}

.msdb-clear-all-chips-btn {
	background: none;
	border: none;
	color: #dc2626;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
	padding: 0.2rem 0.4rem;
	margin-left: 0.5rem;
	text-decoration: underline;
	letter-spacing: 0.5px;
	transition: color 0.15s;
}

.msdb-clear-all-chips-btn:hover {
	color: #991b1b;
}

/* Mobile Filter Trigger Bar Responsive Rules */
.msdb-mobile-filter-bar {
	display: none;
}

@media (max-width: 1023px) {
	.msdb-mobile-filter-bar {
		display: block !important;
		margin-bottom: 1.5rem;
	}
	.msdb-inventory-layout {
		display: block !important;
	}
	.msdb-inventory-sidebar-col {
		display: none;
	}
}

@media (min-width: 1024px) {
	.msdb-mobile-filter-bar {
		display: none !important;
	}
	.msdb-inventory-sidebar-col {
		display: block !important;
	}
}

/* ==========================================================================
   5. VEHICLE CARDS & GRID
   ========================================================================== */
.msdb-inventory-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.msdb-vehicle-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
	position: relative;
}

.msdb-vehicle-card:hover {
	transform: translateY(-4px);
	border-color: #e11d48;
	box-shadow: 0 12px 30px -10px rgba(225, 29, 72, 0.25);
}

.msdb-card-image-wrap {
	position: relative;
	width: 100%;
	padding-top: 62.5%;
	background: #f8fafc;
	overflow: hidden;
}

.msdb-card-image-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.msdb-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.msdb-vehicle-card:hover .msdb-card-img {
	transform: scale(1.06);
}

.msdb-card-img-placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #0f172a 0%, #030712 100%);
	color: #64748b;
	gap: 0.5rem;
}

.placeholder-icon {
	font-size: 2rem;
}

.placeholder-text {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.msdb-card-badges {
	position: absolute;
	top: 10px;
	left: 10px;
	display: flex;
	gap: 6px;
	z-index: 2;
}

.msdb-badge-condition {
	background: rgba(3, 4, 7, 0.85);
	border: 1px solid #cbd5e1;
	color: #0f172a;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 4px;
	backdrop-filter: blur(4px);
}

.badge-new {
	background: #0ea5e9;
	border-color: #0ea5e9;
	color: #0f172a;
}

.badge-used {
	background: #f59e0b;
	border-color: #f59e0b;
	color: #000000;
}

.msdb-badge-status {
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 4px;
	color: #0f172a;
}

.badge-sold {
	background: #dc2626;
}

.badge-reserved {
	background: #ea580c;
}

.badge-incoming {
	background: #8b5cf6;
}

.msdb-featured-ribbon {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #e11d48;
	color: #0f172a;
	font-size: 0.65rem;
	font-weight: 900;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 4px;
	letter-spacing: 0.05em;
	box-shadow: 0 2px 8px rgba(225, 29, 72, 0.5);
	z-index: 2;
}

.msdb-card-body {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: space-between;
}

.msdb-card-meta-top {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.4rem;
}

.msdb-stock-badge {
	font-size: 0.7rem;
	font-weight: 700;
	color: #64748b;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 1px 6px;
	border-radius: 4px;
	text-transform: uppercase;
}

.msdb-vin-badge {
	font-size: 0.7rem;
	color: #64748b;
	font-family: monospace;
}

.msdb-card-title {
	font-size: 1.05rem;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.3;
	margin: 0 0 0.85rem 0;
}

.msdb-card-title a {
	color: #0f172a;
	text-decoration: none;
	transition: color 0.2s;
}

.msdb-card-title a:hover {
	color: #e11d48;
}

.msdb-card-specs-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem 0.75rem;
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	padding: 0.65rem 0.75rem;
	border-radius: 8px;
	margin-bottom: 1rem;
}

.spec-item {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.spec-label {
	font-size: 0.65rem;
	text-transform: uppercase;
	color: #64748b;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 2px;
}

.spec-val {
	font-size: 0.75rem;
	color: #475569;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.msdb-card-pricing {
	margin-bottom: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid #161f30;
}

.price-main {
	display: flex;
	align-items: baseline;
	gap: 0.25rem;
}

.price-currency {
	color: #e11d48;
	font-size: 1.1rem;
	font-weight: 900;
}

.price-amount {
	color: #0f172a;
	font-size: 1.45rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1;
}

.price-msrp {
	font-size: 0.75rem;
	color: #64748b;
	margin-left: 0.5rem;
}

.price-call {
	color: #0ea5e9;
	font-size: 1.15rem;
	font-weight: 900;
	text-transform: uppercase;
}

.price-est-monthly {
	font-size: 0.75rem;
	color: #64748b;
	margin-top: 0.25rem;
	display: flex;
	gap: 0.35rem;
}

.price-est-monthly strong {
	color: #10b981;
}

.msdb-card-actions {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0.4rem;
}

.msdb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 0.55rem 0.35rem;
	border-radius: 6px;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: all 0.2s;
	text-align: center;
}

.msdb-btn-view {
	background: #1e293b;
	color: #1e293b;
	border: 1px solid #cbd5e1;
}

.msdb-btn-view:hover {
	background: #334155;
	color: #0f172a;
}

.msdb-btn-quote {
	background: #e11d48;
	color: #0f172a;
	border: 1px solid #e11d48;
}

.msdb-btn-quote:hover {
	background: #be123c;
	box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4);
}

.msdb-btn-finance {
	background: transparent;
	color: #38bdf8;
	border: 1px solid #0284c7;
}

.msdb-btn-finance:hover {
	background: #0284c7;
	color: #0f172a;
}

.msdb-btn-primary {
	background: #e11d48;
	color: #0f172a;
	font-size: 0.85rem;
	padding: 0.75rem 1.25rem;
	font-weight: 800;
	border-radius: 6px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	transition: all 0.2s;
}

.msdb-btn-primary:hover {
	background: #be123c;
	box-shadow: 0 4px 15px rgba(225, 29, 72, 0.4);
}

/* ==========================================================================
   6. SINGLE VEHICLE DETAIL SHOWCASE (NEW)
   ========================================================================== */
.msdb-vehicle-single-page {
	background: #f8fafc;
	color: #475569;
	padding-bottom: 5rem;
}

.msdb-single-breadcrumb-wrap {
	background: #ffffff;
	border-bottom: 1px solid #e2e8f0;
	padding: 1rem 0;
	margin-bottom: 2rem;
}

.msdb-vehicle-hero-grid {
	display: grid;
	grid-template-columns: 55% 45%;
	gap: 2.5rem;
	align-items: flex-start;
	margin-bottom: 3rem;
}

/* Left Gallery Column */
.msdb-gallery-column {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.msdb-main-gallery-viewport {
	position: relative;
	width: 100%;
	height: 480px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.msdb-hero-featured-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.msdb-gallery-badges {
	position: absolute;
	top: 15px;
	left: 15px;
	display: flex;
	gap: 8px;
	z-index: 5;
}

.badge-pill {
	font-size: 0.75rem;
	font-weight: 900;
	text-transform: uppercase;
	padding: 4px 12px;
	border-radius: 6px;
	letter-spacing: 0.05em;
}

.badge-condition-new { color: #ffffff !important;

	background: #0ea5e9;
	color: #0f172a;
	box-shadow: 0 0 12px rgba(14, 165, 233, 0.4);
}

.badge-condition-pre-owned,
.badge-condition-used {
	background: #f59e0b;
	color: #000000;
}

.badge-status-sold { color: #ffffff !important;

	background: #dc2626;
	color: #0f172a;
}

.badge-status-reserved {
	background: #ea580c;
	color: #0f172a;
}

.badge-status-incoming {
	background: #8b5cf6;
	color: #0f172a;
}

.msdb-photo-counter {
	position: absolute;
	bottom: 15px;
	right: 15px;
	background: rgba(3, 4, 7, 0.85);
	backdrop-filter: blur(4px);
	border: 1px solid #cbd5e1;
	color: #475569;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 20px;
	z-index: 5;
}

.msdb-gallery-thumbnails-strip {
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	padding: 0.25rem 0 0.5rem 0;
}

.msdb-gallery-thumbnails-strip::-webkit-scrollbar {
	height: 4px;
}

.msdb-gallery-thumbnails-strip::-webkit-scrollbar-thumb {
	background: #334155;
	border-radius: 4px;
}

.thumb-btn {
	width: 90px;
	height: 65px;
	flex-shrink: 0;
	border: 2px solid #1e293b;
	border-radius: 8px;
	overflow: hidden;
	background: #ffffff;
	cursor: pointer;
	padding: 0;
	transition: all 0.2s;
}

.thumb-btn img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.thumb-btn.is-active,
.thumb-btn:hover {
	border-color: #e11d48;
	transform: scale(1.05);
	box-shadow: 0 0 10px rgba(225, 29, 72, 0.4);
}

.msdb-gallery-action-tools {
	display: flex;
	gap: 1rem;
	padding-top: 0.5rem;
}

.tool-btn {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #64748b;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 0.5rem 0.85rem;
	border-radius: 6px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	cursor: pointer;
	transition: all 0.2s;
}

.tool-btn:hover {
	border-color: #e11d48;
	color: #0f172a;
}

/* Right Details Column */
.msdb-details-column {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.msdb-stock-vin-bar {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	flex-wrap: wrap;
	font-size: 0.75rem;
	margin-bottom: 0.4rem;
}

.stock-pill,
.vin-pill,
.location-pill {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #64748b;
	padding: 2px 8px;
	border-radius: 4px;
}

.stock-pill strong,
.vin-pill strong {
	color: #0f172a;
}

.msdb-vehicle-title {
	font-size: 2rem;
	font-weight: 900;
	text-transform: uppercase;
	line-height: 1.15;
	color: #0f172a;
	margin: 0 0 0.4rem 0;
	letter-spacing: -0.02em;
}

.msdb-quick-submeta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: #0ea5e9;
	text-transform: uppercase;
}

.submeta-dot {
	color: #475569;
}

/* Pricing Box in Detail */
.msdb-detail-pricing-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1.25rem;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.pricing-headline {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid #f1f5f9;
}

.price-amount-wrap {
	display: flex;
	align-items: baseline;
	gap: 0.25rem;
}

.price-amount-wrap .currency {
	color: #e11d48;
	font-size: 1.6rem;
	font-weight: 900;
}

.price-amount-wrap .amount {
	color: #0f172a;
	font-size: 2.25rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1;
}

.msrp-savings-wrap {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.msrp-val {
	font-size: 0.85rem;
	color: #64748b;
}

.savings-tag {
	background: rgba(16, 185, 129, 0.15);
	border: 1px solid #10b981;
	color: #10b981;
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 4px;
}

.pricing-financing-sub {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding-top: 0.85rem;
	font-size: 0.82rem;
	color: #64748b;
}

.pricing-financing-sub strong {
	color: #10b981;
	font-size: 0.95rem;
}

.pricing-financing-sub .term-note {
	color: #64748b;
	font-size: 0.75rem;
}

/* Key 6-Matrix */
.msdb-key-specs-matrix {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
}

.matrix-item {
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 8px;
	padding: 0.75rem 0.85rem;
	display: flex;
	flex-direction: column;
}

.matrix-label {
	font-size: 0.68rem;
	color: #64748b;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 2px;
}

.matrix-val {
	font-size: 0.88rem;
	color: #1e293b;
	font-weight: 800;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.status-val-in-stock {
	color: #10b981;
}

.status-val-incoming {
	color: #8b5cf6;
}

.status-val-reserved {
	color: #ea580c;
}

.status-val-sold {
	color: #dc2626;
}

/* 5 Action Buttons Hub */
.msdb-detail-action-buttons {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.msdb-action-btn {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	padding: 0.85rem 1.25rem;
	border-radius: 8px;
	font-size: 0.88rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: all 0.2s;
}

.btn-get-price {
	background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
	color: #0f172a;
	box-shadow: 0 4px 15px rgba(225, 29, 72, 0.4);
}

.btn-get-price:hover {
	background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(225, 29, 72, 0.6);
}

.btn-finance {
	background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
	color: #0f172a;
	box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}

.btn-finance:hover {
	background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

.btn-tradein,
.btn-testride {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	color: #1e293b;
}

.btn-tradein:hover,
.btn-testride:hover {
	background: #1e293b;
	border-color: #64748b;
	transform: translateY(-2px);
}

.btn-contact-dealer {
	background: transparent;
	border: 1px dashed #0ea5e9;
	color: #38bdf8;
}

.btn-contact-dealer:hover {
	background: rgba(14, 165, 233, 0.1);
	border-style: solid;
}

/* Dealership Value Props */
.msdb-dealer-value-props {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 0.85rem;
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 8px;
}

.prop-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.78rem;
	color: #64748b;
}

.prop-icon {
	color: #10b981;
	font-weight: bold;
}

/* ==========================================================================
   7. DETAIL BODY SECTIONS & TABS
   ========================================================================== */
.msdb-vehicle-body-sections {
	margin-top: 2rem;
}

.msdb-detail-tabs-bar {
	display: flex;
	gap: 0.5rem;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 0.5rem;
	margin-bottom: 2rem;
	overflow-x: auto;
	position: sticky;
	top: 75px;
	z-index: 100;
	backdrop-filter: blur(8px);
}

.msdb-detail-tabs-bar::-webkit-scrollbar {
	height: 3px;
}

.msdb-detail-tabs-bar::-webkit-scrollbar-thumb {
	background: #334155;
}

.tab-link {
	white-space: nowrap;
	color: #64748b;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: 0.6rem 1rem;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.2s;
}

.tab-link:hover,
.tab-link.is-active {
	background: #e11d48;
	color: #0f172a;
}

.msdb-section-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 2rem;
	margin-bottom: 2rem;
}

.section-heading {
	font-size: 1.45rem;
	font-weight: 900;
	text-transform: uppercase;
	color: #0f172a;
	margin: 0 0 1.25rem 0;
	letter-spacing: -0.01em;
}

.section-subtext {
	color: #64748b;
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
	line-height: 1.5;
}

.eyebrow {
	display: block;
	font-size: 0.72rem;
	font-weight: 800;
	color: #e11d48;
	letter-spacing: 0.1em;
	margin-bottom: 0.25rem;
}

/* Description Details */
.short-desc-highlight {
	background: #f8fafc;
	border-left: 4px solid #e11d48;
	padding: 1rem 1.25rem;
	border-radius: 0 8px 8px 0;
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
	color: #1e293b;
	font-weight: 600;
}

.full-description-content {
	line-height: 1.7;
	font-size: 0.92rem;
	color: #64748b;
}

.full-description-content p {
	margin-bottom: 1rem;
}

.dealer-notes-box {
	margin-top: 1.5rem;
	background: #f8fafc;
	border: 1px dashed #334155;
	border-radius: 8px;
	padding: 1.25rem;
}

.notes-title {
	font-size: 0.9rem;
	font-weight: 800;
	color: #1e293b;
	margin: 0 0 0.5rem 0;
	text-transform: uppercase;
}

.dealer-notes-box p {
	font-size: 0.85rem;
	color: #475569;
	line-height: 1.5;
	margin: 0;
}

/* Features Grid */
.msdb-features-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.85rem 1.5rem;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	padding: 0.75rem 1rem;
	border-radius: 8px;
}

.feat-check {
	color: #10b981;
	font-weight: bold;
	font-size: 1.1rem;
}

.feat-text {
	font-size: 0.88rem;
	font-weight: 700;
	color: #e2e8f0;
}

/* Specifications Table */
.msdb-specs-table-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

.spec-group-title {
	font-size: 1.05rem;
	font-weight: 800;
	text-transform: uppercase;
	color: #0ea5e9;
	margin: 0 0 0.85rem 0;
}

.msdb-specs-table {
	width: 100%;
	border-collapse: collapse;
}

.msdb-specs-table tr {
	border-bottom: 1px solid #f1f5f9;
}

.msdb-specs-table th {
	text-align: left;
	padding: 0.65rem 0.5rem;
	font-size: 0.82rem;
	color: #64748b;
	font-weight: 700;
	text-transform: uppercase;
	width: 40%;
}

.msdb-specs-table td {
	padding: 0.65rem 0.5rem;
	font-size: 0.85rem;
	color: #1e293b;
	font-weight: 600;
}

.specs-pre-text {
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	border-radius: 8px;
	padding: 1rem;
	font-size: 0.82rem;
	color: #64748b;
	white-space: pre-wrap;
	font-family: inherit;
}

/* Media Grid */
.msdb-media-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.media-grid-item {
	position: relative;
	height: 180px;
	border-radius: 8px;
	overflow: hidden;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	display: block;
}

.media-grid-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.media-grid-item:hover img {
	transform: scale(1.08);
}

.zoom-indicator {
	position: absolute;
	bottom: 8px;
	right: 8px;
	background: rgba(3, 4, 7, 0.7);
	padding: 4px 6px;
	border-radius: 4px;
	font-size: 0.8rem;
}

.video-container {
	position: relative;
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
	background: #000;
}

.video-container iframe {
	width: 100%;
	height: 420px;
}

/* Loan Calculator */
.msdb-calculator-grid {
	display: grid;
	grid-template-columns: 60% 40%;
	gap: 2rem;
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	border-radius: 12px;
	padding: 1.5rem;
}

.calc-inputs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.calc-field label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #64748b;
	margin-bottom: 0.35rem;
}

.calc-result-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

.res-label {
	font-size: 0.78rem;
	font-weight: 800;
	color: #64748b;
	text-transform: uppercase;
}

.res-amount-wrap {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 0.25rem;
	margin: 0.5rem 0;
}

.res-currency {
	color: #10b981;
	font-size: 1.5rem;
	font-weight: 900;
}

.res-amount {
	color: #0f172a;
	font-size: 2.25rem;
	font-weight: 900;
	line-height: 1;
}

.res-mo {
	color: #64748b;
	font-size: 0.9rem;
	font-weight: 700;
}

.calc-disclaimer {
	font-size: 0.68rem;
	color: #64748b;
	margin: 0 0 1rem 0;
}

/* Trade-In Banner */
.msdb-tradein-banner-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	background: linear-gradient(135deg, #090d16 0%, #0f172a 100%);
	border-color: #334155;
}

.tradein-title {
	font-size: 1.35rem;
	font-weight: 900;
	color: #0f172a;
	text-transform: uppercase;
	margin: 0 0 0.4rem 0;
}

.tradein-text {
	font-size: 0.88rem;
	color: #64748b;
	margin: 0;
}

.tradein-action {
	flex-shrink: 0;
}

/* Lead Contact Section */
.msdb-lead-contact-card {
	background: #ffffff;
}

/* Similar Vehicles Card */
.msdb-similar-vehicles-card {
	background: transparent;
	border: none;
	padding: 0;
}

/* ==========================================================================
   8. STICKY MOBILE CTA BAR (< 768px)
   ========================================================================== */
.msdb-sticky-mobile-cta-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100vw;
	background: rgba(9, 13, 22, 0.95);
	backdrop-filter: blur(10px);
	border-top: 1px solid #e2e8f0;
	z-index: 9990;
	padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom));
	box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.6);
}

.mobile-cta-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 0.25rem;
	border-radius: 6px;
	text-decoration: none;
	border: none;
	font-weight: 900;
	text-transform: uppercase;
	cursor: pointer;
	line-height: 1;
	gap: 0.2rem;
}

.mobile-cta-item .m-icon {
	font-size: 1rem;
}

.mobile-cta-item .m-text {
	font-size: 0.7rem;
	letter-spacing: 0.04em;
}

.msdb-sticky-mobile-cta-bar .btn-call {
	background: #1e293b;
	color: #0f172a;
}

.msdb-sticky-mobile-cta-bar .btn-quote {
	background: #e11d48;
	color: #0f172a;
}

.msdb-sticky-mobile-cta-bar .btn-finance {
	background: #0284c7;
	color: #0f172a;
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS (1920, 1440, 1280, 1024, 768, 600, 480, 414, 375)
   ========================================================================== */

/* 1. 1920px (Ultra-Wide FHD & 4K) */
@media (min-width: 1920px) {
	.msdb-main-gallery-viewport {
		height: 600px;
	}
	.msdb-vehicle-title {
		font-size: 2.85rem;
	}
	.msdb-inventory-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}
}

/* 2. 1440px (Standard Large Desktop) */
@media (max-width: 1440px) {
	.msdb-main-gallery-viewport {
		height: 520px;
	}
	.msdb-inventory-sidebar-col {
		width: 270px;
	}
}

/* 3. 1280px (Compact Desktop & Laptops) */
@media (max-width: 1280px) {
	.msdb-inventory-layout {
		gap: 1.5rem;
	}
	.msdb-inventory-sidebar-col {
		width: 250px;
	}
	.msdb-main-gallery-viewport {
		height: 460px;
	}
	.msdb-inventory-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* 4. 1024px (Horizontal Tablets & iPad Pro) */
@media (max-width: 1024px) {
	.msdb-inventory-layout {
		flex-direction: column;
	}
	.msdb-inventory-sidebar-col {
		width: 100%;
	}
	.msdb-filter-sidebar {
		margin-bottom: 1.5rem;
	}
	.msdb-vehicle-hero-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.msdb-main-gallery-viewport {
		height: 420px;
	}
	.msdb-specs-table-grid {
		grid-template-columns: 1fr;
	}
	.msdb-calculator-grid {
		grid-template-columns: 1fr;
	}
}

/* 5. 768px (Vertical Tablets & Mobile Landscape) */
@media (max-width: 768px) {
	.msdb-inventory-grid {
		grid-template-columns: 1fr;
	}
	.msdb-main-gallery-viewport {
		height: 320px;
	}
	.msdb-key-specs-matrix {
		grid-template-columns: repeat(2, 1fr);
	}
	.msdb-features-grid {
		grid-template-columns: 1fr;
	}
	.msdb-media-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.msdb-tradein-banner-card {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}
	.tradein-action {
		width: 100%;
	}
	.tradein-action .btn-primary { color: #ffffff !important;

		width: 100%;
	}
	.calc-inputs {
		grid-template-columns: 1fr;
	}
	.msdb-vehicle-action-buttons-group {
		grid-template-columns: 1fr 1fr;
	}
}

/* 6. 600px (Phablets & Small Tablets) */
@media (max-width: 600px) {
	.msdb-main-gallery-viewport {
		height: 290px;
	}
	.msdb-vehicle-action-buttons-group {
		grid-template-columns: 1fr;
	}
	.vehicle-card-footer {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
	}
	.vehicle-card-footer .btn-view-unit {
		width: 100%;
	}
}

/* 7. 480px (Standard Mobile Screens) */
@media (max-width: 480px) {
	.msdb-main-gallery-viewport {
		height: 240px;
	}
	.msdb-vehicle-title {
		font-size: 1.45rem;
	}
	.pricing-headline {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}
	.msdb-media-grid {
		grid-template-columns: 1fr;
	}
	.msdb-section-card {
		padding: 1.25rem 1rem;
	}
	.msdb-key-specs-matrix {
		grid-template-columns: 1fr;
	}
}

/* 8. 414px (iPhone Plus / Max series) */
@media (max-width: 414px) {
	.msdb-main-gallery-viewport {
		height: 220px;
	}
	.msdb-inventory-page-title {
		font-size: 1.75rem;
	}
	.msdb-gallery-thumbnails-slider img {
		width: 64px;
		height: 48px;
	}
}

/* 9. 375px (Compact Mobile Screens) */
@media (max-width: 375px) {
	.msdb-main-gallery-viewport {
		height: 200px;
	}
	.msdb-vehicle-title {
		font-size: 1.3rem;
	}
	.msdb-inventory-page-title {
		font-size: 1.55rem;
	}
	.msdb-section-title {
		font-size: 1.2rem;
	}
	.msdb-gallery-thumbnails-slider img {
		width: 54px;
		height: 42px;
	}
}
