/* =========================================================
   BLR PROPERTIES - CUSTOM SINGLE PROPERTY PAGE
   Clean replacement stylesheet for single-property.php
========================================================= */

.blr-property-page {
    --blr-blue: #0649c9;
    --blr-blue-dark: #043b9f;
    --blr-blue-light: #edf4ff;
    --blr-green: #19a66a;
    --blr-green-light: #eaf9f1;
    --blr-dark: #08152f;
    --blr-text: #344054;
    --blr-muted: #667085;
    --blr-border: #dce3ee;
    --blr-surface: #f8faff;
    background: #fff;
    color: var(--blr-dark);
    padding: 28px 0 50px;
    font-family: inherit;
}

.blr-property-page *,
.blr-property-page *::before,
.blr-property-page *::after {
    box-sizing: border-box;
}

.blr-property-page button,
.blr-property-page input,
.blr-property-page textarea {
    font-family: inherit;
}

.blr-property-page button,
.blr-property-page a {
    -webkit-tap-highlight-color: transparent;
}

.blr-property-page svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.blr-property-container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

/* =========================================================
   BREADCRUMB
========================================================= */
.blr-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--blr-muted);
    font-size: 14px;
}

.blr-breadcrumb a {
    color: #344054;
    text-decoration: none;
}

.blr-breadcrumb a:hover {
    color: var(--blr-blue);
}

.blr-breadcrumb strong {
    color: #475467;
    font-weight: 600;
}

/* =========================================================
   HERO
========================================================= */
.blr-property-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(390px, .9fr);
    gap: 28px;
    align-items: start;
}

.blr-hero-gallery,
.blr-hero-info {
    min-width: 0;
}

.blr-main-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #eef2f7;
    aspect-ratio: 1.58 / 1;
    box-shadow: 0 6px 24px rgba(15, 23, 42, .07);
    cursor: zoom-in;
    outline: none;
}

.blr-main-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.blr-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blr-muted);
    cursor: default;
}

.blr-premium-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(6, 73, 201, .96);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 5px 16px rgba(0,0,0,.12);
}

.blr-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 42px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: var(--blr-dark);
    font-size: 30px;
    line-height: 38px;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(0,0,0,.12);
}

.blr-gallery-arrow:hover {
    color: var(--blr-blue);
    background: #fff;
}

.blr-gallery-prev { left: 14px; }
.blr-gallery-next { right: 14px; }

.blr-main-counter {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    padding: 6px 10px;
    border-radius: 15px;
    background: rgba(5,19,45,.7);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

/* =========================================================
   THUMBNAILS - EQUAL SIZE + CLICKABLE
========================================================= */
.blr-thumbnail-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-top: 9px;
}

.blr-thumbnail {
    position: relative;
    width: 100%;
    height: 82px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #eef2f7;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.blr-thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(6,73,201,.12);
}

.blr-thumbnail.active {
    border-color: var(--blr-blue);
}

.blr-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.blr-photo-count {
    margin-top: 7px;
    color: var(--blr-muted);
    font-size: 12px;
    text-align: right;
}

/* =========================================================
   HERO INFORMATION
========================================================= */
.blr-property-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.blr-status-tag,
.blr-type-tag {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 6px 11px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.blr-status-tag {
    color: #087443;
    background: var(--blr-green-light);
}

.blr-status-dot {
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--blr-green);
}

.blr-type-tag {
    color: var(--blr-blue);
    background: var(--blr-blue-light);
}

.blr-hero-info h1 {
    margin: 5px 0 5px;
    color: #07142e;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.12;
    font-weight: 750;
    letter-spacing: -.02em;
}

.blr-property-subtitle {
    margin-bottom: 10px;
    color: #344054;
    font-size: 17px;
    font-weight: 500;
}

.blr-property-location {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 9px 0 17px;
    color: #344054;
    font-size: 14px;
    line-height: 1.5;
}

.blr-inline-icon {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    color: var(--blr-blue);
    margin-top: 1px;
}

