/* ==========================================================================
   ADS — VIEW / DETAILS
   ========================================================================== */

.ads-details-page {
    --ads-primary: #0d4f45;
    --ads-primary-dark: #093a34;
    --ads-primary-light: #eef3ff;

    --ads-success: #198754;
    --ads-success-bg: #eaf7ef;

    --ads-warning: #f59e0b;
    --ads-warning-bg: #fff7e6;

    --ads-danger: #dc3545;
    --ads-danger-bg: #fff0f1;

    --ads-muted: #6c757d;
    --ads-muted-bg: #f5f6f8;

    --ads-text: #172033;
    --ads-text-soft: #687386;

    --ads-border: #e8ebf0;
    --ads-background: #f6f8fc;
    --ads-white: #ffffff;

    padding-bottom: 100px;
    color: var(--ads-text);
    background: var(--ads-background);
}


/* ==========================================================================
   PAGE HERO
   ========================================================================== */

.ads-details-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;

    margin-bottom: 1.5rem;
    padding: 1.75rem;

    background: var(--ads-white);
    border: 1px solid var(--ads-border);
    border-radius: 18px;

    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}


.ads-details-hero-main {
    min-width: 0;
    flex: 1;
}


.ads-details-reference {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;

    margin-bottom: .85rem;
}


.ads-reference-badge,
.ads-status-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;

    min-height: 30px;
    padding: .35rem .7rem;

    border-radius: 999px;

    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
}


.ads-reference-badge {
    color: var(--ads-primary);
    background: var(--ads-primary-light);
}


.ads-status-badge.is-success {
    color: var(--ads-success);
    background: var(--ads-success-bg);
}


.ads-status-badge.is-warning {
    color: #9a6700;
    background: var(--ads-warning-bg);
}


.ads-status-badge.is-danger {
    color: var(--ads-danger);
    background: var(--ads-danger-bg);
}


.ads-status-badge.is-muted {
    color: var(--ads-muted);
    background: var(--ads-muted-bg);
}


.ads-details-title {
    margin: 0;

    color: var(--ads-text);

    font-size: clamp(1.5rem, 2.5vw, 2.15rem);
    font-weight: 800;
    line-height: 1.2;

    overflow-wrap: anywhere;
}


.ads-details-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;

    margin-top: .9rem;

    color: var(--ads-text-soft);

    font-size: .9rem;
}


.ads-details-meta span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}


.ads-details-meta i {
    color: var(--ads-primary);
}


/* ==========================================================================
   ACTIONS
   ========================================================================== */

.ads-details-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .55rem;

    flex-shrink: 0;
}


.ads-details-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;

    min-height: 40px;
    padding: .55rem .85rem;

    border-radius: 10px;

    font-size: .84rem;
    font-weight: 700;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background-color .18s ease;
}


.ads-details-actions .btn:hover {
    transform: translateY(-1px);
}


.ads-details-actions .btn:focus-visible {
    outline: 3px solid rgba(11, 42, 130, .18);
    outline-offset: 2px;
}


/* ==========================================================================
   MAIN LAYOUT
   ========================================================================== */

.ads-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.5rem;

    align-items: start;
}


.ads-details-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    min-width: 0;
}


.ads-details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;

    min-width: 0;

    position: sticky;
    top: 1.25rem;
}


/* ==========================================================================
   CARDS
   ========================================================================== */

.ads-details-card {
    background: var(--ads-white);
    border: 1px solid var(--ads-border);
    border-radius: 16px;

    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);

    overflow: hidden;
}


.ads-details-card > * {
    max-width: 100%;
}


/* ==========================================================================
   SECTION HEADER
   ========================================================================== */

.ads-section-header {
    display: flex;
    align-items: center;
    gap: .85rem;

    padding: 1.25rem 1.35rem;

    border-bottom: 1px solid var(--ads-border);
}


.ads-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    color: var(--ads-primary);
    background: var(--ads-primary-light);

    border-radius: 11px;

    font-size: 1.1rem;
}


