/*
Theme Name: ARTIFACT Child
Theme URI: http://example.com
Description: Thème enfant pour Storefront
Author: Ton Nom
Author URI: http://example.com
Template: storefront
Version: 1.0.0
Text Domain: artifact-child
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* Ici tu peux ajouter ton CSS personnalisé */
/*
Theme Name:   My Child Theme
Template:     (Put your parent theme folder name here, e.g., twentytwentyone)
*/

/* --- HEADER STYLES --- */

/* Wrapper to hold Logo and Menu side-by-side */
/*
Theme Name:   My Child Theme
Template:     twentytwentyone
*/

/* --- HEADER CONTAINER --- */
/*
Theme Name:   My Child Theme
Template:     twentytwentyone
*/
/* --- ACCUEIL : EFFET OVERLAY (Menu sur Image) --- */
/* --- NETTOYAGE DES ICÔNES SUR L'ACCUEIL --- */
/* --- GESTION DU MENU SELON LA CONNEXION --- */

/* 1. Si l'utilisateur est CONNECTÉ : */
/* On cache les éléments marqués "only-logged-out" (ex: Bouton Connexion) */
body.logged-in .only-logged-out {
    display: none !important;
}

/* 2. Si l'utilisateur est DÉCONNECTÉ : */
/* On cache les éléments marqués "only-logged-in" (ex: Bouton Favoris, Mon Compte) */
body:not(.logged-in) .only-logged-in {
    display: none !important;
}
/* Supprimer les traits/bordures bizarres autour des icônes */
body.home .user-actions-icons ul.icons-menu-list li {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* On s'assure que le lien lui-même est propre */
body.home .user-actions-icons ul.icons-menu-list li a {
    background: rgba(255, 255, 255, 0.2); /* Fond très léger pour le style */
    border: none !important;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000 !important; /* Force l'icône en noir */
    transition: background 0.3s ease;
}

/* Effet au survol pour plus de style */
body.home .user-actions-icons ul.icons-menu-list li a:hover {
    color: #b8860b !important; /* Or au survol */
}

/* Supprimer les puces de liste si elles apparaissent encore */
body.home .user-actions-icons ul.icons-menu-list li::before {
    content: none !important;
    display: none !important;
}
/* 1. On rend la barre secondaire transparente et flottante */
body.home .secondary-bar-wrapper {
    position: absolute; /* Sort du flux pour flotter */
    top: 65px;          /* Hauteur de votre barre noire (ajustez si besoin) */
    left: 0;
    width: 100%;
    z-index: 50;        /* Passe devant l'image */
    background: transparent !important; /* Enlève le fond blanc */
    border: none;
    padding-top: 20px;
}

/* 2. On stylise le fond des catégories pour qu'il reste lisible */
body.home .categories-wrapper {
    background: rgba(255, 255, 255, 0.9); /* Blanc semi-transparent */
    backdrop-filter: blur(5px); /* Petit effet de flou moderne */
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 3. On ajuste la section Hero (Image) pour qu'elle prenne toute la place */
body.home .hero-section {
    margin-top: 0 !important; /* Colle au header noir */
    padding-top: 140px;       /* Pousse le texte vers le bas pour ne pas être caché par le menu */
    background-position: center top; /* L'image commence bien en haut */
}

/* 4. Gestion des icônes à droite (Panier/Compte) */
body.home .user-actions-icons ul.icons-menu-list li a {
    color: #000; /* On garde les icônes noires pour le contraste */
    background: rgba(255, 255, 255, 0.8); /* Optionnel : petite bulle blanche derrière si l'image est foncée */
    padding: 8px;
    border-radius: 50%;
}
/* --- 1. HEADER CONTAINER (Black Background) --- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
/* 1. Supprimer les marges par défaut sur l'accueil */
body.home .site-content, 
body.home #content, 
body.home .site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 2. Cacher le titre de la page qui prend de la place invisiblement */
body.home .entry-header,
body.home .page-header {
    display: none !important;
}

/* 3. Coller la barre secondaire au header */
body.home .site-header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 4. Si vous utilisez le menu secondaire qu'on a codé */
body.home .secondary-bar-wrapper {
    margin-top: 0 !important;
}

/* 2. Turn the body into a column layout */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Minimum height = 100% of viewport */
    font-family: 'Montserrat', sans-serif !important;
}

/* 3. Make the main content area expand to fill space */
#content {
    flex: 1; /* This tells the content to grow and push footer down */
}
.site-header {
    background-color: #000000; /* Pitch Black */
    display: flex !important;
  
    height: 65px;
    justify-content: end !important; 
    align-items: center;
    padding: 10px 20px; /* Slim padding to match image */
    max-width: 100%;


}
.logo {
    width: 50px;
    height: auto;
    padding-top:20px;

}

