/* ================================================================
   SNAPSELLGO.COM — DJ-CLASSIFIEDS THEME CSS  v3
   Snap it. List it. Sell it.
   Font: ABeeZee | Brand: #fb923c Orange
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&display=swap');
/* ================================================================
   NUCLEAR OVERRIDE — FORCE GRID LAYOUT
   Basé sur la structure HTML réelle de DJ-Classifieds 4.x
   A placer en début de fichier pour priorité maximale
   ================================================================ */

/* ── CONTENEUR PRINCIPAL ── */
#dj-classifieds .dj-items-rows {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 24px !important;
    /* Annule flex slider DJ */
    flex-wrap: unset !important;
    flex-direction: unset !important;
    align-items: unset !important;
    justify-content: unset !important;
    transform: none !important;
    -webkit-overflow-scrolling: unset !important;
    scroll-snap-type: none !important;
}

/* ── CHAQUE VIGNETTE ── */
#dj-classifieds .dj-items-rows .item_row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    scroll-snap-align: none !important;
    flex: none !important;
    box-sizing: border-box !important;
}

/* ── STRUCTURE INTERNE ── */
#dj-classifieds .item_row_in {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
}
#dj-classifieds .item_outer,
#dj-classifieds .item_outer_in {
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}
/* Image — pleine largeur, float annulé */
#dj-classifieds .item_img_box {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    aspect-ratio: 4/3 !important;
    overflow: hidden !important;
}
#dj-classifieds .item_img_box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    float: none !important;
    display: block !important;
    max-width: 100% !important;
    max-height: none !important;
}
/* Contenu texte — pleine largeur, float annulé */
#dj-classifieds .item_content {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
}
/* Details/prix — float annulé */
#dj-classifieds .item_details {
    float: none !important;
    width: 100% !important;
    clear: both !important;
}

/* ── RESPONSIVE ── */
@media screen and (max-width: 1199px) {
    #dj-classifieds .dj-items-rows {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
}
@media screen and (max-width: 767px) {
    #dj-classifieds .dj-items-rows {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    /* Dates cachées */
    #dj-classifieds .item_date_start,
    #dj-classifieds .item_date_exp { display: none !important; }
    /* Description cachée mobile */
    #dj-classifieds .item_desc { display: none !important; }
    /* Cards compactes */
    #dj-classifieds .item_content {
        padding: 8px 9px 4px !important;
    }
    #dj-classifieds .item_title h3 { font-size: .82em !important; }
    #dj-classifieds .item_price { font-size: .95em !important; }
}
@media screen and (max-width: 400px) {
    #dj-classifieds .dj-items-rows {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
}

/* ── PAGINATION MOBILE HORIZONTALE ── */
@media screen and (max-width: 767px) {
    #dj-classifieds .pagination ul {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
    }
    #dj-classifieds .pagination ul li {
        display: inline-flex !important;
        min-width: 32px !important;
        height: 32px !important;
        font-size: .78em !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }
}



:root {
    --p:      #fb923c;
    --pd:     #ea7318;
    --pxd:    #c2570a;
    --am:     #fbbf24;
    --green:  #22c55e;
    --red:    #ff294a;
    --cream:  #f8f4ef;
    --cream2: #f2ece4;
    --light:  #e8d5c0;
    --white:  #ffffff;
    --text:   #1c1917;
    --sub:    #44403c;
    --muted:  #78716c;
    --border: #d6d0c8;
    --sh:     rgba(251,146,60,.22);
    --f:      'ABeeZee', sans-serif;
    --r:      14px;
    --rs:     8px;
    --tr:     .22s ease;
}

/* ================================================================
   BASE
   ================================================================ */
#dj-classifieds { font-family: var(--f); color: var(--text); }
/* ================================================================
   ANNULE LE LAYOUT SLIDER/CAROUSEL DJ SUR TOUS BREAKPOINTS
   ================================================================ */
/* Conteneurs parents DJ - annule overflow hidden et hauteurs fixes */
#dj-classifieds .dj-items-blog,
#dj-classifieds .items-outer,
#dj-classifieds .items-content,
#dj-classifieds .dj-items-smart,
#dj-classifieds .djcf-items-outer {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    display: block !important;
    position: relative !important;
    padding: 0 !important;
}
/* item-box wrapper que DJ insere parfois */
#dj-classifieds .item-box,
#dj-classifieds .icol-in {
    display: contents !important;
    width: auto !important;
    height: auto !important;
    float: none !important;
    flex: none !important;
    scroll-snap-align: none !important;
}
/* ================================================================
   FORCER GRID SUR TOUS LES WRAPPERS DJ POSSIBLES
   Cible les classes generees dynamiquement par DJ-Classifieds
   ================================================================ */
