/* ========================================
   SINGLE PROPERTY PAGE - v7.1
   
   FONTS: Direct names (NO VARIABLES)
   - Headings: 'Sofia Pro'
   - Body: 'Afacad Flux'
   
   SPECS:
   - Icons: #BCB6AF
   - Labels: #666666
   - Values: #2A2A2A
   
   PROPERTY INFO:
   - Property Name: HIDDEN
   - Property Address: 32px Sofia Pro #2A2A2A
   
   DIVIDERS: Container width only (1200px)
   - NO border-top on sections
   - Use .divider-wrapper in PHP
   
   v7.1 Changes:
   - ADDED: .badge-near-completion (#928572 bg, white text)
   - ADDED: .badge-off-market-lot (#928572 bg, white text)
   - ADDED: .badge-future-phases (#6A8375 bg, white text)
   - UPDATED: .badge-move-in-ready → #928572 bg, white text (was #6A8375)
   - UPDATED: .badge-in-contract / under-contract → #666666 bg, white text (unchanged)
   - UPDATED: Download Brochure button (padding 10px 25px, hover #5A4F42 bg white text)
   - NO features or logic removed
   
   v7.1.1 Changes:
   - FIXED: Mobile buttons text now centered (justify-content: center + text-align: center)
   
   v6.7 Changes:
   - FIXED: See All Photos button mobile — full overlay on 4th thumbnail
   - FIXED: Hover color #5A4F42 (was #2A2A2A)
   - FIXED: Mobile responsive overlay + hover at all breakpoints
======================================== */

:root {
    --color-primary: #5A4F42;
    --color-light-text: #766C61;
    --color-dark-text: #5A4F42;
    --color-800: #483F35;
    --color-400: #CCC8C0;
    --color-300: #E8E5DF;
    --color-200: #EFEDEB;
    --color-100: #FAF9F7;
    --color-white: #FFFFFF;
    --map-pin-color: #778869;
    --content-max-width: 1200px;
}

.single-property-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: var(--color-white);
}

/* ========== BREADCRUMB ========== */
.property-breadcrumb-section {
    width: 100%;
    background: var(--color-200);
    display: flex;
    justify-content: center;
}