/* --- 2. BRANDING (Logo + ARTIFACT text) --- */
.site-branding {
    display: flex !important;
    align-items: center !important;
    width: 100%;
    height: 100%;
    gap: 15px;
}

/* Logo Image Styling */
.custom-logo-link img, 
.custom-logo {
    max-height: 50px; /* Adjust size of the helmet */
    width: auto;
    display: block;
}

/* "ARTIFACT" Text Styling */
.site-title {
    font-family: 'Cinzel', serif !important; /* Police élégante */
    font-size: 26px;
    font-weight: 700;        /* Bold */
    text-transform: uppercase; /* Forces "ARTIFACT" to be uppercase */
    text-decoration: none;
    color: #ffffff !important; /* WHITE text */
    letter-spacing: 1px;
    line-height: 1;
    padding-top:30px;

}
.heart-svg {
    fill: transparent;      /* Intérieur vide */
    stroke: #ffffff;        /* Contour BLANC pur */
    stroke-width: 2px;      /* Épaisseur du trait */
    transition: all 0.3s ease;
    
    /* Ombre portée pour que le blanc se voie même sur fond clair */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); 
}
.site-title:hover {
    color: #cccccc !important; /* Light grey on hover */
}

/* --- 3. MENU STYLING (Right Side) --- */
.main-navigation ul, 
.main-navigation .main-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: end;
    gap: 30px;
    width: auto !important;
}

.main-navigation li {
    margin: 0 !important;
}

/* Menu Links (Accueil, Communauté, etc.) */
.main-navigation a {
    text-decoration: none !important;
    color: #ffffff !important; /* WHITE text */
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400; /* Regular weight */
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #ffd700 !important; /* Gold hover effect (matches helmet) */
}

/* --- FOOTER CONTAINER --- */
.site-footer {
    background-color: #ffffff;
    width: 100vw !important; /* Forces 100% of viewport width */
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%); /* Pulls it to the left edge */
    margin-right: calc(-50vw + 50%); /* Pulls it to the right edge */
    padding-bottom:0px !important;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 0px !important;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 99; /* Ensures it sits on top of background */
}

/* Limit the content width inside the full-width footer */
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 20px;
    flex-wrap: wrap;
    max-width: 1400px; /* Keeps the content from getting too wide */
    margin: 0 auto;    /* Centers the content */
}

/* --- LOGO SECTIONS --- */
.footer-logo img {
    max-width: 180px; /* Adjust size as needed */
    height: auto;
    display: block;
}

/* --- LINKS COLUMNS --- */
.footer-nav {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #b8860b; /* Gold hover */
}

/* --- SOCIAL ICONS --- */
.footer-socials {
    display: flex;
    gap: 15px;
    align-self: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.2s;
    color: #333; /* Default icon color */
}

.social-icon:hover {
    transform: scale(1.1);
    color: #b8860b;
}

/* --- COPYRIGHT BAR (Full Width) --- */
.footer-copyright {
    background-color: #b8860b; /* Gold Color */
    color: #000;
    text-align: center;
    padding: 20px 0;
    font-weight: 700;
    font-size: 16px;
    width: 100%;
}

.footer-copyright p {
    margin: 0;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1024px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-logo:last-child {
        display: none; /* Hide second logo on mobile */
    }
}
/* --- PAGE INSCRIPTION DOUBLE --- */