.ads-section-header h2 {
    margin: 0;

    color: var(--ads-text);

    font-size: 1rem;
    font-weight: 800;
}


.ads-section-header p {
    margin: .2rem 0 0;

    color: var(--ads-text-soft);

    font-size: .78rem;
}


/* ==========================================================================
   GALLERY
   ========================================================================== */

.ads-details-gallery {
    padding: 0;
}


.ads-cover-media {
    position: relative;

    width: 100%;
    min-height: 420px;

    background: #f1f3f7;

    overflow: hidden;
}


.ads-cover-image {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 420px;

    object-fit: cover;

    transition: transform .35s ease;
}


.ads-cover-media:hover .ads-cover-image {
    transform: scale(1.015);
}


.ads-cover-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 420px;

    gap: .7rem;

    color: var(--ads-muted);
    background: #f4f5f7;

    font-size: .9rem;
}


.ads-cover-empty i {
    font-size: 3rem;
    opacity: .45;
}


.ads-photo-thumbnails {
    display: flex;
    gap: .65rem;

    padding: .85rem;

    overflow-x: auto;

    border-top: 1px solid var(--ads-border);

    scrollbar-width: thin;
}


.ads-photo-thumbnail {
    width: 78px;
    height: 65px;

    flex: 0 0 78px;

    overflow: hidden;

    background: #f1f3f7;

    border: 2px solid transparent;
    border-radius: 9px;

    cursor: pointer;

    transition:
        border-color .18s ease,
        transform .18s ease;
}


.ads-photo-thumbnail:hover {
    border-color: var(--ads-primary);
    transform: translateY(-2px);
}


.ads-photo-thumbnail img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ==========================================================================
   DESCRIPTION
   ========================================================================== */

.ads-description {
    padding: 1.35rem;

    color: #4f5b6d;

    font-size: .93rem;
    line-height: 1.8;

    white-space: normal;
    overflow-wrap: anywhere;
}


/* ==========================================================================
   PRODUCT INFORMATION
   ========================================================================== */

.ads-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 0;

    padding: .35rem 1.35rem 1.35rem;
}


.ads-info-item {
    min-width: 0;

    padding: 1rem .75rem;

    border-bottom: 1px solid var(--ads-border);
}


.ads-info-item:nth-last-child(-n + 2) {
    border-bottom: 0;
}


.ads-info-item span,
.ads-attribute-item span,
.ads-location-list span {
    display: block;

    margin-bottom: .3rem;

    color: var(--ads-text-soft);

    font-size: .75rem;
    font-weight: 600;
}


.ads-info-item strong,
.ads-attribute-item strong,
.ads-location-list strong {
    display: block;

    color: var(--ads-text);

    font-size: .9rem;
    font-weight: 750;

    overflow-wrap: anywhere;
}


/* ==========================================================================
   ATTRIBUTES
   ========================================================================== */

.ads-attributes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    padding: .35rem 1.35rem 1.35rem;
}


.ads-attribute-item {
    padding: 1rem .75rem;

    border-bottom: 1px solid var(--ads-border);
}


.ads-attribute-item:nth-last-child(-n + 2) {
    border-bottom: 0;
}


/* ==========================================================================
   LOCATION
   ========================================================================== */

.ads-location-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    padding: .35rem 1.35rem 1.35rem;
}


.ads-location-list > div {
    min-width: 0;

    padding: 1rem .75rem;

    border-bottom: 1px solid var(--ads-border);
}


.ads-location-list > div:nth-last-child(-n + 2) {
    border-bottom: 0;
}


/* ==========================================================================
   VIDEOS
   ========================================================================== */

.ads-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;

    padding: 1.25rem;
}


.ads-video-grid video {
    display: block;

    width: 100%;
    min-height: 220px;

    background: #111827;

    border-radius: 12px;

    object-fit: cover;
}


/* ==========================================================================
   PRICE CARD
   ========================================================================== */

