body.single-property {
    background: #fff8e1
}

/* =========================================================
   LQW SINGLE PROPERTY PAGE
   Clean Zillow-style layout
========================================================= */

.lqw-property-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

/* HERO IMAGE */
.lqw-property-hero {
    width: 100%;
    margin-bottom: 32px;
}

.lqw-property-hero img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

/* MAIN TWO-COLUMN LAYOUT */
.lqw-property-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
    align-items: start;
}

.lqw-property-main {
    min-width: 0;
}

/* HEADER DETAILS */
.lqw-property-price {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    color: #111827;
    margin-bottom: 8px;
}

.lqw-property-title {
    font-size: 34px;
    line-height: 1.2;
    color: #111827;
    margin: 0 0 10px;
}

.lqw-property-address {
    font-size: 17px;
    color: #4b5563;
    margin: 0 0 24px;
}

/* PROPERTY FACTS */
.lqw-property-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 22px 0;
    margin: 0 0 28px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.lqw-fact-card {
    min-width: 130px;
    padding: 16px 18px;
    background: #f9fafb;
    border: 1px solid #eef0f2;
    border-radius: 14px;
    text-align: center;
}

.lqw-fact-card strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    color: #111827;
}

.lqw-fact-card span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #6b7280;
}

/* SECTIONS */
.lqw-property-section {
    padding: 30px 0;
    border-bottom: 1px solid #e5e7eb;
}

.lqw-property-section h2 {
    font-size: 24px;
    color: #111827;
    margin: 0 0 16px;
}

.lqw-property-description {
    font-size: 17px;
    line-height: 1.75;
    color: #374151;
}

.lqw-property-description p {
    margin-bottom: 16px;
}

/* DETAILS GRID */
.lqw-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.lqw-detail-card {
    padding: 16px;
    background: #f9fafb;
    border: 1px solid #eef0f2;
    border-radius: 12px;
}

.lqw-detail-card span {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}

.lqw-detail-card strong {
    display: block;
    font-size: 16px;
    color: #111827;
    font-weight: 700;
}

.lqw-detail-card a {
    color: #006aff;
    text-decoration: none;
}

.lqw-detail-card a:hover {
    text-decoration: underline;
}

.lqw-coordinates {
    color: #374151;
    font-size: 16px;
}

/* AGENT CONTACT CARD */
.lqw-agent-card {
    position: sticky;
    top: 90px;
}

.lqw-agent-card-inner {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
}

.lqw-agent-card h3 {
    font-size: 22px;
    line-height: 1.25;
    color: #111827;
    margin: 0 0 12px;
}

.lqw-agent-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0 0 18px;
}

.lqw-button {
    display: block;
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    margin-top: 12px;
    transition: all 0.2s ease;
}

.lqw-button-primary {
    background: #006aff;
    color: #ffffff;
    border: 2px solid #006aff;
}

.lqw-button-primary:hover {
    background: #0052c8;
    color: #ffffff;
    border-color: #0052c8;
}

.lqw-button-secondary {
    background: #ffffff;
    color: #006aff;
    border: 2px solid #006aff;
}

.lqw-button-secondary:hover {
    background: #eef5ff;
    color: #0052c8;
    border-color: #0052c8;
}

.lqw-agent-note {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 960px) {
    .lqw-property-layout {
        grid-template-columns: 1fr;
    }

    .lqw-agent-card {
        position: static;
    }

    .lqw-property-hero img {
        height: 380px;
    }
}

@media (max-width: 640px) {
    .lqw-property-page {
        padding: 16px 14px 40px;
    }

    .lqw-property-hero img {
        height: 300px;
        border-radius: 14px;
    }

    .lqw-property-price {
        font-size: 32px;
    }

    .lqw-property-title {
        font-size: 26px;
    }

    .lqw-property-facts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lqw-fact-card {
        min-width: 0;
    }

    .lqw-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* SIMILAR PROPERTIES */
.lqw-similar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.lqw-similar-card {
    display: block;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lqw-similar-card:hover {
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.10);
    transform: translateY(-2px);
}

.lqw-similar-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.lqw-similar-content {
    padding: 14px;
}

.lqw-similar-content strong {
    display: block;
    font-size: 18px;
    color: #111827;
    margin-bottom: 4px;
}

.lqw-similar-content span {
    display: block;
    font-size: 15px;
    color: #111827;
    margin-bottom: 6px;
}

.lqw-similar-content small {
    color: #6b7280;
    font-size: 13px;
}

@media (max-width: 900px) {
    .lqw-similar-grid {
        grid-template-columns: 1fr;
    }
}

/* SINGLE PROPERTY MAP */
#lqw-single-map {
    width: 100%;
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin-top: 16px;
}

/* PROPERTY GALLERY */
.lqw-property-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    margin-bottom: 32px;
}

.lqw-gallery-main img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    border-radius: 18px 0 0 18px;
}

.lqw-gallery-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.lqw-gallery-side img {
    width: 100%;
    height: 256px;
    object-fit: cover;
    display: block;
}

.lqw-gallery-side img:nth-child(2) {
    border-radius: 0 18px 0 0;
}

.lqw-gallery-side img:nth-child(4) {
    border-radius: 0 0 18px 0;
}

@media (max-width: 900px) {
    .lqw-property-gallery {
        grid-template-columns: 1fr;
    }

    .lqw-gallery-main img {
        height: 360px;
        border-radius: 18px;
    }

    .lqw-gallery-side {
        grid-template-columns: repeat(2, 1fr);
    }

    .lqw-gallery-side img {
        height: 180px;
        border-radius: 12px;
    }
    
}

/* SINGLE PROPERTY BADGES */
.lqw-single-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.lqw-single-badges .lqw-badge {
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.14);
}

/* Fixed House Model Layout Enhancement */

.lqw-property-page .lqw-property-facts {
    gap: 14px;
}

.lqw-property-page .lqw-fact-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.lqw-property-page .lqw-fact-card strong {
    font-size: 18px;
    color: #0b376d;
    font-weight: 800;
}

.lqw-property-page .lqw-fact-card span {
    font-size: 12px;
    text-transform: uppercase;
    color: #64748b;
}

.lqw-property-price {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.lqw-property-title {
    font-size: 34px;
    line-height: 1.15;
    margin-bottom: 8px;
}

.lqw-property-development a {
    color: #0b376d;
    font-weight: 700;
    text-decoration: none;
}

.lqw-property-development a:hover {
    text-decoration: underline;
}