/* === ULTIMATE FAVORITES PAGE - RENTAL INSPIRED DESIGN === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;700;900&display=swap');

/* =========================== ROOT VARIABLES =========================== */
:root {
    --fav-primary-orange: #ff7a00;
    --fav-orange-light: #ff9533;
    --fav-orange-dark: #e66a00;
    --fav-white: #ffffff;
    --fav-cream: #f5e7da;
    --fav-dark: #0d0d0d;
    --fav-dark-light: #1a1a1a;
    --fav-dark-medium: #222222;
    --fav-dark-card: #181818;
    --fav-silver: #e5e7eb;
    --fav-silver-light: #f3f4f6;
    --fav-silver-dark: #d1d5db;
    
    /* Gradients */
    --fav-gradient-primary: linear-gradient(135deg, #ff7a00, #ff9533);
    --fav-gradient-secondary: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    --fav-gradient-card: linear-gradient(145deg, rgba(24, 24, 24, 0.95), rgba(34, 34, 34, 0.85));
    --fav-gradient-hero: radial-gradient(ellipse at center, rgba(255, 122, 0, 0.2), transparent);
    --fav-gradient-glass: linear-gradient(135deg, rgba(255, 122, 0, 0.08), rgba(255, 149, 51, 0.04));
    --fav-gradient-overlay: linear-gradient(135deg, rgba(13, 13, 13, 0.9), rgba(26, 26, 26, 0.8));
    
    /* Shadows */
    --fav-shadow-glow: 0 0 50px rgba(255, 122, 0, 0.35);
    --fav-shadow-card: 0 20px 60px rgba(0, 0, 0, 0.4);
    --fav-shadow-hover: 0 30px 80px rgba(255, 122, 0, 0.3);
    --fav-shadow-primary: 0 25px 80px rgba(255, 122, 0, 0.35);
    
    /* Transitions */
    --fav-transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --fav-transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --fav-transition-smooth: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --fav-transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Border Radius */
    --fav-radius-sm: 8px;
    --fav-radius-md: 16px;
    --fav-radius-lg: 24px;
    --fav-radius-xl: 32px;
    --fav-border-radius: 18px;
    --fav-blur-glass: blur(25px);
}

/* =========================== BASE STYLES =========================== */
.fav-page-wrapper {
    font-family: 'Inter', sans-serif;
    background: var(--fav-dark);
    color: var(--fav-white);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

.fav-page-wrapper * {
    box-sizing: border-box;
}

.fav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* =========================== ANIMATED BACKGROUND =========================== */
.fav-particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.fav-particle-layer {
    position: absolute;
    width: 100%;
    height: 100%;
}

.fav-particles-orange .fav-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.15), transparent);
    animation: favFloatParticle 20s ease-in-out infinite;
}

.fav-particles-white .fav-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 231, 218, 0.2), transparent);
    animation: favFloatParticle 20s ease-in-out infinite;
}

.fav-particles-glow .fav-glow-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.15), transparent);
    filter: blur(70px);
    animation: favPulseGlow 7s ease-in-out infinite alternate;
}

.fav-particles-orange .fav-particle-1 { width: 300px; height: 300px; top: 10%; left: 10%; }
.fav-particles-orange .fav-particle-2 { width: 200px; height: 200px; top: 60%; right: 15%; animation-delay: -7s; }
.fav-particles-orange .fav-particle-3 { width: 150px; height: 150px; bottom: 20%; left: 30%; animation-delay: -14s; }
.fav-particles-orange .fav-particle-4 { width: 5px; height: 5px; left: 38%; top: 88%; animation-duration: 30s; }
.fav-particles-orange .fav-particle-5 { width: 4px; height: 4px; left: 88%; top: 48%; animation-duration: 22s; }
.fav-particles-orange .fav-particle-6 { width: 7px; height: 7px; left: 28%; top: 58%; animation-duration: 35s; }
.fav-particles-orange .fav-particle-7 { width: 3px; height: 3px; left: 68%; top: 38%; animation-duration: 26s; }
.fav-particles-orange .fav-particle-8 { width: 5px; height: 5px; left: 48%; top: 98%; animation-duration: 29s; }

