/* hide the infowindow of the google maps pro */
.wpgmp_map_container .infoBox {
    display: none;
}

/* hide the google maps pro filter */
.wep-section-filter,
.wep-result-action {
    /* display: none; */
}

/* code to make whole listing-card as trigger to the map start */
.wow-custom-trigger-container .wep-card {
    position: relative;
}


.wow-custom-trigger-container .place_title {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}


.wow-custom-trigger-container .wep-card {
    /* border: 1px solid #9b9b9b45;
    border-radius: 17px;
    transition: 0.3s; */
}


.wow-custom-trigger-container .wep-card:hover {
    /* box-shadow: 0px 10px 15px 0 #66666661; */
}


.wow-custom-trigger-container .wep-card .wep-card__body {
    /* padding: 10px; */
}

/* code to make whole listing-card as trigger to the map end */



div.et_pb_posts article{cursor:pointer;}




.bhi-masonry-gallery-design {
    display: grid;
    grid-template-columns: 60% 1fr 1fr;
    gap: 25px;
}

.bhi-image-1 {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.bhi-image-2 {
    grid-column: 2;
    grid-row: 1;
}

.bhi-image-3 {
    grid-column: 3;
    grid-row: 1;
}

.bhi-image-4 {
    grid-column: 2;
    grid-row: 2;
}

.bhi-image-5 {
    grid-column: 3;
    grid-row: 2;
}

.bhi-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    cursor: pointer;
}

.bhi-image-2,
.bhi-image-3,
.bhi-image-4,
.bhi-image-5 {
    aspect-ratio: 1 / 1;
}


@media (max-width: 992px) {

    .bhi-masonry-gallery-design {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
    }

    .bhi-image {
        grid-row: auto !important;
    }

    .bhi-image-1 {
        grid-column: 1 / span 2;
    }

    .bhi-image-2 {
        grid-column: 1;
    }

    .bhi-image-3 {
        grid-column: 2;
    }

    .bhi-image-4 {
        grid-column: 1;
    }

    .bhi-image-5 {
        grid-column: 2;
    }

}


@media (max-width: 576px) {

    .bhi-masonry-gallery-design {
        grid-template-columns: 1fr;
    }

    .bhi-image {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .bhi-image-1 {
        order: 1;
    }

    .bhi-image-2 {
        order: 2;
    }

    .bhi-image-3 {
        order: 3;
    }

    .bhi-image-4 {
        order: 4;
    }

    .bhi-image-5 {
        order: 5;
    }

}














.bhi-lightbox {
    display: none;
    position: fixed;
    z-index: 9999999;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    isolation: isolate;
    touch-action: pan-y;
}

.bhi-lightbox.active {
    display: flex;
}

.bhi-lightbox-content {
    width: 100%;
    max-width: 90%;
    overflow: hidden;
    position: relative;
}

.bhi-lightbox-track {
    display: flex;
    width: 100%;
    /* NOT 300% */
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.bhi-lightbox-track img {
    width: 100%;
    flex: 0 0 100%;
    max-height: 90vh;
    object-fit: contain;
}

.bhi-lightbox-image {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.bhi-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 3;
}

.bhi-lightbox-prev,
.bhi-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    z-index: 3;
}

.bhi-lightbox-prev {
    left: 20px;
}

.bhi-lightbox-next {
    right: 20px;
}

.bhi-lightbox-counter {
    position: absolute;
    bottom: 20px;
    color: #fff;
    font-size: 16px;
    z-index: 3;
}





/* =========================
   GRID MODAL
========================= */

.bhi-gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999998;
    background: rgba(0, 0, 0, 0.95);
    padding: 40px;
    overflow-y: auto;

}

.bhi-gallery-modal.active {
    display: block;
}

.bhi-gallery-modal-content {
    max-width: 1200px;
    margin: auto;
}

.bhi-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.bhi-gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.bhi-gallery-grid img:hover {
    transform: scale(1.05);
}

.bhi-gallery-modal-close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 3;
}

/* responsive */
@media (max-width: 992px) {
    .bhi-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .bhi-gallery-grid {
        grid-template-columns: 1fr;
    }
}


















/******************************************************************************************************/
/******************************************************************************************************/
/******************************************************************************************************/
/******************************************************************************************************/
/* calendar on detail css start from here */


.property-calendar {
    font-family: 'Inter', sans-serif;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin: 25px auto;
    width: fit-content;
    border: 1px solid #ccc;
    --unavailable-bg-color: #f8d7da;
    --available-bg-color: #d4edda;
    --tooltip-bg-color: #00a8cb;
}

.calendar-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-swatch {
    width: 25px;
    height: 25px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    border: 1px solid #ccc;
}

.available-swatch {
    background: var(--available-bg-color);
}

.unavailable-swatch {
    background: var(--unavailable-bg-color);
}

.checkin-swatch {
    background: linear-gradient(135deg, var(--unavailable-bg-color) 50%, transparent 50%);
}

.checkout-swatch {
    background: linear-gradient(135deg, transparent 50%, var(--unavailable-bg-color) 50%);
}

.months-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cal-nav {
    background: #f5f5f5;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.cal-nav:hover {
    background: #e0e0e0;
}

.months {
    display: flex;
    gap: 50px;
}

.month-header {
    text-align: center;
    font-weight: 600;
    margin-bottom: 10px;
}

.calendar-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 6px;
    overflow: visible;
}

.calendar-table th {
    font-size: 12px;
    color: #777;
}

.calendar-table td {
    overflow: visible;
}

.day-cell {
    position: relative;
    aspect-ratio: 1/1;
    background: #f7f7f7;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 50px;
    width: 50px;
    overflow: visible;
}

.day-cell:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.day-cell.available {
    background: var(--available-bg-color);
}

.day-cell.unavailable {
    background: var(--unavailable-bg-color);
}


.day-cell.checkin::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--unavailable-bg-color) 50%, transparent 50%);
    border-radius: 10px;
    pointer-events: none;
}

.day-cell.checkout::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, var(--unavailable-bg-color) 50%);
    border-radius: 10px;
    pointer-events: none;
}

.day-number {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 13px;
    font-weight: 500;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.day-price {
    position: absolute;
    bottom: 5px;
    right: 6px;
    font-size: 10px;
    color: #333;
    z-index: 2;
}

.day-cell.selected {
    background: #000 !important;
    color: #fff;
}

.day-cell.in-range {
    background: #cce5ff !important;
}

.tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: var(--tooltip-bg-color);
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 6px;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    white-space: nowrap;
    z-index: 999;
    pointer-events: none;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--tooltip-bg-color) transparent transparent transparent;
}

.day-cell:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}



.empty-day {
    background: transparent;
}


/* ===== CTA Button ===== */
.calendar-cta {
    text-align: center;
    margin-top: 20px;
}

.book-now-btn {
    display: inline-block;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.book-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.book-now-btn:active {
    transform: scale(0.97);
}

.book-now-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: 0.6s;
}

.book-now-btn:hover::before {
    left: 100%;
}

.book-now-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    pointer-events: none;
}

.book-now-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* calendar on detail css end here */
/******************************************************************************************************/
/******************************************************************************************************/
/******************************************************************************************************/
/******************************************************************************************************/