.wishlist-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(15,23,42,.55), rgba(30,58,95,.45)), url('../imgs/bg.webp') center/cover no-repeat;
    overflow: hidden;
    isolation: isolate;
}

.wishlist-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 60px 24px;
}

.wishlist-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 8px 22px;
    font-size: 13px;
    color: #93c5fd;
    margin-bottom: 28px;
}

.wishlist-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 16px;
    font-family: 'Tajawal', sans-serif;
}

.wishlist-hero h1 span {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wishlist-hero p {
    font-size: 17px;
    color: #fff;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}
.wishlist-container {
    background: #ffffff;
    padding: 60px 0;
}

.wishlist-main-wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

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

@keyframes cardCollapse {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.9) translateY(15px);
    }
    100% {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
        width: 0;
        height: 0;
        padding: 0;
        margin: 0;
        border-width: 0;
        gap: 0;
    }
}

.wishlist-card-removing {
    animation: cardCollapse 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
}

.wishlist-empty-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    max-width: 600px;
    margin: 40px auto 0;
}

.wishlist-empty-icon-wrap {
    width: 100px;
    height: 100px;
    background: rgba(219, 234, 254, 0.6);
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #2563eb;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
    animation: floatingPulse 2.5s infinite ease-in-out;
}

.wishlist-empty-icon-wrap i {
    font-size: 42px;
}

.wishlist-empty-title {
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 12px;
}

.wishlist-empty-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

.wishlist-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wishlist-empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
    background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.wishlist-empty-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.wishlist-empty-btn:hover i {
    transform: translateX(-4px);
}

@keyframes floatingPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.03);
    }
}

@media (max-width: 768px) {
    .wishlist-container {
        padding: 40px 0;
    }
    .wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    .wishlist-empty-box {
        padding: 60px 24px;
    }
}

@media (max-width: 640px) {
    .wishlist-hero { min-height: 320px; }
    .wishlist-hero-inner { padding: 40px 20px; }
    .wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }
}
