/* Custom styles for Property Details page - Mobile optimization */

/* Mobile property card styles */
@media (max-width: 640px) {
    .property-card {
        margin-bottom: 1.5rem;
    }
    
    .property-info-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem;
    }
    
    .property-info-card .info-value {
        font-weight: 700;
        font-size: 1.25rem;
        margin-right: 0.5rem;
    }
    
    .property-info-card .info-label {
        font-size: 0.875rem;
    }
    
    /* Improve gallery display */
    .gallery-thumbnails .swiper-slide {
        width: 120px;
        height: 80px;
    }
    
    /* Fix spacing between sections */
    .property-section {
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .property-section:last-child {
        border-bottom: none;
    }
    
    /* Fix Gallery title display */
    .gallery-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    /* Better spacing for gallery section */
    .gallery-section {
        margin-top: 1rem;
    }
}

/* Global property styles (for both mobile and desktop) */
/* Slider container */
.property-slider-container {
    height: 300px;
    overflow: hidden;
}

/* Improve Swiper slider for all devices */
.property-main-slider {
    height: 300px !important;
}

.property-main-slider .swiper-slide img {
    object-fit: cover;
}

/* Better gallery thumbnail styling for all devices */
.gallery-thumbnails {
    margin-top: 1rem;
}

.gallery-thumbnails .swiper-slide {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    width: 140px;
    height: 90px;
}

.gallery-thumbnails .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnails .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #3b82f6;
}

/* Better slider pagination for all devices */
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.9);
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* Better navigation arrows */
.swiper-button-next, 
.swiper-button-prev {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 50%;
    color: white !important;
}

.swiper-button-next:after, 
.swiper-button-prev:after {
    font-size: 1.2rem !important;
} 