.wishlist-main {
    min-height: 100vh;
    padding: 40px 0;
    background: var(--bg-light);
}

.wishlist-header {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    margin-bottom: 32px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wishlist-header h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
}

.wishlist-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.wishlist-stats span {
    font-size: 1.1rem;
    font-weight: 600;
}

#total-savings {
    color: var(--secondary-color);
}

.login-prompt {
    background: linear-gradient(135deg, var(--primary-color), #1557b0);
    color: white;
    padding: 32px;
    border-radius: var(--border-radius);
    margin-bottom: 32px;
    text-align: center;
    box-shadow: var(--shadow);
}

.login-prompt.hidden {
    display: none;
}

.prompt-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.prompt-content p {
    margin-bottom: 24px;
    opacity: 0.9;
}

.prompt-login-btn {
    background: white;
    color: var(--primary-color);
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.prompt-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.wishlist-controls {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius);
    margin-bottom: 32px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.controls-left, .controls-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wishlist-controls input, .wishlist-controls select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
}

#wishlist-search {
    min-width: 250px;
}

.clear-btn {
    background: var(--danger-color);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.clear-btn:hover {
    background: #c5221f;
}

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

.wishlist-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.wishlist-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.wishlist-card .product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.wishlist-card:hover .product-image img {
    transform: scale(1.05);
}

.wishlist-card .discount-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--danger-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.wishlist-card .product-info {
    padding: 16px;
}

.wishlist-card .product-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.wishlist-card .product-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.wishlist-card .current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.wishlist-card .original-price {
    font-size: 14px;
    text-decoration: line-through;
    color: var(--text-secondary);
}

.wishlist-card .product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.wishlist-card .rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.wishlist-card .stars {
    color: #ffa500;
}

.wishlist-card .product-actions {
    display: flex;
    gap: 8px;
}

.wishlist-card .get-deal-btn,
.wishlist-card .view-details-btn {
    flex: 1;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.wishlist-card .get-deal-btn {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.wishlist-card .view-details-btn:hover {
    background: var(--bg-light);
}

.wishlist-card .get-deal-btn:hover {
    background: #1557b0;
}

.wishlist-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 10;
    transition: var(--transition);
}

.wishlist-remove:hover {
    background: #c5221f;
    transform: scale(1.1);
}

.empty-state {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.empty-state h2 {
    color: var(--text-primary);
    margin-bottom: 16px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.browse-btn {
    background: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.browse-btn:hover {
    background: #1557b0;
    transform: translateY(-2px);
}

.loggedin-prompt {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border: 1px solid #0066cc;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.loggedin-prompt::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.marketing-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.marketing-content h3 {
    color: #0066cc;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.marketing-content p {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.marketing-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    background: rgba(255,255,255,0.7);
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid rgba(0,102,204,0.2);
}

.marketing-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,102,204,0.3);
}

.marketing-cta-btn:hover {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,102,204,0.4);
    color: white;
}

@media (max-width: 768px) {
    .wishlist-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .wishlist-controls {
        flex-direction: column;
        gap: 16px;
    }
    
    .controls-left, .controls-right {
        width: 100%;
        justify-content: center;
    }
    
    #wishlist-search {
        min-width: auto;
        width: 100%;
    }
    
    .wishlist-grid {
        grid-template-columns: 1fr;
    }
    
    .marketing-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .stat-item {
        justify-content: center;
    }
    
    .marketing-content h3 {
        font-size: 1.3rem;
    }
    
    .marketing-content p {
        font-size: 1rem;
    }
}