/* Mobile Vehicle Detail Page */

.mobile-vehicle-detail {
	display: none;
}

@media (max-width: 860px) {
	.mobile-vehicle-detail {
		display: block;
		background: #F5F5F5;
		min-height: 100vh;
	}

	/* Image Gallery */
	.mobile-vdp-gallery {
		position: relative;
		width: 100%;
		height: 450px;
		background: #000;
	}

	.mobile-gallery-arrow {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		width: 44px;
		height: 44px;
		background: rgba(255, 255, 255, 0.95);
		border: none;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		z-index: 15;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
		transition: all 0.2s ease;
	}

	.mobile-gallery-arrow:active {
		transform: translateY(-50%) scale(0.95);
		background: rgba(255, 255, 255, 1);
	}

	.mobile-gallery-arrow svg {
		width: 24px;
		height: 24px;
		color: #0B2D5B;
	}

	.mobile-gallery-arrow-prev {
		left: 1rem;
	}

	.mobile-gallery-arrow-next {
		right: 1rem;
	}

	.mobile-vdp-gallery-slider {
		display: flex;
		height: 100%;
		scroll-snap-type: x mandatory;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.mobile-vdp-gallery-slider::-webkit-scrollbar {
		display: none;
	}

	.mobile-vdp-gallery-slide {
		flex: 0 0 100%;
		scroll-snap-align: start;
		display: flex;
		align-items: center;
		justify-content: center;
		background: #000;
	}

	.mobile-vdp-gallery-slide img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}

	.mobile-vdp-360-player-wrap {
		background: #fff;
		padding: 0.75rem;
		margin-top: 0.5rem;
	}

	.mobile-vdp-360-player-wrap cc-webplayer {
		display: block;
		width: 100%;
		min-height: 260px;
		background: #F8F9FA;
		border-radius: 8px;
		overflow: hidden;
	}

	/* Header Bar */
	.mobile-vdp-header-bar {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 1rem;
		background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 100%);
		z-index: 10;
	}

	.mobile-vdp-back {
		width: 40px;
		height: 40px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: white;
		border-radius: 50%;
		color: #0B2D5B;
		text-decoration: none;
		box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	}

	.mobile-vdp-back svg {
		width: 20px;
		height: 20px;
	}

	.mobile-vdp-gallery-counter {
		background: rgba(0,0,0,0.7);
		color: white;
		padding: 0.5rem 1rem;
		border-radius: 20px;
		font-size: 0.875rem;
		font-weight: 600;
	}

	/* Content */
	.mobile-vdp-content {
		padding-bottom: 120px;
	}

	/* Header Section */
	.mobile-vdp-header {
		background: white;
		padding: 1.5rem;
		margin-bottom: 0.5rem;
	}

	.mobile-vdp-title-section {
		margin-bottom: 1rem;
		padding-bottom: 1rem;
		border-bottom: 1px solid #E5E7EB;
	}

	.mobile-vdp-badge {
		display: inline-block;
		background: linear-gradient(135deg, #0B2D5B, #1a4475);
		color: white;
		padding: 0.375rem 0.75rem;
		border-radius: 6px;
		font-size: 0.75rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.5px;
		margin-bottom: 0.75rem;
	}

	.mobile-vdp-title {
		font-size: 1.5rem;
		font-weight: 700;
		color: #111827;
		margin-bottom: 0.25rem;
		line-height: 1.3;
	}

	.mobile-vdp-subtitle {
		font-size: 0.9375rem;
		color: #6B7280;
		font-weight: 500;
	}

	/* Price */
	.mobile-vdp-price-section {
		margin-bottom: 1rem;
		padding-bottom: 1rem;
		border-bottom: 1px solid #E5E7EB;
	}

	.mobile-price-breakdown {
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
	}

	.mobile-price-breakdown .price-row {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: 0.75rem;
	}

	.mobile-price-breakdown .price-row-label {
		font-size: 0.6875rem;
		color: #374151;
		font-weight: 800;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		line-height: 1.2;
	}

	.mobile-price-breakdown .price-row-amount {
		font-family: var(--font-display);
		font-size: 1rem;
		font-weight: 800;
		color: #0B2D5B;
		white-space: nowrap;
	}

	.mobile-price-breakdown .price-row-rebate .price-row-amount {
		color: #059669;
	}

	.mobile-price-breakdown .price-row-final {
		padding-top: 0.5rem;
		border-top: 1px solid #E5E7EB;
		margin-top: 0.25rem;
	}

	.mobile-price-breakdown .price-row-final .price-row-label {
		color: #0B2D5B;
	}

	.mobile-price-breakdown .price-row-final .price-row-amount {
		font-size: 1.5rem;
		color: #059669;
	}

	.mobile-vdp-price-label {
		display: block;
		font-size: 0.75rem;
		color: #6B7280;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.5px;
		margin-bottom: 0.25rem;
	}

	.mobile-vdp-price {
		font-size: 1.875rem;
		font-weight: 800;
		color: #0B2D5B;
		line-height: 1;
	}

	/* Location */
	.mobile-vdp-location {
		display: flex;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.mobile-vdp-location svg {
		flex-shrink: 0;
		color: #0B2D5B;
		margin-top: 0.125rem;
	}

	.mobile-vdp-location-text {
		flex: 1;
	}

	.mobile-vdp-location-text strong {
		display: block;
		font-size: 0.875rem;
		font-weight: 700;
		color: #111827;
		margin-bottom: 0.125rem;
	}

	.mobile-vdp-location-text span {
		font-size: 0.8125rem;
		color: #6B7280;
		line-height: 1.4;
	}

	/* Quick Specs */
	.mobile-vdp-quick-specs {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
		padding: 1rem;
		background: #F5F5F5;
	}

	.mobile-vdp-quick-spec {
		display: flex;
		align-items: center;
		gap: 0.625rem;
		padding: 0.875rem;
		background: white;
		border-radius: 10px;
		border: 1px solid #E5E7EB;
	}

	.mobile-vdp-quick-spec svg {
		width: 20px;
		height: 20px;
		color: #0B2D5B;
		flex-shrink: 0;
	}

	.mobile-vdp-quick-spec span {
		font-size: 0.8125rem;
		font-weight: 600;
		color: #111827;
		line-height: 1.3;
	}

	/* Content Sections */
	.mobile-vdp-section {
		background: white;
		padding: 1.5rem;
		margin-bottom: 0.5rem;
	}

	.mobile-vdp-section-title {
		font-size: 1.125rem;
		font-weight: 700;
		color: #111827;
		margin-bottom: 1rem;
		padding-bottom: 0.75rem;
		border-bottom: 2px solid #F3F4F6;
	}

	/* Specs Grid */
	.mobile-vdp-specs-grid {
		display: flex;
		flex-direction: column;
	}

	.mobile-vdp-spec-row {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0.75rem 0;
		border-bottom: 1px solid #F3F4F6;
	}

	.mobile-vdp-spec-row:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}

	.mobile-vdp-spec-row:first-child {
		padding-top: 0;
	}

	.mobile-vdp-spec-label {
		font-size: 0.875rem;
		color: #6B7280;
		font-weight: 500;
	}

	.mobile-vdp-spec-value {
		font-size: 0.875rem;
		color: #111827;
		font-weight: 600;
		text-align: right;
	}

	/* Description */
	.mobile-vdp-description {
		font-size: 0.9375rem;
		line-height: 1.6;
		color: #374151;
	}

	/* Contact Form */
	.mobile-vdp-form {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}

	.mobile-vdp-form-group {
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
	}

	.mobile-vdp-form-label {
		font-size: 0.875rem;
		font-weight: 600;
		color: #374151;
	}

	.mobile-vdp-form-input,
	.mobile-vdp-form-textarea {
		padding: 0.875rem;
		border: 1px solid #D1D5DB;
		border-radius: 8px;
		font-size: 1rem;
		background: white;
		color: #111827;
		font-family: inherit;
	}

	.mobile-vdp-form-input:focus,
	.mobile-vdp-form-textarea:focus {
		outline: none;
		border-color: #0B2D5B;
		box-shadow: 0 0 0 3px rgba(11,45,91,0.1);
	}

	.mobile-vdp-form-textarea {
		min-height: 120px;
		resize: vertical;
	}

	.mobile-vdp-form-submit {
		padding: 1rem;
		background: linear-gradient(135deg, #0B2D5B, #1a4475);
		color: white;
		border: none;
		border-radius: 8px;
		font-size: 1rem;
		font-weight: 700;
		cursor: pointer;
		margin-top: 0.5rem;
	}

	.mobile-vdp-form-submit:disabled {
		opacity: 0.6;
		cursor: not-allowed;
	}

	/* Fixed CTA Buttons */
	.mobile-vdp-cta {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background: white;
		padding: 1rem;
		box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
		display: flex;
		gap: 0.75rem;
		z-index: 100;
		border-top: 1px solid #E5E7EB;
	}

	.mobile-vdp-call-btn,
	.mobile-vdp-message-btn {
		flex: 1;
		padding: 1rem;
		border-radius: 8px;
		font-size: 0.9375rem;
		font-weight: 700;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
		text-decoration: none;
		border: none;
		cursor: pointer;
	}

	.mobile-vdp-call-btn {
		background: linear-gradient(135deg, #0B2D5B, #1a4475);
		color: white;
	}

	.mobile-vdp-message-btn {
		background: white;
		color: #0B2D5B;
		border: 2px solid #0B2D5B;
	}

	.mobile-vdp-call-btn svg,
	.mobile-vdp-message-btn svg {
		width: 18px;
		height: 18px;
	}
}