/* Fond global de la page */
.inscription-wrapper {
    background-color: #f0f0f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

/* Conteneur principal blanc */
.inscription-container-double {
    background-color: #ffffff;
    display: flex; /* Active le mode colonnes */
    flex-direction: row;
    width: 100%;
    max-width: 1100px; /* Largeur max pour que ce soit lisible */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

/* Style des Colonnes (50% chacune) */
.inscription-column {
    flex: 1; /* Chaque colonne prend la même largeur */
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre le contenu */
}

/* Titres des colonnes */
.column-title {
    font-family: 'Cinzel', serif; /* Votre police Spartiate */
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #222;
}

/* Description sous le titre */
.column-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.5;
}

/* --- LE SÉPARATEUR CENTRAL --- */
.inscription-divider {
    width: 2px;
    background-color: #eee;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-text {
    background-color: #fff;
    padding: 10px;
    border: 2px solid #eee;
    border-radius: 50%;
    font-weight: bold;
    color: #999;
    font-size: 14px;
    position: absolute; /* Le place par dessus la ligne */
    z-index: 2;
}

/* --- COULEURS SPÉCIFIQUES --- */

/* Fond très léger pour le côté Vendeur pour le distinguer */
.seller-column {
    background-color: #fffcf5; /* Un blanc cassé très léger (ton or) */
}

/* Style des Boutons (Ultimate Member) */
.um .um-button {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px !important;
    transition: all 0.3s ease;
}

/* Bouton Vendeur (Noir) */
.seller-column .um .um-button {
    background-color: #000000 !important;
    color: #b8860b !important; /* Texte Or */
}
.seller-column .um .um-button:hover {
    background-color: #333 !important;
}

/* Bouton Acheteur (Or) */
.customer-column .um .um-button {
    background-color: #b8860b !important;
    color: #000000 !important; /* Texte Noir */
}
.customer-column .um .um-button:hover {
    background-color: #d4a017 !important;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .inscription-container-double {
        flex-direction: column; /* Empile les colonnes */
    }

    .inscription-divider {
        width: 100%;
        height: 2px; /* Devient une ligne horizontale */
        margin: 0;
    }
    
    .inscription-column {
        padding: 40px 20px;
    }
}

/* --- CONTAINER PRINCIPAL --- */
/* --- MENU SPARTIATE (Shortcode) --- */

.spartan-menu-wrapper {
    max-width: 1000px; /* Largeur max pour que ça ne soit pas trop large */
    margin: 20px auto 40px auto; /* Centré avec de l'espace en bas */
    padding: 0 15px;
}

.profile-top-menu {
    background-color: #e0e0e0; /* Gris clair du fond (pilule géante) */
    border-radius: 200px;
    padding: 10px 25px;
    display: flex;
    justify-content: end;
    
    align-items: center;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.menu-pill-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Style de base des boutons */
.menu-pill-item {
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap; /* Empêche le texte de se couper */
}

.menu-pill-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* COULEUR 1 : MARRON (Profile, Dashboard...) */
.pill-brown {
    background-color: #b8860b; /* Marron doré */
    color: #ffffff !important;
}

.pill-brown:hover {
    background-color: #8c6606; /* Un peu plus foncé au survol */
    color: #ffffff !important;
}

/* COULEUR 2 : JAUNE (Mes Objets) */
.pill-yellow {
    background-color: #b8860b; /* Jaune vif */
    color: #ffffff !important; /* Texte noir */
}

.pill-yellow:hover {
    background-color: #e0a800;
    color: #000000 !important;
}

/* ICÔNE CHAT */
.menu-chat-icon a {
    font-size: 22px;
    color: #333;
    display: flex;
    padding-left: 150px;
    align-items: center;
}
.menu-chat-icon a:hover {
    color: #b8860b;
}
/* --- STYLE DU BOUTON ACTIF --- */
.menu-pill-item.active {
    background-color: #ffc107 !important; /* Jaune Vif */
    color:  #000000 !important; /* Texte Noir */
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.15); /* Petit effet "enfoncé" */
    font-weight: 800; /* Un peu plus gras */
    pointer-events: none; /* (Optionnel) Empêche de recliquer sur la page actuelle */
}

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
    .profile-top-menu {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        border-radius: 20px;
    }
    
    .menu-pill-container {
        justify-content: center;
    }
}
.profile-clean-wrapper {
    padding: 40px;
    text-align: center !important;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05); /* Ombre légère */
    font-family: 'Montserrat', sans-serif;
    min-height: 600px;
    max-width: 1100px;
    margin: 30px auto; /* Centré sur la page */
}