.fav-particles-white .fav-particle-1 { width: 3px; height: 3px; left: 22%; top: 42%; animation-duration: 27s; }
.fav-particles-white .fav-particle-2 { width: 5px; height: 5px; left: 73%; top: 17%; animation-duration: 23s; }
.fav-particles-white .fav-particle-3 { width: 4px; height: 4px; left: 43%; top: 73%; animation-duration: 31s; }
.fav-particles-white .fav-particle-4 { width: 6px; height: 6px; left: 83%; top: 83%; animation-duration: 25s; }

.fav-particles-glow .fav-glow-1 { width: 350px; height: 350px; left: 20%; top: 30%; }
.fav-particles-glow .fav-glow-2 { width: 450px; height: 450px; left: 65%; top: 60%; animation-delay: -4s; }
.fav-particles-glow .fav-glow-3 { width: 250px; height: 250px; left: 45%; top: 10%; animation-delay: -8s; }

.fav-gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 122, 0, 0.1), transparent),
        radial-gradient(circle at 70% 80%, rgba(245, 231, 218, 0.06), transparent);
    pointer-events: none;
    z-index: 1;
}

/* =========================== HERO SECTION =========================== */
.fav-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    z-index: 2;
    overflow: hidden;
    padding: clamp(60px, 10vh, 100px) 0 clamp(40px, 6vh, 70px);
}

.fav-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.fav-hero-glow-1,
.fav-hero-glow-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: favPulseGlow 10s ease-in-out infinite alternate;
}

.fav-hero-glow-1 {
    top: 10%;
    left: -5%;
    width: 50%;
    height: 60%;
    background: var(--fav-gradient-hero);
}

.fav-hero-glow-2 {
    bottom: 20%;
    right: -10%;
    width: 60%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(245, 231, 218, 0.08), transparent);
    animation-delay: -5s;
}

.fav-hero-content {
    max-width: 800px;
    margin-top: 30px;
    margin-left: 15px;
    z-index: 3;
}

.fav-title-container {
    position: relative;
    margin-bottom: 40px;
    /* text-align: center; */
}

.fav-hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.fav-title-word {
    display: inline-block;
    background: linear-gradient(135deg, var(--fav-white), var(--fav-silver));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 20px;
}

.fav-title-highlight {
    display: inline-block;
    background: var(--fav-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fav-title-underline {
    width: 120px;
    height: 5px;
    background: var(--fav-gradient-primary);
    border-radius: 3px;
    margin: 15px auto 0 2px;
}

.fav-hero-subtitle {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.2rem);;
    line-height: 1.7;
    margin: 0 0 40px 0;
    color: var(--fav-silver);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.fav-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.fav-stat-item {
    text-align: center;
    animation: favStatsFloat 4s ease-in-out infinite;
}

.fav-stat-item:nth-child(2) { animation-delay: 0.7s; }
.fav-stat-item:nth-child(3) { animation-delay: 1.4s; }

.fav-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--fav-primary-orange);
    margin-bottom: 8px;
    text-shadow: var(--fav-shadow-glow);
    font-family: 'Orbitron', sans-serif;
}

.fav-stat-label {
    font-size: 0.95rem;
    color: var(--fav-silver);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* =========================== CONTROLS SECTION =========================== */
.fav-controls-section {
    padding: clamp(35px, 5vh, 50px) clamp(20px, 3vw, 40px);
    background: rgba(24, 24, 24, 0.7);
    backdrop-filter: var(--fav-blur-glass);
    border-radius: var(--fav-border-radius);
    margin-bottom: clamp(30px, 4vh, 45px);
    border: 1px solid rgba(255, 122, 0, 0.12);
    box-shadow: var(--fav-shadow-card);
}

.fav-controls-container {
    display: flex;
    /* flex-direction: column; */
    gap: clamp(25px, 3vh, 35px);
}

/* Filter Tabs */
.fav-filter-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.fav-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 122, 0, 0.2);
    border-radius: var(--fav-radius-md);
    color: var(--fav-white);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--fav-transition-fast);
}