.ads-details-price-card {
    padding: 1.35rem;

    background:
        linear-gradient(
            135deg,
            var(--ads-primary),
            #1ba192
        );

    border-radius: 16px;

    color: #fff;

    box-shadow:
        0 10px 30px rgba(11, 42, 130, .18);
}


.ads-details-price-card > span {
    display: block;

    margin-bottom: .4rem;

    color: rgba(255, 255, 255, .72);

    font-size: .8rem;
    font-weight: 600;
}


.ads-details-price-card strong {
    display: flex;
    align-items: baseline;
    gap: .45rem;

    color: #fff;

    font-size: 1.85rem;
    font-weight: 850;
    line-height: 1.15;
}


.ads-details-price-card small {
    color: rgba(255, 255, 255, .75);

    font-size: .8rem;
    font-weight: 700;
}


/* ==========================================================================
   STATISTICS
   ========================================================================== */

.ads-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: .5rem;

    padding: 1rem 1.15rem 1.2rem;
}


.ads-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 0;

    padding: .8rem .35rem;

    text-align: center;

    background: #f8f9fc;

    border: 1px solid var(--ads-border);
    border-radius: 11px;
}


.ads-stat-item i {
    margin-bottom: .35rem;

    color: var(--ads-primary);

    font-size: 1rem;
}


.ads-stat-item strong {
    color: var(--ads-text);

    font-size: 1rem;
    font-weight: 800;
}


.ads-stat-item span {
    margin-top: .15rem;

    color: var(--ads-text-soft);

    font-size: .68rem;
}


/* ================================================================
   VENDEUR / PROPRIÉTAIRE
   SEN DARAL — Premium
   ================================================================ */

.ads-owner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(
        145deg,
        #ffffff 0%,
        #f8fbfa 100%
    );
    border: 1px solid rgba(13, 79, 69, 0.10);
    box-shadow:
        0 8px 24px rgba(9, 58, 52, 0.06),
        0 2px 6px rgba(9, 58, 52, 0.03);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.ads-owner:hover {
    border-color: rgba(13, 79, 69, 0.18);
    box-shadow:
        0 14px 32px rgba(9, 58, 52, 0.10),
        0 4px 10px rgba(9, 58, 52, 0.04);
}


/* ================================================================
   LIEN AVATAR
   ================================================================ */

.ads-owner-profile-link {
    flex: 0 0 auto;
    display: block;
    text-decoration: none;
}


/* ================================================================
   AVATAR
   ================================================================ */

.ads-owner-avatar {
    position: relative;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 50%;

    border: 3px solid #ffffff;

    box-shadow:
        0 0 0 2px rgba(13, 79, 69, 0.12),
        0 8px 18px rgba(9, 58, 52, 0.15);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.ads-owner-profile-link:hover .ads-owner-avatar {
    transform: scale(1.05);

    box-shadow:
        0 0 0 3px rgba(13, 79, 69, 0.18),
        0 10px 24px rgba(9, 58, 52, 0.20);
}


/* ================================================================
   IMAGE AVATAR
   ================================================================ */

.ads-owner-avatar img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* ================================================================
   ICÔNE FALLBACK
   ================================================================ */

.ads-owner-avatar i {
    color: #ffffff;
    font-size: 27px;
}


/* ================================================================
   INFORMATIONS
   ================================================================ */

.ads-owner-info {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}


/* ================================================================
   NOM DU VENDEUR
   ================================================================ */

.ads-owner-name {
    display: inline-flex;
    align-items: center;

    max-width: 100%;

    color: #093a34;

    font-size: 16px;
    font-weight: 750;
    line-height: 1.3;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.ads-owner-name:hover {
    color: #0d4f45;
    text-decoration: none;
}


/* ================================================================
   RÔLE
   ================================================================ */

.ads-owner-role {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #6b7c78;

    font-size: 12px;
    font-weight: 500;
}

.ads-owner-role::before {
    content: "";

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #0d4f45;
}


/* ================================================================
   TÉLÉPHONE
   ================================================================ */

.ads-owner-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-top: 2px;

    color: #526661;

    font-size: 12px;
    font-weight: 500;
}

.ads-owner-phone i {
    color: #0d4f45;
    font-size: 12px;
}


/* ================================================================
   CTA — VOIR LE PROFIL
   ================================================================ */

.ads-owner-profile-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: 7px;

    color: #0d4f45;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.2s ease,
        gap 0.2s ease;
}