/* Le vrai conteneur des items en mode blog/smart */
#dj-classifieds .dj-items-rows,
#dj-classifieds .dj-items-table-smart .dj-items-rows,
#dj-classifieds table.dj-items-rows,
#dj-classifieds div.dj-items-rows {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
}
/* Force chaque item_row a etre une card verticale */
#dj-classifieds .item_row,
#dj-classifieds .dj-items-rows .item_row {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
/* Annule le display:table-cell ou table-row que DJ peut utiliser */
#dj-classifieds .item_row_in,
#dj-classifieds .item_outer,
#dj-classifieds .item_outer_in {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}
/* Force l image en haut pleine largeur */
#dj-classifieds .item_img_box {
    width: 100% !important;
    display: block !important;
    float: none !important;
}
/* Force le contenu texte pleine largeur */
#dj-classifieds .item_content {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
}

#dj-classifieds a { color: var(--pd); text-decoration: none; transition: color var(--tr); }
#dj-classifieds a:hover { color: var(--pxd); }
#dj-classifieds h1,#dj-classifieds h2,
#dj-classifieds h3,#dj-classifieds h4 {
    font-family: var(--f); font-style: italic;
    margin: 0; padding: 0; border: 0; color: var(--pd);
}

/* ================================================================
   SORT BAR
   ================================================================ */
.dj-items_order_by {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--rs);
    padding: 12px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.dj-items_order_by_label {
    font-family: var(--f);
    font-style: italic;
    font-size: .82em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text);
    font-weight: 400;
    flex-shrink: 0;
    margin-right: 4px;
}
.dj-items_order_by_values {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.dj-items_order_by_values a {
    font-family: var(--f);
    font-size: .8em;
    padding: 5px 13px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--cream);
    color: var(--text);
    transition: all var(--tr);
    text-decoration: none;
}
.dj-items_order_by_values a:hover {
    background: var(--cream2);
    border-color: var(--p);
    color: var(--pd);
}
.dj-items_order_by_values a.active,
.dj-items_order_by_values a.active_asc,
.dj-items_order_by_values a.active_desc {
    background: var(--p);
    border-color: var(--p);
    color: var(--white);
}
.dj-items_order_by_values a.active_asc::after  { content: ' ↑'; }
.dj-items_order_by_values a.active_desc::after { content: ' ↓'; }
.item_orderby_separator { color: var(--border); font-size: .7em; }

/* ================================================================
   GRID
   ================================================================ */
/* Tous les conteneurs possibles que DJ utilise */
.dj-items-table-smart .dj-items-rows,
.dj-items-rows,
.dj-items-blog .dj-items-rows,
.items .dj-items-rows,
.useritems .dj-items-rows {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
    margin-bottom: 28px !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
    transform: none !important;
    transition: none !important;
    width: 100% !important;
}

/* ── Card shell ─────────────────────────────────────────────── */
.item_row {
    background: var(--white) !important;
    border-radius: var(--r) !important;
    border: 1.5px solid var(--border) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 3px 14px rgba(0,0,0,.09) !important;
    transition: transform .28s cubic-bezier(.34,1.56,.64,1),
                box-shadow .28s, border-color .28s !important;
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    /* Annule scroll snap DJ */
    scroll-snap-align: none !important;
    flex-shrink: 1 !important;
    flex-grow: 1 !important;
    flex-basis: auto !important;
}
/* Wrapper item_row_in aussi column */
.item_row_in,
.item_outer,
.item_outer_in {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    float: none !important;
}
.item_row:hover {
    transform: translateY(-5px) scale(1.012) !important;
    box-shadow: 0 16px 42px var(--sh) !important;
    border-color: var(--p) !important;
}
.item_row_in {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* ── Image ──────────────────────────────────────────────────── */
.item_outer        { width: 100% !important; display: block !important; }
.item_outer_in     { display: flex !important; flex-direction: column !important; width: 100% !important; }

.item_img_box {
    width: 100% !important;
    aspect-ratio: 4/3 !important;
    overflow: hidden !important;
    background: transparent !important;   /* ← pas de fond gris */
    flex-shrink: 0 !important;
    display: block !important;
    position: relative !important;
    float: none !important;
}
.item_img_box_in { width: 100% !important; height: 100% !important; }
.item_img_box a  { display: block !important; width: 100% !important; height: 100% !important; }
.item_img_box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;        /* cover = remplit le cadre */
    object-position: center !important;
    display: block !important;
    transition: transform .4s ease !important;
    max-height: none !important;
    min-height: 0 !important;
}
.item_row:hover .item_img_box img { transform: scale(1.06) !important; }

