body {
  font-family: 'Lora', serif;
  margin: 0;
  padding: 0; /* temporairement à 0 pour tester les confettis */
  background: #f6e0af;
}

* {
  overflow: visible !important;
}

input:invalid {
  border-color: red;
}

.champ-vide {
  border: 2px solid red !important;
  background-color: #ffe6e6;
}

.is-invalid {
  border-color: #dc3545;
  background-color: #f8d7da;
}

.formulaire-panier {
  max-width: 600px;
  margin: auto;
  padding: 20px;
}

.ligne-champs {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.champ {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.anime {
  opacity: 0;
  transform: translateX(-100px);
  animation: slideIn 0.6s forwards;
}

.anime:nth-child(1) { animation-delay: 0.1s; }
.anime:nth-child(2) { animation-delay: 0.2s; }
.anime:nth-child(3) { animation-delay: 0.3s; }
.anime:nth-child(4) { animation-delay: 0.4s; }
.anime:nth-child(5) { animation-delay: 0.5s; }
.anime:nth-child(6) { animation-delay: 0.6s; }
.anime:nth-child(7) { animation-delay: 0.7s; }
.anime:nth-child(8) { animation-delay: 0.8s; }

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-30px);
  }
}

#zone-paiement {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  display: none;
}

#zone-paiement.visible {
  display: block !important;
  animation: slideFadeIn 0.6s ease forwards;
}

#zone-paiement.fadeout {
  display: block !important;
  animation: slideFadeOut 0.6s ease forwards;
}

div.debug-point {
  position: fixed;
  width: 10px;
  height: 10px;
  background: red;
  border-radius: 50%;
  z-index: 9999;
}

.bg-orange-100 {
  /*background-color: #fff3e0; /* exemple de orange très clair */
  background-image: linear-gradient(to right, #fcdca9, white, #fcdca9);
}
.bg-orange-150 {
  /*background-color: #fcdca9; /* exemple de orange très clair */
  background-image: linear-gradient(to left,#fcdca9, #fbe9cc,#fcdca9);
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 80px;
}


.custom-card {
  background-color: rgba(255, 255, 255, 0.8); /* blanc semi-transparent */
  color: #000; /* texte noir */
  /*border: none;*/
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(3px); /* optionnel : flou derrière */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);  
}


.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.custom-card .card-body {
  background-color: rgba(255, 255, 255, 0.7); /* corps blanc semi-transparent */
  border-radius: 0 0 12px 12px;
}

.custom-card .btn-outline-light {
  border-color: #000;
  color: #000;
}

.custom-card .btn-outline-light:hover {
  background-color: #000;
  color: #fff;
}


.detail {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 1rem;
  border-radius: 10px;
}
.detail img {
  width: 100%;
  border-radius: 8px;
}
@media (max-width: 600px) {
  .card, .detail {
    width: 100%;
    padding: 0.5rem;
  }
}
header/*bandeau haut*/
{
    position: fixed;
    left: 0;
    top: 0;
    width:100%;
    height: 80px;
    background-color: rgb(246, 200, 135);
}
 
h1, h2, h3 {
    margin:0; padding:0; /* On supprime les marges internes et externes du titre afin de le placer en haut du header */
    line-height:111px; /* On centre le texte verticalement par rapport à la hauteur du header */
    font-family: 'Playfair Display', serif;
}
 
h1
{  
    width:300px;
    margin:auto; /* On centre horizontalement le titre */
    text-align: center;
}
h2
{
    float:left; /* On fait flotter le texte à gauche */
    margin-left:30px;
}

.panier-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr; /* par défaut : mobile */
  padding: 1rem;
}

nav a.btn-link {
  color: #333;
  transition: color 0.2s ease-in-out;
}
nav a.btn-link:hover {
  color: #ff6600;
  text-decoration: underline;
}

footer a.btn-link {
  color: #333;
  transition: color 0.2s ease-in-out;
}
footer a.btn-link:hover {
  color: #ff6600;
  text-decoration: underline;
}
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}


/* Tablettes : ≥768px */
@media (min-width: 768px) {
  .panier-grid {
    grid-template-columns: 1fr 1fr; /* 2 colonnes sur tablette */
  }
}

/* Ordinateurs : ≥1024px */
@media (min-width: 1024px) {
  .panier-grid {
    grid-template-columns: 1fr 2fr 1fr; /* 3 colonnes comme souhaité */
  }
}
.image-container {
  position: relative;
  display: block;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.eye-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 6px;
  border-radius: 50%;
  display: none;
  transition: opacity 0.3s;
}

/* L’œil n'apparaît que quand on survole le lien */
.image-container:hover .eye-icon {
  display: block;
}

/* CSS des boutons de navigations de tableau.php */