/* Shared Inventory Components */
/* These styles can be used across multiple pages (inventory, home featured vehicles, etc.) */

/* Base Inventory Card - Can be extended on specific pages */
.inventory-card-base {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.inventory-card-base:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
	border-color: rgba(139, 92, 246, 0.2);
}

/* No Results State */
.no-results {
	text-align: center;
	padding: 4rem 2rem;
	background: #ffffff;
	border-radius: 16px;
	border: 2px dashed rgba(0, 0, 0, 0.1);
	grid-column: 1 / -1;
}

.no-results h3 {
	font-family: var(--font-serif);
	font-size: 1.75rem;
	color: var(--gray-700);
	margin-bottom: 1rem;
}

.no-results p {
	color: var(--gray-500);
	font-size: 1.0625rem;
	margin-bottom: 2rem;
	line-height: 1.6;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.no-results .btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 1.75rem;
	background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
	color: #ffffff;
	border: none;
	border-radius: 10px;
	font-weight: 600;
	font-size: 0.9375rem;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
	font-family: var(--font-sans);
}

.no-results .btn-primary:hover {
	background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
	box-shadow: 0 6px 24px rgba(139, 92, 246, 0.4);
	transform: translateY(-2px);
}

/* Loading State */
.loading-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 2rem;
}

.skeleton-card {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.skeleton-image {
	width: 100%;
	height: 260px;
	background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
}

.skeleton-content {
	padding: 1.75rem;
}

.skeleton-text {
	height: 1rem;
	background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite;
	border-radius: 4px;
	margin-bottom: 0.75rem;
}

.skeleton-text:last-child {
	margin-bottom: 0;
	width: 60%;
}

@keyframes shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* Placeholder Image States */
.inventory-image.has-placeholder {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.inventory-image.has-placeholder img {
	opacity: 0.9;
}
