/********** Template CSS **********/
:root {
    --primary: #00B98E;
    --secondary: #FF6922;
    --light: #EFFDF5;
    --dark: #0E2E50;
}

.jaune{
    color: yellow;
}

.vert{
    color: green;
}

.modal-dialog {
    margin-top: 150px !important; /* ajuste la valeur si besoin */
}
.table-responsive{
    overflow-x: auto;
}
.table-responsive table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  margin-bottom: 20px;
}
        
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.nav-bar {
    position: relative;
    margin-top: 45px;
    padding: 0 3rem;
    transition: 0.5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .nav-bar {
        margin: 0;
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (min-width: 992px) {
    .header {
        margin-top: -120px;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

@media (max-width: 768px) {
    .header-carousel .owl-nav {
        left: 25px;
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #DDDDDD;
}


/*** Icon ***/
.icon {
    padding: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF !important;
    border-radius: 50px;
    border: 1px dashed var(--primary) !important;
}


/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: skew(20deg);
    z-index: 1;
}


/*** Category ***/
.cat-item div {
    background: #FFFFFF;
    border: 1px dashed rgba(0, 185, 142, .3);
    transition: .5s;
}

.cat-item:hover div {
    background: var(--primary);
    border-color: transparent;
}

.cat-item div * {
    transition: .5s;
}

.cat-item:hover div * {
    color: #FFFFFF !important;
}


/*** Property List ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.property-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.property-item img {
    transition: .5s;
}

.property-item:hover img {
    transform: scale(1.1);
}

.property-item .border-top {
    border-top: 1px dashed rgba(0, 185, 142, .3) !important;
}

.property-item .border-end {
    border-right: 1px dashed rgba(0, 185, 142, .3) !important;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    transition: .5s;
}

.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(0, 0, 0, .15);
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 40px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
/* A partir de nous*/
#connec{
    width: 400px;
    height: 310px;
    background-color: white;
    margin: 70px auto;
    padding: 20px;
    border-radius: 4px;
    border-size: ;
    box-shadow: 0 0 5px rgba(0, 0, 0, 1.0);
    text-align: center;
}

#connec input {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border : 1px solid black;
    box-sizing: border-box;
    margin-bottom: 10px;
}

#connec button {
    width: 150px;
    padding: 10px;
    color: white;
    border: none;
    border-radius: 10px;
    background-color: var(--primary);
    margin-top: 10px;
}

#connec button:hover {
    background-color: green;
}

#connec h1{ 
    margin-bottom: 30px;
}

.notification {
    position: fixed;
    bottom: 1;
    left: 5px;
    width: 40%;
    background-color: #4caf50;
    color: white;
    padding: 15px;
    display: none;
    z-index: 10000;
    text-align: center;
    border-radius: 5px;
}

.notification.error {
    color: white;
    background-color: #f44336;
}

.custom-size {
    width: 450px; 
    height: 400px; 
}

.team-size {
    height: 300px;
}

.deconnecte {
    margin-top: 20px;
    margin-left: 120px;
}

.panier {
    width: 25px;
}

.photo-upload {
    width: 200px;
    height: 200px;
    border: 2px dashed #007bff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    background-color: #f7f7f7;
}

.photo-upload img {
    max-width: 100%;
    max-height: 100%;
}

.photo-upload input[type="file"] {
    display: none;
}

/* listes des produits  */

/* Cards de produits */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.card img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 15px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #343a40;
}

.card-text {
    font-size: 0.9rem;
    color: #6c757d;
}

.card a {
    margin: 5px;
    font-size: 0.9rem;
}

/* Espacement */
.cont {
    margin-top: 30px;
    margin-bottom: 30px;
}

.condition,.politique,.final_order,.popup,.cookie_banner,.help_banner,.fqas_banner{
    display: none;
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background-color: white;
    z-index: 10000;
}

.scrollable {
    max-height: 600px;  /* Définissez la hauteur maximale de la zone de défilement */
    overflow-y: auto;   /* Active le défilement vertical uniquement */
    padding-right: 10px; /* Ajoute un peu d'espace pour éviter que le contenu ne touche le bord */
}



/* type details produit */
/* Conteneur des produits */
.products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: calc(25% - 20px); /* Largeur pour 4 colonnes */
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px; /* Espace en bas */
    margin-right: 20px; /* Espace à droite */
}

