/* Quick View Modal - Complete Redesign */
.quick-view-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-view-modal.active {
	opacity: 1;
	visibility: visible;
}

.quick-view-content {
	background: #ffffff;
	border-radius: 20px;
	max-width: 1000px;
	width: 100%;
	max-height: 85vh;
	overflow: hidden;
	position: relative;
	transform: scale(0.9) translateY(20px);
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	box-shadow: 
		0 0 0 1px rgba(139, 92, 246, 0.1),
		0 30px 60px -12px rgba(0, 0, 0, 0.5),
		0 50px 100px -20px rgba(0, 0, 0, 0.4);
	display: flex;
	flex-direction: column;
}

.quick-view-modal.active .quick-view-content {
	transform: scale(1) translateY(0);
}

.quick-view-close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	width: 48px;
	height: 48px;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(10px);
	border: none;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	z-index: 100;
	color: #ffffff;
}

.quick-view-close:hover {
	background: #8b5cf6;
	transform: rotate(90deg) scale(1.1);
	box-shadow: 0 4px 16px rgba(139, 92, 246, 0.5);
}

.quick-view-close svg {
	width: 22px;
	height: 22px;
	stroke-width: 2.5;
}

.quick-view-header {
	position: relative;
	height: 380px;
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	background-size: cover;
	background-position: center;
	overflow: hidden;
	flex-shrink: 0;
}

.quick-view-header::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.9) 0%,
		rgba(0, 0, 0, 0.3) 50%,
		transparent 100%
	);
	pointer-events: none;
}

.quick-view-badge {
	position: absolute;
	top: 1.5rem;
	left: 1.5rem;
	padding: 0.625rem 1.25rem;
	backdrop-filter: blur(12px);
	border-radius: 24px;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	z-index: 10;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
	font-family: var(--font-sans);
}

.quick-view-badge.new {
	background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.quick-view-badge.reserved {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.quick-view-badge:not(.new):not(.reserved) {
	background: rgba(0, 0, 0, 0.6);
}

.quick-view-body {
	padding: 2.5rem;
	overflow-y: auto;
	flex: 1;
}

.quick-view-body::-webkit-scrollbar {
	width: 6px;
}

.quick-view-body::-webkit-scrollbar-track {
	background: #f5f5f5;
}

.quick-view-body::-webkit-scrollbar-thumb {
	background: rgba(139, 92, 246, 0.25);
	border-radius: 3px;
}

.quick-view-body::-webkit-scrollbar-thumb:hover {
	background: rgba(139, 92, 246, 0.4);
}

.quick-view-meta {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	margin-bottom: 1.25rem;
	flex-wrap: wrap;
}

.quick-view-meta .year {
	padding: 0.5rem 1.25rem;
	background: rgba(139, 92, 246, 0.1);
	border-radius: 20px;
	color: #8b5cf6;
	font-weight: 700;
	font-size: 0.9375rem;
	font-family: var(--font-sans);
}

.quick-view-meta .location {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	color: var(--gray-500);
	font-size: 0.9375rem;
	font-weight: 500;
}

.quick-view-meta .location svg {
	width: 18px;
	height: 18px;
}

.quick-view-title {
	font-size: 2.5rem;
	color: var(--gray-900);
	margin-bottom: 1rem;
	font-family: var(--font-serif);
	line-height: 1.2;
	font-weight: 700;
}

.quick-view-price {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 2px solid #f0f0f0;
}

.quick-view-price-label {
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--gray-500);
	font-weight: 600;
}

.quick-view-price-value {
	font-size: 2.5rem;
	font-weight: 700;
	background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-family: var(--font-sans);
}

.quick-view-description {
	color: var(--gray-600);
	line-height: 1.75;
	font-size: 1.0625rem;
	margin-bottom: 2.5rem;
}

.quick-view-specs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1rem;
	margin-bottom: 2.5rem;
	padding: 2rem;
	background: #fafafa;
	border-radius: 16px;
	border: 1px solid #f0f0f0;
}

.quick-view-spec {
	text-align: center;
	padding: 0.5rem;
}

.quick-view-spec-label {
	display: block;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--gray-500);
	font-weight: 600;
	margin-bottom: 0.625rem;
}