.ads-owner-profile-cta:hover {
    color: #093a34;
    gap: 10px;
    text-decoration: none;
}

.ads-owner-profile-cta i {
    font-size: 13px;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 575.98px) {

    .ads-owner {
        padding: 15px;
        gap: 13px;
        border-radius: 16px;
    }

    .ads-owner-avatar {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .ads-owner-avatar i {
        font-size: 23px;
    }

    .ads-owner-name {
        font-size: 15px;
    }

}

/* ==========================================================================
   PUBLICATION TIMELINE
   ========================================================================== */

.ads-timeline {
    padding: .65rem 1.25rem 1.15rem;
}


.ads-timeline > div {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: .75rem 0 .75rem 1.25rem;

    border-left: 2px solid #e5e9f2;
}


.ads-timeline > div::before {
    content: "";

    position: absolute;

    top: 1rem;
    left: -5px;

    width: 8px;
    height: 8px;

    background: var(--ads-primary);

    border-radius: 50%;
}


.ads-timeline > div:last-child {
    padding-bottom: .25rem;
}


.ads-timeline span {
    color: var(--ads-text-soft);

    font-size: .72rem;
}


.ads-timeline strong {
    margin-top: .15rem;

    color: var(--ads-text);

    font-size: .78rem;
    font-weight: 750;
}


/* ==========================================================================
   RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 1100px) {

    .ads-details-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
    }


    .ads-details-hero {
        gap: 1.25rem;
    }


    .ads-details-actions {
        max-width: 420px;
    }

}


/* ==========================================================================
   RESPONSIVE — TABLET / SMALL
   ========================================================================== */

@media (max-width: 900px) {

    .ads-details-layout {
        grid-template-columns: 1fr;
    }


    .ads-details-sidebar {
        position: static;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .ads-details-price-card {
        grid-column: 1 / -1;
    }


    .ads-details-hero {
        flex-direction: column;
    }


    .ads-details-actions {
        width: 100%;
        max-width: none;

        justify-content: flex-start;
    }

}


/* ==========================================================================
   RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 640px) {

    .ads-details-page {
        margin: 0 -.25rem;
    }


    .ads-details-hero {
        padding: 1.15rem;

        border-radius: 13px;
    }


    .ads-details-title {
        font-size: 1.4rem;
    }


    .ads-details-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .ads-details-actions .btn {
        width: 100%;
    }


    .ads-details-layout {
        gap: 1rem;
    }


    .ads-details-main {
        gap: 1rem;
    }


    .ads-details-sidebar {
        display: flex;
        gap: 1rem;
    }


    .ads-cover-media,
    .ads-cover-image,
    .ads-cover-empty {
        min-height: 280px;
    }


    .ads-section-header {
        padding: 1rem;
    }


    .ads-section-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }


    .ads-info-grid,
    .ads-attributes-grid,
    .ads-location-list {
        grid-template-columns: 1fr;

        padding-left: 1rem;
        padding-right: 1rem;
    }


    .ads-info-item,
    .ads-attribute-item,
    .ads-location-list > div {
        border-bottom: 1px solid var(--ads-border);
    }


    .ads-info-item:last-child,
    .ads-attribute-item:last-child,
    .ads-location-list > div:last-child {
        border-bottom: 0;
    }


    .ads-video-grid {
        grid-template-columns: 1fr;

        padding: 1rem;
    }


    .ads-video-grid video {
        min-height: 190px;
    }


    .ads-stats-grid {
        gap: .35rem;

        padding-left: .85rem;
        padding-right: .85rem;
    }


    .ads-stat-item {
        padding: .7rem .2rem;
    }


    .ads-details-price-card {
        padding: 1.15rem;
    }


    .ads-details-price-card strong {
        font-size: 1.55rem;
    }

}


/* ==========================================================================
   RESPONSIVE — VERY SMALL
   ========================================================================== */

@media (max-width: 400px) {

    .ads-details-actions {
        grid-template-columns: 1fr;
    }


    .ads-details-reference {
        gap: .35rem;
    }


    .ads-reference-badge,
    .ads-status-badge {
        font-size: .72rem;
    }


    .ads-details-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: .45rem;
    }

}


/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    .ads-details-actions .btn,
    .ads-cover-image,
    .ads-photo-thumbnail {
        transition: none;
    }

}



