.popup { 
  position: fixed; 
  z-index: 999; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.5); 
  display: none; 
} 
.popup-content {
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  background-color: white; 
  padding: 20px; 
  border-radius: 5px; 
  text-align: center; 
}

.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
  font-size: 3.5rem;
  }
}

/* .navbar{
  border-bottom: solid;
  border-color: #1043a7;
} */

.navbar .navbar-panier{
  display: none;
}

.navbar-toggler{
  display: none;
}

@media screen and (max-width: 800px) {
  .navbar-toggler{
  display: block;
  }

  .container li{
  display: inline-block;
  }

  .container .menu{
  display: none;
  }

  .rowgrey img{
  height: 100;
  }
.nom{
  width: 100;
}


  
}


.loader-container{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  background-color: brown;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}
.loader-container.hidden{
  opacity: 0;
  visibility: hidden;
}
.loader{
  width: 120px;
  height: 120px;
  border: 16px solid #e5e5e5;
  border-radius: 50%;
  border-top: 16px solid #007bff;
  box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%, -50%) rotate(0deg);
  animation: loader 1s linear infinite;
}
@keyframes loader{
  100%{
      transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Loadder */
.loader{
position:  absolute;
width: 100%;
height: 100%;
background: black;
display: flex;
justify-content: center;
align-items: center;
}
.lettre{
color: #484848;
font-size: 80px;
letter-spacing: 15px;
margin-bottom: 150px;
animation: flash 1.2s linear infinite;
}
@keyframes flash{
0%{
  color: #fff900;
  text-shadow: 0 0 7px #fff900;
}
90%{
  color: #484848;
  text-shadow: none;
}
100%{
  color: #fff900;
  text-shadow: 0 0 7px #fff900;
}
}
.lettre:nth-child(1){
animation-delay: 0.1s;
}
.lettre:nth-child(2){
animation-delay: 0.2s;
}
.lettre:nth-child(3){
animation-delay: 0.3s;
}
.lettre:nth-child(4){
animation-delay: 0.4s;
}
.lettre:nth-child(5){
animation-delay: 0.5s;
}
.lettre:nth-child(6){
animation-delay: 0.6s;
}
.lettre:nth-child(7){
animation-delay: 0.7s;
}
.fondu-out{
opacity: 0;
transition: opacity 0.4s ease-out;
}

.album{
  background: url(img/bg5.jpg) no-repeat;
  background-position: center;
  background-size: cover;
}
.cards{
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 2rem;
margin-top: 1rem;
}
.card-single{
  display: flex;
  background-color: #fff;
  justify-content: space-around;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 2px 5px 10px 2px rgb(0 0 0 /10%);
}
.card-single input{
background-color: #cbcaff;
width: 70%;
border-radius: 25px;
text-align: center;
border:none;
}

.card-body .text-barre{
color: #665f5f;
font-weight: 550;
text-decoration: line-through;
}

.rowgrey{
  background-color: #fff;
  text-align: center;
  font-weight: 700;
  color: black;
}

.rowgrey input{
  width: 30;
}



.rowtitle{
  background-color:#f3f7f7;
  text-align: center;
  color: white;
  font-weight: 600;
}



.rowtotal{
  background-color: #1043a7;
  text-align: center;
  color: #da4c0a;
  font-weight: 600;
}

table, tr {
  border:3px solid rgba(195, 195, 195, 0);;
  border-collapse: collapse;
}



ul.menu li{
  list-style-type: none;
  margin: 0;
  padding: 0;
  
}

.container .nav-item a:hover{
  color: #da4c0a;
  text-decoration: overline;
  font-weight: 800;
  letter-spacing: 3px;
  
}

.container .nav-item a:focus{
  font-style: #da4c0a;
  text-decoration: overline;
  font-weight: 800;
  letter-spacing: 3px;
  
}

.navbar .container strong span{
  color: #da4c0a;
  text-decoration: overline;
  font-weight: 800;
  letter-spacing: 3px;
}

.navbar .container strong{
  color: #1043a7;
  text-decoration: overline;
  font-weight: 800;
  letter-spacing: 3px;
}

.navbar .container button.navbar-toggler{
  background-color: #da4c0a;
}

.panier{
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(187, 185, 255, 0.993));
  height: 100px;
}

.btn-payer{
  display : flex;
  justify-content : center;
  padding-top: 10px;
}



.panier h2{
color: #da4c0a;
font-weight: 800;
letter-spacing: 3px;
font-family: Arial, Helvetica, sans-serif;
text-shadow: 2px 2px  white;
text-align: center;
animation-name: example;
animation-duration: 10s;
animation-iteration-count: infinite;
}

.panier h3{
color:white;
font-weight: 800;
text-align: center;
}

.rowtitle{
background-color: #1043a7;
}

.banniere{
background-color: #da4c0a;
}

.container li{
display: inline-block;
}

.container .categorie{
font-weight: 600;
color:#da4c0a;
}

.container-fluid{
background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(4, 113, 255, 0.993));
height: 200px;

}

