/* Police globale */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    background-color: #ffffff;
    color: #333; /* Couleur de texte par défaut */
    font-family: "Roboto", Arial, sans-serif; /* Police utilisée */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Couleurs principales */
.bg-primary-custom {
    background-color: #0056b3;
}

.btn-custom {
    background-color: #ff0099;
    color: white;
}

.btn-custom:hover {
    background-color: #e60082;
}

/* Style pour le conteneur supérieur */
.navbar-top {
    background-color: #f8f9fa;
    padding: 10px 0;
}

.navbar-top .logo img {
    height: 60px;
}

.navbar-top .search-bar input {
    border-radius: 30px 0 0 30px;
    border: 1px solid #ddd;
}

.navbar-top .search-bar button {
    border-radius: 0 30px 30px 0;
    background-color: #ff0099;
    color: #fff;
}

/* Icônes avec badges */
.icon-badge {
    position: relative;
    font-size: 1.5rem;
    color: #333;
    margin-left: 20px;
}

.icon-badge .badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #ff0099;
    color: white;
    font-size: 0.8rem;
    border-radius: 50%;
    padding: 3px 6px;
}

/* Menu principal */
.navbar-main .nav-link {
    color: white !important;
    font-weight: 500;
}

.navbar-main .nav-link:hover {
    background-color: #004494;
    border-radius: 5px;
}

.border-none {
    /* Empêche les changements de bordure au focus */
    outline: none !important; /* Supprime le contour bleu ou autre lors du focus */
    box-shadow: none !important; /* Supprime les ombres ajoutées */
    border-color: inherit !important; /* Conserve la couleur de bordure actuelle */
}

.bg-color-police {
    color: #d81825;
    /* bg-primary-custom */
}

.header-title {
    font-family: Arial, sans-serif !important; /* Police moderne et élégante */
    font-size: 16px !important; /* Taille de texte */
    color: #0d6efd !important; /* Texte blanc */
    font-weight: bold !important; /* Texte en gras */
    letter-spacing: 1px !important;
    margin: 0 !important; /* Suppression des marges */
}

/* Supprimer la bordure au survol */
.dropdown-item.no-border {
    border: none !important; /* Supprime les bordures */
    color: #333; /* Texte par défaut */
    transition: all 0.3s ease; /* Animation douce pour l'effet */
}

/* Modifier la couleur au survol */
.dropdown-item.no-border:hover {
    background-color: #007bff !important; /* Couleur d'arrière-plan au survol */
    color: #fff !important; /* Couleur du texte au survol */
}

/* Afficher le sous-menu au survol du parent */
.dropdown:hover .dropdown-menu {
    display: block; /* Affiche le menu au survol */
}

/* Supprimer l'animation par défaut du Bootstrap */
.dropdown-menu {
    border: none !important; /* Supprime les bordures */
    /*box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); /* Ajoute une ombre légère */
    padding: 0.5rem 0; /* Espacement vertical entre les éléments */
}

/* Suppression des bordures au focus */
.dropdown-item:focus {
    outline: none !important; /* Supprime les bordures de focus */
}

/* Style global pour le logo */
.logo {
    display: flex;
    width: 300px !important;
    height: 60px;
    align-items: center;
    font-family: "Poppins", Arial, sans-serif; /* Police moderne */
    font-size: 1.8rem;
    color: #ff007a; /* Couleur principale */
    background: linear-gradient(45deg, #ff007a, #0056b3); /* Dégradé */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 10px 20px;
    border-radius: 10px;
}

/* Texte du logo */
.logo-text {
    font-weight: bold;
    text-transform: uppercase; /* Texte en majuscules */
}

/* Animation pour l'icône */
@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsiveness */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
    }

    .logo,
    .icons {
        margin: 10px 0;
    }

    .search-bar {
        width: 100%;
    }

    .logo {
        display: flex;
        width: 100px !important;
        height: 60px;
        align-items: center;
        font-family: "Poppins", Arial, sans-serif; /* Police moderne */
        font-size: 19px;
        color: #ff007a; /* Couleur principale */
        background: linear-gradient(45deg, #ff007a, #0056b3); /* Dégradé */
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        padding: 10px 20px;
        border-radius: 10px;
    }

    .icon-badge-1 {
        display: none;
    }

    .first-plan {
        margin-top: 10px;
        z-index: 10000;
        background-color: #fff;
    }
    .custom-toggler:focus,
    .custom-toggler:hover {
        outline: none !important;
        box-shadow: none !important;
    }

    .mt-haut {
        margin-top: 8px !important;
    }

    .centered-container {
        display: flex;
        justify-content: center; /* Centre l'élément horizontalement */
        align-items: center; /* Centre l'élément verticalement */
        width: 100%; /* Prend toute la largeur disponible */
        /* Prend toute la hauteur de la fenêtre */
    }
}

