/*
 Theme Name: Kadence Child
 Template: kadence
 Version: 1.0.0
*/

/* TEST : fond légèrement beige pour vérifier que le CSS est bien lu */
body.single-auto-listing {
    background: #fff7f2;
}

/* Titre de l'annonce */
body.single-auto-listing h1 {
    border: none;
    outline: none;
}

/* RESET TEST – remettre fond blanc */
body.single-auto-listing {
    background: #ffffff;
}

/* TITRE DE L’ANNONCE */
body.single-auto-listing h1.entry-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
    color: #2e221b;
}

/* ONGLET DÉTAILS / CARACTÉRISTIQUES */
body.single-auto-listing .tabs-nav {
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e8e2dd;
}

body.single-auto-listing .tabs-nav li {
    margin-right: 20px;
}

body.single-auto-listing .tabs-nav li a {
    font-size: 18px;
    padding: 12px 22px;
    font-weight: 600;
    color: #4A3A31;
}

body.single-auto-listing .tabs-nav li.active a {
    color: #4A3A31;
    border-bottom: 3px solid #4A3A31;
}

/* TITRES SECTIONS (ex: Détails) */
body.single-auto-listing h3 {
    font-size: 28px;
    font-weight: 700;
    color: #4A3A31;
    margin: 30px 0 15px;
}

/* TABLEAU DÉTAILS DU VÉHICULE */
body.single-auto-listing table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0 10px !important;
    font-size: 17px;
}

body.single-auto-listing table tr {
    background: #F8F4F1;
    border-radius: 8px;
}

body.single-auto-listing table td {
    padding: 12px 18px;
}

body.single-auto-listing table td:first-child {
    font-weight: 600;
    color: #4A3A31;
    width: 240px;
}

/* PRIX DANS LA COLONNE DE DROITE */
body.single-auto-listing .auto-listing-price {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #4A3A31 !important;
    margin-bottom: 15px !important;
}

/* Affiner le tableau des détails */
body.single-auto-listing .auto-listing-details {
    max-width: 1100px;
    margin: 0 auto 60px;
}

body.single-auto-listing .auto-listing-details table {
    border-spacing: 0 6px !important;
}

body.single-auto-listing .auto-listing-details table tr {
    background: #f9f4ee; /* légèrement plus clair */
}

body.single-auto-listing .auto-listing-details table td {
    padding: 8px 18px; /* moins haut */
}

/* Colonne labels (gauche) */
body.single-auto-listing .auto-listing-details table td:first-child {
    font-weight: 600;
    color: #4A3A31;
    width: 260px;
}

/* Page d'annonce : fond + marges latérales */
body.single-auto-listing {
    background: #ffffff;
    padding-left: 150px;
    padding-right: 150px;
}

/* Sur les grands écrans, un peu plus de marge */
@media (min-width: 1200px) {
    body.single-auto-listing {
        padding-left: 60px;
        padding-right: 60px;
    }
}

/* Assure une belle mise en page même sur très grands écrans */
@media (min-width: 1400px) {
    body.single-auto-listing .site-container,
    body.single-auto-listing .content-area,
    body.single-auto-listing .entry-content {
        padding-left: 60px;
        padding-right: 60px;
    }
}

/* Galerie */
body.single-auto-listing .auto-listing-gallery {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Titre des sections */
body.single-auto-listing h3 {
    font-size: 30px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #2e221b;
    letter-spacing: -0.2px;
}


/* === TEST MARGES ULTRA FORT === */
body.single-auto-listing .auto-listing-single {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 120px !important;
    padding-right: 120px !important;
    border: 3px solid blue !important; /* TEST VISUEL */
}