/* ── Type badge ─────────────────────────────────────────────── */
.type_button {
    position: absolute !important;
    top: 10px !important; left: 10px !important;
    font-family: var(--f) !important;
    font-style: italic !important;
    font-size: .65em !important;
    padding: 4px 11px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important;
    z-index: 2 !important;
    border: none !important;
}
.bt_forsale  { background: var(--p)     !important; color: var(--white) !important; }
.bt_wanted   { background: var(--am)    !important; color: var(--text)  !important; }
.bt_exchange { background: var(--green) !important; color: var(--white) !important; }
.bt_free     { background: #22d3ee      !important; color: var(--white) !important; }
.bt_auction  { background: var(--red)   !important; color: var(--white) !important; }
.bt_rent     { background: #a78bfa      !important; color: var(--white) !important; }

/* ── Favoris — fond #ff294a, cœur blanc ────────────────────── */
.fav_box {
    position: absolute !important;
    top: 10px !important; right: 10px !important;
    z-index: 3 !important;
}
.fav_box .fav_icon_link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important; height: 32px !important;
    background: #ff294a !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(255,41,74,.4) !important;
    cursor: pointer !important;
    transition: all var(--tr) !important;
    text-decoration: none !important;
    position: relative !important;
}
/* Coeur blanc via pseudo-element — fonctionne meme si DJ injecte un img */
.fav_box .fav_icon_link::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important; left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 15px !important; height: 15px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    z-index: 10 !important;
    pointer-events: none !important;
}
/* Masquer TOUT ce que DJ met a l interieur */
.fav_box .fav_icon_link > * {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important; height: 0 !important;
    opacity: 0 !important;
}
.fav_box .fav_icon_link:hover {
    background: #e0001f !important;
    transform: scale(1.15) !important;
    box-shadow: 0 4px 12px rgba(255,41,74,.5) !important;
}
/* Masquer img injecte par DJ dans le span */
.fav_box .fav_icon_link span,
.fav_box .fav_icon_link .fav_icon,
.fav_box .fav_icon_link .fav_icon_na {
    font-size: 0 !important;
    display: block !important;
    width: 14px !important; height: 14px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}
/* Masquer img injecte par DJ a linterieur du span fav */
.fav_box .fav_icon_link img,
.fav_box .fav_icon_link .fav_icon img {
    display: none !important;
}
/* Cœur blanc plein si favori actif */
.fav_box .fav_icon_a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' stroke='white' stroke-width='2'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E") !important;
}

/* ── Contenu texte ──────────────────────────────────────────── */
.item_content {
    padding: 12px 14px 8px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    width: auto !important;
    float: none !important;
}
.item_content_in {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    height: 100% !important;
}

/* Titre */
.item_title {
    display: flex !important;
    align-items: flex-start !important;
    gap: 5px !important;
    flex-wrap: wrap !important;
}
.item_title h3 {
    font-family: var(--f) !important;
    font-style: normal !important;
    font-size: .97em !important;
    font-weight: 400 !important;
    color: var(--text) !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    flex: 1 !important;
}
.item_title h3 a { color: var(--text) !important; text-decoration: none !important; transition: color var(--tr) !important; }
.item_title h3 a:hover { color: var(--pd) !important; }

/* Verified */
.verified_icon {
    display: inline-flex !important;
    align-items: center !important; justify-content: center !important;
    width: 15px !important; height: 15px !important;
    background: var(--green) !important;
    border-radius: 50% !important;
    color: var(--white) !important; font-size: 9px !important;
    flex-shrink: 0 !important; margin-top: 2px !important;
}
.verified_icon::before { content: '✓' !important; font-weight: 700 !important; }

