:root {
    --bp-brand: #0522b5;
    --bp-brand-dark: #041b91;
    --bp-accent: #fdd835;
    --bp-text: #1f2937;
    --bp-muted: #64748b;
    --bp-border: #e2e8f0;
    --bp-soft: #f8fafc;
    --bp-white: #ffffff;
    --bp-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    --bp-radius: 14px;
}

.bp-property-page {
    background: #f5f7fb;
    color: var(--bp-text);
    padding: 24px 0 72px;
    font-family: "Muli", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.bp-property-page *,
.bp-property-page *::before,
.bp-property-page *::after {
    box-sizing: border-box;
}

.bp-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: var(--bp-muted);
    font-size: 13px;
}

.bp-breadcrumbs a {
    color: var(--bp-brand);
    text-decoration: none;
}

.bp-property-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.bp-property-heading {
    min-width: 0;
}

.bp-property-id {
    display: inline-flex;
    align-items: center;
    background: var(--bp-accent);
    color: #111111;
    border-radius: 4px;
    padding: 5px 10px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
}

.bp-property-header h1 {
    color: var(--bp-text);
    font-size: clamp(27px, 3vw, 42px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 10px;
}

.bp-location,
.bp-tagline {
    margin: 5px 0 0;
    color: var(--bp-muted);
    font-size: 15px;
    line-height: 1.6;
}

.bp-header-actions {
    flex: 0 0 auto;
}

.bp-icon-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    border: 1px solid var(--bp-border);
    border-radius: 10px;
    background: var(--bp-white);
    color: var(--bp-brand);
    padding: 9px 14px;
    font-weight: 700;
    cursor: pointer;
}

.bp-icon-action:hover,
.bp-icon-action:focus {
    border-color: var(--bp-brand);
    outline: none;
}

.bp-quick-facts {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow: hidden;
    margin-bottom: 22px;
    background: var(--bp-white);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.bp-quick-fact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 70px;
    padding: 12px;
    border-right: 1px solid var(--bp-border);
    color: var(--bp-text);
    font-weight: 700;
    text-align: center;
}

.bp-quick-fact:last-child {
    border-right: 0;
}

.bp-quick-fact i {
    color: var(--bp-brand);
    font-size: 18px;
}

.bp-main-grid {
    display: flex;
    align-items: flex-start;
}

.bp-main-column,
.bp-side-column {
    min-width: 0;
}

.bp-card {
    background: var(--bp-white);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius);
    box-shadow: var(--bp-shadow);
}

.bp-gallery-card {
    overflow: hidden;
    margin-bottom: 22px;
}

.bp-gallery-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 430px;
    background: #eef2f7;
}

.bp-gallery-main > a {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 430px;
    align-items: center;
    justify-content: center;
}

.bp-gallery-main img {
    display: block;
    width: 100%;
    height: 540px;
    object-fit: contain;
    background: #eef2f7;
}

.bp-photo-count {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.82);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.bp-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    background: var(--bp-white);
}

.bp-gallery-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0;
    background: #eef2f7;
    cursor: pointer;
}

.bp-gallery-thumb.is-active,
.bp-gallery-thumb:hover,
.bp-gallery-thumb:focus {
    border-color: var(--bp-brand);
    outline: none;
}

.bp-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp-more-photos {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 34, 181, 0.78);
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
}

.bp-content-card,
.bp-detail-card {
    margin-bottom: 22px;
    padding: 24px;
}

.bp-content-card h2,
.bp-detail-card h2,
.bp-similar-section > h2,
.bp-enquiry-heading h2 {
    color: var(--bp-text);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
    margin: 0 0 18px;
}

.bp-content-card h2::after,
.bp-detail-card h2::after,
.bp-similar-section > h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin-top: 9px;
    background: var(--bp-accent);
    border-radius: 2px;
}

.bp-description {
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
}

.bp-detail-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.bp-detail-card {
    margin-bottom: 0;
}

.bp-detail-list {
    margin: 0;
}

.bp-detail-row {
    display: grid;
    grid-template-columns: minmax(130px, 42%) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
}

.bp-detail-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.bp-detail-row dt,
.bp-detail-row dd {
    margin: 0;
}

.bp-detail-row dt {
    color: var(--bp-muted);
    font-size: 13px;
    font-weight: 600;
}