/* ==========================================================
   LIGHTBOX PHOTO
========================================================== */

.ads-cover-media,
.ads-photo-thumbnail {
    position: relative;
    cursor: zoom-in;
}

.ads-cover-media {
    border: 0;
    padding: 0;
    width: 100%;
    display: block;
    background: transparent;
}

.ads-photo-thumbnail {
    border: 0;
    padding: 0;
    overflow: hidden;
}

.ads-photo-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ads-photo-zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.65);
    color: #fff;

    font-size: 16px;

    opacity: 0;
    transform: scale(.9);

    transition:
        opacity .2s ease,
        transform .2s ease;
}

.ads-cover-media:hover .ads-photo-zoom,
.ads-photo-thumbnail:hover .ads-photo-zoom {
    opacity: 1;
    transform: scale(1);
}

/* SweetAlert utilisé comme lightbox */

.ads-photo-lightbox {
    max-width: 95vw !important;
    max-height: 95vh !important;
    margin: 0 !important;
    border-radius: 12px !important;
}

.ads-photo-lightbox-image {
    max-width: 90vw !important;
    max-height: 85vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}


/* ==========================================================
   CARTE DE LOCALISATION
========================================================== */

.ads-location-map-wrapper {
    margin-top: 24px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--ads-border, #e5e7eb);
    background: #f8fafc;
}

.ads-location-map {
    width: 100%;
    height: 360px;
    min-height: 360px;
}


/* Message lorsqu'il n'y a pas de coordonnées */

