/* ================================================================
   COOKIEHINT - VERSION FINALE COMPLÈTE
   ================================================================ */

/* ============================================
   TITRE : REMPLACER PAR TEXTE FRANÇAIS + EMOJIS
   ============================================ */

/* Forcer le titre à s'afficher */
#redim-cookiehint .cookiehead {
    display: block !important;
    margin-bottom: 1rem !important;
    text-align: left !important;
}

/* Cacher le texte anglais original */
#redim-cookiehint .cookiehead .headline {
    display: block !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

/* Ajouter le texte français avec emojis */
#redim-cookiehint .cookiehead .headline::before {
    content: '😊👍 Nous avons besoin des cookies' !important;
    font-size: 1.2rem !important;
    line-height: normal !important;
    font-family: 'Cinzel', serif !important;
    color: #2c5f2d !important;
    font-weight: 600 !important;
    display: block !important;
}

/* Mobile */
@media (max-width: 768px) {
    #redim-cookiehint .cookiehead .headline::before {
        font-size: 1rem !important;
    }
}

/* ============================================
   RUNE HAGAL À GAUCHE
   ============================================ */

#redim-cookiehint {
    position: relative !important;
    padding-left: 70px !important;
}

#redim-cookiehint::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    background-image: url('../images/hagal-rune-thick.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    z-index: 1 !important;
}

@media (max-width: 768px) {
    #redim-cookiehint {
        padding-left: 60px !important;
    }
    
    #redim-cookiehint::before {
        width: 40px !important;
        height: 40px !important;
        left: 8px !important;
    }
}

/* ============================================
   EMPÊCHER DUPLICATION DES ::BEFORE
   ============================================ */

#redim-cookiehint .cookiehead::before,
#redim-cookiehint .cookiecontent::before,
#redim-cookiehint .cookiebuttons::before,
#redim-cookiehint .cookiebuttons a::before,
#redim-cookiehint .cookiebuttons .btn::before {
    content: none !important;
    display: none !important;
    background: none !important;
}

/* ============================================
   STYLE POPUP
   ============================================ */

#redim-cookiehint-modal {
    background: rgba(0, 0, 0, 0.7) !important;
    z-index: 999999 !important;
}

#redim-cookiehint {
    background: rgba(245, 245, 220, 0.98) !important;
    border: 3px solid #D4AF37 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    max-width: 600px !important;
    margin: auto !important;
}

/* ============================================
   TEXTE EN GRAS
   ============================================ */

#redim-cookiehint .cookiecontent strong,
#redim-cookiehint .cookiecontent b {
    color: #2c5f2d !important;
    font-weight: 700 !important;
    background: rgba(44, 95, 45, 0.15) !important;
    padding: 0.15rem 0.4rem !important;
    border-radius: 4px !important;
}

#redim-cookiehint .cookiecontent {
    margin-bottom: 1rem !important;
    line-height: 1.6 !important;
}

@media (max-width: 768px) {
    #redim-cookiehint .cookiecontent {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
}

/* ============================================
   BOUTONS
   ============================================ */

#redim-cookiehint .cookiebuttons {
    display: flex !important;
    gap: 0.5rem !important;
    justify-content: center !important;
}

#redim-cookiehint .cookiebuttons a,
#redim-cookiehint .cookiebuttons .btn {
    background: #2c5f2d !important;
    color: white !important;
    border: 2px solid #D4AF37 !important;
    padding: 0.6rem 1.5rem !important;
    font-family: 'Cinzel', serif !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
}

#redim-cookiehint .cookiebuttons a:hover,
#redim-cookiehint .cookiebuttons .btn:hover {
    background: #D4AF37 !important;
    color: #000 !important;
    transform: translateY(-2px) !important;
}

#redim-cookiehint .cookiebuttons a:last-child {
    background: transparent !important;
    color: #2c5f2d !important;
}

#redim-cookiehint .cookiebuttons a:last-child:hover {
    background: rgba(212, 175, 55, 0.2) !important;
}

@media (max-width: 768px) {
    #redim-cookiehint .cookiebuttons {
        flex-direction: column !important;
    }
    
    #redim-cookiehint .cookiebuttons a,
    #redim-cookiehint .cookiebuttons .btn {
        width: 100% !important;
        padding: 0.7rem 1rem !important;
        font-size: 0.8rem !important;
    }
}
