/* EGYPTIAN THEMED WISHLIST - CLEAN LAYOUT */
.wishlist-grid,
#wishlistGrid,
.wishlist-items,
.wishlist-container {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    padding: 0 !important;
    background: none !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Responsive grid for smaller screens */
@media (max-width: 1200px) {
    .wishlist-grid,
    #wishlistGrid,
    .wishlist-items,
    .wishlist-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
}

@media (max-width: 768px) {
    .wishlist-grid,
    #wishlistGrid,
    .wishlist-items,
    .wishlist-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Shimmer animation for golden border */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Egyptian Purple-Orange-Gold themed wishlist cards */
.wishlist-card,
.wishlist-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: linear-gradient(145deg, #2d1b69 0%, #1a0e3d 50%, #0f0620 100%) !important;
    border: 3px solid transparent !important;
    background-clip: padding-box !important;
    border-radius: 25px !important;
    padding: 30px !important;
    box-shadow: 0 15px 40px rgba(45, 27, 105, 0.4), 0 5px 15px rgba(212, 175, 55, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
}

.wishlist-card:hover,
.wishlist-item:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 25px 60px rgba(45, 27, 105, 0.6), 0 10px 30px rgba(212, 175, 55, 0.4) !important;
}

/* Egyptian Purple-Orange-Gold card styling */
.wishlist-image-container {
    text-align: center !important;
    margin-bottom: 25px !important;
    position: relative !important;
}

.wishlist-image-container img {
    width: 100% !important;
    max-width: 280px !important;
    height: 220px !important;
    object-fit: cover !important;
    border-radius: 15px !important;
    display: block !important;
}

.wishlist-details {
    text-align: center !important;
    margin-bottom: 25px !important;
}

.wishlist-details h3 {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-family: 'Georgia', serif !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
    background: linear-gradient(45deg, #d4af37, #ff8c42) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.price-container {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #ff8c42 !important;
    margin-bottom: 12px !important;
    text-shadow: 0 2px 8px rgba(255, 140, 66, 0.5) !important;
    background: linear-gradient(45deg, #ff8c42, #d4af37) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.added-date {
    font-size: 14px !important;
    color: #b8a9ff !important;
    margin: 0 !important;
    font-style: italic !important;
    opacity: 0.8 !important;
}

.wishlist-actions {
    display: flex !important;
    gap: 15px !important;
    justify-content: center !important;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #d4af37 0%, #ff8c42 50%, #d4af37 100%) !important;
    color: #1a0e3d !important;
    border: none !important;
    padding: 15px 30px !important;
    border-radius: 30px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255,255,255,0.2) !important;
    flex: 1 !important;
    max-width: 160px !important;
    position: relative !important;
    overflow: hidden !important;
}

.add-to-cart-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6), inset 0 1px 0 rgba(255,255,255,0.3) !important;
}

.remove-btn {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 50%, #ff2f3a 100%) !important;
    color: white !important;
    border: none !important;
    padding: 15px 25px !important;
    border-radius: 30px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4), inset 0 1px 0 rgba(255,255,255,0.2) !important;
    flex: 1 !important;
    max-width: 130px !important;
    position: relative !important;
    overflow: hidden !important;
}

.remove-btn:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 12px 35px rgba(255, 71, 87, 0.6), inset 0 1px 0 rgba(255,255,255,0.3) !important;
}

/* Empty state control - can be toggled */
.empty-wishlist {
    display: block !important;
    transition: all 0.3s ease !important;
}

/* Hero section that contains empty state */
.hero-content,
.wishlist-hero,
[class*="hero"] {
    transition: all 0.3s ease !important;
}

/* Force wishlist badges to show */
.wishlist-badge,
.wishlist-count,
#wishlist-badge {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Recommended Products Section */
.recommended-grid,
#recommendedGrid {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    padding: 0 !important;
    background: none !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Responsive grid for recommended products */
@media (max-width: 1200px) {
    .recommended-grid,
    #recommendedGrid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    .recommended-grid,
    #recommendedGrid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

/* Recommended card styling */
.recommended-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: linear-gradient(145deg, #2d1b69 0%, #1a0e3d 50%, #0f0620 100%) !important;
    border: 3px solid transparent !important;
    background-clip: padding-box !important;
    border-radius: 20px !important;
    padding: 25px !important;
    box-shadow: 0 12px 30px rgba(45, 27, 105, 0.3), 0 4px 12px rgba(212, 175, 55, 0.2) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

.recommended-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 50px rgba(45, 27, 105, 0.5), 0 8px 25px rgba(212, 175, 55, 0.3) !important;
}

/* Profile Wishlist Section */
#profileWishlistGrid,
.profile-wishlist-grid {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 20px !important;
    padding: 0 !important;
    background: none !important;
}

/* Profile wishlist item styling */
.profile-wishlist-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: linear-gradient(145deg, #2d1b69 0%, #1a0e3d 50%, #0f0620 100%) !important;
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
    border-radius: 15px !important;
    padding: 20px !important;
    box-shadow: 0 8px 20px rgba(45, 27, 105, 0.3), 0 3px 10px rgba(212, 175, 55, 0.2) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.profile-wishlist-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(45, 27, 105, 0.5), 0 5px 15px rgba(212, 175, 55, 0.3) !important;
}

/* Responsive profile wishlist */
@media (max-width: 768px) {
    #profileWishlistGrid,
    .profile-wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
        gap: 15px !important;
    }
}