/* --- HEADER (Avatar + Nom) --- */
.profile-clean-header {
    margin-bottom: 50px;
}

.clean-avatar img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: auto;
    object-fit: cover;
    border: 3px solid #b8860b; /* Changé en OR pour matcher votre thème Artifact */
    padding: 4px;
    background-color: #fff;
    display: block;
}

.clean-name {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 20px 0 10px 0;
    text-transform: capitalize;
}

/* --- BOUTONS D'ACTION --- */
.profile-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Espace entre les boutons */
    flex-wrap: wrap;
}

/* Bouton 1: Modifier (Style original) */
.spartan-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background-color: #000000; /* Noir */
    color: #b8860b !important; /* Or */
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #b8860b;
}

.spartan-edit-btn:hover {
    background-color: #b8860b;
    color: #000 !important;
}

/* Bouton 2: Ajouter Produit (Nouveau Style Inversé) */
.spartan-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background-color: #b8860b; /* Fond Or */
    color: #000000 !important; /* Texte Noir */
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #b8860b;
}

.spartan-add-btn:hover {
    background-color: #000000;
    color: #b8860b !important;
    box-shadow: 0 0 10px rgba(184, 134, 11, 0.4);
}

/* --- GRILLE D'INFOS --- */
.profile-info-grid {
    display: grid;
    text-align: center;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
    gap: 50px 30px;
    margin: 0 auto 40px auto;
    max-width: 800px;
}

.info-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid #2c3e50;
    position: relative;
}

.info-value {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 500;
}

.info-label {
    position: absolute;
    bottom: -25px;
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ligne décorative */
.profile-bottom-line {
    width: 50%;
    height: 1px;
    background-color: #bdc3c7;
    margin: 60px auto 0;
}

/* --- LOGIQUE D'AFFICHAGE UM --- */
.page-template-page-profil-custom:not(.um-editing) .um-viewing {
    display: none !important;
}

.um-form-container {
    max-width: 600px;
    margin: 0 auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .profile-info-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
        gap: 40px;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .spartan-edit-btn, .spartan-add-btn {
        width: 100%; /* Boutons pleine largeur sur mobile */
        justify-content: center;
    }
}
/**************** SECONDARY CATEGORY MENU ************/
/* --- BARRE SECONDAIRE (Catégories + Icônes) --- */
.secondary-bar-wrapper {
    background-color: #ffffff; /* Gris clair comme sur l'image */
    padding: 10px 40px;
    display: flex;
    justify-content: space-between; /* Sépare Gauche et Droite */
    align-items: center;
    border-bottom: 1px solid #ffffff;
}

/* Partie Gauche : Catégories */
.categories-wrapper {
    flex-grow: 1; /* Prend la place disponible */
}

.categories-inner {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Partie Droite : Menu Icônes */
.user-actions-icons ul.icons-menu-list {
    display: flex;
    gap: 20px; /* Espace entre Panier et User */
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.user-actions-icons ul.icons-menu-list li a {
    text-decoration: none;
    color: #000; /* Couleur des icônes */
    font-size: 20px; /* Taille des icônes */
    transition: color 0.3s;
}

.user-actions-icons ul.icons-menu-list li a:hover {
    color: #6d6d6d; /* Or au survol */
}
/* The Main Wrapper */
.categories-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    margin: 5px auto; /* Added margin for spacing */
    padding: 10px 20px;
    box-sizing: border-box;
    background: #f3eef6;
    border-radius: 8px;
}

/* The Menu Section (Left) */
.categories-bar {
    flex: 1;
}

/* The List Container (acts as the Grid) */
ul.categories-inner {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 Columns */
    gap: 10px 20px;
    justify-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* The Menu Item (Li) */
.categories-inner li {
    width: 100%;
    text-align: center;
    margin: 0; /* Override default theme margins */
}

/* The Link (The clickable area) */
.categories-inner li a {
    display: flex;
    flex-direction: column; /* Stacks Image on Top, Text on Bottom */
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 12px;
    transition: transform 0.2s ease;
    line-height: 1.2;
}

/* Hover Animation */
.categories-inner li a:hover {
    transform: translateY(-5px);
    color: #000;
}

/* The Icon Images inside the menu */
.categories-inner li a img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    margin-bottom: 5px;
}

/* The Static Icons (Right Side: Cart/Account) */
.category-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-end;
    min-width: 80px;
    margin-left: 20px;
    border-left: 1px solid #ddd; /* Optional separator line */
    padding-left: 20px;
}

.category-icons img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: block;
    transition: opacity 0.2s;
}

