:root {
    --primary: #7f3ebd;
    --primary-dark: #6a2fa3;
    --primary-light: #9b5dd4;
    --primary-glow: rgba(127, 62, 189, 0.3);
    --white: #ffffff;
    --off-white: #f8f6fa;
    --gray-100: #f3f0f7;
    --gray-200: #e8e4ed;
    --gray-300: #d1cad9;
    --gray-600: #6b6175;
    --gray-800: #2d2633;
    --black: #1a1520;
    
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(127, 62, 189, 0.08);
    --shadow-md: 0 8px 30px rgba(127, 62, 189, 0.12);
    --shadow-lg: 0 20px 60px rgba(127, 62, 189, 0.15);
    --shadow-glow: 0 0 40px rgba(127, 62, 189, 0.2);
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}

/* Property Hero - Compact */
.property-hero {
    padding: 120px 20px 30px;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    border-bottom: 1px solid var(--gray-200);

}

.property-hero-content {
    max-width: 1400px;
    margin: 0 auto;
    
}

.property-hero-info {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.developer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(127, 62, 189, 0.1) 0%, rgba(127, 62, 189, 0.05) 100%);
    border: 1px solid rgba(127, 62, 189, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.developer-badge .material-symbols-outlined {
    font-size: 16px;
}

.property-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.1;
    margin-bottom: 10px;
}

.property-hero-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.property-hero-location .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary);
}

.property-hero-meta {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 24px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-800);
}

/* ================================
   Hero Price Box – Premium Light
================================ */

.hero-price-box {
    padding: 18px 26px;
    background: linear-gradient(
        135deg,
        rgba(127, 62, 189, 0.12) 0%,
        rgba(127, 62, 189, 0.04) 100%
    );
    border: 1px solid rgba(127, 62, 189, 0.25);
    border-radius: var(--radius-md);
    text-align: left;
    min-width: 240px;
    backdrop-filter: blur(6px);
}

/* Label */
.hero-price-box .price-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

/* Main Price */
.hero-price-box .price-value {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 4px;
}

/* Range */
.hero-price-box .price-range {
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 500;
}
/* Hero Price Box – Mobile Flat Bar */
@media (max-width: 640px) {
    .hero-price-box {
        width: 100%;
        min-width: 0;
        padding: 10px 16px;
        border-radius: var(--radius-sm);
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 12px;
        text-align: left;
        box-shadow: none;
        border: 1px solid rgba(127, 62, 189, 0.2);
    }

    .hero-price-box .price-label {
        font-size: 9px;
        margin-bottom: 0;
        letter-spacing: 0.6px;
        white-space: nowrap;
    }

    .hero-price-box .price-value {
        font-size: 18px;
        margin-bottom: 0;
        text-align: center;
    }

    .hero-price-box .price-range {
        font-size: 11px;
        opacity: 0.85;
        white-space: nowrap;
        text-align: right;
    }
}

/* Gallery & Details Section */
.gallery-details-section {
    padding: 0;
    background: var(--off-white);
}

.gallery-details-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Gallery Wrapper */
.gallery-wrapper {
    padding: 30px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 12px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-main {
    grid-row: 1 / 3;
    height: 100%;
}

.gallery-secondary {
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 8px;
}

.gallery-img:hover {
    transform: scale(1.05);
}

.gallery-more {
    position: relative;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 8px;
}

.gallery-overlay:hover {
    background: rgba(0, 0, 0, 0.75);
}

.gallery-overlay .material-symbols-outlined {
    font-size: 28px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* Scrollable Content */
.scrollable-content {
    padding: 40px 30px 40px 20px;
    overflow-y: auto;
}

/* Quick Info Compact */
.quick-info-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.info-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.info-item .material-symbols-outlined {
    font-size: 28px;
    color: var(--primary);
}

.info-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
}

/* Content Section */
.content-section {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--gray-200);
}

.section-heading .material-symbols-outlined {
    font-size: 26px;
    color: var(--primary);
}

.section-description {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-600);
}


/* Amenities Compact */
.amenities-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-800);
    transition: var(--transition-fast);
}

.amenity:hover {
    background: linear-gradient(135deg, rgba(127, 62, 189, 0.06) 0%, var(--off-white) 100%);
}

.amenity .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary);
}

/* Location Content */
.location-content {
    display: grid;
    gap: 20px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
}

.connectivity-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.connect-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.connect-item:hover {
    background: linear-gradient(135deg, rgba(127, 62, 189, 0.06) 0%, var(--off-white) 100%);
}

.connect-item .material-symbols-outlined {
    font-size: 24px;
    color: var(--primary);
}

.connect-item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.connect-item span {
    font-size: 12px;
    color: var(--gray-600);
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.spec-item {
    padding: 14px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
}

.spec-item strong {
    color: var(--gray-800);
    font-weight: 600;
}

/* Highlights Compact */
.highlights-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.highlight-item .material-symbols-outlined {
    font-size: 28px;
    color: var(--primary);
    flex-shrink: 0;
}

.highlight-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 12px;
    color: var(--gray-600);
    margin: 0;
}

