/* ============================================
   Wishlist Page Styles
   ============================================ */

.wishlist-page {
    min-height: 100vh;
    padding-top: 120px;
    background: linear-gradient(180deg, var(--light-gray-alt) 0%, var(--white) 50%);
}

/* Hero Section */
.wishlist-hero {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #6b4470 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.wishlist-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(239, 111, 106, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.wishlist-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(107, 112, 79, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.wishlist-hero-icon {
    margin-bottom: 30px;
    color: var(--secondary-pink);
    animation: float 3s ease-in-out infinite;
}

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

.wishlist-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

/* Wishlist Content */
.wishlist-content {
    padding: 60px 0 100px;
}

.wishlist-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Wishlist Product Card */
.wishlist-product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    position: relative;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wishlist-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.wishlist-product-card:nth-child(1) { animation-delay: 0.1s; }
.wishlist-product-card:nth-child(2) { animation-delay: 0.2s; }
.wishlist-product-card:nth-child(3) { animation-delay: 0.3s; }
.wishlist-product-card:nth-child(4) { animation-delay: 0.4s; }
.wishlist-product-card:nth-child(5) { animation-delay: 0.5s; }
.wishlist-product-card:nth-child(6) { animation-delay: 0.6s; }

.wishlist-product-image {
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
    padding-top: 100%;
}

.wishlist-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.wishlist-product-remove {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.wishlist-product-remove:hover {
    background: var(--secondary-pink);
    transform: rotate(90deg) scale(1.1);
}

.wishlist-product-remove svg {
    width: 20px;
    height: 20px;
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.wishlist-product-remove:hover svg {
    color: var(--white);
}

.wishlist-product-info {
    padding: 25px;
}

.wishlist-product-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.wishlist-product-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 50px;
}

.wishlist-product-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.wishlist-product-price .old-price {
    font-size: 16px;
    color: var(--text-meta);
    text-decoration: line-through;
}

.wishlist-product-price .new-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-purple);
}

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

.wishlist-product-actions .btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.wishlist-product-actions .btn-primary {
    background: var(--primary-purple);
    color: var(--white);
}

.wishlist-product-actions .btn-primary:hover {
    background: var(--secondary-pink);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 45, 78, 0.3);
}

.wishlist-product-actions .btn-outline {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.wishlist-product-actions .btn-outline:hover {
    background: var(--primary-purple);
    color: var(--white);
}

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

.wishlist-empty-icon {
    margin-bottom: 30px;
    color: var(--border-gray);
    opacity: 0.5;
}

.wishlist-empty-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.wishlist-empty-text {
    font-size: 16px;
    color: var(--text-meta);
    margin-bottom: 30px;
}

.wishlist-empty-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-purple);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.wishlist-empty-btn:hover {
    background: var(--secondary-pink);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(88, 45, 78, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .wishlist-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .wishlist-page {
        padding-top: 100px;
    }
    
    .wishlist-hero {
        padding: 60px 0 40px;
    }
    
    .wishlist-hero-title {
        font-size: 36px;
    }
    
    .wishlist-hero-subtitle {
        font-size: 16px;
    }
    
    .wishlist-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .wishlist-product-info {
        padding: 20px;
    }
    
    .wishlist-product-actions {
        flex-direction: column;
    }
    
    .wishlist-empty {
        padding: 60px 20px;
    }
    
    .wishlist-empty-title {
        font-size: 24px;
    }
}

/* RTL Support */
body.rtl .wishlist-product-remove,
body[dir="rtl"] .wishlist-product-remove {
    right: auto;
    left: 15px;
}