.ads-location-no-map {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 24px;
    padding: 28px 20px;

    border-radius: 14px;
    border: 1px dashed var(--ads-border, #d1d5db);

    background: #f8fafc;

    color: #64748b;
    font-size: 14px;
}

.ads-location-no-map i {
    font-size: 20px;
}


/* Leaflet */

.ads-location-map .leaflet-control-zoom {
    border: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

.ads-location-map .leaflet-control-zoom a {
    color: var(--ads-primary, #0d4f45);
}

.ads-location-map .leaflet-popup-content-wrapper {
    border-radius: 10px;
}

.ads-location-map .leaflet-popup-content {
    margin: 12px 16px;
    font-size: 14px;
}


/* Responsive */

@media (max-width: 768px) {

    .ads-location-map {
        height: 300px;
        min-height: 300px;
    }

}

@media (max-width: 480px) {

    .ads-location-map {
        height: 260px;
        min-height: 260px;
    }

}

.swal2-actions {
    gap: 12px;
}
.btn-primary {
    background: linear-gradient(
            135deg,
            #0d4f45,
            #1ba192
        );
}

/* ==========================================================================
   CONTACT VENDEUR
   ========================================================================== */

.ads-contact-card {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(8, 58, 52, .08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(8, 58, 52, .08);
    overflow: hidden;
}


/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */

.ads-contact-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.ads-contact-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: linear-gradient(
        135deg,
        #0b5a4e,
        #0f7969
    );

    color: #fff;
    font-size: 1.15rem;

    box-shadow:
        0 8px 20px rgba(8, 75, 65, .18);
}

.ads-contact-heading {
    min-width: 0;
}

.ads-contact-eyebrow {
    display: block;
    margin-bottom: 4px;

    color: #b38a2c;

    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ads-contact-heading h3 {
    margin: 0;

    color: #143d37;

    font-size: 1.15rem;
    font-weight: 800;
}

.ads-contact-heading p {
    margin: 7px 0 0;

    color: #71817d;

    font-size: .88rem;
    line-height: 1.55;
}




/* --------------------------------------------------------------------------
   ACTIONS
   -------------------------------------------------------------------------- */

.ads-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;

    width: 100%;
}


/*
 * IMPORTANT :
 * Chaque bouton occupe toute la largeur.
 * Le contenu ne reste donc jamais horizontalement
 * avec le texte descriptif du bloc.
 */

.ads-contact-btn {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 16px;
    border-radius: 13px;
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.ads-contact-btn span {
    min-width: 0;
    text-align: center;
}

.ads-contact-btn:hover {
    transform: translateY(-1px);
}


/* Bouton appel */

.ads-contact-btn-primary {
    border: 1px solid #0b5a4e;

    background: #0b5a4e;
    color: #fff;
}

.ads-contact-btn-primary:hover {
    background: #08483f;
    color: #fff;

    box-shadow:
        0 8px 22px rgba(8, 75, 65, .18);
}


/* Bouton message */

.ads-contact-btn-secondary {
    position: relative;

    border: 1px solid #dbe5e2;

    background: #fff;

    color: #355a53;

    cursor: not-allowed;

    opacity: .78;
}

.ads-contact-btn-secondary:hover {
    transform: none;
    box-shadow: none;
}

.ads-contact-btn-secondary small {
    padding: 3px 7px;

    border-radius: 999px;

    background: #edf2f0;

    color: #71817d;

    font-size: .62rem;
    font-weight: 800;
    white-space: nowrap;
}


/* --------------------------------------------------------------------------
   NOTICE
   -------------------------------------------------------------------------- */

.ads-contact-notice {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    margin-top: 18px;
    padding-top: 16px;

    border-top: 1px solid #edf1ef;

    color: #7a8985;

    font-size: .72rem;
    line-height: 1.55;
}

.ads-contact-notice i {
    flex: 0 0 auto;

    margin-top: 2px;

    color: #0b7968;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 575.98px) {

    .ads-contact-card {
        padding: 21px;
        border-radius: 20px;
    }

    .ads-contact-header {
        gap: 12px;
    }

    .ads-contact-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .ads-contact-heading h3 {
        font-size: 1.02rem;
    }

    .ads-contact-heading p {
        font-size: .82rem;
    }

    .ads-contact-btn {
        min-height: 46px;
        padding: 11px 13px;
        font-size: .82rem;
    }

    .ads-contact-btn-secondary small {
        font-size: .58rem;
    }

}

/* ==========================================================
   ADS VIEW — ESPACE PUBLIC UNIQUEMENT
========================================================== */

.ads-view-page.ads-view-public {
    width: 100%;
    padding: 24px 32px 72px;
}


/* Grand écran */
@media (min-width: 1400px) {

    .ads-view-page.ads-view-public {
        padding-left: 40px;
        padding-right: 40px;
    }

}


/* Tablette */
@media (max-width: 1199.98px) {

    .ads-view-page.ads-view-public {
        padding: 22px 24px 60px;
    }

}


/* Mobile */
@media (max-width: 767.98px) {

    .ads-view-page.ads-view-public {
        padding: 16px 14px 48px;
    }

}


/* ==========================================================
   WHATSAPP
========================================================== */

.ads-contact-btn-whatsapp {
    background: #128c7e;
    border: 1px solid #128c7e;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(18, 140, 126, 0.16);
}

.ads-contact-btn-whatsapp:hover {
    background: #0d786c;
    border-color: #0d786c;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 9px 20px rgba(18, 140, 126, 0.22);
}

.ads-contact-btn-whatsapp i {
    font-size: 15px;
}

/* ==========================================================================
   FAVORIS
   ========================================================================== */

.ads-favorite-action {
    width: 100%;
}

.ads-favorite-btn {
    width: 100%;
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 20px;

    border: 1px solid rgba(8, 75, 65, .14);
    border-radius: 14px;

    background: #fff;
    color: #084b41;

    font-size: .92rem;
    font-weight: 700;
    line-height: 1.2;

    text-decoration: none;

    cursor: pointer;

    box-shadow:
        0 8px 24px rgba(8, 75, 65, .06);

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.ads-favorite-btn:hover {
    transform: translateY(-2px);

    border-color: rgba(215, 169, 61, .45);

    background:
        linear-gradient(
            135deg,
            #fffdf7 0%,
            #fff8e8 100%
        );

    color: #9a7017;

    box-shadow:
        0 14px 30px rgba(8, 75, 65, .10);
}

.ads-favorite-btn i {
    font-size: 1.15rem;
    transition:
        transform .25s ease,
        color .25s ease;
}

.ads-favorite-btn:hover i {
    transform: scale(1.12);
}


/* --------------------------------------------------------------------------
   FAVORI ACTIF
   -------------------------------------------------------------------------- */

.ads-favorite-btn.is-favorite {
    border-color: rgba(215, 169, 61, .35);

    background:
        linear-gradient(
            135deg,
            #fffdf7 0%,
            #fff7df 100%
        );

    color: #a47718;

    box-shadow:
        0 10px 28px rgba(215, 169, 61, .12);
}

.ads-favorite-btn.is-favorite i {
    color: #d7a93d;
}

.ads-favorite-btn.is-favorite:hover {
    border-color: rgba(190, 43, 61, .25);

    background:
        linear-gradient(
            135deg,
            #fffafa 0%,
            #fff2f3 100%
        );

    color: #b52d42;
}

.ads-favorite-btn.is-favorite:hover i {
    color: #c72f45;
}


/* --------------------------------------------------------------------------
   ÉTAT CHARGEMENT / DISABLED
   -------------------------------------------------------------------------- */

.ads-favorite-btn:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}


/* --------------------------------------------------------------------------
   VERSION MOBILE
   -------------------------------------------------------------------------- */

@media (max-width: 576px) {

    .ads-favorite-btn {
        min-height: 52px;
        padding: 13px 16px;
        border-radius: 13px;
        font-size: .88rem;
    }

    .ads-favorite-btn i {
        font-size: 1.05rem;
    }

}

/* ==========================================================
   BOUTON PARTAGER
   ========================================================== */

.ads-contact-btn-share {
    background: #f0f5ff;
    color: #2457d6;
    border: 1px solid #d5e1ff;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.ads-contact-btn-share:hover {
    background: #2457d6;
    border-color: #2457d6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(36, 87, 214, 0.18);
}

.ads-contact-btn-share:active {
    transform: translateY(0);
    box-shadow: none;
}

.ads-contact-btn-share i {
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.ads-contact-btn-share:hover i {
    transform: scale(1.08);
}

@media (max-width: 576px) {

    .ads-contact-btn-share {
        width: 100%;
        justify-content: center;
    }

}

/* ==========================================================
   MODAL SIGNALement
   ========================================================== */

#ads-report-modal {
    z-index: 1060;
}

#ads-report-modal .modal-dialog {
    max-width: 600px;
    margin: 1.75rem auto;
}

#ads-report-modal .modal-content.ads-report-modal {
    position: relative;

    background: #ffffff !important;

    border: 0;
    border-radius: 20px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);

    overflow: hidden;

    color: #14202b;
}


/* ==========================================================
   HEADER
   ========================================================== */

#ads-report-modal .modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding: 24px 26px;

    background: #ffffff;

    border-bottom: 1px solid #edf0f2;
}