.container-fluid h1{
color: #da4c0a;
font-weight: 800;
letter-spacing: 3px;
font-family: Arial, Helvetica, sans-serif;
text-shadow: 2px 2px  white;
text-align: center;
animation-name: example;
animation-duration: 10s;
animation-iteration-count: infinite;
}

.container-fluid h3{
text-shadow: 2px 2px  black ;
color:white;
font-weight: 700;
text-align: center;
}

.container-fluid h4{
text-shadow: 1px 2px  black ;
color:white;
font-family:"Brush Script MT", Helvetica, cursive;
font-weight: 800;
letter-spacing: 2px;
font-size: 20pt;
animation-name: example;
animation-duration: 5s;
animation-iteration-count: infinite;
text-align: center;

}

.container form select{
min-width: 40%;
border-radius: 5px;
}
.container form button{
border-radius: 5px;
border: none;
background-color: #1043a7;
color: white;

}

@keyframes example {
0%   {color: red;}
50%  {color: rgb(255, 230, 0);}
100%  {color: green;;}
}



.card{
box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(255, 0, 0, 0);
overflow: hidden;
width: 0;
height: 100%;
transition: .5s ease;
}

.img:hover .overlay {
width: 100%;
}

.footer-bar .container h5{
    margin-top: 10px;
text-align: center;
font-weight: 600;
color:#da4c0a;
font-size: 2rem;
}

.footer-bar .container p,a{
color: white;
font-weight: 600;
text-decoration: none;
text-align: center;
margin-left: 5px;
letter-spacing: 1px;

}
.footer-bar{
border-top: solid 3px;
border-color: #1043a7;
}

.paiement{
position: relative;
max-width: 850px;
width: 100%;
background: #fff;
padding: 40px 30px;
box-shadow: 0 5px 10px rgba(0,0,0,0.2);
perspective: 2700px;
}
.paiement .cover{
position: absolute;
top: 0;
left: 50%;
height: 100%;
width: 50%;
z-index: 98;
transform-origin: left;
transition: all 1s ease;
transform-style: preserve-3d;
}



/* copyright */

.row-copyright p{
  color : white;
  display : flex;
  text-align : center;
  justify-content : center;
}
.row-copyright {
  background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(4, 113, 255, 0.993));
}

#toTop {
position:fixed;
bottom:15px;
right:15px;
cursor:pointer;
background: #da4c0a;
width:50px;
font-size:25px;
line-height:45px;
color:#fff;
text-align:center;
border-radius:50px;
height:50px;
}



/* SECTION COMMENTAIRE */
:root{
  --orange:#00c500;
  --black:#130f40;
  --light-color:#666;
  --box-shadow:0 .5rem 1rem rgba(0,0,0,.1);
  --border:2rem solid rgba(0,0,0,.1);
  --outline:.1rem solid rgba(0,0,0,.1);
  --outline-hover:.2rem solid var(--black);

}