.fav-tab-btn:hover {
    background: rgba(255, 122, 0, 0.1);
    border-color: var(--fav-primary-orange);
    transform: translateY(-2px);
}

.fav-tab-btn.fav-tab-active,
.fav-tab-active {
    background: var(--fav-gradient-primary);
    border-color: var(--fav-primary-orange);
    color: var(--fav-white);
    box-shadow: var(--fav-shadow-glow);
}

.fav-tab-btn i {
    font-size: 1rem;
}

/* Sort Controls */
.fav-sort-controls {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.fav-sort-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fav-sort-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.fav-sort-select {
    appearance: none;
    padding: 14px 45px 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 122, 0, 0.2);
    border-radius: var(--fav-radius-md);
    color: var(--fav-white);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--fav-transition-fast);
    outline: none;
    min-width: 180px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ff7a00' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.fav-sort-select:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--fav-primary-orange);
}

.fav-sort-select:focus {
    border-color: var(--fav-primary-orange);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1);
}

.fav-sort-select option {
    background: var(--fav-dark-card);
    color: var(--fav-white);
    padding: 12px;
}

/* View Toggle */
.fav-view-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--fav-radius-md);
    padding: 4px;
    border: 2px solid rgba(255, 122, 0, 0.2);
}

.fav-view-btn {
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--fav-transition-fast);
    border-radius: var(--fav-radius-sm);
    font-size: 1rem;
}

.fav-view-btn:hover {
    color: var(--fav-primary-orange);
    background: rgba(255, 122, 0, 0.1);
}

.fav-view-btn.fav-view-active {
    background: var(--fav-gradient-primary);
    color: var(--fav-white);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

.fav-clear-all-btn {
    padding: 14px 24px;
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid #dc3545;
    border-radius: var(--fav-radius-md);
    color: #dc3545;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--fav-transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fav-clear-all-btn:hover {
    background: #dc3545;
    color: var(--fav-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}

.fav-price-container {
    width: 100%;
}
.fav-price-main {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 800;
    color: orange;
    font-family: 'Orbitron', sans-serif;
    line-height: 1;
}

/* =========================== STATS SECTION =========================== */
.fav-stats-section {
    padding: clamp(40px, 6vh, 60px) 0;
    position: relative;
    margin-bottom: clamp(30px, 4vh, 45px);
}

.fav-stats-container {
    max-width: 100%;
}

.fav-stats-header {
    text-align: center;
    margin-bottom: clamp(30px, 5vh, 50px);
}

.fav-stats-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--fav-white), var(--fav-silver));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.fav-stats-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--fav-silver);
    font-weight: 400;
}

.fav-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(20px, 3vw, 30px);
}

.fav-stats-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: clamp(25px, 4vw, 35px);
    background: var(--fav-gradient-card);
    border-radius: var(--fav-border-radius);
    border: 1px solid rgba(255, 122, 0, 0.15);
    box-shadow: var(--fav-shadow-card);
    transition: var(--fav-transition);
    overflow: hidden;
}

.fav-stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--fav-gradient-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--fav-transition);
}

.fav-stats-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--fav-shadow-hover);
    border-color: var(--fav-primary-orange);
}

.fav-stats-card:hover::before {
    transform: scaleY(1);
}

.fav-stats-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fav-gradient-primary);
    border-radius: 50%;
    box-shadow: var(--fav-shadow-glow);
    flex-shrink: 0;
}

.fav-stats-icon i {
    font-size: 1.5rem;
    color: var(--fav-white);
}

.fav-stats-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fav-stats-number {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--fav-white);
    font-family: 'Orbitron', sans-serif;
    line-height: 1;
}

