/*
Theme Name: Stephane Nikel
Theme URI: https://exemple.com
Description: Thème enfant de Storefront pour le portfolio de Stéphane Nikel
Author: Stephane Nikel
Author URI: https://exemple.com
Template: storefront
Version: 1.0.0
*/


/* GESTION ADMIN BAR */
body.admin-bar {
    padding-top: 0 !important; /* enlève le décalage */
}

#wpadminbar {
    position: absolute !important; /* ou fixed si tu veux qu’elle reste visible */
    z-index: 9999; /* passe par-dessus ton header */
}


img{border-radius:0px;}




.site{position:relative;}

.site-main{margin:0px;}



/* Pour tous les titres (H1 à H6) */
h1, h2, h3, h4, h5, h6,
.heading, .h1, .h2, .h3, .h4, .h5, .h6 {  /* classes courantes dans Storefront */
  font-family: 'Manrope', sans-serif !important;
  font-weight: 700;  /* bold pour titres */
}

/* Pour le texte normal (body, prix, descriptions, menus) */
body,
p, li, span, div,
.body, .text-body {  /* adapte selon tes classes */
  font-family: 'Manrope', sans-serif !important;
  font-weight: 400;
}

/* Option : boutons ou accents */
button, .button, a.button {
  font-family: 'Manrope', sans-serif !important;
}




/* COULEURS DES MESSAGES  -------------------------------------------------------- */

/* 1. Message d'ERREUR (ex: mauvais mot de passe) */
.woocommerce-error {
    background-color: #f8d7da !important; /* Fond rouge clair */
    color: #721c24 !important;            /* Texte rouge foncé */
    border-top: 3px solid #dc3545 !important;
}

/* 2. Message de SUCCÈS (ex: compte créé) */
.woocommerce-message {
    background-color: #d4edda !important; /* Fond vert clair */
    color: #155724 !important;            /* Texte vert foncé */
    border-top: 3px solid #28a745 !important;
}

/* 3. Message d'INFO (ex: panier vide) */
.woocommerce-info {
    background-color: #d1ecf1 !important; /* Fond bleu clair */
    color: #0c5460 !important;            /* Texte bleu foncé */
    border-top: 3px solid #17a2b8 !important;
}

/* Style du bouton "Voir le panier" ou "Se connecter" à l'intérieur des notices */
.woocommerce-message .button, .woocommerce-info .button {
    background-color: #333;
    color: #fff;
}

/* ---------------------------------------------------------------------------------- */

a:focus, button:focus,
.button.alt:focus,
input:focus,
textarea:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus{
    outline: none;
}


/* AddToAny — alignement global des blocs insérés dans le contenu */
.addtoany_content {
    clear: both;
    margin: 16px auto;
    display: flex;
    justify-content: center;
}