.bp-detail-row dd {
    color: var(--bp-text);
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.bp-sticky-panel {
    position: sticky;
    top: 20px;
}

.bp-action-card {
    margin-bottom: 18px;
    padding: 24px;
}

.bp-price-label {
    color: var(--bp-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bp-price {
    color: var(--bp-brand);
    font-size: 31px;
    line-height: 1.2;
    font-weight: 800;
    margin: 5px 0 2px;
}

.bp-negotiable,
.bp-rate,
.bp-listing-type {
    color: var(--bp-muted);
    font-size: 13px;
    line-height: 1.5;
}

.bp-listing-type {
    padding: 14px 0;
    margin: 16px 0;
    border-top: 1px solid var(--bp-border);
    border-bottom: 1px solid var(--bp-border);
    color: var(--bp-text);
    font-weight: 700;
}

.bp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 45px;
    border: 1px solid var(--bp-brand);
    border-radius: 9px;
    padding: 10px 16px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.bp-btn:hover,
.bp-btn:focus {
    transform: translateY(-1px);
    outline: none;
}

.bp-btn-primary {
    background: var(--bp-brand);
    color: #ffffff !important;
    box-shadow: 0 7px 16px rgba(5, 34, 181, 0.22);
}

.bp-btn-primary:hover,
.bp-btn-primary:focus {
    background: var(--bp-brand-dark);
}

.bp-btn-secondary,
.bp-btn-cart {
    background: #ffffff;
    color: var(--bp-brand) !important;
}

.bp-btn-cart {
    background: #f4f6ff;
}

.bp-enquiry-card {
    overflow: hidden;
}

.bp-enquiry-heading {
    padding: 22px 22px 14px;
    border-bottom: 1px solid var(--bp-border);
}

.bp-enquiry-heading h2 {
    margin-bottom: 7px;
}

.bp-enquiry-heading p {
    margin: 0;
    color: var(--bp-muted);
    font-size: 13px;
    line-height: 1.5;
}

.bp-enquiry-form {
    padding: 20px 22px 24px;
}

.bp-enquiry-form .form-group {
    margin-bottom: 15px;
}

.bp-enquiry-form label {
    display: block;
    margin-bottom: 6px;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

.bp-enquiry-form .form-control,
.bp-enquiry-form .select2-container--krajee .select2-selection,
.bp-enquiry-form .select2-container--default .select2-selection {
    min-height: 43px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: none;
    background: #ffffff;
}

.bp-enquiry-form textarea.form-control {
    min-height: 132px;
    padding: 11px 12px;
    resize: vertical;
}

.bp-enquiry-form .form-control:focus,
.bp-enquiry-form .select2-container--open .select2-selection {
    border-color: var(--bp-brand);
    box-shadow: 0 0 0 3px rgba(5, 34, 181, 0.10);
}

.bp-enquiry-form .help-block {
    margin: 5px 0 0;
    font-size: 11px;
}

.bp-phone-row {
    margin-left: -5px;
    margin-right: -5px;
}

.bp-phone-row > div {
    padding-left: 5px;
    padding-right: 5px;
}

.bp-form-consent,
.bp-form-trust {
    color: var(--bp-muted);
    font-size: 11px;
    line-height: 1.5;
}

.bp-form-consent a {
    color: var(--bp-brand);
}

.bp-form-trust {
    margin-top: 12px;
    text-align: center;
}

.bp-submit-enquiry {
    border: 0;
}

.bp-no-photo-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    padding: 34px;
    background:
        linear-gradient(135deg, rgba(5, 34, 181, 0.06), rgba(253, 216, 53, 0.08)),
        #ffffff;
}

.bp-no-photo-card::after {
    content: "";
    position: absolute;
    right: -55px;
    top: -65px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    border: 28px solid rgba(5, 34, 181, 0.05);
}

.bp-no-photo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: var(--bp-brand);
    color: #ffffff;
    font-size: 29px;
}

.bp-no-photo-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--bp-brand);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bp-no-photo-copy h2 {
    margin: 0 0 10px;
    color: var(--bp-text);
    font-size: 27px;
    font-weight: 800;
}

.bp-no-photo-copy p {
    max-width: 760px;
    color: #475569;
    font-size: 15px;
    line-height: 1.75;
}

.bp-no-photo-location {
    color: var(--bp-brand) !important;
    font-weight: 700;
}

.bp-no-photo-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.bp-no-photo-facts > div {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid rgba(5, 34, 181, 0.12);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--bp-text);
    font-weight: 700;
}

.bp-no-photo-facts i {
    color: var(--bp-brand);
}

.bp-location-panel {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.bp-location-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eef1ff;
    color: var(--bp-brand);
    font-size: 20px;
}