.fav-stats-label {
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    color: var(--fav-silver-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Stats Cards Animations */
.fav-stats-card:nth-child(1) .fav-stats-icon {
    animation: favPulseIcon 2s ease-in-out infinite;
}

.fav-stats-card:nth-child(2) .fav-stats-icon {
    animation: favPulseIcon 2s ease-in-out infinite 0.2s;
}

.fav-stats-card:nth-child(3) .fav-stats-icon {
    animation: favPulseIcon 2s ease-in-out infinite 0.4s;
}

.fav-stats-card:nth-child(4) .fav-stats-icon {
    animation: favPulseIcon 2s ease-in-out infinite 0.6s;
}

@keyframes favPulseIcon {
    0%, 100% {
        box-shadow: var(--fav-shadow-glow);
    }
    50% {
        box-shadow: 0 0 70px rgba(255, 122, 0, 0.5);
    }
}

/* Responsive Stats Section */
@media (max-width: 992px) {
    .fav-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .fav-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fav-stats-card {
        padding: 20px;
    }
    
    .fav-stats-icon {
        width: 50px;
        height: 50px;
    }
    
    .fav-stats-icon i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .fav-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================== GRID SECTION =========================== */
.fav-grid-section {
    padding: clamp(40px, 6vh, 60px) 0;
    position: relative;
}

.fav-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: clamp(25px, 3vw, 35px);
    animation: favFadeIn 0.7s ease-out;
}

/* =========================== CARD STYLES =========================== */
.fav-card {
    position: relative;
    background: var(--fav-gradient-card);
    border-radius: var(--fav-border-radius);
    overflow: hidden;
    transition: var(--fav-transition);
    border: 1px solid rgba(255, 122, 0, 0.15);
    box-shadow: var(--fav-shadow-card);
}

.fav-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--fav-shadow-hover);
    border-color: var(--fav-primary-orange);
}

.fav-glass-morphism {
    backdrop-filter: blur(10px);
}

.fav-card-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.1), rgba(0, 0, 0, 0.3));
}

.fav-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--fav-transition);
}

.fav-card:hover .fav-card-image {
    transform: scale(1.1);
}

.fav-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: var(--fav-transition-fast);
}

.fav-card:hover .fav-card-overlay {
    opacity: 1;
}

.fav-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 122, 0, 0.3), transparent);
    filter: blur(40px);
    opacity: 0;
    transition: var(--fav-transition-fast);
}

.fav-card:hover .fav-image-glow {
    opacity: 1;
}

/* Card Badges */
.fav-card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.fav-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fav-badge-featured {
    background: rgba(255, 122, 0, 0.95);
    color: var(--fav-white);
    box-shadow: var(--fav-shadow-glow);
}

.fav-badge-new {
    background: rgba(34, 197, 94, 0.95);
    color: var(--fav-white);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Card Actions */
.fav-card-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--fav-transition-fast);
    z-index: 2;
}

.fav-card:hover .fav-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.fav-action-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 122, 0, 0.3);
    border-radius: 50%;
    color: var(--fav-white);
    cursor: pointer;
    transition: var(--fav-transition-fast);
    font-size: 1rem;
}

.fav-action-btn:hover {
    background: var(--fav-gradient-primary);
    border-color: var(--fav-primary-orange);
    transform: scale(1.15) rotate(10deg);
    box-shadow: var(--fav-shadow-glow);
}

.fav-action-btn.fav-favorited,
.fav-action-remove {
    background: var(--fav-gradient-primary);
    border-color: var(--fav-primary-orange);
}

/* Card Content */
.fav-card-content {
    padding: clamp(18px, 3vw, 25px);
}

.fav-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: clamp(15px, 2.5vh, 20px);
    gap: 12px;
}

.fav-card-title-section {
    flex: 1;
}

.fav-card-title {
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    font-weight: 700;
    color: var(--fav-white);
    margin: 0 0 6px 0;
    font-family: 'Orbitron', sans-serif;
    line-height: 1.3;
}

.fav-card-subtitle {
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin: 0;
}

.fav-card-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.fav-stars {
    display: flex;
    gap: 2px;
}

.fav-stars i {
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    color: var(--fav-primary-orange);
    transition: var(--fav-transition-fast);
}