#ads-report-modal .modal-title {
    margin: 0;

    font-size: 1.15rem;
    font-weight: 700;

    color: #14202b;
}

#ads-report-modal .modal-title i {
    color: #c62828;
}

#ads-report-modal .ads-report-subtitle {
    margin: 6px 0 0;

    font-size: 0.88rem;

    color: #718096;
}


/* ==========================================================
   BODY
   ========================================================== */

#ads-report-modal .modal-body {
    padding: 26px;
    background: #ffffff;
}


/* ==========================================================
   MESSAGE D'INFORMATION
   ========================================================== */

#ads-report-modal .ads-report-info {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 24px;
    padding: 14px 16px;

    background: #f3f7ff;

    border: 1px solid #dce8ff;
    border-radius: 12px;

    color: #44546a;
}

#ads-report-modal .ads-report-info i {
    flex-shrink: 0;

    font-size: 1.2rem;

    color: #155eef;
}


/* ==========================================================
   LABELS
   ========================================================== */

#ads-report-modal .form-label {
    margin-bottom: 8px;

    font-weight: 600;

    color: #17202a;
}


/* ==========================================================
   SELECT / TEXTAREA
   ========================================================== */

#ads-report-modal .form-select,
#ads-report-modal .form-control {
    min-height: 52px;

    border: 1px solid #d9dee5;
    border-radius: 12px;

    background-color: #ffffff;

    color: #17202a;

    box-shadow: none;
}

