/**
Theme Name: Astra Child
Author: Auto Unlu
Author URI: https://autounlu.net
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/




/* CSS spécifique à la page Nos Véhicules */
body.page-id-13 .nos-vehicules-page {
    padding: 20px;
}

body.page-id-13 .vehicules-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

body.page-id-13 .vehicule-card {
    flex: 1 0 calc(33.333% - 20px); /* Ajustement pour 3 colonnes sur PC */
    border: 1px solid #ddd;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

body.page-id-13 .vehicule-card:hover {
    transform: scale(1.05); /* Effet léger au survol */
}

body.page-id-13 .vehicule-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

body.page-id-13 .vehicule-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

body.page-id-13 .vehicule-marque {
    color: #1e40af; /* bleu */
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

body.page-id-13 .vehicule-prix {
    margin: 10px 0;
}

/* Prix initial barré simplement avec la police */
body.page-id-13 .prix-initial {
    text-decoration: line-through;
    color: #000;
    margin-right: 10px;
    font-size: 16px;
    font-weight: normal; /* Plus léger pour le prix initial */
}

/* Prix actuel bien visible et plus grand */
body.page-id-13 .prix-actuel {
    font-size: 22px;
    font-weight: bold;
    color: #f97316; /* orange du logo */
}

/* Badges sous le véhicule */
body.page-id-13 .vehicule-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    justify-content: flex-start;
}

body.page-id-13 .badge {
    border: 2px solid #f97316;
    background: #ffe6cc;
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #1e40af; /* texte en bleu */
}

body.page-id-13 .badge img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

/* Mise à jour pour l'affichage sur un écran plus large (PC) */
@media (min-width: 1024px) {
    body.page-id-13 .vehicule-card {
        flex: 1 0 calc(33.333% - 20px); /* 3 cartes sur PC */
    }
}

/* Responsive tablette */
@media (max-width: 1024px) {
    body.page-id-13 .vehicule-card {
        flex: 1 0 calc(50% - 20px); /* 2 cartes sur tablette */
    }
}

/* Responsive mobile */
@media (max-width: 768px) {
    body.page-id-13 .vehicule-card {
        flex: 1 0 100%; /* 1 carte sur mobile */
    }
}




/* ==== Page d’accueil Auto Unlu ==== */

/* Section En vedette */
.home-vedette {
  background: #bfdbfe;
  padding: 40px 20px;
  text-align: center;
}
.home-vedette h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 20px;
}
.grid-vedette {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.card-vedette img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

/* Section Slogan + boutons */
.home-slogan {
  background: #1e3a8a;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.home-slogan h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}
.home-buttons {
  display: inline-flex;
  gap: 20px;
}
.btn-primary {
  background: #f97316;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
}
.btn-secondary {
  background: #fff;
  color: #1e3a8a;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
}

/* Section Nos nouveautés */
.home-nouveautes {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
}
.home-nouveautes h2 {
  color: #111;
  font-size: 2rem;
  margin-bottom: 20px;
}
.grid-nouveautes {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.card-nouveaute img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .grid-vedette,
  .grid-nouveautes {
    flex-direction: column;
  }
  .home-buttons {
    flex-direction: column;
    gap: 10px;
  }
}



/* ===========================
   Empilement vertical Home
   ajouté dans style.css
   =========================== */
/* 1) Forcer les colonnes Gutenberg en vertical */
.home .wp-block-columns {
  flex-direction: column !important;
}
/* 2) Chaque colonne à 100% de largeur */
.home .wp-block-columns .wp-block-column {
  width: 100% !important;
  flex: 0 1 auto !important;
}
/* 3) Espacer les blocs empilés */
.home .wp-block-columns .wp-block-column + .wp-block-column {
  margin-top: 40px;
}