/* Pills catégorie + région */
.item_cat_region_outer {
    display: flex !important;
    align-items: center !important; gap: 5px !important; flex-wrap: wrap !important;
}
.item_category a, .item_region a {
    font-family: var(--f) !important;
    font-size: .7em !important;
    padding: 3px 9px !important;
    border-radius: 999px !important;
    background: var(--cream2) !important;
    border: 1px solid var(--light) !important;
    color: var(--pd) !important;
    transition: all var(--tr) !important;
    text-decoration: none !important;
    display: inline-block !important;
}
.item_category a:hover { background: var(--p) !important; color: var(--white) !important; border-color: var(--p) !important; }
.item_region a {
    background: var(--cream) !important;
    color: var(--sub) !important;
    border-color: var(--border) !important;
}
.item_region a:hover { background: var(--p) !important; color: var(--white) !important; border-color: var(--p) !important; }
.item_cat_region_separator { color: var(--border) !important; font-size: .7em !important; }

/* Description */
.item_desc {
    font-size: .8em !important;
    color: var(--sub) !important;       /* ← plus foncé */
    line-height: 1.45 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    margin-top: 2px !important;
}
.item_desc a { color: var(--sub) !important; text-decoration: none !important; }
.item_desc a:hover { color: var(--pd) !important; }

/* ── Cacher les dates (inutiles) ────────────────────────────── */
.item_date_start,
.item_date_exp { display: none !important; }

/* Vues cachees du details_in, affichees avec le prix */
.item_display { display: none !important; }

/* Prix — ligne unique prix + vues, pas de fond */
.item_details {
    padding: 8px 13px 11px !important;
    border-top: 1.5px dashed var(--light) !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
    flex-shrink: 0 !important;
    float: none !important;
    width: auto !important;
    clear: none !important;
}
.item_details_in {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
}
/* Vues remises visibles dans details_in */
.item_details_in .item_display {
    display: inline !important;
    font-size: .66em !important;
    color: var(--muted) !important;
    white-space: nowrap !important;
}
.item_price {
    font-family: var(--f) !important;
    font-style: italic !important;
    font-size: 1.18em !important;
    color: var(--pd) !important;
    white-space: nowrap !important;
    font-weight: 400 !important;
}
.price_val { font-weight: 400 !important; }
.price_unit { font-size: .82em !important; color: var(--muted) !important; }
.price_negotiable {
    font-size: .65em !important;
    background: var(--cream2) !important;
    border: 1px solid var(--light) !important;
    color: var(--pd) !important;
    padding: 1px 6px !important;
    border-radius: 999px !important;
}

/* Annule floats DJ */
.item_row::after,.item_row_in::after,.item_outer::after,
.item_outer_in::after,.item_content::after { content: none !important; display: none !important; }
.item_row .clear_both,.item_outer .clear_both { display: none !important; }


/* ================================================================
   PAGINATION — propre, sans caracteres problematiques
   ================================================================ */