#ads-report-modal textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

#ads-report-modal .form-select:focus,
#ads-report-modal .form-control:focus {
    border-color: #00695c;

    box-shadow:
        0 0 0 3px rgba(0, 105, 92, 0.10);
}


/* ==========================================================
   TEXTE D'AIDE
   ========================================================== */

#ads-report-modal .form-text {
    margin-top: 7px;

    font-size: 0.8rem;

    color: #7a8694;
}


/* ==========================================================
   FOOTER
   ========================================================== */

#ads-report-modal .modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;

    padding: 18px 26px;

    background: #ffffff;

    border-top: 1px solid #edf0f2;
}


/* ==========================================================
   BOUTON ANNULER
   ========================================================== */

#ads-report-modal .modal-footer .btn-light {
    min-height: 46px;

    padding: 0 20px;

    border: 1px solid #dfe3e8;
    border-radius: 10px;

    background: #ffffff;

    color: #4b5563;

    font-weight: 600;
}


/* ==========================================================
   BOUTON ENVOYER
   ========================================================== */

#ads-report-modal .ads-report-submit-btn {
    min-height: 46px;

    padding: 0 22px;

    border: 0;
    border-radius: 10px;

    background: #c62828;

    color: #ffffff;

    font-weight: 600;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

#ads-report-modal .ads-report-submit-btn:hover {
    background: #b71c1c;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(198, 40, 40, 0.20);
}

#ads-report-modal .ads-report-submit-btn:disabled {
    opacity: 0.65;

    transform: none;

    box-shadow: none;
}


/* ==========================================================
   ALERTES
   ========================================================== */

#ads-report-modal #ads-report-alert {
    margin-bottom: 20px;

    border-radius: 10px;
}


/* ==========================================================
   BACKDROP
   ========================================================== */

.modal-backdrop.show {
    opacity: 0.55;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 576px) {

    #ads-report-modal .modal-dialog {
        margin: 0.75rem;
    }

    #ads-report-modal .modal-header,
    #ads-report-modal .modal-body,
    #ads-report-modal .modal-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    #ads-report-modal .modal-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    #ads-report-modal .modal-footer .btn,
    #ads-report-modal .ads-report-submit-btn {
        width: 100%;
    }
}



/* ==========================================================
   ADS CARD — META
   Vues / Favoris / Date
   ========================================================== */

.ads-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 13px;
    padding-top: 12px;

    border-top: 1px solid #edf0f4;

    color: #8a93a3;

    font-size: 11px;
    font-weight: 600;
}

.ads-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    white-space: nowrap;
}

.ads-card-meta i {
    font-size: 12px;
    color: #9aa4b2;
}

.ads-card-date {
    margin-left: auto;

    color: #8a93a3;

    font-size: 10px;
    font-weight: 600;
}

.ads-card-date i {
    color: var(--ads-primary, #0d4f45);
}

@media (max-width: 575.98px) {

    .ads-card-meta {
        gap: 9px;
    }

    .ads-card-date {
        margin-left: 0;
        width: 100%;
    }

}