/* Developer Compact */
.developer-compact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dev-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.dev-stat {
    text-align: center;
    padding: 16px 10px;
    background: var(--off-white);
    border-radius: var(--radius-sm);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-text {
    font-size: 11px;
    color: var(--gray-600);
    font-weight: 600;
}

.developer-compact p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-600);
    margin: 0;
}

/* Fixed Sidebar */
.fixed-sidebar {
    background: var(--gray-100);
    border-left: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-sticky {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Contact Card */
.contact-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 18px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gray-800);
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.submit-btn .material-symbols-outlined {
    font-size: 18px;
}

/* Quick Actions Card */
.quick-actions-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--off-white);
    color: var(--gray-800);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.action-link:hover {
    background: var(--primary);
    color: var(--white);
}

.action-link.call-link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.action-link.call-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.action-link .material-symbols-outlined {
    font-size: 18px;
}

/* Urgency Card */
.urgency-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 24px;
    border-radius: var(--radius-md);
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.urgency-card .urgency-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}

.urgency-card .urgency-icon .material-symbols-outlined {
    font-size: 24px;
    color: var(--white);
}

.urgency-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.urgency-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.urgency-card strong {
    color: var(--white);
    font-weight: 700;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
}

/* Footer CTA */
.footer-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.cta-actions {
    display: flex;
    gap: 16px;
}

.cta-actions .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-actions .btn-primary:hover {
    background: var(--off-white);
}