/* =========================================================
   PRICE CARD
========================================================= */
.blr-price-card {
    padding: 23px;
    border: 1px solid var(--blr-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(15,23,42,.055);
}

.blr-price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.blr-price-label,
.blr-price-range span {
    display: block;
    margin-bottom: 7px;
    color: var(--blr-muted);
    font-size: 12px;
}

.blr-price-grid strong {
    display: block;
    color: var(--blr-blue);
    font-size: 24px;
    line-height: 1.25;
    font-weight: 750;
    word-break: break-word;
}

.blr-main-price {
    font-size: 29px !important;
}

.blr-price-range {
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid #e5e7eb;
}

.blr-price-range strong {
    display: block;
    color: #101828;
    font-size: 17px;
    font-weight: 700;
}

.blr-price-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.blr-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.blr-btn:hover {
    transform: translateY(-1px);
}

.blr-btn-primary {
    border: 1px solid var(--blr-blue);
    background: var(--blr-blue);
    color: #fff !important;
}

.blr-btn-primary:hover {
    background: var(--blr-blue-dark);
    box-shadow: 0 7px 18px rgba(6,73,201,.18);
}

.blr-btn-outline {
    border: 1px solid var(--blr-blue);
    background: #fff;
    color: var(--blr-blue) !important;
}

.blr-btn-outline:hover {
    background: var(--blr-blue-light);
}

.blr-btn-whatsapp {
    border: 1px solid #1aab62;
    background: #fff;
    color: #118556 !important;
}

.blr-button-icon {
    width: 17px;
    height: 17px;
    display: inline-flex;
}

/* =========================================================
   QUICK FACTS - 8 EQUAL COLUMNS
========================================================= */
.blr-facts-card {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    margin-top: 27px;
    overflow: hidden;
    border: 1px solid var(--blr-border);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(15,23,42,.035);
}

.blr-fact {
    min-width: 0;
    min-height: 126px;
    padding: 17px 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid #e5e7eb;
}

.blr-fact:last-child {
    border-right: 0;
}

.blr-fact-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blr-blue);
    background: var(--blr-blue-light);
    border: 1px solid #d8e6ff;
    border-radius: 50%;
}

.blr-fact-icon .blr-icon,
.blr-fact-icon > svg {
    width: 21px;
    height: 21px;
}

.blr-fact > span {
    margin-bottom: 5px;
    color: var(--blr-muted);
    font-size: 10px;
    line-height: 1.3;
}

.blr-fact > strong {
    color: #101828;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
    word-break: break-word;
}

.blr-icon {
    display: inline-flex;
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

/* =========================================================
   MAIN CONTENT - DESCRIPTION + HIGHLIGHTS + GALLERY
========================================================= */
.blr-main-content-card {
    display: grid;
    grid-template-columns: minmax(250px, .85fr) minmax(0, 1.7fr);
    gap: 0;
    margin-top: 27px;
    overflow: hidden;
    border: 1px solid var(--blr-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(15,23,42,.035);
}

.blr-description-column,
.blr-gallery-column {
    min-width: 0;
    padding: 27px;
}

.blr-description-column {
    border-right: 1px solid #e5e7eb;
}

.blr-section-heading-simple h2,
.blr-section-heading h2,
.blr-highlights h3 {
    margin: 0;
    color: #101828;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 750;
}

.blr-title-line {
    width: 30px;
    height: 3px;
    margin-top: 8px;
    border-radius: 4px;
    background: var(--blr-blue);
}

.blr-description {
    margin-top: 19px;
    color: var(--blr-text);
    font-size: 14px;
    line-height: 1.75;
}

.blr-description p:first-child { margin-top: 0; }
.blr-description p:last-child { margin-bottom: 0; }

.blr-highlights {
    margin-top: 25px;
    padding: 19px 18px;
    border-radius: 9px;
    background: #f2f6ff;
}

.blr-highlights h3 {
    margin-bottom: 14px;
    color: #083b93;
    font-size: 17px;
}

.blr-highlights ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.blr-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 13px;
    color: #1d355f;
    font-size: 13px;
    line-height: 1.45;
}

.blr-highlights li:last-child {
    margin-bottom: 0;
}

.blr-highlight-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin-top: 1px;
    color: var(--blr-blue);
}

.blr-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.blr-view-all {
    flex: 0 0 auto;
    min-height: 32px;
    padding: 6px 11px;
    border: 1px solid #9bb6ec;
    border-radius: 6px;
    background: #fff;
    color: var(--blr-blue);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.blr-view-all:hover {
    background: var(--blr-blue-light);
}

/* =========================================================
   GALLERY GRID - EQUAL DISTRIBUTION
========================================================= */
.blr-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 150px;
    gap: 9px;
}

.blr-gallery-item {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #eef2f7;
    cursor: zoom-in;
}

.blr-gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
}

.blr-gallery-item:hover img {
    transform: scale(1.035);
}

.blr-gallery-item:nth-child(1),
.blr-gallery-item:nth-child(2) {
    grid-row: span 1;
}