#dj-classifieds .pagination {
    text-align: center !important;
    margin: 36px 0 20px !important;
    padding: 0 !important;
    border: none !important;
}
#dj-classifieds .pagination ul {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: center !important;
    align-items: center !important;
}
/* Tous les boutons */
#dj-classifieds .pagination ul li {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    background: var(--white) !important;
    border: 1.5px solid var(--p) !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    transition: all var(--tr) !important;
    box-shadow: 0 2px 6px rgba(251,146,60,.12) !important;
    position: relative !important;
    overflow: hidden !important;
}
#dj-classifieds .pagination ul li:hover {
    background: var(--cream2) !important;
    border-color: var(--p) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 14px var(--sh) !important;
}
/* Page active */
#dj-classifieds .pagination ul li.active,
#dj-classifieds .pagination ul li.activepage {
    background: linear-gradient(135deg, var(--p), var(--pd)) !important;
    border-color: var(--p) !important;
    box-shadow: 0 4px 14px var(--sh) !important;
    transform: translateY(-1px) !important;
}
#dj-classifieds .pagination ul li.active a,
#dj-classifieds .pagination ul li.activepage a,
#dj-classifieds .pagination ul li.active span,
#dj-classifieds .pagination ul li.activepage span {
    color: var(--white) !important;
}
/* Liens/spans numerotes - texte visible */
#dj-classifieds .pagination ul li a,
#dj-classifieds .pagination ul li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 10px !important;
    font-family: var(--f) !important;
    font-size: .88em !important;
    color: var(--text) !important;
    text-decoration: none !important;
    line-height: 1 !important;
}
#dj-classifieds .pagination ul li:hover a,
#dj-classifieds .pagination ul li:hover span { color: var(--pd) !important; }
/* Boutons fleches - classes DJ-Classifieds reelles */
#dj-classifieds .pagination ul li.arrow a,
#dj-classifieds .pagination ul li.arrow span {
    color: transparent !important;
    font-size: 0 !important;
    overflow: hidden !important;
    text-indent: -9999px !important;
}
/* Fleche gauche (previous/start) */
#dj-classifieds .pagination ul li.arrow a::after,
#dj-classifieds .pagination ul li.arrow span::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important; left: 50% !important;
    width: 9px !important; height: 9px !important;
    border-left: 2.5px solid var(--pd) !important;
    border-bottom: 2.5px solid var(--pd) !important;
    transform: translate(-30%, -50%) rotate(45deg) !important;
    display: block !important;
    text-indent: 0 !important;
}
/* Fleche droite pour last/next - on distingue par position */
#dj-classifieds .pagination ul li.arrow:last-child a::after,
#dj-classifieds .pagination ul li.arrow:last-child span::after,
#dj-classifieds .pagination ul li.arrow.next a::after,
#dj-classifieds .pagination ul li.arrow.next span::after {
    border-left: none !important;
    border-bottom: none !important;
    border-right: 2.5px solid var(--pd) !important;
    border-top: 2.5px solid var(--pd) !important;
    transform: translate(-70%, -50%) rotate(45deg) !important;
}
#dj-classifieds .pagination ul li.arrow:hover a::after,
#dj-classifieds .pagination ul li.arrow:hover span::after {
    border-left-color: var(--p) !important;
    border-bottom-color: var(--p) !important;
}
#dj-classifieds .pagination ul li.arrow.next:hover a::after,
#dj-classifieds .pagination ul li.arrow.next:hover span::after,
#dj-classifieds .pagination ul li.arrow:last-child:hover a::after,
#dj-classifieds .pagination ul li.arrow:last-child:hover span::after {
    border-left-color: transparent !important;
    border-bottom-color: transparent !important;
    border-right-color: var(--p) !important;
    border-top-color: var(--p) !important;
}

/* ================================================================
   BUTTONS
   ================================================================ */
#dj-classifieds .button,
.dj_cf_search button.button,
.dj_cf_search a.button,
.dj_cf_regions_selects button.button {
    display: inline-flex;
    align-items: center; gap: 6px;
    background: linear-gradient(135deg, var(--p), var(--pd));
    border: none !important;
    border-radius: var(--rs) !important;
    color: var(--white) !important;
    font-family: var(--f) !important;
    font-style: italic;
    font-size: .82em;
    padding: 9px 18px;
    cursor: pointer;
    transition: all var(--tr);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px var(--sh);
}
#dj-classifieds .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--sh);
    color: var(--white) !important;
}

/* ================================================================
   FORMS
   ================================================================ */
#dj-classifieds input[type="text"],
#dj-classifieds input[type="email"],
#dj-classifieds input[type="password"],
#dj-classifieds select,
#dj-classifieds textarea,
.dj_cf_search input[type="text"],
.dj_cf_search select {
    background: var(--white);
    border: 1.5px solid var(--border) !important;
    border-radius: var(--rs) !important;
    padding: 8px 12px;
    font-family: var(--f);
    font-size: .9em;
    color: var(--text);
    transition: all var(--tr);
    outline: none;
    width: 100%; box-sizing: border-box;
}
#dj-classifieds input:focus,
#dj-classifieds select:focus,
.dj_cf_search input:focus,
.dj_cf_search select:focus {
    border-color: var(--p) !important;
    box-shadow: 0 0 0 3px rgba(251,146,60,.12);
}

/* ================================================================
   SEARCH MODULE
   ================================================================ */
.dj_cf_search {
    background: var(--white);
    border-radius: var(--r);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    border: 1.5px solid var(--border);
}

/* ================================================================
   CATEGORY TREE
   ================================================================ */