.product-card:last-child {
    margin-right: 0; /* Supprimer l'espace à droite pour le dernier élément */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Image du produit */
.product-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 5px;
}

/* Boutons de filtrage */
.filter-btn {
    margin: 0 5px;
}

/* Responsivité */
@media screen and (max-width: 1024px) {
    .product-card {
        width: calc(33.333% - 20px); /* Largeur pour 3 colonnes */
    }
}

@media screen and (max-width: 768px) {
    .product-card {
        width: calc(50% - 20px); /* Largeur pour 2 colonnes */
    }
    .condition,.politique,.final_order,.cookie_banner,.help_banner,.fqas_banner{
        width: 300px;
    }
}

@media screen and (max-width: 480px) {
    .product-card {
        width: 100%; /* Largeur pour 1 colonne */
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .card img {
        height: 150px;
    }
}

/* categorie  */
.category-menu {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* Pour masquer la barre de défilement sur Firefox */
}

.category-menu a {
    padding: 10px 20px;
    background-color: white;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
    transition: background-color 0.3s;
    display: inline-block;
}

.category-menu a:hover {
    background-color: var(--primary);
}

.category-menu a.active {
    background-color: var(--primary);
    color: white;
}

.category-menu::-webkit-scrollbar {
    display: none; /* Pour masquer la barre de défilement sur Chrome, Safari et Opera */
}

@media (max-width: 750px){
    .category-menu {
        margin: auto;
        display: flex;
        justify-content: normal;
        cursor: grab; /* Affiche une main lorsqu'on survole les catégories */
    }
}

.retire {
    margin-left: calc(90% - 10px);
    background: none; /* Supprime le fond */
    border: none; /* Supprime la bordure */
    cursor: pointer; /* Change le curseur */
    padding: 0; /* Supprime le padding */
}

.retire img {
    width: 20px; /* Ajuste la taille de l'image */
    height: 20px;
}

.add-to-cart-form input[type="number"] {
    width: 50px;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#numberpanier{
    color: black;
}

.update img {
    width: 50px;
    height: 50px;
}

.update {
    background: none; /* Supprime le fond */
    border: none; /* Supprime la bordure */
    cursor: pointer; /* Change le curseur */
    padding: 0; /* Supprime le padding */
}

.bouton_confirm{
    display: block;
}

/* style tableau */
table {
    width: 500px;
    border-collapse: collapse;
    margin-top: 20px;
    margin: auto;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
    font-weight: bold;
}

/*tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}*/

.status-pending {
    background-color: #ffc107; /* Jaune */
}

.status-completed {
    background-color: #28a745; /* Vert */
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    margin: 0 5px;
    padding: 5px 10px;
    text-decoration: none;
    color: #007bff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pagination a.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination a:hover {
    background-color: green;
}

.news-item {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column; /* Permet une disposition verticale */
    align-items: center; /* Centre le contenu horizontalement */
    max-width: 600px; /* Limite la largeur maximale */
    margin-left: auto;
    margin-right: auto;
}

.news-item:hover {
    transform: scale(1.02);
}

.news-image {
    width: 100%; /* Ajuste l'image pour occuper tout l'espace disponible */
    max-width: 300px; /* Limite la taille maximale pour éviter des images trop grandes */
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px; /* Arrondi les coins pour une apparence plus élégante */
    object-fit: cover; /* Maintient une bonne proportion pour les images */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.news-item h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.news-item p {
    font-size: 1rem;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.5;
}

#loading {
    text-align: center;
    font-size: 18px;
    color: #666;
}

#no-news {
    text-align: center;
    font-size: 20px;
    color: #999;
    margin-top: 20px;
}

.btn_actu_admin{
    display: flex;
    gap: 10px;
}

.news-details {
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.news-content {
    font-size: 16px;
    color: #333;
}

.news-date {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.back-button {
    display: inline-block;
    margin: 20px auto;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

.back-button:hover {
    background: #0056b3;
    color: #fff;
}

@media (max-width: 750px){
    .btn_couple a{
        display: block;
        margin-bottom: 10px;
    }
}

.img_prod{
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.dim-perso{
    height: 420px;
}

@media (max-width: 750px){
    .premiere-img{
        display: none;
    }
}