/* =========================================================
   AMENITIES
========================================================= */
.blr-amenities-card,
.blr-location-card {
    margin-top: 27px;
    padding: 27px;
    border: 1px solid var(--blr-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(15,23,42,.035);
}

.blr-amenities-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.blr-amenity {
    min-height: 92px;
    padding: 13px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
    border: 1px solid #e6edf8;
    border-radius: 8px;
    background: #f7f9fe;
    color: #26364d;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.blr-amenity:hover {
    transform: translateY(-2px);
    border-color: #c9daf8;
    box-shadow: 0 7px 18px rgba(6,73,201,.07);
}

.blr-amenity-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blr-blue);
}

.blr-amenity-icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.7;
}

.blr-amenity span {
    color: #26364d;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 600;
}

/* =========================================================
   LOCATION
========================================================= */
.blr-location-details {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border: 1px solid #e4eaf4;
    border-radius: 9px;
    background: #f8faff;
}

.blr-location-large-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blr-blue);
    background: #eaf2ff;
    border-radius: 50%;
}

.blr-location-large-icon .blr-icon {
    width: 24px;
    height: 24px;
}

.blr-location-details > div:nth-child(2) {
    flex: 1;
    min-width: 0;
}

.blr-location-details strong {
    display: block;
    color: #101828;
    font-size: 14px;
    line-height: 1.5;
}

.blr-location-details span {
    display: block;
    margin-top: 4px;
    color: var(--blr-muted);
    font-size: 12px;
}

/* =========================================================
   CONTACT
========================================================= */
.blr-contact-card {
    display: grid;
    grid-template-columns: 38% 62%;
    margin-top: 27px;
    overflow: hidden;
    border: 1px solid #9bb6ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(6,73,201,.055);
}

.blr-contact-info,
.blr-enquiry-form {
    padding: 27px;
}

.blr-contact-info {
    border-right: 1px solid #e4e7ec;
    background: linear-gradient(145deg,#fff,#f8faff);
}

.blr-contact-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--blr-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .55px;
    text-transform: uppercase;
}

.blr-contact-card h2 {
    margin: 0;
    color: #101828;
    font-size: 20px;
    line-height: 1.3;
}

.blr-contact-person {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 19px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.blr-contact-avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blr-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.blr-contact-person span {
    display: block;
    margin-bottom: 2px;
    color: var(--blr-muted);
    font-size: 10px;
}

.blr-contact-person strong {
    display: block;
    color: #101828;
    font-size: 14px;
}

.blr-contact-list {
    margin-top: 13px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.blr-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
    border-radius: 7px;
    text-decoration: none !important;
}

.blr-contact-row:hover {
    background: #edf4ff;
}

.blr-contact-row-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--blr-blue);
    background: #eaf2ff;
}

.blr-contact-row-icon .blr-icon {
    width: 16px;
    height: 16px;
}

.blr-contact-row small {
    display: block;
    margin-bottom: 1px;
    color: var(--blr-muted);
    font-size: 9px;
}

.blr-contact-row strong {
    color: #101828;
    font-size: 12px;
    word-break: break-word;
}

.blr-contact-notes {
    margin-top: 12px;
    padding: 11px;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    color: #475467;
    font-size: 11px;
    line-height: 1.5;
}

.blr-contact-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 15px;
}

.blr-contact-buttons .blr-btn {
    min-height: 40px;
    font-size: 11px;
}

.blr-enquiry-form > p {
    margin: 6px 0 17px;
    color: var(--blr-muted);
    font-size: 12px;
    line-height: 1.5;
}

.blr-enquiry-form form {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.blr-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.blr-enquiry-form input,
.blr-enquiry-form textarea {
    width: 100%;
    padding: 11px 13px;
    outline: none;
    border: 1px solid #d7dde7;
    border-radius: 6px;
    background: #fff;
    color: #101828;
    font-size: 12px;
}

.blr-enquiry-form textarea {
    min-height: 100px;
    resize: vertical;
}

.blr-enquiry-form input:focus,
.blr-enquiry-form textarea:focus {
    border-color: var(--blr-blue);
    box-shadow: 0 0 0 3px rgba(6,73,201,.08);
}

.blr-submit {
    min-height: 42px;
    border: 0;
    border-radius: 6px;
    background: var(--blr-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.blr-submit:hover {
    background: var(--blr-blue-dark);
}

/* =========================================================
   TRUST BAR
========================================================= */
.blr-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 22px 10px 0;
    text-align: center;
}

.blr-trust-bar span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #344054;
    font-size: 11px;
    font-weight: 600;
}

.blr-trust-bar .blr-icon {
    width: 16px;
    height: 16px;
    color: var(--blr-blue);
}

/* =========================================================
   LIGHTBOX / FULL IMAGE VIEW
========================================================= */
html.blr-lightbox-open,
html.blr-lightbox-open body {
    overflow: hidden !important;
}

.blr-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 80px;
    background: rgba(3, 10, 25, .94);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.blr-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.blr-lightbox-content {
    position: relative;
    width: min(1100px, 90vw);
    height: min(82vh, 760px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blr-lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 15px 50px rgba(0,0,0,.35);
}

.blr-lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 30px;
    line-height: 40px;
    cursor: pointer;
}

.blr-lightbox-close:hover {
    background: rgba(255,255,255,.22);
}

.blr-lightbox-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #101828;
    font-size: 34px;
    line-height: 42px;
    cursor: pointer;
}