.quick-view-spec-value {
	display: block;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--gray-900);
	font-family: var(--font-sans);
}

.quick-view-features {
	margin-bottom: 2.5rem;
}

.quick-view-features h4 {
	font-size: 0.875rem;
	color: var(--gray-900);
	margin-bottom: 1.25rem;
	font-family: var(--font-sans);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.quick-view-features ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0.875rem;
}

.quick-view-features li {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	color: var(--gray-700);
	font-size: 0.9375rem;
	padding: 0.75rem 1rem;
	background: #ffffff;
	border: 1px solid #f0f0f0;
	border-radius: 10px;
	transition: all 0.2s ease;
}

.quick-view-features li:hover {
	background: rgba(139, 92, 246, 0.04);
	border-color: rgba(139, 92, 246, 0.15);
	transform: translateX(4px);
}

.quick-view-features li::before {
	content: '✓';
	color: #ffffff;
	font-weight: 700;
	width: 24px;
	height: 24px;
	background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	flex-shrink: 0;
}

.quick-view-actions {
	display: flex;
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 2px solid #f0f0f0;
}

.quick-view-actions .btn-primary,
.quick-view-actions .btn-outline {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1.125rem 2rem;
	font-size: 1rem;
	border-radius: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	font-family: var(--font-sans);
}

.quick-view-actions .btn-primary {
	background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
	color: #ffffff;
	border: none;
	box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}

.quick-view-actions .btn-primary:hover {
	background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
	box-shadow: 0 6px 28px rgba(139, 92, 246, 0.45);
	transform: translateY(-2px);
}

.quick-view-actions .btn-outline {
	background: #ffffff;
	color: var(--gray-700);
	border: 2px solid #e5e5e5;
}

.quick-view-actions .btn-outline:hover {
	background: #fafafa;
	border-color: #d0d0d0;
	color: var(--gray-900);
	transform: translateY(-2px);
}

.quick-view-actions svg {
	width: 20px;
	height: 20px;
	stroke-width: 2.5;
}

@media (max-width: 968px) {
	.quick-view-modal {
		padding: 1rem;
	}
	
	.quick-view-content {
		max-height: 90vh;
		border-radius: 16px;
	}
	
	.quick-view-header {
		height: 280px;
	}
	
	.quick-view-body {
		padding: 2rem 1.75rem;
	}
	
	.quick-view-title {
		font-size: 2rem;
	}
	
	.quick-view-price-value {
		font-size: 2rem;
	}
	
	.quick-view-specs {
		grid-template-columns: repeat(2, 1fr);
		padding: 1.5rem;
	}
}

@media (max-width: 640px) {
	.quick-view-modal {
		padding: 0.5rem;
	}
	
	.quick-view-content {
		max-height: 95vh;
		border-radius: 12px;
	}
	
	.quick-view-close {
		width: 42px;
		height: 42px;
		top: 1rem;
		right: 1rem;
	}
	
	.quick-view-header {
		height: 220px;
	}
	
	.quick-view-badge {
		top: 1rem;
		left: 1rem;
		padding: 0.5rem 1rem;
		font-size: 0.6875rem;
	}
	
	.quick-view-body {
		padding: 1.75rem 1.25rem;
	}
	
	.quick-view-title {
		font-size: 1.75rem;
	}
	
	.quick-view-price {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
		margin-bottom: 1.5rem;
		padding-bottom: 1.5rem;
	}
	
	.quick-view-price-value {
		font-size: 1.875rem;
	}
	
	.quick-view-description {
		font-size: 1rem;
		margin-bottom: 2rem;
	}
	
	.quick-view-specs {
		grid-template-columns: 1fr;
		gap: 0.875rem;
		padding: 1.25rem;
		margin-bottom: 2rem;
	}
	
	.quick-view-features ul {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
	
	.quick-view-features li {
		padding: 0.625rem 0.875rem;
		font-size: 0.875rem;
	}
	
	.quick-view-actions {
		flex-direction: column;
		padding-top: 1.25rem;
	}
	
	.quick-view-actions .btn-primary,
	.quick-view-actions .btn-outline {
		width: 100%;
		padding: 1rem 1.5rem;
		font-size: 0.9375rem;
	}
}
