.property-mini-gallery {
    padding: 15px;
    color:#fdfdfd;
}

.property-mini-gallery img{
    background-size:contain;
    height:100%;
}

.property-hero-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.property-hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 75vh;
}

.property-overlay-box {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom:0px;
    width: 33.3333%; /* Same as col-md-4 */
    max-width: 500px;
    z-index: 10;
    /* background: rgba(76,71,113,0.65)!important; */
    background: rgba(255,255,255,0.65)!important;
}

span.detailIcon {
    color: #1C164B;
    margin-right: 15px;
    border-right: #1C164B solid 2px;
    padding-right: 15px;
}

span.detailIcon:last-of-type {
        border-right:none;
}

button.gallery-button {
    background: #e39c12;
    font-size: 18px;
    padding: 8px 55px;
    border-radius: 25px;
}

button.gallery-button:hover {
    color: #e39c12 ;
    background-color: #fff;
    border-color: #fff;
}

button.book-now {
    background: #1c164b !important;
    color:white;
    font-size: 20px;
}

button.book-now:hover {
    background: white !important;
    color:#1c164b;
    font-size: 20px;
    border: 1px solid #1c164b;
}

form.form.book-now-form input{
    height:34px;
    font-size: 15px;
}
.ameneties {
        background: #e5e5e5;
        padding: 18px 18px 50px;
        margin-bottom: 25px !important;
}
.ameneties h2 {
    margin-bottom:45px!important;
}

ul.amenity-list {
    list-style: none;
    column-count:4;
}

@media (max-width: 1024px) {
    .property-overlay-box {
        position: static;
        width: 100%;
        margin-top: 1rem;
    }

        ul.amenity-list {
        column-count:2;
        }
}

@media (max-width:768px){
        ul.amenity-list {
        column-count:1;
        }
}

@media screen and(min-width:1024px){
    .property-hero-wrapper {
        max-height: 85vh;
    }
}

#hostawayCarousel .carousel-item img {
    max-width: 100%;
    max-height: 80vh; /* keeps images from being taller than the viewport */
    object-fit: contain; /* keeps aspect ratio without cropping */
    margin: 0 auto; /* centers image horizontally */
}

.property-mini-gallery .img-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio (adjust as needed) */
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
}

.property-mini-gallery .img-container img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.book-now-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.85); /* semi-opaque */
    z-index: 15;
}

button.book-now-toggle {
    font-size: 24px;
}

.startingPrice {
    color:#fff;
    padding: 12px;
    background: rgba(28,23,76,0.75);
    border-radius: 5px;
}

#hostawayGalleryModal .modal-content {
    background: rgba(7,0,13,0.80);
}

.carousel-caption.d-none.d-md-block {
    background: rgba(0,0,0,.75);
    border-radius: 15px;
}

div#hostawayGalleryModal {
    top: 5rem;
}