/*
 Theme Name:   Classilist Child
 Template:     classilist
 Version:      1.0
*/

.classilist-listing-single .classilist-single-details .rtin-price .rtcl-price .rtcl-price-amount {
    background-color: #3FAEF7 !important;
    color: #ffffff !important;
    font-size: 20px;
    margin-top: 10px;
    line-height: 1.5;
    font-weight: 700;
    display: inline-block;
    padding: 8px 35px 8px 15px;
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 25px) 50%, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - 25px) 50%, 100% 100%, 0 100%);
}
.rtcl-user-single-wrapper .rtcl-user-info-wrap .rtcl-user-info a:hover {
    color: #3FAEF7 !important;
}
.classilist-listing-single .classilist-single-details .single-listing-meta-wrap .single-listing-meta li a:hover {
    color: #3FAEF7 !important;
}
/* Cacher barre recherche sur mon compte */
body.page-id-8 .header-listing-search {
    display: none !important;
}
/* retrait sticky menu */
 * body.page-id-8 .sticky-wrapper,
body.page-id-1642 .sticky-wrapper {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    height: auto !important;
}

body.page-id-8 #main-header,
body.page-id-1642 #main-header {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    width: 100% !important;
}

/* bannière vendeur vérifié */ /*
.rtcl-sv-sign .verified-text {
    position: relative;
    z-index: 9999; 
    border-radius: 8px;
    padding: 2px 8px;
    border: 1px solid #b6f1d0;
    white-space: nowrap;
    display: unset !important;
} */
.rtcl-sv-sign:hover .verified-text {
    z-index: 9999;
	border-radius: 8px;
}
.author-archive-wrap{
    margin-top: 0px; !important
}
.rtcl-user-single-wrapper .rtcl-user-info-wrap {
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    padding-top: 35px;
	padding-bottom: 35px
}
/* PAGE /post-an-ad/ : Personnalisation visuelle */
/* Supprimer padding du bloc .main-content */
.page-id-1642 .site-content .content-area .site-content-block .main-content {
    padding: 0 !important;
}
/* Supprimer margin-top du bloc site-content-block */
.page-id-1642 .site-content .content-area .site-content-block {
    margin-top: 0 !important;
}
/* Cacher le fil d'ariane */
.page-id-1642 .main-breadcrumb {
    display: none !important;
}
.page-id-1642 .top-content {
    padding: 10px 0 0 !important;
}
.page-id-1642 .e-con > .e-con-inner {
    gap: 0 !important;
    padding-inline-start: 0 !important;
    padding-inline-end: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}
.page-id-1642 .top-title {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
}
.page-id-1642 .elementor-element-20834421 {
    border-radius: 15px;
    overflow: hidden; /* si contenu dépasse */
    background-color: #fff; /* facultatif pour bien voir les coins arrondis */
}
/* fin de personnalisation */

/* reglages widget filtre CL */
.rtcl-widget-ajax-filter-class .rtcl-widget-heading {
    display: none !important;
}
.rtcl-widget-heading + div, 
.rtcl-widget-heading + ul {
	margin-top: 0px !important;
}
.sidebar .rtcl-widget-heading + div,
.sidebar .rtcl-widget-heading + ul {
    padding: 0 !important;
	margin-top: 0px !important;
}
.rtcl-ajax-filter-floating-mobile h4:after {
    content: "Afficher les filtres";
    font-size: 18px;
    position: absolute;
    left: 0;
    top: 0;
    color: inherit;
    white-space: nowrap;  /* <-- Ajout clé ! */
    width: 100%;
    display: inline-block;
}
.rtcl-ajax-filter-floating-mobile h4 {
    min-height: 24px; /* Ou la hauteur de ton texte */
    font-size: 0 !important;
    position: relative;
    margin: 0;
    padding: 0;
}
/* Fin reglages filtre */

/* Réglages page author */
body.author .author-archive-wrap {
    margin-top: 10 !important;
}
body.author .rtcl-content-wrapper {
    padding-top: 0 !important;
}

/* Barre de menu */
#main-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Optionnel : pleine largeur */
    width: 100%;
}

#main-navigation nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

#menu-main-menu {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-left: 0;
}

#menu-main-menu li {
    float: none;
}
/* affichage améliorations front annonces */
.rtcl-cfp-item[data-name="number_mcw2hea9"] .cfp-value::after {
    content: "CHF";
    margin-left: 2px;
    color: #888;
}
/* Ajout Display images gallerie annonces*/ 
.rtcl-slider-item {
    display: flex !important; /* centre l'image si moins large */
    align-items: center;
    justify-content: center;
    background: #000 !important; /* bords noirs */
    overflow: hidden;
}

.rtcl-slider-item img.rtcl-responsive-img {
    width: 100% !important;       /* Prend toute la largeur du slide */
    height: 100% !important;      /* Prend toute la hauteur */
    object-fit: contain !important; /* GARANTIT que l'image n'est jamais rognée */
    object-position: center center !important;
    background: #000 !important;
    display: block;
    max-width: 100% !important;
    max-height: 100% !important;
}
/* Partie chat */
.rtcl-chat-container ul.rtcl-messages-list .rtcl-message-text {
    background: #e4f0fd !important;   /* Enlève le fond */
    /*color: #fff !important;         Texte blanc pour contraster */
}
.rtcl-sender-wrapper .user-info.user-phone {
    display: none !important;
}