.review .review-slider{
  padding: 1rem;
}
.review .review-slider .box{
  background: #fff;
  border-radius: .5rem;
  text-align: center;
  padding: 3rem 2rem;
  outline-offset: -1rem;
  outline: var(--outline);
  transition: .2s linear;
}
.review .review-slider .box:hover{
  outline: var(--outline-hover);
  outline-offset: 0rem;
}
.review .review-slider .box img{
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
}
.review .review-slider .box p{
  padding: 1rem 0;
  line-height: 1.8;
  color: var(--light-color);
  font-size: 1.5rem;
}
.review .review-slider .box h3{
  padding-bottom: .5rem;
  line-height: 1.8;
  color: var(--black);
  font-size: 2.2rem;
}
.review .review-slider .box .starts i{
  color: yellow;
  font-size: 1.7rem;
}


@media(max-width:450px){
  html{
      font-size: 50%;
  }
  .heading{
      font-size: 2.5rem;
  }
}


/*   
SECTION SLIDER PRODUIT

*/
/* Style pour le slider d'images */
.carousel-item img {
  height: 250px;
  object-fit: contain;
}


/* Style pour les informations sur les produits */
h2 {
  font-size: 24px;
  font-weight: bold;
}

p {
  font-size: 16px;
  line-height: 1.5;
}

ul {
  list-style: none;
  padding-left: 0;
}

li {
  font-size: 16px;
  line-height: 1.5;
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
}

.btn-primary:hover {
  background-color: #0069d9;
  border-color: #0062cc;
}

.btn-primary:focus, .btn-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}


.container .row{
  background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(4, 113, 255, 0.993));
}
.container .row .col-md-6{
  padding-top: 10px;
  padding-bottom: 10px;
}

.container .row .col-md-6 .info-produit{
  border-radius: 25px;
  text-align: center;
  background-color:  #dbdbdb70;
  padding-left: 0px;
  min-height: 100%;
  padding-top: 30px;
}
.container .row .col-md-6 video{
  padding-top: 50px;
  width: 100%;
  box-shadow: #424242;
  border: none;
  height: 200px;
  object-fit: cover;
  object-position: center;
}
.container .row .col-md-6 .info-produit h4{
  color: #424242;
  padding: 20px;
}
.container .row .col-md-6 .info-produit li {
  color: #a6b2ca;
  font-weight: 600;
}
.container{
  position: relative;
  padding-bottom: 10px;
}


/* SECTION COMMENTAIRE */