.category-icons a:hover img {
    opacity: 0.7;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    ul.categories-inner {
        grid-template-columns: repeat(3, 1fr); /* 3 Columns on Tablet */
    }
}

@media (max-width: 600px) {
    .categories-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    ul.categories-inner {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns on Mobile */
    }
    
    .category-icons {
        width: 100%;
        justify-content: center;
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }
}
/* --- WRAPPER GLOBAL --- */
.custom-product-wrapper {
    background-color: #f3eef6; /* Même fond gris clair que votre menu */
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* --- CARTE FORMULAIRE --- */
.form-card {
    background: #fff;
    width: 100%;
    max-width: 600px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
}

.form-card h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 5px;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 30px;
    font-size: 14px;
}

/* --- CHAMPS --- */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 13px;
    text-transform: uppercase;
}

input[type="text"],
input[type="number"],
textarea,
select.custom-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    background: #fafafa;
    box-sizing: border-box; /* Important pour ne pas dépasser */
}

input:focus, textarea:focus, select:focus {
    border-color: #b8860b; /* OR */
    outline: none;
    background: #fff;
}

textarea {
    resize: vertical;
}

/* --- INPUT FILE (Image) --- */
.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

input[type="file"] {
    font-size: 14px;
    padding: 10px;
    background: #fafafa;
    border: 1px dashed #ccc;
    width: 100%;
    box-sizing: border-box;
}

/* --- BOUTON SOUMETTRE --- */
.submit-btn {
    width: 100%;
    background-color: #000;
    color: #b8860b; /* OR */
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px;
    border: 1px solid #b8860b;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #b8860b;
    color: #000;
}

/* --- MESSAGES D'ALERTE --- */
.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}
.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Mobile */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
#auction-fields label small {
    color: #888;
    font-weight: normal;
}
input[type="datetime-local"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
/* --- PAGE MES OBJETS (Style Galerie) --- */

.vendor-dashboard-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    min-height: 600px;
    font-family: 'Montserrat', sans-serif;
}

/* Header Actions */
.vendor-header-actions {
    display: flex;
    justify-content: flex-end; /* Bouton à droite */
    margin-bottom: 40px;
    padding-right: 15px;
}

/* Grille Responsive */
.vendor-products-grid {
    display: grid;
    /* Crée des colonnes auto de 220px min */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
    gap: 50px 30px; /* Espace vertical / horizontal */
}

/* Carte Produit */
.vendor-product-card {
    text-align: center;
    transition: transform 0.2s ease;
}

.vendor-product-card:hover {
    transform: translateY(-5px); /* Effet levier au survol */
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Zone Image */
.product-img-wrapper {
    width: 100%;
    height: 200px; /* Hauteur fixe pour alignement parfait */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative; /* Pour le badge */
}

.product-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* L'image n'est jamais coupée */
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

/* Titre */
.product-title {
    font-size: 16px;
    font-weight: 700; /* Gras */
    color: #000;
    margin: 5px 0;
    line-height: 1.3;
}

/* Prix */
.product-price {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

/* Badges (Statut) */
.status-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    z-index: 5;
}
.status-badge.draft { background-color: #95a5a6; } /* Gris */
.status-badge.pending { background-color: #f39c12; } /* Orange */

/* Message Vide */
.no-products-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: #999;
}
/* --- DASHBOARD VENDEUR STYLE "MODERNE" --- */

.vendor-dashboard-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    background-color: #f9f9f9; /* Fond très léger pour la page */
}

/* --- 1. CARTES STATISTIQUES (Haut) --- */
.dashboard-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.dash-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden; /* Pour couper le graphique qui dépasse */
    transition: transform 0.3s;
}

