
/* ------- Layout ------- */
.property-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}
@media (max-width: 1024px) {
    .property-container { grid-template-columns: 1fr; }
}

/* ------- Carousel ------- */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}
.carousel-slide {
    display: none;
    width: 100%;
    max-height: 540px;
    object-fit: cover;
}
.carousel-slide.active { display: block; }
.carousel-btn {
    position: absolute;
    top: 45%;
    padding: 10px 18px;
    background: rgba(0,0,0,0.5);
    color: white;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    user-select: none;
}
.carousel-btn.left { left: 10px; }
.carousel-btn.right { right: 10px; }

/* ------- Dots ------- */
.carousel-dots {
    position: absolute; bottom: 10px; left: 0; right: 0;
    display: flex; justify-content: center; gap: 6px;
}
.carousel-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.6); cursor: pointer;
}
.carousel-dot.active { background: white; }

/* ------- Image Grid ------- */
.gallery-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}
.gallery-grid img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

/* ------- Lightbox ------- */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.9);
    display: none; align-items: center; justify-content: center;
    z-index: 9999;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 90vw; max-height: 85vh; object-fit: contain;
}
.lightbox .lb-close {
    position: absolute; top: 20px; right: 20px;
    font-size: 28px; color: #fff; cursor: pointer;
}
.lightbox .lb-nav {
    position: absolute; width: 100%;
    display: flex; justify-content: space-between; top: 50%;
    transform: translateY(-50%);
}
.lightbox .lb-btn {
    padding: 14px 18px; border-radius: 50%; color: #fff; cursor: pointer;
    background: rgba(255,255,255,0.2);
}

/* ------- Form Panel ------- */
.booking-box {
    position: sticky; top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fafafa;
}
.booking-box input,
.booking-box button {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
}
.helper {
    font-size: 12px; color: #666;
}
.price-row {
    display: flex; justify-content: space-between; margin-top: 10px;
    font-weight: 600;
}
.error { color: #b00020; margin-top: 8px; }
.success { color: #0a8f32; margin-top: 8px; }
.muted { color: #6b7280; font-size: 12px; }
/* Blur-up lazy loading container */
.blur-load {
    position: relative;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transition: filter .5s ease;
}
.blur-load.loaded {
    filter: blur(0);
}
.blur-load img {
    opacity: 0;
    /* width: 100%;
    height: 100%; */
    object-fit: cover;
    transition: opacity .4s ease;
}
.blur-load.loaded img {
    opacity: 1;
}

