/* print.css */

@media print {
    @page {
        size: auto;
        margin: 10mm;
    }
}




/* Masquer les éléments non essentiels à l'impression */
.site-navbar-wrap, .back-to-top, footer, .sticky-container, .site-mobile-menu {
    display: none !important;
}

/* Ajuster les marges et padding pour économiser de l'espace */
body {
    margin: 0;
    padding: 0;
    color: #000;  /* Assure que le texte soit noir */
    background: none;  /* Retire les arrière-plans */
}

.container, .row, .col-md-4, .col-md-8, .col-md-12 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

.property-details {
    box-shadow: none;
    background-color: #fff; /* Assure un fond blanc pour l'impression */
}

/* Ajuster la taille du texte pour l'impression */
h1, h2, h3, h4, h5, h6 {
    font-size: 90%;
}

p, span {
    font-size: 85%;
}

/* Assurer que les images ne dépassent pas la page */
img {
    max-width: 100% !important;
    height: auto !important;
}

/* Cacher les éléments interactifs inutiles pour l'impression */
a[href]:after {
    content: " (" attr(href) ")";
    color: #000;
}

a, button, .btn, .icon, .bi {
    display: none !important;
}

.sticky-container {
    position: static !important;
}


@media print {
    body {
        margin: 0;
        padding: 0;
        background: #fff;
        color: #000;
    }

    .container, .row, .col-md-4, .col-md-8, .col-md-12 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .sticky-container, .site-navbar, .back-to-top, footer, .site-mobile-menu, .site-navbar-wrap {
        display: none !important;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    h1, h2, h3, h4, h5, h6 {
        font-size: 90%;
    }

    p, span {
        font-size: 85%;
    }
}


* {
    outline: 1px solid red !important;
}
