body {
    background-color: #ecf0f1;
    margin: 0;
    padding: 0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#fermer {
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  font-size: 1.5rem;
}

.modal {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  animation: pop 0.3s ease;
}

.modal h2 {
  margin-top: 0;
  color: #000000;
}

.hidden {
  display: none;
}

@keyframes pop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.loading-gif {
  margin: auto;
  width: 50px;
}

h1{
    color: #2c3e50;
    font-family: 'Audiowide', sans-serif;
    text-align: center;
    margin-top: 50px;
    font-size: 5rem;
}

#seo-text {
    text-align: center;
    margin-bottom: 50px;
    font-family: "Audiowide", sans-serif;
    font-size: 1rem;
}

#btnGalerie {
  padding: 12px 25px;
  border-radius: 30px;
  border: none;
  background: #000000;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 20px;
}

#btnGalerie:hover {
  background: #666666;
}

/* Galerie cachée au départ */
.galerie-container {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}

.galerie-container.active {
  max-height: 1000px;
  margin-top: 30px;
}

.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.galerie img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: 0.3s;
}

.galerie img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* LIGHTBOX */

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 85%;
  max-height: 85%;
  border-radius: 20px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}

.nav {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
}

.prev { left: 40px; }
.next { right: 40px; }


body {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

select, input[type="number"], input[type="checkbox"], input[type="text"], input[type="date"], input[type="number"], input[type="email"] {
    margin: 10px 0;
    padding: 8px;
    font-size: 1rem;
    width: 200px;
    border-radius: 10px;
    border: 2px solid #000000;
}

#cgv-div {
    display: flex;
    width: justify-content;
}

#cgv {
    width: 20px;
    margin: 0;
    margin-right: 10px;
}

#cgv_label {
    font-size: 1rem;
}

#retour {
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 20px;
    width: 50%;
    
}

#order, #submit, #addToCart {
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
}

#retour:hover, #order:hover, #submit:hover, #addToCart:hover {
    background-color: #0056b3;
}

#prix {
    font-size: 1.3rem;
    font-weight: bold;
    color: #27ae60;
    margin: 20px 0;
}

#submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#payment-element {
    margin: 20px 0;
}

#payment-message {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

#payment-message.hidden {
    display: none;
}

#payment-message:not(.hidden) {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}