/* --- Depuis Serveur/view/inc/inc.head.php --- */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1598514982205-f36b96d1e8d4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: white;
    padding: 120px 0;
}
.card-product {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.feature-icon {
    font-size: 2.5rem;
    color: #ffc107;
    margin-bottom: 1rem;
}
.img-produit-carte {
    height: 220px;
    width: 100%;
    object-fit: contain;
    padding: 1rem;
    background-color: #f8f9fa;
}

/* Effet au survol des cartes produits */
.card-hover {
    transition: transform 0.3s ease, shadow 0.3s ease;
    cursor: pointer;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175) !important;
}

/* Bouton flottant pour le panier (facultatif mais dynamique) */
.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Forcer les images du palmarès à être harmonieuses */
.card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Couleurs personnalisées pour les badges AOS */
[data-aos] {
    pointer-events: none;
}
.aos-animate {
    pointer-events: auto;
}

/* --- Depuis Serveur/view/v-commande.php --- */
.form-check-input.check-custom {
    background-color: white;
    border-color: white;
}
.form-check-input.check-custom:checked {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}

/* --- Depuis Serveur/view/inc/inc.footer.php --- */
.hover-white:hover {
    color: #ffffff !important;
    transition: color 0.2s ease-in-out;
}

/* --- Pagination Backoffice --- */
.custom-page-link {
    color: #212529;
    border-color: #dee2e6;
}
.custom-page-link:hover {
    background-color: #ffc107;
    color: #212529;
    border-color: #ffc107;
}
.page-item.active .custom-page-link {
    background-color: #212529;
    border-color: #212529;
    color: white;
}

/* --- Dashboard Backoffice --- */
.progress-dashboard {
    height: 8px;
}
.img-product-dashboard {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background-color: #f8f9fa;
}
.text-bronze {
    color: #cd7f32 !important;
}

/* --- Amélioration du Header --- */
.nav-link-custom {
    position: relative;
    color: #495057 !important;
    transition: color 0.3s ease;
    padding-bottom: 0.25rem;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: #000 !important;
}

/* Trait jaune discret sous les liens au survol et pour le lien actif */
.nav-link-custom::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background-color: #ffc107;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    width: 100%;
}

/* Boutons ronds pour le profil et le panier */
.icon-nav-custom {
    width: 45px;
    height: 45px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    text-decoration: none;
}

.icon-nav-custom:hover {
    background-color: #ffc107;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}