/*
 * EGS GroupAuto — surcouche de marque appliquée au template AutoDeal.
 * Bleu principal : #003C7B (remplace l'orange du template dans styles.css)
 * Doré secondaire : #A76912
 */
:root {
    --egs-blue: #003C7B;
    --egs-blue-dark: #002A57;
    --egs-gold: #A76912;
    --egs-gold-light: #F6EEE2;
    --egs-whatsapp: #25D366;
}

/* Préchargement : logo EGS à la place du logo AutoDeal */
.preload-container .middle {
    content: url(../../../images/favicon-egs.png);
}

/* Boutons : survol doré */
.sc-button:hover,
.sc-button.active {
    background-color: var(--egs-gold);
}

/* Étiquettes des cartes véhicules */
.box-car-list .image-group .top .flag-tag.success {
    background-color: var(--egs-gold);
}
.box-car-list .image-group .top .flag-tag.rent {
    background-color: var(--egs-blue);
}
.box-car-list .content .text-address .rent-price {
    color: var(--egs-gold);
    font-size: 14px;
    font-weight: 500;
    margin-top: 4px;
}
.box-car-list .content .money .rent-price {
    display: block;
    color: var(--egs-gold);
    font-size: 14px;
    line-height: 20px;
}

/* Bannière sombre : bouton doré */
.tf-image-box.bg-black .find-cars {
    background: var(--egs-gold);
}

/* Bloc vendeur de la fiche véhicule */
.profile-contact .btn-contact .btn-pf.bg-green {
    background-color: var(--egs-whatsapp);
}
.profile-contact .btn-contact .btn-pf.bg-orange:hover {
    background-color: var(--egs-gold);
}
.profile-contact .btn-contact .btn-pf svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}
.listing-sidebar .price-wrap .rent-line {
    color: var(--egs-gold);
    font-weight: 600;
}

/* Logos */
.logo-box .logo img,
.nav-logo img,
.logo-footer img {
    height: 58px;
    width: auto;
    max-width: none;
}
.header-lower.is-small .logo-box .logo img {
    height: 50px;
}
.logo-footer img {
    height: 72px;
}
@media (max-width: 991px) {
    .logo-box .logo img {
        height: 46px;
    }
}
.img-author img.egs-avatar,
.chat-wrap .image img.egs-avatar,
.prolile-info .image img.egs-avatar {
    background: #fff;
    object-fit: contain;
    padding: 2px;
}

/* Icône WhatsApp en ligne dans les boutons du template */
.flat-bt-top .sc-button svg.wa-icon,
.button-mobi-sell .sc-button svg.wa-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.change-heart .box-icon .icon svg.wa-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Bouton WhatsApp flottant */
.egs-whatsapp-float {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 99;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--egs-whatsapp);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.egs-whatsapp-float:hover {
    transform: scale(1.08);
    background: #1EBE57;
    color: #fff;
}
.egs-whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* Résultats vides */
.egs-empty {
    padding: 60px 20px;
    text-align: center;
    border: 1px dashed #E4E4E4;
    border-radius: 16px;
}
.egs-empty h3 {
    margin-bottom: 12px;
}

/* Mention « photo non contractuelle » */
.egs-note {
    font-size: 12px;
    color: #696665;
}
