/*
 Theme Name:   Hello Elementor Enfant
 Template:     hello-elementor
 Version:      1.0.0
*/

/* ===== Import des polices ===== */
@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');

/* ========================== */
/*  STYLES VOITURES — PAGE 556 */
/* ========================== */
.page-556-wrapper.mes-voitures {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.page-556-wrapper.mes-voitures .voiture {
  flex: 0 0 calc(33.333% - 13.333px);
  box-sizing: border-box;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.page-556-wrapper.mes-voitures .voiture:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.page-556-wrapper.mes-voitures .voiture-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-556-wrapper.mes-voitures .prix-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #efad42;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  font-family: 'Maven Pro', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.page-556-wrapper.mes-voitures h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 12px 0 8px 12px; /* petite marge à gauche */
}

.page-556-wrapper.mes-voitures .infos {
  list-style: none;
  padding: 0 0 0 12px; /* petite marge à gauche */
  margin: 0 0 12px 0;
  font-family: 'Maven Pro', sans-serif;
  font-size: 0.95rem;
}

.page-556-wrapper.mes-voitures .infos li {
  margin-bottom: 6px;
}

.page-556-wrapper.mes-voitures .infos li strong {
  font-weight: 600;
  margin-right: 6px;
}

.page-556-wrapper.mes-voitures .btn-details {
  display: block;
  margin: 12px auto 20px auto;
  padding: 10px 16px;
  background: #efad42;
  color: #fff;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-family: 'Maven Pro', sans-serif;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.15s;
}

.page-556-wrapper.mes-voitures .btn-details:hover {
  background-color: #d49436;
  color: #1c1c1c;
  transform: translateY(-2px);
}

/* Responsive pour la page 556 */
@media (max-width: 900px) {
  .page-556-wrapper.mes-voitures .voiture {
    flex: 0 0 calc(50% - 10px);
  }
}
@media (max-width: 600px) {
  .page-556-wrapper.mes-voitures .voiture {
    flex: 0 0 100%;
  }
}

/* ========================== */
/*  FIX ELEMENTOR COLUMNS  */
/* ========================== */
.elementor-section .elementor-column {
    flex: 1 1 0;       /* chaque colonne prend sa place */
    max-width: 100%;    /* respect largeur individuelle */
    box-sizing: border-box;
}

.elementor-section .elementor-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px;          /* espacement entre colonnes */
}