.cta-actions .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .property-hero-info {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .property-hero-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hero-price-box {
        width: 100%;
        max-width: none;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .fixed-sidebar {
        position: relative;
        height: auto;
        border-left: none;
        border-top: 1px solid var(--gray-200);
    }

    .sidebar-sticky {
        padding: 30px 20px;
    }

    .quick-info-compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .config-grid {
        grid-template-columns: 1fr;
    }

    .connectivity-list,
    .specs-grid,
    .highlights-compact {
        grid-template-columns: 1fr;
    }

    .dev-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-content p {
        margin: 0 auto;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .property-hero {
        padding: 30px 16px 24px;
    }

    .property-hero-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-wrapper {
        padding: 20px 16px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 250px repeat(4, 180px);
        gap: 10px;
    }

    .gallery-main {
        grid-row: 1;
    }

    .scrollable-content {
        padding: 30px 16px;
    }

    .quick-info-compact {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .info-item {
        padding: 14px;
    }

    .content-section {
        padding: 20px;
        margin-bottom: 16px;
    }

    .section-heading {
        font-size: 18px;
    }

    .amenities-compact {
        grid-template-columns: 1fr;
    }

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 44px;
        height: 44px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .property-hero {
        padding: 84px 12px 20px;
    }

    .property-hero-title {
        font-size: 28px;
    }

    .property-hero-meta {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-price-box .price-value {
        font-size: 32px;
    }

    .gallery-wrapper {
        padding: 16px 12px;
    }

    .gallery-grid {
        grid-template-rows: 220px repeat(4, 160px);
    }

    .scrollable-content {
        padding: 24px 12px;
    }

    .content-section {
        padding: 18px;
    }

    .section-heading {
        font-size: 17px;
    }

    .sidebar-sticky {
        padding: 24px 16px;
    }

    .contact-card,
    .quick-actions-card,
    .urgency-card {
        padding: 20px;
    }

    .dev-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-num {
        font-size: 22px;
    }
}
/* WhatsApp Action Link */
.action-link.whatsapp-link {
    background: linear-gradient(135deg, #25D366 0%, #1EBE57 100%);
    color: var(--white);
}

.action-link.whatsapp-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    background: linear-gradient(135deg, #1EBE57 0%, #128C7E 100%);
}

/* WhatsApp Icon */
.action-link.whatsapp-link .fa-whatsapp {
    font-size: 18px;
}
/* WhatsApp Action Link */
.action-link.whatsapp-link {
    background: linear-gradient(135deg, #25D366 0%, #1EBE57 100%);
    color: var(--white);
}

.action-link.whatsapp-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    background: linear-gradient(135deg, #1EBE57 0%, #128C7E 100%);
}

/* WhatsApp Icon (Material Symbols) */
.action-link.whatsapp-link .material-symbols-outlined {
    font-size: 18px;
}
/* Quick Info Compact */
.quick-info-compact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

/* Tablet */
@media (max-width: 1024px) {
    .quick-info-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .quick-info-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }

    .info-item {
        padding: 12px;
        gap: 10px;
    }

    .info-item .material-symbols-outlined {
        font-size: 22px;
    }

    .info-label {
        font-size: 10px;
        letter-spacing: 0.4px;
    }

    .info-value {
        font-size: 14px;
    }
}
/* Amenities Compact – Responsive Optimization */

/* Tablet */
@media (max-width: 1024px) {
    .amenities-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .amenities-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .amenity {
        padding: 10px;
        gap: 8px;
        font-size: 12px;
    }

    .amenity .material-symbols-outlined {
        font-size: 18px;
    }
}

/* Very Small Devices */
@media (max-width: 380px) {
    .amenities-compact {
        grid-template-columns: 1fr;
    }
}
/* Property Hero Meta – Responsive */

/* Tablet */
@media (max-width: 1024px) {
    .property-hero-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .property-hero-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .meta-label {
        font-size: 10px;
        letter-spacing: 0.4px;
    }

    .meta-value {
        font-size: 14px;
    }
}

/* Very Small Devices */
@media (max-width: 380px) {
    .property-hero-meta {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
/* Connectivity List – Responsive */

/* Tablet */
@media (max-width: 1024px) {
    .connectivity-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .connectivity-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .connect-item {
        padding: 12px;
        gap: 10px;
    }

    .connect-item .material-symbols-outlined {
        font-size: 20px;
    }

    .connect-item strong {
        font-size: 12px;
    }
}

/* Very Small Devices */
@media (max-width: 380px) {
    .connectivity-list {
        grid-template-columns: 1fr;
    }
}
/* ================================
   Unit Configuration – Responsive
   (Table layout on ALL devices)
================================ */

/* Desktop / Default */
.config-grid {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--white);
}

.config-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid var(--gray-200);
}

.config-row.header {
    background: var(--off-white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
}

.config-row:last-child {
    border-bottom: none;
}

.config-row:hover {
    background: linear-gradient(135deg, rgba(127, 62, 189, 0.05) 0%, var(--off-white) 100%);
}

/* Column styles */
.config-type {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-800);
}

.config-size {
    font-size: 13px;
    color: var(--gray-600);
}

.config-price {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    text-align: right;
}

/* Highlight row */
.config-row.featured {
    background: rgba(127, 62, 189, 0.04);
}

/* ================================
   Mobile Optimization (Still Table)
================================ */

@media (max-width: 640px) {

    .config-row {
        grid-template-columns: 1.1fr 0.9fr 0.8fr;
        padding: 12px 12px;
    }

    .config-row.header {
        font-size: 11px;
        padding: 10px 12px;
    }

    .config-type {
        font-size: 13px;
    }

    .config-size {
        font-size: 12px;
    }

    .config-price {
        font-size: 13px;
    }
}

/* Ultra-small phones */
@media (max-width: 360px) {
    .config-row {
        grid-template-columns: 1.2fr 0.8fr 0.7fr;
    }
}
/* Align Price header with Price values */
.config-row.header div:last-child {
    text-align: right;
}
/* Column alignment fix */
.config-row > div:nth-child(1) {
    text-align: left;   /* Configuration */
}

.config-row > div:nth-child(2) {
    text-align: center; /* Size */
}

.config-row > div:nth-child(3) {
    text-align: right;  /* Price */
}

/* Highlights Compact – Always 2 per row */
.highlights-compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

/* Mobile optimization (still 2 columns) */
@media (max-width: 640px) {
    .highlights-compact {
        gap: 10px;
    }

    .highlight-item {
        padding: 12px;
        gap: 10px;
    }

    .highlight-item .material-symbols-outlined {
        font-size: 22px;
    }

    .highlight-item strong {
        font-size: 13px;
    }

    .highlight-item p {
        font-size: 11px;
    }
}
/* ================================
   Gallery – Mobile Minimal View
   (Safe for Lightbox)
================================ */
@media (max-width: 640px) {

    .gallery-wrapper {
        padding: 14px;
    }

    /* Reduce height, keep original grid */
    .gallery-grid {
        grid-template-rows: 180px 90px;
        gap: 8px;
    }

    /* Hide all secondary images first */
    .gallery-secondary {
        display: none;
    }

    /* Show ONLY:
       - 1st secondary image
       - gallery-more image (with +More overlay)
    */
    .gallery-secondary:nth-of-type(1),
    .gallery-secondary.gallery-more {
        display: block;
        height: 90px;
    }

    /* Main image height fix */
    .gallery-main {
        grid-row: 1 / 2;
    }

    .gallery-img {
        border-radius: var(--radius-sm);
    }
}
/* ===== Single Banner Image Below Gallery ===== */
.single-banner-wrapper {
    width: 100%;
    padding: 20px;
    background: var(--white);
}

.single-banner-img {
    width: 100%;
    height: 452px; /* Same height as gallery (220 + 220 + gap) */
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* ===== Responsive (Mobile) ===== */
@media (max-width: 768px) {
    .single-banner-wrapper {
        padding: 16px;
    }

    .single-banner-img {
        height: 200px; /* Matches mobile gallery visual weight */
        border-radius: 12px;
    }
}
/* ===== Location Content ===== */
.location-content {
    margin-top: 12px;
}

.location-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

/* Map */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
}

/* Right Content */
.location-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    background: var(--off-white);
    border-radius: var(--radius-md);
}

.location-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.location-address {
    font-size: 13px;
    line-height: 1.5;
    color: var(--gray-600);
    margin-bottom: 16px;
}

/* CTA Button */
.map-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    width: fit-content;
    transition: var(--transition-fast);
}

.map-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    .location-split {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 260px;
    }

    .location-info {
        padding: 16px;
    }
}