.fav-stars i:hover {
    transform: scale(1.15);
}

.fav-rating-text {
    font-size: clamp(0.75rem, 1.2vw, 0.82rem);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

/* Card Specs */
.fav-card-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(12px, 2vw, 16px);
    margin-bottom: clamp(15px, 3vh, 22px);
}

.fav-spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--fav-radius-sm);
    border: 1px solid rgba(255, 122, 0, 0.1);
    transition: var(--fav-transition-fast);
}

.fav-spec-item:hover {
    background: rgba(255, 122, 0, 0.05);
    border-color: rgba(255, 122, 0, 0.3);
}

.fav-spec-item i {
    font-size: 1.1rem;
    color: var(--fav-primary-orange);
}

.fav-spec-content {
    flex: 1;
    min-width: 0;
}

.fav-spec-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.fav-spec-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fav-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Price & Actions */
.fav-card-footer {
    display: block;
    justify-content: space-between;
    align-items: center;
    padding-top: clamp(15px, 3vh, 20px);
    border-top: 1px solid rgba(255, 122, 0, 0.15);
    gap: 15px;
}

.fav-card-buttons {
    justify-content: center;
    /* display: flex; */
    margin: 10px auto;
}

.fav-price-info {
    flex: 1;
}

.fav-price-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

.fav-card-price {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--fav-primary-orange);
    font-family: 'Orbitron', sans-serif;
}

.fav-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--fav-gradient-primary);
    color: var(--fav-white);
    border: none;
    border-radius: var(--fav-radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--fav-transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.fav-btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--fav-shadow-glow);
}

.fav-btn-primary i {
    font-size: 1rem;
    transition: var(--fav-transition-fast);
}

.fav-btn-primary:hover i {
    transform: translateX(4px);
}

.fav-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 122, 0, 0.1);
    color: var(--fav-primary-orange);
    border: 2px solid var(--fav-primary-orange);
    border-radius: var(--fav-radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--fav-transition-fast);
    text-decoration: none;
    margin-bottom: 10px;
}

.fav-btn-secondary:hover {
    background: var(--fav-gradient-primary);
    color: var(--fav-white);
    transform: translateY(-2px);
}

/* =========================== EMPTY STATE =========================== */
.fav-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: clamp(60px, 10vh, 100px) 20px;
    background: rgba(24, 24, 24, 0.5);
    border-radius: var(--fav-border-radius);
    border: 2px dashed rgba(255, 122, 0, 0.3);
}

.fav-empty-icon {
    font-size: clamp(3rem, 5vw, 4rem);
    color: var(--fav-primary-orange);
    margin-bottom: 20px;
    opacity: 0.6;
}

.fav-empty-icon i {
    animation: favHeartbeat 2s ease-in-out infinite;
}

.fav-empty-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--fav-white);
    margin-bottom: 12px;
}

.fav-empty-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
}

.fav-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--fav-gradient-primary);
    color: var(--fav-white);
    text-decoration: none;
    border-radius: var(--fav-radius-md);
    font-weight: 600;
    transition: var(--fav-transition-fast);
    position: relative;
    overflow: hidden;
}

.fav-empty-cta:hover {
    transform: translateY(-4px);
    box-shadow: var(--fav-shadow-glow);
}

.fav-btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.fav-empty-cta:hover .fav-btn-glow {
    left: 100%;
}

/* =========================== ANIMATIONS =========================== */
@keyframes favFloatParticle {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(0, -60px) rotate(180deg);
    }
    75% {
        transform: translate(-30px, -30px) rotate(270deg);
    }
}

@keyframes favPulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes favStatsFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes favCarFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes favRingRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes favFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes favFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes favHeartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.1);
    }
    20%, 40% {
        transform: scale(1);
    }
}

/* =========================== SWEETALERT2 STYLES =========================== */
.fav-swal2-custom-popup {
    border-radius: 14px;
    padding: 1rem;
    background: #0a0a0a;
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid orange;
    max-width: 360px;
}