.breadcrumb-container {
    width: 100%;
    max-width: var(--content-max-width);
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb-link {
    color: var(--color-primary);
    font-size: 14px;
    font-family: 'Afacad Flux', sans-serif;
    font-weight: 300;
    text-decoration: none;
}

.breadcrumb-link:hover { 
    opacity: 0.7; 
    color: #928572 !important; 
}

.breadcrumb-separator, 
.breadcrumb-current {
    color: var(--color-primary);
    font-size: 14px;
    font-family: 'Afacad Flux', sans-serif;
    font-weight: 300;
}

.breadcrumb-current { 
    font-weight: 400; 
}

/* ========== GALLERY GRID (700x500 + 4 smaller) ========== */
.property-gallery-grid-section {
    width: 100%;
    background: var(--color-white);
    display: flex;
    justify-content: center;
}

.gallery-grid-container {
    width: 100%;
    max-width: var(--content-max-width);
    padding: 20px 0 0 0;
}

.gallery-grid {
    display: flex;
    gap: 14px;
}

.gallery-main-image {
    width: 700px;
    height: 500px;
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-main-image:hover img { 
    transform: scale(1.02); 
    opacity: 0.95; 
}

.gallery-side-grid {
    width: 485px;
    height: 500px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-content: flex-start;
}

.gallery-side-image {
    width: 235px;
    height: 243px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-side-image:hover img { 
    transform: scale(1.02); 
    opacity: 0.95; 
}

/* ========== SEE ALL PHOTOS - DESKTOP: bottom-right corner ========== */
.gallery-side-last {
    position: relative !important;
    overflow: hidden !important;
}

.gallery-see-all-overlay {
    position: absolute !important;
    bottom: 16px !important;
    right: 16px !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    z-index: 10 !important;
    display: flex !important;
    pointer-events: none !important;
    padding: 0 !important;
}

.gallery-see-all-btn {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    border-radius: 50px !important;
    border: none !important;
    outline: 0.5px solid #5A4F42 !important;
    font-family: 'Afacad Flux', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #2A2A2A !important;
    cursor: pointer !important;
    pointer-events: all !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

/* Hover — #5A4F42 brown (NOT #2A2A2A) */
.gallery-see-all-btn:hover,
.gallery-see-all-btn:focus,
.gallery-see-all-btn:active,
button.gallery-see-all-btn:hover,
.gallery-see-all-overlay .gallery-see-all-btn:hover {
    background: #5A4F42 !important;
    background-color: #5A4F42 !important;
    color: #FFFFFF !important;
    outline: 0.5px solid #5A4F42 !important;
    opacity: 1 !important;
}

/* Count badge */
.gallery-btn-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: #5A4F42;
    color: #FFFFFF;
    border-radius: 50px;
    font-size: 12px;
    font-family: 'Afacad Flux', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gallery-see-all-btn:hover .gallery-btn-count,
button.gallery-see-all-btn:hover .gallery-btn-count {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    color: #5A4F42 !important;
}

.gallery-btn-text {
    font-size: 14px;
    font-family: 'Afacad Flux', sans-serif;
    font-weight: 400;
}

/* ========== NO IMAGE PLACEHOLDER (SVG) ========== */
.gallery-no-images {
    width: 100%;
    height: 500px;
    background: var(--color-200);
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-placeholder-svg {
    width: 30px;
    height: 30px;
}

.gallery-placeholder-svg path {
    fill: var(--color-primary);
}

.gallery-side-image.gallery-placeholder {
    background: var(--color-200);
    cursor: default;
}

.gallery-side-placeholder-inner {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-side-placeholder-inner svg {
    width: 30px;
    height: 30px;
}

.gallery-side-placeholder-inner svg path {
    fill: var(--color-primary);
}

/* ========== PROPERTY INFO SECTION ========== */
.property-info-section {
    width: 100%;
    background: #FFFFFF !important;
    display: flex;
    justify-content: center;
    padding: 30px 0 48px 0;
}

.property-info-section.coming-soon-info { 
    padding: 32px 0; 
}

.property-info-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.property-info-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.property-info-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

/* ========== COMING SOON - NO PHOTOS ========== */
.coming-soon-header-section {
    width: 100%;
    background: var(--color-100);
    display: flex;
    justify-content: center;
    padding: 32px 0;
}

.coming-soon-header-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.coming-soon-property-name {
    color: #2A2A2A;
    font-size: 28px;
    font-family: 'Sofia Pro', sans-serif;
    font-weight: 400;
    margin: 0;
}

.coming-soon-illustration-section {
    width: 100%;
    background: var(--color-white);
    display: flex;
    justify-content: center;
    padding: 80px 0;
}

.coming-soon-illustration-container {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.coming-soon-illustration {
    width: 250px;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

.coming-soon-title {
    color: #2A2A2A;
    font-size: 28px;
    font-family: 'Sofia Pro', sans-serif;
    font-weight: 400;
    margin: 0;
}

.coming-soon-description {
    color: var(--color-light-text);
    font-size: 16px;
    font-family: 'Afacad Flux', sans-serif;
    font-weight: 300;
    margin: 0;
    line-height: 1.5;
    max-width: 450px;
}

/* ========== EXPLORE HOMES SECTION ========== */
.explore-homes-section {
    width: 100%;
    background: var(--color-white);
    display: flex;
    justify-content: center;
    padding: 60px 0 80px;
    border-top: none !important;
}

.explore-homes-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.explore-homes-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.explore-homes-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.explore-homes-title {
    color: #2A2A2A;
    font-size: 24px;
    font-family: 'Sofia Pro', sans-serif;
    font-weight: 400;
    margin: 0;
}

.explore-homes-description {
    color: var(--color-light-text);
    font-size: 16px;
    font-family: 'Afacad Flux', sans-serif;
    font-weight: 300;
    margin: 0;
}

.explore-homes-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2A2A2A;
    font-size: 16px;
    font-family: 'Afacad Flux', sans-serif;
    text-decoration: none;
}

.explore-homes-link:hover { 
    color: #928572; 
}

.explore-homes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.explore-property-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.explore-property-card:hover { 
    transform: translateY(-4px); 
}

.explore-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--color-200);
}

.explore-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.explore-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-200);
}

.explore-card-placeholder svg {
    width: 30px;
    height: 30px;
}

.explore-card-badge { 
    position: absolute; 
    top: 12px; 
    left: 12px; 
}

.feat-badge {
    display: inline-flex;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 14px;
    font-family: 'Afacad Flux', sans-serif;
    font-weight: 400;
    color: var(--color-white);
}

.feat-badge-green { background: #6A8375; }
.feat-badge-tan { background: #928572; }
.feat-badge-gray { background: #EEEEEE; color: #2A2A2A; }

.explore-card-content {
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.explore-card-title {
    color: #2A2A2A;
    font-size: 18px;
    font-family: 'Afacad Flux', sans-serif;
    font-weight: 500;
}

.explore-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.explore-card-price .price-label {
    color: var(--color-light-text);
    font-size: 14px;
    font-family: 'Afacad Flux', sans-serif;
    font-weight: 300;
}

.explore-card-price .price-value {
    color: #2A2A2A;
    font-size: 18px;
    font-family: 'Afacad Flux', sans-serif;
    font-weight: 500;
}

.explore-card-specs {
    display: flex;
    gap: 16px;
}

.explore-card-specs .spec-item {
    color: var(--color-light-text);
    font-size: 14px;
    font-family: 'Afacad Flux', sans-serif;
    font-weight: 300;
}

/* ========== BADGE PILLS ========== */
.property-badges-container {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
}

.property-badge-pill {
    display: inline-flex;
    padding: 5px 20px;
    border-radius: 50px;
    font-family: 'Afacad Flux', sans-serif;
    font-size: 16px;
}

/* v7.1 - Move in Ready + For Sale → #928572 bg, white text */
.property-badge-pill.badge-move-in-ready,
.property-badge-pill.badge-for-sale { 
    background: #928572; 
}
.property-badge-pill.badge-move-in-ready .property-badge-text,
.property-badge-pill.badge-for-sale .property-badge-text { 
    color: #FFFFFF; 
}

/* Under Construction / In Construction → #928572 bg, white text */
.property-badge-pill.badge-under-construction, 
.property-badge-pill.badge-in-construction { 
    background: #928572; 
}
.property-badge-pill.badge-under-construction .property-badge-text,
.property-badge-pill.badge-in-construction .property-badge-text { 
    color: #FFFFFF; 
}

/* Plan Ready Lot → #606E76 bg, white text */
.property-badge-pill.badge-plan-ready { 
    background: #606E76; 
}
.property-badge-pill.badge-plan-ready .property-badge-text { 
    color: #FFFFFF; 
}

/* v7.1 - In Contract / Under Contract → #666666 bg, white text */
.property-badge-pill.badge-in-contract { 
    background: #666666; 
}
.property-badge-pill.badge-in-contract .property-badge-text { 
    color: #FFFFFF; 
}

/* v7.1 - Near Completion → #928572 bg, white text */
.property-badge-pill.badge-near-completion { 
    background: #928572; 
}
.property-badge-pill.badge-near-completion .property-badge-text { 
    color: #FFFFFF; 
}

/* v7.1 - Off Market Lot → #928572 bg, white text */
.property-badge-pill.badge-off-market-lot { 
    background: #928572; 
}
.property-badge-pill.badge-off-market-lot .property-badge-text { 
    color: #FFFFFF; 
}

/* v7.1 - Future Phases → #6A8375 bg, white text */
.property-badge-pill.badge-future-phases { 
    background: #6A8375; 
}
.property-badge-pill.badge-future-phases .property-badge-text { 
    color: #FFFFFF; 
}

/* Sold → #EEEEEE bg, dark text */
.property-badge-pill.badge-sold { 
    background: #EEEEEE; 
}
.property-badge-pill.badge-sold .property-badge-text-dark { 
    color: #5A4F42; 
}

/* Coming Soon → transparent bg, bordered */
.property-badge-pill.badge-coming-soon { 
    background: transparent !important; 
    border: 1px solid #2A2A2A !important; 
}
.property-badge-pill.badge-coming-soon .property-badge-text-dark { 
    color: #2A2A2A !important; 
}

/* Estimated Completion pill */
.property-badge-pill.badge-estimated { 
    background: #E6E2DD; 
}

/* Promo/Sale pill */
.property-badge-pill.badge-promo { 
    background: #FFFFFF; 
    border: 1px solid #E8E5DF; 
}
.property-badge-pill.badge-promo .property-badge-text-dark { 
    color: #2A2A2A; 
}

/* Default badge fallback */
.property-badge-pill.badge-default {
    background: #EEEEEE;
}
.property-badge-pill.badge-default .property-badge-text-dark {
    color: #2A2A2A;
}

.property-badge-text { 
    font-size: 16px; 
    font-family: 'Afacad Flux', sans-serif; 
    font-weight: 400; 
}
.property-badge-text-dark { 
    font-size: 16px; 
    font-family: 'Afacad Flux', sans-serif; 
    font-weight: 300; 
}
.property-badge-text-dark-bold { 
    font-size: 16px; 
    font-family: 'Afacad Flux', sans-serif; 
    font-weight: 500; 
}

/* ========== PROPERTY HEADER INFO ========== */
.property-header-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.property-name {
    display: none !important;
}

.property-address {
    color: #2A2A2A !important;
    font-size: 24px !important;
    font-family: 'Sofia Pro', sans-serif !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    max-width: 400px;
}

.property-price-section { 
    display: flex; 
    justify-content: flex-end; 
}

.price-amount {
    text-align: right;
    color: #2A2A2A;
    font-size: 30px;
    font-family: 'Sofia Pro', sans-serif;
    font-weight: 400;
}

.property-actions { 
    display: flex; 
    gap: 14px; 
}

.property-action-btn {
    height: 45px;
    padding: 0 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Afacad Flux', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: capitalize;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.property-action-btn.primary-btn { 
    background: var(--color-primary); 
    color: var(--color-white); 
}
.property-action-btn.primary-btn:hover { 
    background: #928572 !important; 
}

/* v7.1 - Download Brochure button updated specs */
.property-action-btn.secondary-btn { 
    background: #FFFFFF !important; 
    color: #2A2A2A !important; 
    border: 0.5px solid #2A2A2A !important; 
    padding: 10px 25px !important;
    height: auto !important;
    font-family: 'Afacad Flux', sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    text-transform: capitalize !important;
}
.property-action-btn.secondary-btn:hover { 
    background: #5A4F42 !important; 
    color: #FFFFFF !important; 
}

.btn-icon { 
    display: flex; 
    align-items: center; 
}
.btn-icon .material-symbols-outlined { 
    font-size: 20px; 
}

/* ========== SPECIFICATIONS ========== */
.specifications-section {
    width: 100%;
    background: var(--color-white);
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.specifications-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    gap: 112px;
}

.specifications-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-card {
    width: 160px;
    height: 80px;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px;
}

.spec-card-icon { 
    font-size: 24px !important; 
    width: 24px;
    height: 24px;
    color: #BCB6AF !important;
}

.spec-card-content { 
    flex: 1;
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    align-items: flex-start;
    gap: 5px;
}

.spec-card-label {
    color: #666666 !important;
    font-size: 14px;
    font-family: 'Afacad Flux', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    align-self: stretch;
}

.spec-card-value {
    color: #2A2A2A !important;
    font-size: 18px;
    font-family: 'Afacad Flux', sans-serif;
    font-weight: 500;
    align-self: stretch;
}

/* ========== SECTION DIVIDERS ========== */
.section-divider {
    width: 100%;
    max-width: var(--content-max-width);
    height: 0;
    border: none;
    border-top: 1px solid var(--color-300);
    margin: 0 auto;
}

.divider-wrapper {
    width: 100%;
    background: var(--color-white);
    display: flex;
    justify-content: center;
    padding: 0;
}

/* ========== CONTENT SECTIONS ========== */
.property-section {
    width: 100%;
    background: var(--color-white);
    display: flex;
    justify-content: center;
    padding: 80px 0;
}

.property-section-inner { 
    width: 100%; 
    max-width: var(--content-max-width); 
}

.section-title {
    font-family: 'Sofia Pro', sans-serif;
    font-size: 30px;
    font-weight: 400;
    color: #2A2A2A;
    margin: 0 0 28px 0;
}

/* ========== OVERVIEW & FEATURES ========== */
.overview-features-section { 
    border-top: none !important;
}

.overview-features-container {
    display: flex;
    gap: 96px;
}

.overview-content, 
.features-content {
    width: 550px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.overview-content .section-title, 
.features-content .section-title { 
    margin: 0; 
}

.overview-content .property-description,
.property-description {
    color: #2A2A2A !important;
    font-size: 18px !important;
    font-family: 'Afacad Flux', sans-serif !important;
    font-style: normal;
    font-weight: 300 !important;
    line-height: normal;
}

.overview-content .property-description p { 
    margin: 0 0 15px 0; 
}
.overview-content .property-description p:last-child { 
    margin-bottom: 0; 
}

.features-content .features-grid { 
    display: flex; 
    justify-content: space-between; 
}

.features-content .features-column { 
    display: flex; 
    flex-direction: column; 
    gap: 24px; 
}

.features-content .features-column:first-child { 
    width: 256px; 
}
.features-content .features-column:last-child { 
    width: 224px; 
}

.features-content .feature-item { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
}

.features-content .feature-icon-container { 
    width: 24px; 
    height: 24px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.features-content .feature-icon { 
    font-size: 24px !important; 
    color: var(--color-primary) !important; 
}

.features-content .feature-title { 
    color: #2A2A2A; 
    font-size: 18px; 
    font-family: 'Afacad Flux', sans-serif; 
    font-weight: 300; 
}

/* ========== FLOOR PLANS ========== */
.floorplan-section { 
    border-top: none !important;
}

.floorplan-container { 
    display: flex; 
    flex-direction: column; 
    gap: 28px; 
}

.floorplan-section-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.floorplan-section .section-title { 
    margin: 0; 
}

.floorplan-dropdown-container { 
    width: 192px; 
    position: relative; 
}

.floorplan-dropdown {
    width: 100%;
    height: 40px;
    padding: 8px 10px;
    background: var(--color-white);
    border: none;
    border-radius: 3px;
    outline: 1px var(--color-300) solid;
    color: #2A2A2A;
    font-size: 14px;
    font-family: 'Afacad Flux', sans-serif;
    cursor: pointer;
    appearance: none;
}

.floorplan-dropdown-container::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #2A2A2A;
    pointer-events: none;
}

.floorplan-display-container {
    padding: 14px 240px;
    background: var(--color-white);
    outline: 1px var(--color-400) solid;
    display: flex;
    justify-content: center;
}

.floorplan-item-dropdown { 
    display: none; 
    width: 715px; 
    max-width: 100%; 
}

.floorplan-item-dropdown.active { 
    display: block; 
}

.floorplan-item-dropdown img { 
    width: 100%; 
    max-height: 550px; 
    object-fit: contain; 
}

/* ========== VIRTUAL TOUR ========== */
.tour-section { 
    border-top: none !important;
}

.tour-container-wrapper { 
    display: flex; 
    flex-direction: column; 
    gap: 28px; 
}

.tour-container { 
    width: 100%; 
    height: 700px; 
    position: relative; 
    background: #000; 
    overflow: hidden; 
}

.tour-content { 
    width: 100%; 
    height: 100%; 
    position: absolute; 
    top: 0; 
    left: 0; 
}

.tour-iframe, 
.tour-content iframe { 
    width: 100%; 
    height: 100%; 
    border: none; 
}

.tour-controls {
    width: 144px;
    height: 40px;
    padding: 5px 6px;
    position: absolute;
    bottom: 79px;
    right: 53px;
    background: rgba(48, 48, 48, 0.60);
    border-radius: 50px;
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    z-index: 10;
}

.tour-control-btn {
    padding: 5px 10px;
    background: transparent;
    border: none;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--color-white);
    text-decoration: none;
}

.tour-control-btn:hover { 
    background: rgba(255, 255, 255, 0.1); 
}

.tour-control-btn .material-symbols-outlined { 
    font-size: 20px; 
    color: var(--color-white); 
}

/* ========== MAP SECTION ========== */
.map-section {
    width: 100%;
    padding: 10px 0 0 0;
    background: var(--color-white);
    margin-bottom: 54px;
}

.map-section .section-title {
    display: none !important;
}

.map-container-wrapper { 
    width: 100%; 
    height: 500px; 
    position: relative; 
    background: var(--color-300); 
    overflow: hidden; 
}

.leaflet-map-container { 
    width: 100%; 
    height: 100%; 
}

.custom-map-marker { 
    background: transparent !important; 
    border: none !important; 
}

.marker-pin {
    width: 28px;
    height: 28px;
    background: #778869;
    border-radius: 50%;
    border: 3px solid var(--color-white);
    box-shadow: 3px 5px 6px 2px rgba(0, 0, 0, 0.40);
}

.map-zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 80px;
    background: var(--color-white);
    border-radius: 4px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.10);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}

.map-zoom-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
}

.map-zoom-btn:hover { 
    background: #F5F5F5; 
}

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

.zoom-divider { 
    width: 28px; 
    height: 1px; 
    background: #E5E5E5; 
    margin: 0 auto; 
}

.leaflet-control-zoom, 
.leaflet-control-attribution { 
    display: none !important; 
}

/* ========== CTA BANNER ========== */
.cta-banner-section { 
    width: 100%; 
    background: var(--color-white); 
    display: flex; 
    justify-content: center; 
}

.cta-banner-container {
    width: 100%;
    max-width: var(--content-max-width);
    min-height: 320px;
    display: flex;
    background: var(--color-200);
    overflow: hidden;
}

.cta-banner-accent { 
    width: 10px; 
    background: var(--color-primary); 
}

.cta-banner-content { 
    flex: 1; 
    padding: 40px 56px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 60px; 
}

.cta-banner-text { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    gap: 32px; 
    max-width: 500px; 
}

.cta-banner-info { 
    display: flex; 
    flex-direction: column; 
    gap: 14px; 
}

.cta-banner-title { 
    color: #2A2A2A; 
    font-size: 30px; 
    font-family: 'Sofia Pro', sans-serif; 
    font-weight: 400; 
    margin: 0; 
}

.cta-banner-description { 
    color: #2A2A2A; 
    font-size: 18px; 
    font-family: 'Afacad Flux', sans-serif; 
    font-weight: 300; 
    margin: 0; 
}

.cta-banner-btn {
    display: inline-flex;
    padding: 10px 24px;
    background: var(--color-white);
    border-radius: 50px;
    outline: 1px solid #2A2A2A;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2A2A2A;
    font-size: 18px;
    font-family: 'Afacad Flux', sans-serif;
    font-weight: 400;
    text-transform: capitalize;
    width: fit-content;
    transition: all 0.3s ease;
}

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

.cta-banner-btn .material-symbols-outlined { 
    font-size: 20px; 
}

.cta-banner-image { 
    width: 350px; 
    height: 240px; 
    object-fit: cover; 
}

/* ========== LIGHTBOX ========== */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    z-index: 9999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px;
}

.gallery-lightbox.active { 
    display: flex; 
}

.lightbox-image-container { 
    max-width: 1200px; 
    max-height: 800px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.lightbox-image-container img { 
    max-width: 100%; 
    max-height: 800px; 
    object-fit: contain; 
}

.lightbox-controls { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 60px; 
}

.lightbox-nav-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-nav-btn:hover { 
    transform: scale(1.1); 
}

.lightbox-nav-btn .material-symbols-outlined { 
    font-size: 40px; 
    color: var(--color-primary); 
}

.lightbox-counter { 
    display: flex; 
    gap: 15px; 
}

.lightbox-counter span { 
    color: var(--color-primary); 
    font-size: 18px; 
    font-family: 'Afacad Flux', sans-serif; 
}

.lightbox-close-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-close-btn:hover { 
    transform: scale(1.1); 
}

.lightbox-close-btn .material-symbols-outlined { 
    font-size: 40px; 
    color: var(--color-primary); 
}

/* ========== FOOTER SPACER ========== */
.footer-spacer { 
    width: 100%; 
    height: 80px; 
    background: var(--color-white); 
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

@media (max-width: 1439px) {
    .breadcrumb-container, 
    .gallery-grid-container, 
    .property-info-container, 
    .specifications-container, 
    .property-section-inner, 
    .coming-soon-header-container, 
    .explore-homes-container {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .section-divider {
        max-width: calc(100% - 80px);
    }
    
    .gallery-main-image { width: 55%; height: 450px; }
    .gallery-side-grid { width: 45%; height: 450px; gap: 12px; }
    .gallery-side-image { width: calc(50% - 6px); height: calc(50% - 6px); }
    
    .overview-content, .features-content { width: calc(50% - 30px); }
    .cta-banner-image { width: 300px; height: 220px; }
}

@media (max-width: 1023px) {
    .breadcrumb-container, 
    .gallery-grid-container, 
    .property-info-container, 
    .specifications-container, 
    .property-section-inner, 
    .coming-soon-header-container, 
    .explore-homes-container {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .section-divider {
        max-width: calc(100% - 60px);
    }
    
    .gallery-grid { flex-direction: column; }
    .gallery-main-image { width: 100%; height: 400px; }
    .gallery-side-grid { width: 100%; height: auto; }
    .gallery-side-image { width: calc(25% - 11px); height: 150px; }
    
    .gallery-no-images { height: 400px; }
    
    /* MOBILE: Overlay covers full 4th thumbnail */
    .gallery-see-all-overlay {
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.25) !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
    }
    
    .gallery-see-all-btn {
        font-size: 13px !important;
        padding: 5px 14px !important;
        gap: 7px !important;
    }
    
    /* Hover still works on tablet */
    .gallery-see-all-btn:hover,
    button.gallery-see-all-btn:hover {
        background: #5A4F42 !important;
        background-color: #5A4F42 !important;
        color: #FFFFFF !important;
    }
    
    .property-info-container { flex-direction: column; gap: 30px; align-items: flex-start; }
    .property-info-right { width: 100%; align-items: flex-start; }
    .property-price-section { justify-content: flex-start; }
    .price-amount { text-align: left; }
    .property-actions { width: 100%; flex-wrap: wrap; }
    
    .specifications-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .spec-card { width: 100%; }
    
    .overview-features-container { gap: 40px; }
    .overview-content, .features-content { width: calc(50% - 20px); }
    
    .tour-container { height: 500px; }
    .map-container-wrapper { height: 400px; }
    
    .cta-banner-container { flex-direction: column; }
    .cta-banner-accent { width: 100%; height: 8px; }
    .cta-banner-content { flex-direction: column; padding: 30px; gap: 30px; }
    .cta-banner-text { max-width: 100%; }
    .cta-banner-image { width: 100%; height: 220px; }
    
    .explore-homes-grid { grid-template-columns: repeat(2, 1fr); }
    .explore-homes-header { flex-direction: column; gap: 20px; }
    
    .property-address { font-size: 22px !important; }
}

@media (max-width: 767px) {
    .breadcrumb-container, 
    .gallery-grid-container, 
    .property-info-container, 
    .specifications-container, 
    .property-section-inner, 
    .coming-soon-header-container, 
    .explore-homes-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .section-divider {
        max-width: calc(100% - 40px);
    }
    
    .gallery-main-image { height: 300px; }
    .gallery-side-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .gallery-side-image { width: 100%; height: 80px; }
    
    .gallery-no-images { height: 300px; }
    
    /* Mobile: button smaller */
    .gallery-see-all-btn {
        font-size: 11px !important;
        padding: 4px 10px !important;
        gap: 5px !important;
    }
    
    .gallery-see-all-btn:hover,
    button.gallery-see-all-btn:hover {
        background: #5A4F42 !important;
        background-color: #5A4F42 !important;
        color: #FFFFFF !important;
    }
    
    .property-address { font-size: 20px !important; }
    .price-amount { font-size: 28px; }
    
    .property-actions { flex-direction: column; gap: 12px; }
    /* v7.1.1 FIX: Center button text on mobile */
    .property-action-btn { width: 100%; font-size: 16px; justify-content: center; text-align: center; }
    
    .overview-features-container { flex-direction: column; gap: 40px; }
    .overview-content, .features-content { width: 100%; }
    .features-content .features-grid { flex-direction: column; gap: 20px; }
    .features-content .features-column:first-child, 
    .features-content .features-column:last-child { width: 100%; }
    
    .floorplan-section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .floorplan-dropdown-container { width: 100%; max-width: 300px; }
    .floorplan-display-container { padding: 15px 20px; }
    
    .tour-container { height: 350px; }
    .tour-controls { width: 120px; height: 36px; bottom: 20px; right: 15px; }
    
    .map-container-wrapper { height: 300px; }
    
    .cta-banner-content { padding: 24px 20px; }
    .cta-banner-title { font-size: 24px; }
    .cta-banner-description { font-size: 16px; }
    .cta-banner-image { height: 180px; }
    
    .property-badge-pill { padding: 4px 16px; font-size: 14px; }
    
    .coming-soon-illustration { width: 200px; }
    .coming-soon-title { font-size: 24px; }
    
    .explore-homes-grid { grid-template-columns: 1fr; }
    
    .lightbox-close-btn { top: 15px; right: 15px; }
    .lightbox-nav-btn .material-symbols-outlined, 
    .lightbox-close-btn .material-symbols-outlined { font-size: 32px; }
}

@media (max-width: 479px) {
    .breadcrumb-container, 
    .gallery-grid-container, 
    .property-info-container, 
    .specifications-container, 
    .property-section-inner, 
    .coming-soon-header-container, 
    .explore-homes-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .section-divider {
        max-width: calc(100% - 32px);
    }
    
    .gallery-main-image { height: 250px; }
    .gallery-side-image { height: 70px; }
    
    .gallery-see-all-btn {
        font-size: 10px !important;
        padding: 3px 8px !important;
        gap: 4px !important;
    }
    
    .gallery-see-all-btn:hover,
    button.gallery-see-all-btn:hover {
        background: #5A4F42 !important;
        background-color: #5A4F42 !important;
        color: #FFFFFF !important;
    }
    
    .gallery-no-images { height: 250px; }
    
    .property-badge-pill { padding: 4px 12px; font-size: 13px; }
    .property-address { font-size: 22px !important; }
    .price-amount { font-size: 24px; }
    .property-action-btn { height: 42px; font-size: 15px; }
    
    .section-title { font-size: 20px; }
    .spec-card-label { font-size: 11px; }
    .spec-card-value { font-size: 14px; }
    
    .tour-container { height: 280px; }
    .map-container-wrapper { height: 250px; }
    
    .cta-banner-title { font-size: 22px; }
    .cta-banner-image { height: 160px; }
    
    .coming-soon-illustration { width: 180px; }
    .coming-soon-title { font-size: 22px; }
}

@media (max-width: 375px) {
    .breadcrumb-container, 
    .gallery-grid-container, 
    .property-info-container, 
    .specifications-container, 
    .property-section-inner, 
    .coming-soon-header-container, 
    .explore-homes-container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .section-divider {
        max-width: calc(100% - 24px);
    }
    
    .gallery-main-image { height: 220px; }
    .gallery-side-image { height: 60px; }
    
    .gallery-see-all-btn {
        font-size: 9px !important;
        padding: 3px 6px !important;
        gap: 3px !important;
    }
    
    .gallery-see-all-btn:hover,
    button.gallery-see-all-btn:hover {
        background: #5A4F42 !important;
        background-color: #5A4F42 !important;
        color: #FFFFFF !important;
    }
    
    .gallery-no-images { height: 220px; }
    
    .property-badge-pill { padding: 3px 10px; font-size: 12px; }
    .property-address { font-size: 20px !important; }
    .price-amount { font-size: 22px; }
    .property-action-btn { height: 40px; font-size: 14px; }
    
    .map-container-wrapper { height: 220px; }
    
    .cta-banner-title { font-size: 20px; }
    .cta-banner-image { height: 140px; }
    
    .coming-soon-illustration { width: 150px; }
    .coming-soon-title { font-size: 20px; }
}