.slide-container{
  max-width: 1120px;
  width: 100%;
  padding: 40px 0;
}
.slide-content{
  margin: 0 40px;
  overflow: hidden;
  border-radius: 25px;
}
.slide-container .slide-content .card{
  border-radius: 25px;
  background-color: #FFF;
}
.image-content,
.card-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
}
.image-content{
  position: relative;
  row-gap: 5px;
  padding: 25px 0;
}
.overlay{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #4070F4;
  border-radius: 25px 25px 0 25px;
}
.overlay::before,
.overlay::after{
  content: '';
  position: absolute;
  right: 0;
  bottom: -40px;
  height: 40px;
  width: 40px;
  background-color: #4070F4;
}
.overlay::after{
  border-radius: 0 25px 0 0;
  background-color: #FFF;
}
.card-image{
  position: relative;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  background: #FFF;
  padding: 3px;
}
.card-image .card-img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #4070F4;
}
.name{
  font-size: 18px;
  font-weight: 500;
  color: #333;
}
.description{
  font-size: 14px;
  color: #707070;
  text-align: center;
}
.button{
  border: none;
  font-size: 16px;
  color: #FFF;
  padding: 8px 16px;
  background-color: #4070F4;
  border-radius: 6px;
  margin: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.button:hover{
  background: #265DF2;
}

.swiper-navBtn{
  color: #6E93f7;
  transition: color 0.3s ease;
}
.swiper-navBtn:hover{
  color: #4070F4;
}
.swiper-navBtn::before,
.swiper-navBtn::after{
  font-size: 35px;
}
.swiper-button-next{
  right: 0;
}
.swiper-button-prev{
  left: 0;
}
.swiper-pagination-bullet{
  background-color: #6E93f7;
  opacity: 1;
}
.swiper-pagination-bullet-active{
  background-color: #4070F4;
}

@media screen and (max-width: 768px) {
  .slide-content{
    margin: 0 10px;
  }
  .swiper-navBtn{
    display: none;
  }
}



/* Carte de produit en javascript */
.product-section {
  padding-top: 0;
  padding: 20px;
}

.product-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.product-card {
  width: calc(50% - 20px); /* Deux cartes par ligne sur mobile */
  margin: 10px;
  padding: 15px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column; /* Les éléments enfants seront empilés verticalement */
  align-items: center; /* Centre les éléments enfants horizontalement */
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.product-card h3 {
  margin-top: 1rem;
  color: #333;
}

.product-card p {
  color: #777;
  margin-top: 0.5rem;
}
.product-card p.price {
  color: #da4c0a; /* Couleur du bouton "Ajouter au panier" */
  font-weight: bold;
}

.product-card p.stock {
  color: #777;
}
.buttons-container {
  margin-top: auto; /* Déplace les boutons vers le bas de la carte */
  display: flex;
  justify-content: space-between; /* Espace équitablement les éléments enfants */
  width: 100%;
}

.product-card button {

  width: 45px; /* Ajustez la largeur selon vos besoins */
  height: 20px;
  padding: 10px;
  background-color: #da4c0a;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  display: flex; /* Permet à la disposition des éléments flexibles */
  align-items: center; /* Centre les éléments enfants verticalement */
  justify-content: center; /* Centre les éléments enfants horizontalement */
}
.product-card button i {
  margin-right: 5px; /* Espace entre l'icône et le texte (ajustez selon vos besoins) */
  font-size: 1.3em;
}


.product-card h3 {
  margin-top: 1rem;
  color: #333;
}

.product-card p {
  color: #777;
  margin-top: 0.5rem;
}

.product-card button:hover {
  background-color: #1043a7;
}

.product-card .add-to-cart-btn {
  background-color: #da4c0a;
}

.product-card .order-btn {
  background-color: #1043a7;
}

/* Media query pour les écrans de taille supérieure (ordinateur ou tablette) */
@media (min-width: 768px) {
  .product-card {
      width: calc(33.33% - 20px); /* Trois cartes par ligne */
  }
  .product-card button {
      height: 25px;
    width: 60px; /* Ajustez la largeur selon vos besoins */
  }
  .product-card button i {
      margin-right: 5px; /* Espace entre l'icône et le texte (ajustez selon vos besoins) */
      font-size: 2em;
    }
}

/* Media query pour les écrans de taille supérieure (ordinateur) */
@media (min-width: 1024px) {
  .product-card {
      width: calc(25% - 20px); /* Quatre cartes par ligne */
  }
  .product-card button {
    height: 25px;
    width: 90px; /* Ajustez la largeur selon vos besoins */
  }
  .product-card button i {
      margin-right: 5px; /* Espace entre l'icône et le texte (ajustez selon vos besoins) */
      font-size: 2em;
    }
}

.product-card:hover {
  transform: scale(1.05);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.product-card h3 {
  margin-top: 1rem;
  color: #333;
}

.product-card p {
  color: #777;
  margin-top: 0.5rem;
}


/**/
.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 3px;
}

.menu-item {
  text-align: center;
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-item img {
  width: 30px; /* Ajustez la taille de l'icône selon vos besoins */
  height: 30px;
  margin-bottom: 2px;
}
.menu-item i {
  font-size: 15px;
}
.content {
  padding: 20px;
}