/**
 * Single Property Detail Page Styles
 * Modern Two-Column Layout with Amazon-style Gallery
 */

.lux-single-property-wrapper {
    background: #fff;
    color: var(--primary-1);
}

.lux-property-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: flex-start;
}

/* Gallery Column Styles */
.lux-property-detail-grid > div {
    min-width: 0; /* CRITICAL FIX: prevents Swiper from exploding grid column width */
}

.lux-gallery-column {
    position: sticky;
    top: 120px;
}

.lux-main-gallery {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 420px; /* Reduced from 550px to fit in single view */
    box-shadow: 0 20px 50px rgba(14, 17, 38, 0.08);
    background: #f8f9fa;
}

.lux-main-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lux-thumbs-gallery {
    position: relative;
    padding: 15px 0;
    height: 120px;
}

.lux-thumbs-gallery .swiper-slide {
    width: 100px;
    height: 90px;
    opacity: 0.5;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.lux-thumbs-gallery .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--primary-2);
    box-shadow: 0 5px 15px rgba(42, 63, 255, 0.2);
}

.lux-thumbs-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Navigation Overrides */
.lux-main-gallery .swiper-button-next,
.lux-main-gallery .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-1);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.lux-main-gallery .swiper-button-next:after,
.lux-main-gallery .swiper-button-prev:after {
    font-size: 16px;
    font-weight: 800;
}

.lux-main-gallery .swiper-button-next:hover,
.lux-main-gallery .swiper-button-prev:hover {
    background: var(--primary-2);
    color: #fff;
    transform: scale(1.1);
}

/* Content Column Styles */
.lux-breadcrumb {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-3);
    opacity: 0.7;
}

.lux-breadcrumb a {
    color: var(--primary-1);
    text-decoration: none;
    transition: color 0.3s ease;
}

.lux-breadcrumb a:hover {
    color: var(--primary-2);
}

.lux-property-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #111; /* Fallback from var(--primary-1) */
    letter-spacing: -1.5px;
}

/* Multi-color Pill Tags */
.lux-property-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.lux-prop-tag {
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.lux-property-price-main {
    margin-bottom: 25px;
}

.lux-property-price-main .price-main,
.lux-property-price-main .price-new {
    font-size: 42px; /* make it a little big as requested */
    font-weight: 800;
    background: var(--gradient-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.lux-property-location-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 600;
    color: #555;
    margin-bottom: 35px;
}

.lux-property-short-desc {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 45px;
    border-left: 3px solid var(--primary-2, #3b82f6);
    padding-left: 20px;
}

/* Premium Action Box */
.lux-single-actions-box {
    background: #fdfdfd;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    margin-bottom: 45px;
    text-align: center;
}

.action-header {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #111;
}

.lux-single-actions-box .lux-btn {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    margin-top: 0 !important;
}

.action-hint {
    font-size: 13px;
    color: var(--primary-3);
    margin-top: 20px;
    opacity: 0.8;
}

/* Meta Data Items */
.lux-property-meta-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.meta-item {
    font-size: 15px;
    color: var(--primary-3);
}

.meta-label {
    font-weight: 800;
    color: var(--primary-1);
    margin-right: 12px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

/* Tabs / Full Description Area */
.lux-property-tabs-wrapper {
    margin-top: 60px;
}

.tabs-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--primary-1);
    position: relative;
    padding-bottom: 15px;
}

.tabs-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: var(--gradient-1);
    border-radius: 10px;
}

.lux-content-rich {
    font-size: 18px;
    line-height: 1.9;
    color: var(--primary-3);
}

.lux-content-rich p {
    margin-bottom: 30px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .lux-property-detail-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .lux-property-detail-grid {
        grid-template-columns: 1fr;
    }
    .lux-gallery-column {
        position: static;
    }
    .lux-main-gallery {
        height: 380px;
    }
}

@media (max-width: 600px) {
    .lux-property-detail-grid {
        gap: 25px; /* Reduce massive vertical gap between stacked columns */
    }
    .lux-main-gallery {
        height: 280px; /* More proportional for mobile screens */
        border-radius: 16px;
    }
    .lux-thumbs-gallery {
        height: 80px;
        padding: 10px 0;
    }
    .lux-thumbs-gallery .swiper-slide {
        height: 60px;
        border-radius: 8px;
    }
    .lux-property-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .lux-property-price-main .price-main {
        font-size: 28px;
    }
    .lux-property-location-tag {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .lux-property-short-desc {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .lux-single-actions-box {
        padding: 24px;
        border-radius: 16px;
    }
    .lux-property-tabs-wrapper {
        margin-top: 30px;
        padding-top: 40px !important;
    }
    .tabs-header h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
}
