.listing-details {
    background: #F9FAFE;
}

.details-header-wallpaper {
    /*background-size: cover;*/
    /*background-position: center;*/
    /*background-repeat: no-repeat;*/
    overflow: hidden;
}

.details-header-wallpaper img {
    width: 100%;
}

/* Σε desktop σταθερό ύψος με object-fit: cover, σε mobile το φυσικό ύψος της εικόνας */
@media (min-width: 992px) {
    .details-header-wallpaper {
        max-height: 290px;
    }

    .details-header-wallpaper img {
        height: 290px;
    }
}

.listing-details-header {
    position: relative;
}

.listing-details-header .title {
    font-size: 20px;
}

.listing-details-header .attributes {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--dark-gray);
}

.listing-details-header .attributes .attribute {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #939598;
    background: #F0F5FF;
    border-radius: var(--border-radius-lg);
    padding: 2px 10px;
}

.listing-details-header .logo {
    width: 70px;
    min-width: 70px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
}


.listing-details-video {
    width: 100%;
    height: 390px;
}

@media (max-width: 991px) {
    .listing-details {
        position: relative;
        margin-top: calc(-1 * var(--mobile-header-height));
        z-index: 6000;
    }

    /* space for the fixed .listing-contact-buttons bar */
    footer {
        padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    }

    /* Το εικονίδιο του tawk.to (.chat-launcher, app.css) λίγο πάνω από τη μπάρα (~75px). Το «Απόρρητο» του InMobi
       πέφτει πάνω στη μπάρα, οπότε εδώ δεν μετράει το --cmp-button-height.
       z-index: πάνω από το .listing-details και τη μπάρα (6000), κάτω από τα popups της αγγελίας (7000+) */
    .chat-launcher {
        bottom: calc(90px + env(safe-area-inset-bottom, 0px));
        z-index: 6100;
    }

    .listing-contact-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        box-sizing: border-box;
        background: #fff;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        box-shadow: 0 -1px 10px 5px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0 -1px 10px 5px rgba(0, 0, 0, 0.1);
        /* iPhone home indicator / notch: keep the buttons inside the visible viewport */
        padding: 15px calc(5px + env(safe-area-inset-right, 0px)) calc(15px + env(safe-area-inset-bottom, 0px)) calc(5px + env(safe-area-inset-left, 0px));
        z-index: 6000;
    }

    .listing-details-video {
        height: auto;
    }

    .details-header-panel {
        background: #fff;
        /*width: calc(100% - 20px);*/
        width: 100%;
        border-radius: var(--border-radius-lg);
        box-shadow: var(--bs-box-shadow) !important;
        padding: 10px;
        margin: -40px auto 0 auto;
        z-index: 7000;
    }

    .details-header-content {
        padding: 10px 10px 10px 10px;
    }

    .details-header-wallpaper {
        border-top-left-radius: var(--border-radius-md);
        border-top-right-radius: var(--border-radius-md);
    }
}


@media (min-width: 992px) {
    /*.listing-details {*/
    /*    position: relative;*/
    /*    margin-top: calc(-1 * var(--desktop-header-height));*/
    /*    z-index: 6000;*/
    /*}*/
    .listing-details-header {
        background: #fff;
        border-bottom: 1px solid #EEEFF5;
        padding: 20px 0 40px 0;
    }
}

@media (min-width: 992px) {
    .details-header-bar.desktop-sticky .details-header-logo {
        display: none !important;
    }
}


/*.details-action-buttons.top-right {*/
/*    position: absolute;*/
/*    top: 20px;*/
/*    right: 20px;*/
/*    z-index: 6000;*/
/*}*/

.details-action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    color: #8ED1F3;
    background: #fff;
    border: 1px solid #F3F4F9;
    border-radius: 50%;
}

.details-map {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}