.blr-lightbox-arrow:hover {
    color: var(--blr-blue);
}

.blr-lightbox-prev { left: 22px; }
.blr-lightbox-next { right: 22px; }

.blr-lightbox-counter {
    position: absolute;
    left: 50%;
    bottom: -34px;
    transform: translateX(-50%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1150px) {
    .blr-property-hero {
        grid-template-columns: minmax(0, 1.25fr) minmax(350px, .9fr);
        gap: 22px;
    }

    .blr-facts-card {
        grid-template-columns: repeat(4, 1fr);
    }

    .blr-fact:nth-child(4) {
        border-right: 0;
    }

    .blr-fact:nth-child(-n+4) {
        border-bottom: 1px solid #e5e7eb;
    }
}

@media (max-width: 1000px) {
    .blr-property-hero {
        grid-template-columns: 1fr;
    }

    .blr-main-content-card {
        grid-template-columns: 1fr;
    }

    .blr-description-column {
        border-right: 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .blr-amenities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 800px) {
    .blr-property-container {
        width: min(100% - 28px, 720px);
    }

    .blr-facts-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .blr-fact:nth-child(odd) {
        border-right: 1px solid #e5e7eb;
    }

    .blr-fact:nth-child(even) {
        border-right: 0;
    }

    .blr-fact:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .blr-fact:not(:nth-last-child(-n+2)) {
        border-bottom: 1px solid #e5e7eb;
    }

    .blr-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 145px;
    }

    .blr-amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blr-contact-card {
        grid-template-columns: 1fr;
    }

    .blr-contact-info {
        border-right: 0;
        border-bottom: 1px solid #e4e7ec;
    }
}

@media (max-width: 600px) {
    .blr-property-page {
        padding-top: 18px;
    }

    .blr-breadcrumb {
        margin-bottom: 16px;
        font-size: 12px;
    }

    .blr-main-image {
        aspect-ratio: 1.35 / 1;
    }

    .blr-thumbnail-row {
        grid-template-columns: repeat(5, 82px);
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .blr-thumbnail {
        width: 82px;
        height: 65px;
    }

    .blr-price-grid,
    .blr-price-actions,
    .blr-form-row,
    .blr-contact-buttons {
        grid-template-columns: 1fr;
    }

    .blr-price-card {
        padding: 19px;
    }

    .blr-facts-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .blr-fact {
        min-height: 112px;
    }

    .blr-description-column,
    .blr-gallery-column,
    .blr-amenities-card,
    .blr-location-card,
    .blr-contact-info,
    .blr-enquiry-form {
        padding: 20px;
    }

    .blr-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 125px;
    }

    .blr-amenities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .blr-amenity {
        min-height: 84px;
    }

    .blr-location-details {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .blr-location-details .blr-btn {
        width: 100%;
    }

    .blr-trust-bar {
        grid-template-columns: repeat(2, 1fr);
        padding-top: 18px;
    }

    .blr-lightbox {
        padding: 20px 52px;
    }

    .blr-lightbox-arrow {
        width: 38px;
        height: 38px;
        font-size: 27px;
        line-height: 34px;
    }

    .blr-lightbox-prev { left: 8px; }
    .blr-lightbox-next { right: 8px; }

    .blr-lightbox-close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 420px) {
    .blr-property-container {
        width: calc(100% - 20px);
    }

    .blr-hero-info h1 {
        font-size: 28px;
    }

    .blr-fact-icon {
        width: 38px;
        height: 38px;
    }

    .blr-fact > strong {
        font-size: 11px;
    }
}

/* =========================================================
   DEFENSIVE LIGHTBOX VISIBILITY
   Prevent Houzez / Elementor / global theme CSS from exposing
   the hidden lightbox markup at the bottom-left of the page.
   ========================================================= */
#blr-lightbox[aria-hidden="true"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

#blr-lightbox[aria-hidden="false"] {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}