.dash-stat-card:hover {
    transform: translateY(-5px);
}

.stat-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.icon-box {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.green-icon { background-color: #e6f8ef; color: #00c853; }
.gold-icon  { background-color: #fff8e1; color: #ffc107; }

.stat-dots { color: #ccc; cursor: pointer; }

.stat-label {
    font-size: 13px;
    color: #7f8c8d;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #2c3e50;
}

.stat-trend {
    font-size: 13px;
    font-weight: 600;
}
.stat-trend.positive { color: #00c853; }
.stat-trend.negative { color: #e74c3c; }

.text-muted { color: #999; font-weight: normal; margin-left: 5px; }

/* Graphiques SVG en fond de carte */
.stat-chart {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 100px;
    height: 40px;
    opacity: 0.5;
}
.green-chart { color: #00c853; }
.red-chart { color: #e74c3c; }


/* --- 2. TABLEAUX DE DONNÉES --- */
.dashboard-table-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}

/* En-tête du tableau */
.table-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}
.table-title i { color: #b8860b; }

.table-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 13px;
}

.filter-dropdown {
    border: 1px solid #eee;
    padding: 5px 15px;
    border-radius: 6px;
    cursor: pointer;
    color: #555;
    background: #fdfdfd;
}

.view-all-link {
    color: #b8860b;
    text-decoration: none;
    font-weight: 600;
}

/* Le Tableau lui-même */
.table-responsive {
    overflow-x: auto;
}

.dash-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.dash-table th {
    text-align: left;
    padding: 15px;
    font-size: 12px;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
    background-color: #f8f9fa; /* Gris très clair pour le header */
    border-bottom: 1px solid #eee;
}

.dash-table td {
    padding: 15px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #f1f1f1;
    vertical-align: middle;
}

/* Style des colonnes spécifiques */
.id-col { color: #7f8c8d; font-family: monospace; }
.fw-bold { font-weight: 600; color: #000; }
.qty-badge {
    background: #e3f2fd;
    color: #2196f3;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
}
.price-col { font-weight: 700; }
.text-green { color: #00c853; }

/* Boutons Action (Accept/Decline) */
.action-btns {
    display: flex;
    gap: 10px;
}

.btn-decline, .btn-accept {
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-decline {
    color: #e74c3c; /* Rouge */
    border: 1px solid transparent;
}
.btn-decline:hover {
    background-color: #fceceb;
    border-color: #e74c3c;
}

.btn-accept {
    color: #00c853; /* Vert */
    border: 1px solid transparent;
}
.btn-accept:hover {
    background-color: #e6f8ef;
    border-color: #00c853;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .dashboard-stats-row {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }
    
    .table-actions {
        display: none; /* Simplifier sur mobile */
    }
}
/* --- MESSAGE PANIER VIDE CENTRÉ --- */

/* 1. Le conteneur prend de la place pour aérer */
.cart-empty-message {
    display: flex !important;
    flex-direction: column;
    align-items: center;      /* Centre horizontalement */
    justify-content: center;  /* Centre verticalement */
    min-height: 50vh;         /* Prend au moins la moitié de la hauteur de l'écran */
    text-align: center !important;
    padding: 40px 20px;
    margin: 0 auto;
    width: 100%;
}

/* 2. Style du Titre "Votre panier est vide" */
.cart-empty-message h2 {
    font-size: 32px !important;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

/* 3. Style du texte descriptif */
.cart-empty-message p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px; /* Évite que le texte soit trop large sur grand écran */
}

/* 4. Bouton "Retour à la boutique" */
.cart-empty-message a.button {
    background-color: #000 !important;
    color: #fff !important;
    padding: 15px 40px !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    display: inline-block;
}

.cart-empty-message a.button:hover {
    background-color: #b8860b !important; /* Or au survol */
    transform: scale(1.05); /* Petit effet de zoom */
}

/* 5. (Optionnel) Ajout d'une icône Panier Vide avant le titre */
.cart-empty-message::before {
    content: '\f07a'; /* Code icône panier FontAwesome (si dispo) ou Dashicon */
    font-family: 'Dashicons'; /* Utilise les icônes WordPress */
    content: "\f174"; /* Icône panier Dashicon */
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}  
/* =========================================
   1. Hero Image (Pleine largeur absolue + Superposition)
   ========================================= */

/* On supprime les espaces par défaut du thème */
.artifact-about-page {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.about-hero {
    width: 100vw;
    height: 700px; /* Ajustez la hauteur de l'image si besoin */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    
    /* LA MAGIE EST ICI : On tire l'image vers le haut pour "avaler" l'espace blanc */
    margin-top: -120px !important; /* ⚠️ Ajustez ce chiffre (-100px, -140px...) jusqu'à ce que l'image touche le menu noir */
    
    z-index: 1; /* L'image reste en arrière-plan */
    overflow: hidden;
}

.about-hero img.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* On s'assure que la barre de catégories (Badges, Art...) flotte AU-DESSUS de l'image */
.navigation-bar,
.group-7, 
.group-wrapper {
    position: relative;
    z-index: 10 !important; 
}

/* =========================================
   MENU RESPONSIVE MOBILE
   ========================================= */

/* Bouton Hamburger (Caché sur Desktop) */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

    .mobile-toggles {
        display: none;
    }

    .secondary-toggle {
        display: none;
    }

@media (max-width: 900px) {
    /* Ajustement du Header container */
    .site-header {
        justify-content: space-between !important;
        padding: 10px 20px !important;
        position: relative !important;
        height: auto !important;
    }

    /* Wrapper par défaut de Storefront */
    .site-header .col-full {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Ajustement du Branding (Logo) pour laisser de la place */
    .site-branding {
        width: auto !important;
        flex-grow: 1 !important;
        justify-content: flex-start !important;
    }
    
    .storefront-primary-navigation {
        width: auto !important;
        flex-grow: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

        .mobile-toggles {
            display: flex !important;
            gap: 10px !important;
            align-items: center !important;
        }

        /* Afficher les boutons menu */
    .menu-toggle {
        display: block !important;
        margin: 0 !important;
        background-color: transparent !important;
        color: #ffffff !important;
        border: 1px solid #ffffff !important;
        border-radius: 4px !important;
        padding: 8px 12px !important;
    }

        .secondary-toggle {
            display: block !important;
            margin: 0 !important;
            background-color: transparent !important;
            color: #ffffff !important;
            border: 1px solid #ffffff !important;
            border-radius: 4px !important;
            padding: 8px 12px !important;
        }

        .secondary-bar-wrapper {
            display: none !important;
        }

        body .secondary-bar-wrapper.toggled {
            display: flex !important;
            flex-direction: column !important;
            background-color: #f3eef6 !important;
            position: absolute !important;
            top: 70px !important;
            left: 0 !important;
            width: 100% !important;
            z-index: 99998 !important;
            padding: 20px !important;
            box-sizing: border-box !important;
        }

    /* Style du menu déroulant mobile */
    .main-navigation {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background-color: #111111 !important;
        padding: 0 !important;
        z-index: 99999 !important;
        border-top: 1px solid #333333 !important;
    }

    /* Classe ajoutée par le JS pour afficher le menu */
    .main-navigation.toggled {
        display: block !important;
    }

    /* Liste des liens en colonne */
    .main-navigation ul, 
    .main-navigation .main-menu {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
        justify-content: flex-start !important;
    }

    .main-navigation li {
        width: 100%;
        text-align: left !important;
        border-bottom: 1px solid #222222 !important;
    }

    .main-navigation a {
        display: block !important;
        padding: 15px 20px !important;
        font-size: 16px !important;
        color: #ffffff !important;
    }
    
    .main-navigation a:hover {
        background-color: #222222 !important;
        color: #b8860b !important;
    }

    /* Ajustement de la taille du titre sur mobile */
    .site-title {
        font-size: 20px !important;
        padding-top: 0 !important;
    }
    .logo {
        padding-top: 0 !important;
        width: 40px !important;
    }
}