.bp-location-panel p {
    margin: 5px 0;
    color: #475569;
}

.bp-location-panel small {
    color: var(--bp-muted);
}

.bp-similar-section {
    margin-top: 36px;
}

.bp-similar-grid > div {
    margin-bottom: 20px;
}

.bp-similar-card {
    height: 100%;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bp-similar-card:hover {
    transform: translateY(-3px);
}

.bp-similar-card > a {
    display: block;
    color: inherit;
    text-decoration: none !important;
}

.bp-similar-image {
    height: 175px;
    overflow: hidden;
    background: #eef2f7;
}

.bp-similar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp-similar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--bp-brand);
    font-size: 40px;
}

.bp-similar-body {
    padding: 16px;
}

.bp-similar-body h3 {
    min-height: 44px;
    margin: 0 0 8px;
    color: var(--bp-text);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 800;
}

.bp-similar-body p,
.bp-similar-body small {
    display: block;
    margin: 3px 0;
    color: var(--bp-muted);
    font-size: 12px;
}

.bp-similar-body strong {
    display: block;
    margin-top: 10px;
    color: var(--bp-brand);
    font-size: 17px;
}

.bp-empty-similar {
    padding: 24px;
    color: var(--bp-muted);
}

.bp-mobile-actions {
    display: none;
}
.lg-outer .lg-item::before,
.lg-outer .lg-item::after {
    display: none !important;
    border: none !important;
}
@media (max-width: 1199px) {
    .bp-quick-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bp-quick-fact:nth-child(3n) {
        border-right: 0;
    }

    .bp-quick-fact:nth-child(n+4) {
        border-top: 1px solid var(--bp-border);
    }
}

@media (max-width: 991px) {
    .bp-main-grid {
        display: block;
    }

    .bp-side-column {
        margin-top: 22px;
    }

    .bp-sticky-panel {
        position: static;
    }

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

    .bp-enquiry-card {
        margin-bottom: 12px;
    }
}

@media (max-width: 767px) {
    .bp-property-page {
        padding: 16px 0 88px;
    }

    .bp-property-header {
        display: block;
    }

    .bp-property-header h1 {
        font-size: 27px;
    }

    .bp-header-actions {
        margin-top: 12px;
    }

    .bp-icon-action {
        width: 100%;
        justify-content: center;
    }

    .bp-quick-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bp-quick-fact,
    .bp-quick-fact:nth-child(3n) {
        border-right: 1px solid var(--bp-border);
        border-top: 1px solid var(--bp-border);
        min-height: 62px;
        font-size: 12px;
    }

    .bp-quick-fact:nth-child(-n+2) {
        border-top: 0;
    }

    .bp-quick-fact:nth-child(2n) {
        border-right: 0;
    }

    .bp-gallery-main,
    .bp-gallery-main > a {
        min-height: 260px;
    }

    .bp-gallery-main img {
        height: 330px;
    }

    .bp-gallery-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        overflow-x: auto;
    }

    .bp-content-card,
    .bp-detail-card,
    .bp-action-card,
    .bp-no-photo-card {
        padding: 19px;
        border-radius: 11px;
    }

    .bp-detail-row {
        grid-template-columns: 1fr;
        gap: 3px;
        padding: 10px 0;
    }

    .bp-detail-row dt::after {
        content: ":";
    }

    .bp-no-photo-facts {
        grid-template-columns: 1fr;
    }

    .bp-no-photo-copy h2 {
        font-size: 23px;
    }

    .bp-phone-row .col-xs-5,
    .bp-phone-row .col-xs-7 {
        width: 100%;
    }

    .bp-mobile-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 10px;
        background: #ffffff;
        border-top: 1px solid var(--bp-border);
        box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12);
    }

    .bp-mobile-actions a,
    .bp-mobile-actions button {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 43px;
        border-radius: 8px;
        font-weight: 800;
        text-decoration: none;
    }

    .bp-mobile-primary {
        border: 1px solid var(--bp-brand);
        background: var(--bp-brand);
        color: #ffffff !important;
    }

    .bp-mobile-cart {
        border: 1px solid var(--bp-brand);
        background: #ffffff;
        color: var(--bp-brand);
    }
}

@media print {
    .bp-header-actions,
    .bp-action-card .bp-btn,
    .bp-mobile-actions,
    .bp-enquiry-card {
        display: none !important;
    }

    .bp-property-page {
        background: #ffffff;
    }

    .bp-card {
        box-shadow: none;
        break-inside: avoid;
    }
}

.bp-gallery-hidden {
    display: none !important;
}