#dj-classifieds .dj-cattree-box {
    background: var(--white); border-radius: var(--r);
    padding: 18px; box-shadow: 0 4px 16px rgba(0,0,0,.06);
    border: 1.5px solid var(--border);
}
#dj-classifieds .dj-cattree-box ul.dj-cattree { list-style: none; padding: 0; margin: 0; }
#dj-classifieds .dj-cattree-box ul.dj-cattree li {
    border-left: 3px solid var(--light); margin: 6px 0;
    padding-left: 12px; transition: border-color var(--tr);
}
#dj-classifieds .dj-cattree-box ul.dj-cattree li:hover { border-left-color: var(--p); }
#dj-classifieds .dj-cattree-box ul.dj-cattree li a {
    display: block; padding: 6px 10px; border-radius: var(--rs);
    font-size: .88em; color: var(--text); transition: all var(--tr);
}
#dj-classifieds .dj-cattree-box ul.dj-cattree li a:hover {
    background: var(--cream2); color: var(--pd); transform: translateX(4px);
}

/* ================================================================
   MENU DJ
   ================================================================ */
.djcf_menu ul.menu {
    list-style: none; padding: 0; margin: 0;
    background: var(--white); border-radius: var(--r);
    overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.djcf_menu ul.menu li a {
    display: block; padding: 10px 16px; font-family: var(--f);
    font-size: .88em; color: var(--text);
    border-bottom: 1px solid var(--border); transition: all var(--tr);
}
.djcf_menu ul.menu li a:hover,
.djcf_menu ul.menu li.active > a { background: var(--cream2); color: var(--pd); padding-left: 22px; }
.djcf_menu ul.menu li.active > a { border-left: 3px solid var(--p); }
.djcf_menu .newad_link_top,.djcf_menu .newad_link_bottom {
    background: linear-gradient(135deg, var(--p), var(--pd));
    color: var(--white); text-align: center; padding: 12px;
    font-family: var(--f); font-style: italic; font-size: .85em;
    border-radius: var(--rs); margin: 10px; display: block;
    text-decoration: none; transition: all var(--tr);
    box-shadow: 0 3px 10px var(--sh);
}
.djcf_menu .newad_link_top:hover,.djcf_menu .newad_link_bottom:hover {
    transform: translateY(-2px); box-shadow: 0 6px 18px var(--sh);
}

/* ================================================================
   NO RESULTS
   ================================================================ */
.no_results,.dj_no_results {
    text-align: center; padding: 60px 20px; color: var(--muted);
    font-family: var(--f); font-style: italic; font-size: 1.1em;
    background: var(--white); border-radius: var(--r);
    border: 1.5px dashed var(--border); margin: 20px 0;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1200px) {
    .dj-items-table-smart .dj-items-rows,
    .dj-items-rows { grid-template-columns: repeat(3, 1fr) !important; gap: 16px !important; }
}
@media (max-width: 900px) {
    .dj-items-table-smart .dj-items-rows,
    .dj-items-rows { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
}

/* ── MOBILE ── */
@media (max-width: 600px) {
    /* Grid 2 colonnes sur mobile */
    .dj-items-table-smart .dj-items-rows,
    .dj-items-rows {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 !important;
    }
    /* Cards compactes */
    .item_row { border-radius: 10px !important; }
    .item_content { padding: 8px 9px 5px !important; gap: 3px !important; }
    .item_title h3 { font-size: .82em !important; }
    .item_desc { display: none !important; }
    .item_details { padding: 6px 9px 8px !important; }
    .item_price { font-size: .95em !important; }
    .item_display { font-size: .6em !important; }
    .fav_box .fav_icon_link { width: 26px !important; height: 26px !important; }
    .fav_box .fav_icon_link::before { width: 12px !important; height: 12px !important; }
    .type_button { font-size: .55em !important; padding: 3px 7px !important; }
    /* Sort bar compact */
    .dj-items_order_by { padding: 8px 12px !important; gap: 5px !important; }
    .dj-items_order_by_label { font-size: .72em !important; }
    .dj-items_order_by_values a { padding: 4px 9px !important; font-size: .72em !important; }
    /* PAGINATION MOBILE — horizontal et compact */
    #dj-classifieds .pagination ul {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 5px !important;
        justify-content: center !important;
        align-items: center !important;
    }
    #dj-classifieds .pagination ul li {
        min-width: 34px !important;
        height: 34px !important;
        font-size: .8em !important;
        flex-shrink: 0 !important;
    }
}

@media (max-width: 380px) {
    .dj-items-table-smart .dj-items-rows,
    .dj-items-rows { gap: 6px !important; }
    #dj-classifieds .pagination ul li { min-width: 30px !important; height: 30px !important; font-size: .75em !important; }
}
@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
