/* ================================================================
   FanBrowse — Header Icons CSS
   /css/header-icons.css — global, alle Seiten
   Enthält: Wishlist-Icon + Reel-Icon im Header
   ================================================================ */

/* ── WISHLIST HEADER LINK ────────────────────────────────────── */
.fb-wl-header-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 30px;
    height: 30px;
    margin-right: 10px !important;
}

.fb-wl-header-icon {
    width: 25px !important;
    height: 25px !important;
    display: block;
    aspect-ratio: 1 / 1; /* Sagt dem Browser sofort das Seitenverhältnis */
    contain: strict; /* Verhindert Layout-Neuberechnungen */
    filter: invert(26%) sepia(89%) saturate(1400%) hue-rotate(258deg) brightness(90%) contrast(95%);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.fb-wl-header-link:hover .fb-wl-header-icon {
    transform: scale(1.12);
    filter: invert(26%) sepia(89%) saturate(1400%) hue-rotate(258deg) brightness(110%) contrast(95%);
}

/* ── WISHLIST NOTIFICATION BADGE ─────────────────────────────── */
#fb-wl-count,
#fb-wl-count-mobile {
    display: none; /* Wird dynamisch per JS auf 'inline-flex' gesetzt, wenn count > 0 */
    position: absolute;
    justify-content: center;
    align-items: center; /* ✨ FIX: Zentriert die Zahl perfekt vertikal im blauen Kreis */
    top: -3px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    background: #0079c1;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 8px;
    line-height: 16px;
    text-align: center;
    pointer-events: none;
    box-sizing: border-box;
    z-index: 10;
}

/* Weiche: Zeige Desktop-Herz nur auf Desktop, Mobile-Herz nur mobil */
.fb-mobile-wl { 
    display: none !important; 
}
.fb-desktop-wl { 
    display: inline-flex !important; 
}

@media (max-width: 991px) {
    .fb-desktop-wl { 
        display: none !important; 
    }
    .fb-mobile-wl { 
        display: inline-flex !important; 
        position: relative !important;
    }
    
    /* ✨ FIX: Das !important hier entfernt, damit JS das leere mobile Herz ausblenden kann */
    #fb-wl-count-mobile {
        line-height: 16px;
    }
}

/* ── REEL HEADER LINK ────────────────────────────────────────── */
.fb-reel-header-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 30px;
    height: 30px;
}

.fb-reel-header-icon {
    width: 20px !important;
    height: 20px !important;
    display: block;
    aspect-ratio: 1 / 1;
    contain: strict;
    filter: invert(21%) sepia(91%) saturate(3518%) hue-rotate(264deg) brightness(95%) contrast(96%);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.fb-reel-header-link:hover .fb-reel-header-icon {
    transform: scale(1.12);
    filter: invert(26%) sepia(89%) saturate(1400%) hue-rotate(258deg) brightness(110%) contrast(95%);
}