.banner {
    width: 100%;
    height: 50vh;
    overflow: hidden;
    position: relative;
}

.banner img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Optionnel : Ajouter du texte ou un effet overlay */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    text-align: center;
    padding: 10px;
}

/* Styles principaux pour la carte produit */
.product-card {
    position: relative;
    overflow: hidden;
    max-width: 220px;
    margin: auto;
    font-size: 0.9rem;
}

.product-card img {
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.product-card .price {
    font-size: 1rem;
}

.product-card .icons {
    gap: 10px;
    font-size: 1rem;
}

.product-card .icons .icon {
    color: #6c757d;
    font-size: 1rem;
    transition: color 0.3s ease-in-out;
}

.product-card .icons .icon:hover {
    color: #000;
}

/* Par défaut, le bouton "Ajouter au panier" est masqué */
.product-card .add-to-cart {
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    font-size: 0.8rem;
    padding: 5px 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Afficher le bouton quand on survole ".eye-plus" */
.product-card .icons .eye-plus:hover ~ .add-to-cart {
    display: block;
    opacity: 1;
}

/* Réduction de l'opacité des icônes quand ".eye-plus" est survolé */
.product-card .icons .eye-plus:hover ~ .icons {
    opacity: 0.5;
}

/* Styling de la section note */
.rating {
    font-size: 0.9rem;
}

/* Styling des boutons d'incrémentation */
.quantity-control button {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.quantity-control .quantity-input {
    height: 30px;
    text-align: center;
    font-size: 0.85rem;
    padding: 0;
}

.quantity-control {
    gap: 10px; /* Espace entre les éléments */
}

.quantity-control .add-to-cart {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    transition: background-color 0.3s ease-in-out, transform 0.2s;
}

.quantity-control .add-to-cart:hover {
    background-color: #0056b3; /* Couleur plus foncée pour hover */
    transform: scale(1.1); /* Animation légère au survol */
}

.card-title {
    font-size: 12px;
}

/* Style de pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.pagination .page-item {
    border-radius: 50%;
    transition: all 0.3s ease;
}

.pagination .page-link {
    background-color: #f8f9fa;
    color: #007bff;
    padding: 10px 15px;
    border: 1px solid #007bff;
    border-radius: 50%;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    color: #fff;
}

.pagination .page-item:hover .page-link {
    background-color: #0056b3;
    color: #fff;
}

/* Pagination responsive */
@media (max-width: 768px) {
    .pagination .page-link {
        padding: 8px 12px;
        font-size: 12px;
    }
}

.pagination-container {
    overflow-x: auto; /* Permet de faire défiler si nécessaire */
    white-space: nowrap; /* Empêche les sauts de ligne non désirés */
}
.pagination {
    justify-content: center; /* Centrer les éléments */
}

.feature-item {
    text-align: center;
    margin-bottom: 20px;
}
.review-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.rating-stars {
    color: #ffc107;
}

a:hover {
    color: #f39c12;
    transition: color 0.3s;
}

.logo {
    width: 40px;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    display: inline-block;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
    text-align: center;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

.footer a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
}

.footer a:hover {
    text-decoration: underline;
}

.icon {
    transition: color 0.3s ease !important;
    color: #f39c12 !important;
}

.icon:hover {
    color: #ff5733 !important; /* Couleur rouge pour hover */
}

.styled-button {
    background: linear-gradient(
        45deg,
        #ff6ec7,
        #ff9a44
    ); /* Dégradé de couleurs */
    color: white; /* Texte blanc */
    border: none; /* Retirer la bordure par défaut */
    padding: 12px 30px; /* Espace intérieur pour rendre le bouton plus grand */
    font-size: 16px; /* Taille de police plus grande */
    font-weight: bold; /* Texte en gras */
    border-radius: 25px; /* Bords arrondis */
    cursor: pointer; /* Changer le curseur au survol */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation au survol */
}

.styled-button:hover {
    transform: scale(1.1); /* Agrandir légèrement au survol */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2); /* Ajouter une ombre au survol */
}

.styled-button:active {
    transform: scale(
        1
    ); /* Retour à la taille normale lorsque le bouton est cliqué */
    box-shadow: none; /* Supprimer l'ombre lors du clic */
}