.fav-swal2-btn {
    min-width: 120px;
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    margin: 0 6px;
    border-radius: 8px;
}

.fav-swal2-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.fav-swal2-toast-success {
    background: #000 !important;
    color: #fff !important;
    font-weight: 600;
    border: 2px solid orange !important;
    border-radius: 8px;
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.fav-swal2-toast-error {
    background: #dc3545 !important;
    color: #fff !important;
    font-weight: 500;
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.fav-swal2-car-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.fav-swal2-car-img {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid orange;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.fav-swal2-car-img:hover {
    transform: scale(1.05);
}

.fav-swal2-car-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #ffa500;
    text-align: center;
    max-width: 90%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fav-swal2-car-text {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

/* =========================== RESPONSIVE DESIGN =========================== */
@media (max-width: 1200px) {
    .fav-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .fav-hero-car {
        display: none;
    }
}

@media (max-width: 992px) {
    .fav-hero-section {
        min-height: auto;
        padding: 60px 0;
    }
    
    .fav-hero-content {
        max-width: 100%;
        margin: 60px auto;
    }
    
    .fav-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
    
    .fav-controls-container {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .fav-hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .fav-hero-subtitle {
        font-size: 1rem;
    }
    
    .fav-stat-number {
        font-size: 2rem;
    }
    
    .fav-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .fav-card-specs {
        grid-template-columns: 1fr;
    }
    
    .fav-filter-tabs {
        justify-content: flex-start;
    }
    
    .fav-sort-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .fav-sort-select {
        width: 100%;
    }
    
    .fav-view-toggle {
        width: 100%;
        justify-content: space-around;
    }
    
    .fav-clear-all-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .fav-container {
        padding: 0 16px;
    }
    
    .fav-hero-content {
        margin: 40px auto;
    }
    
    .fav-hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .fav-card-content {
        padding: 16px;
    }
    
    .fav-card-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .fav-card-rating {
        align-items: flex-start;
    }
    
    .fav-card-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .fav-btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .fav-filter-tabs {
        gap: 8px;
    }
    
    .fav-tab-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .fav-swal2-custom-popup {
        font-size: 0.85rem;
        padding: 0.8rem;
        max-width: 90%;
    }
    
    .fav-swal2-btn {
        width: 100%;
        margin: 4px 0;
    }
    
    .fav-swal2-car-img {
        width: 80px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .fav-controls-section {
        padding: 25px 16px;
    }
}

/* =========================== HOVER EFFECTS ON TOUCH =========================== */
@media (hover: none) {
    .fav-card:hover {
        transform: none;
    }
    
    .fav-card:hover .fav-card-image {
        transform: none;
    }
    
    .fav-card:hover .fav-card-overlay {
        opacity: 0;
    }
    
    .fav-card-actions {
        opacity: 1;
        transform: translateX(0);
    }
    
    .fav-card:hover .fav-image-glow {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================== SCROLLBAR =========================== */
.fav-page-wrapper::-webkit-scrollbar {
    width: 8px;
}

.fav-page-wrapper::-webkit-scrollbar-track {
    background: var(--fav-dark);
}

.fav-page-wrapper::-webkit-scrollbar-thumb {
    background: var(--fav-gradient-primary);
    border-radius: 4px;
}

.fav-page-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--fav-orange-light);
}

::selection {
    background: var(--fav-primary-orange);
    color: var(--fav-white);
}

::-moz-selection {
    background: var(--fav-primary-orange);
    color: var(--fav-white);
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--fav-primary-orange);
    outline-offset: 2px;
}

/* =========================== PRINT STYLES =========================== */
@media print {
    .fav-particles-container,
    .fav-gradient-overlay,
    .fav-hero-car,
    .fav-card-actions,
    .fav-controls-section {
        display: none !important;
    }
    
    .fav-page-wrapper {
        background: white !important;
        color: black !important;
    }
    
    .fav-card {
        break-inside: avoid;
        margin-bottom: 15px;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .fav-card-image-container {
        height: auto !important;
        max-height: 250px;
    }
}