/* WISHLIST PAGE - ULTRA PREMIUM */

.wishlist-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding-top: 70px;
}

body.dark-mode .wishlist-page {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

/* Hero Section */
.wishlist-hero {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8585 100%);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wishlist-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.wishlist-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

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

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Container */
.wishlist-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Stats Bar */
/* Stats Bar */
.wishlist-stats {
    background: white;
    border-radius: 20px;
    padding: 20px 30px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-wrap: nowrap; /* ✅ NEVER wrap */
}

body.dark-mode .wishlist-stats {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0; /* ✅ Don't shrink */
}

.stat-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.stat-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    white-space: nowrap; /* ✅ Don't break text */
}

body.dark-mode .stat-text {
    color: #e0e0e0;
}

#wishlistItemCount {
    color: #ff6b6b;
    font-size: 18px;
    font-weight: 700;
}

.clear-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    white-space: nowrap; /* ✅ Don't break text */
    flex-shrink: 0; /* ✅ Don't shrink */
}
.clear-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.clear-all-btn:active {
    transform: translateY(0);
}

/* Wishlist Grid */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Empty State */
.empty-wishlist {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .empty-wishlist {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.empty-icon {
    font-size: 96px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.empty-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

body.dark-mode .empty-title {
    color: #e0e0e0;
}

.empty-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
}

body.dark-mode .empty-text {
    color: #999;
}

.browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8585 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.browse-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .wishlist-page {
        padding-top: 65px;
    }

    .wishlist-hero {
        padding: 40px 20px;
    }

    .hero-icon {
        font-size: 48px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .wishlist-container {
        padding: 24px 16px;
    }

    .wishlist-stats {
       
        gap: 16px;
        padding: 20px;
    }

    .wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .empty-icon {
        font-size: 64px;
    }

    .empty-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
/* Mobile: Compact single row */
@media (max-width: 768px) {
    .wishlist-stats {
        padding: 12px 16px !important;
        gap: 8px;
    }

    .stat-item {
        gap: 8px;
    }

    .stat-icon {
        font-size: 18px;
    }

    .stat-text {
        font-size: 13px;
    }

    #wishlistItemCount {
        font-size: 14px;
    }

    .clear-all-btn {
        padding: 8px 14px !important;
        font-size: 12px;
        gap: 4px;
    }

    .clear-all-btn svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .wishlist-stats {
        padding: 10px 12px !important;
        gap: 6px;
    }

    .stat-icon {
        font-size: 16px;
    }

    .stat-text {
        font-size: 12px;
    }

    #wishlistItemCount {
        font-size: 13px;
    }

    .clear-all-btn {
        padding: 6px 12px !important;
        font-size: 11px;
    }

    .clear-all-btn svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 360px) {
    .stat-text {
        font-size: 11px;
    }

    .clear-all-btn {
        padding: 6px 10px !important;
        font-size: 10px;
    }
}
/* Confirm Modal */
.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
}

.confirm-overlay.active {
    opacity: 1;
    visibility: visible;
}

.confirm-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    border-radius: 24px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10001;
}

.confirm-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

body.dark-mode .confirm-modal {
    background: #2a2a2a;
}

.confirm-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.confirm-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

body.dark-mode .confirm-title {
    color: #e0e0e0;
}

.confirm-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 32px;
}

body.dark-mode .confirm-text {
    color: #999;
}

.confirm-actions {
    display: flex;
    gap: 12px;
}

.confirm-btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-btn.cancel {
    background: #f0f0f0;
    color: #333;
}

.confirm-btn.cancel:hover {
    background: #e0e0e0;
}

body.dark-mode .confirm-btn.cancel {
    background: #3a3a3a;
    color: #e0e0e0;
}

.confirm-btn.delete {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
}

.confirm-btn.delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}