/* ==========================================================================
   WISHLIST GLOBALE - SHOWAURORA
   ========================================================================== */

/* --- Bouton Coeur sur les Cartes Produits --- */
.aurora-wishlist-btn {
    position: absolute;
    top: 56px; /* Placé sous le quicklook (12px + 38px + 6px) */
    right: 12px; /* Centré horizontalement sur le même axe droit que le quicklook */
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 45;
    color: #64748b;
    font-size: 15px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    outline: none;
    padding: 0;
}

.aurora-wishlist-btn:hover {
    background: #ffffff;
    color: #e11d48;
    transform: scale(1.12);
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.2);
    border-color: #fecdd3;
}

.aurora-wishlist-btn.active {
    background: #ffffff;
    color: #e11d48;
    border-color: #fecdd3;
    animation: heartPulse 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.aurora-wishlist-btn.active i {
    font-weight: 900;
}

/* --- Bouton Wishlist pour les cartes Produits du Moment --- */
.boite-image-item .aurora-wishlist-btn {
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    font-size: 13px;
}

/* --- Bouton Wishlist Page Produit (Détail) --- */
.pd-wishlist-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 30px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-left: 10px;
}

.pd-wishlist-action-btn:hover {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #e11d48;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.15);
}

.pd-wishlist-action-btn.active {
    background: #e11d48;
    border-color: #e11d48;
    color: #ffffff;
}

/* --- Bouton Coeur dans l'Entête (Header) --- */
.um-bouton-wishlist {
    position: relative;
    background: linear-gradient(135deg, #2c3e50, #4a6491) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    overflow: visible !important;
}

.um-bouton-wishlist:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
    border-color: #f43f5e !important;
    color: #f43f5e !important;
}

.um-wishlist-badge {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    background: linear-gradient(135deg, #e11d48, #be123c) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #2c3e50 !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.4) !important;
    transition: transform 0.2s ease !important;
    z-index: 99 !important;
    pointer-events: none !important;
}

.um-wishlist-badge.pulse {
    animation: heartPulse 0.4s ease;
}

/* --- Toast Notification Toast Wishlist --- */
.aurora-wishlist-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 14px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 999999;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 380px;
}

.aurora-wishlist-toast.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.aurora-wishlist-toast-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(225, 29, 72, 0.2);
    color: #fb7185;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.aurora-wishlist-toast-body {
    flex: 1;
}

.aurora-wishlist-toast-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #f8fafc;
}

.aurora-wishlist-toast-desc {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.3;
}

.aurora-wishlist-toast-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #38bdf8;
    text-decoration: underline;
}

/* Animations */
@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}
