﻿


.listing-gallery-wrapper {
    position: relative;
    overflow: visible; /* Ensures expanding icons are visible outside card bounds */
    z-index: 1; /* Ensure this element is above other content */
}

.button-wrapper {
    margin: 10px;
}

.circle-button {
    transition: all 0.3s ease;
}

.expanded {
    transform: scale(1.2);
}

.collapsed {
    transform: scale(1);
}

.popover-container {
    position: relative; /* Allows expanding icons to position relative to the toggle button */
    z-index: 2; /* Ensures toggle button and popover container are above the parent */
}

.button-circle {
    position: absolute;
    bottom: 0;
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3; /* Ensure buttons are above other content */
    margin-top: 20px; /* Add space to push the icons away from the price section */
}
/* Default hidden state for buttons */

.circle-button {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 4; /* Ensure buttons are above other content */
}
/* Expanded state for positioning buttons in a circular pattern */
/* Expanded state */
.button-circle.expanded .circle-button {
    opacity: 1;
    transform: scale(1);
}

    .button-circle.expanded .circle-button:nth-child(1) {
        transform: translate(50px, 10px) scale(1); /* Bottom-right */
    }

    .button-circle.expanded .circle-button:nth-child(2) {
        transform: translate(-20px, 30px) scale(1); /* Bottom-left */
    }

    .button-circle.expanded .circle-button:nth-child(3) {
        transform: translate(60px, -55px) scale(1); /* Bottom */
    }

/* Collapsed state */
.button-circle.collapsed .circle-button {
    opacity: 0;
    transform: scale(0.5);
}



.slider-thumbnail-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    height: 500px;
}

.slider-thumbnail-item-1 img {
    width: 120%; 
    height: auto; 
    object-fit: cover;
    height: 102px; 
}

.subheader.subheader-2 {
    position: relative;
    height: 500px;
}

.listing-feature .listing-feature-value {
    font-size: 15px;
    width: -moz-available;
}

.acr-listing-icons {
    width: max-content;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: auto;
    margin-left: auto;
}
/* Basic Styles */
.listing {
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
    background-color: var(--card-bg);
    border-color: var(--border-color);
}



.listing-body {
    padding: 15px;
}

/* Icon styles */
.acr-listing-icon i,
.bi-whatsapp {
    display: inline-block;
    margin-right: 5px;
    font-size: 16px; /* Adjust icon size here */
}



/* Responsive Styles */
@media (max-width: 992px) {
    .col-lg-4 {
        width: 50%;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .col-lg-4 {
        width: 100%;
        padding: 10px;
    }



    .acr-listing-icon {
        flex: 1 0 33%; /* Each icon takes up to 33% of the container width */
        margin-bottom: 10px;
    }

    .btn-custom {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .listing-title {
        font-size: 16px;
    }


    .acr-listing-icon-value {
        display: block; /* Stack icon text under the icon */
    }
}

@media (max-width: 350px) {
    .acr-listing-icons {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

.listing .acr-listing-icons .acr-listing-icon i {
    font-size: 25px;
    margin-right: -13px;
}

@media (max-width: 767px) {
    .embed-responsive {
        height: 350px; /* This sets the height to 100px on small devices */
    }
}

.slider-thumbnail-item img {
    height: 400px
}

@media (max-width: 600px) {
    .slider-thumbnail-item img {
        height: 250px;
    }
}
