/* Header container */
header {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Logo */
header a.navbar-brand img {
    height: 40px;
}

/* Barre de recherche */
header form {
    max-width: 600px;
}

/* Bouton recherche */
header form button.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s ease;
}

header form button.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Icônes panier, favoris, connexion */
header .position-relative {
    cursor: pointer;
    font-weight: 600;
    color: #ee914b;
    text-align: center;
    font-size: 12px;
}

header .position-relative svg {
    display: block;
    margin: 0 auto 4px;
    fill: #ee914b !important;
}

/* Badge chiffres */
header .badge {
    font-size: 10px;
    font-weight: 700;
    padding: 0.2em 0.35em;
}





/*Menu */ 

/* Forcer l’affichage correct du menu */
.navbar-nav .nav-link {
    color: #007bff; /* bleu Bootstrap */
    font-weight: 600;
}

.navbar-nav .nav-link:hover {
    color: #0056b3;
}






/* Séparateurs */
header .gap-3 span {
   
    font-weight: 600;
}

/*caroussel */

.carousel .carousel-item img {
  border-radius: 1rem; /* coins arrondis */
}



/*Catégorie */

.full-width-section {
    width: 100%;              /* prend toute la largeur */
    padding: 40px 0;          /* espace haut/bas */
    background-color: #f8f9fa; /* optionnel : couleur de fond */
}

.categorie-item {
    margin: 0 20px;           /* espace horizontal entre les blocs */
    text-align: center;
}

.categorie-img {
    width: 50px;              /* taille uniforme */
    height: 50px;
    object-fit: contain;      /* évite la déformation */
    margin-bottom: 10px;      /* espace entre image et texte */
}

/* ===== Sections ===== */
section {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Top Vente cards */
/* Slider Top Vente */
#topVenteSlider {
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE & Edge */
    scrollbar-width: none;     /* Firefox */
}
#topVenteSlider::-webkit-scrollbar {
    display: none;             /* Chrome, Safari, Opera */
}

/* Largeur des cartes */
.top-vente-card {
    border-radius: 15px;
    flex-shrink: 0;
    width: 20%; /* Desktop : 5 cartes */
}

/* Responsive */
@media (max-width: 992px) {
    .top-vente-card {
        width: 30%; /* Tablette : 3 cartes */
    }
}
@media (max-width: 576px) {
    .top-vente-card {
        width: 45%; /* Mobile : 2 cartes */
    }
}


/* Flèches slider Top Vente */
#prevBtn, #nextBtn {
    background-color: #007bff;
    color: white;
    border: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

#prevBtn:hover, #nextBtn:hover {
    background-color: #0056b3;
}

/* Position flèches Top Vente */
.top-ventes .position-absolute {
    top: 10px;    /* ajustable pour descendre légèrement */
    right: 0;
    display: flex;
    gap: 8px;
}

/* Slider Top Vente */
#topVenteSlider {
    gap: 20px;
    scroll-behavior: smooth;
    padding-top: 40px; /* espace avec le titre */
}

/* Bannière */
.banniere img {
    border-radius: 10px;
    max-height: 250px;
    object-fit: cover;
}

/* Newsletter */
.newsletter {
    background-color: #ff7f00; /* Orange Logola */
}

.newsletter input {
    height: 45px;
}

.newsletter h4 {
    font-size: 1.6rem;
}


/* Responsive */
@media (max-width: 768px) {
    #topVenteSlider .card {
        width: 180px;
    }
    .categorie-item {
        width: 90px;
    }
    .categorie-img {
        width: 60px;
        height: 60px;
    }
}

.dropdown-toggle::after {
    display: none !important;
}


/*Connexion*/

/* Header de la modal avec orange */
.auth-modal .modal-header {
  background: linear-gradient(135deg, #ff6600, #ff9933); /* dégradé orange */
  color: #fff;
}

/* Onglets */
.auth-modal .nav-tabs .nav-link.active {
  color: #ff6600;
  border-bottom: 2px solid #ff6600;
}

/* Bouton Connexion */
.auth-modal .btn-primary {
  background-color:  #007bff;
  border: none;
}
.auth-modal .btn-primary:hover {
  background-color: #0056b3;   /* Bleu foncé au survol */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Bouton Inscription */
.auth-modal .btn-success {
  background-color:  #007bff;
  border: none;
}
.auth-modal .btn-success:hover {
  background-color: #0056b3;   /* Bleu foncé au survol */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}



/*CARTE INTERACTIVE*/

/* CONTENEUR */
/* CONTENEUR */
#map-wrapper {
    max-width: 520px;
    margin: auto;
    position: relative;
}

/* SVG */
#map-wrapper svg {
    width: 100%;
    height: auto;
}

/* REGIONS */
.region {
    fill: #d9e4f5;
    stroke: #7a8ba3;
    stroke-width: 1;
    cursor: pointer;
    transition: all .25s ease;
}

/* HOVER */
.region:hover {
    fill: #ff9800;
    stroke: #c76a00;
    stroke-width: 2;
}

/* ACTIVE */
.region.active {
    fill: #007bff;
}

/* TOOLTIP */
#tooltip {
    position: absolute;
    background: #ff9800;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    display: none;
    z-index: 1000;
}


