.bf-market .bf-photo .bf-sales-sticker,
.bf-showroom-unit-photo .bf-sales-sticker,
.bf-stock-related-image .bf-sales-sticker {
    position: absolute;
    z-index: 2;
    inset: auto auto 8px 8px;
    display: grid;
    gap: 1px;
    padding: 6px 9px;
    border: 1px solid #f7d78f;
    border-radius: 8px;
    background: #0e2039;
    color: #f8d992;
    text-align: left;
    line-height: 1.14;
    box-shadow: 0 2px 8px #06122563;
    pointer-events: none;
}
.bf-sales-sticker strong { font-size: clamp(13px, 1.55vw, 20px); color: #fff; white-space: nowrap; }
.bf-sales-sticker small { font-size: 9px; }
.bf-sales-sticker strong small { margin-left: 2px; font-weight: 500; }
.bf-stock-related-image { position: relative; }
.bf-booking-badge,
.bf-market .bf-badges .bf-booking-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 9px;
    border: 1px solid #32704b;
    border-radius: 6px;
    background: #163e27;
    color: #b6f3c8;
    font: 700 .75rem/1.3 system-ui, sans-serif;
}
.bf-booking-badge[data-booking-status="booked"],
.bf-market .bf-badges .bf-booking-badge[data-booking-status="booked"] {
    border-color: #a83a4b;
    background: #872237;
    color: #fff2f3;
}
.bf-booking-badge[hidden],
.bf-home-stock-grid [data-price][hidden] { display: none !important; }
.bf-sales {
    margin-block: 32px;
    border: 1px solid #d9e0eb;
    border-radius: 20px;
    background: #fff;
    color: #15243a;
    overflow: hidden;
}
.bf-sales [hidden] { display: none !important; }
.bf-sales-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 30px;
    background: linear-gradient(115deg, #101e35, #1b375d);
    color: #fff;
}
.bf-sales-heading, .bf-sales-controls, .bf-sales-sharing { padding: clamp(16px, 3vw, 30px); }
.bf-sales h2 { margin: 0 0 6px; font-size: clamp(1.18rem, 2.35vw, 1.8rem); line-height: 1.2; }
.bf-sales-heading h2 { color: inherit; }
.bf-sales-heading p { margin: 0; color: #dde5f1; font-size: .94rem; }
.bf-sales-monthly { display: grid; color: #ffde94; font-size: .86rem; }
.bf-sales-monthly output { font-size: clamp(1.65rem, 4vw, 2.65rem); line-height: 1.1; font-weight: 800; font-variant-numeric: tabular-nums; }
.bf-sales-inputs, .bf-sales-totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bf-sales label { display: grid; gap: 5px; color: #253854; font-size: .87rem; font-weight: 650; }
.bf-sales input {
    min-width: 0;
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    border: 1px solid #b8c5d8;
    border-radius: 8px;
    padding: 8px 10px;
    color: #15243a;
    background: #fff;
    font: inherit;
}
.bf-sales-totals { padding: 14px; border-radius: 10px; background: #edf2f8; }
.bf-sales-totals dt, .bf-sales-note, .bf-sales-feedback { color: #43536b; font-size: .84rem; }
.bf-sales-totals dd { margin: 4px 0 0; font-weight: 750; overflow-wrap: anywhere; }
.bf-sales-note { margin-bottom: 0; }
.bf-sales-sharing {
    margin-block: clamp(14px, 2.5vw, 24px);
    border: 1px solid #d9e0eb;
    border-radius: 16px;
    background: #f6f8fc;
    color: #15243a;
}
.bf-stock-detail .bf-sales-sharing > h2 {
    margin: 0 0 6px;
    font-size: clamp(1.18rem, 2.35vw, 1.8rem);
    line-height: 1.2;
}
.bf-sales-sharing label { display: grid; gap: 5px; color: #253854; font-size: .87rem; font-weight: 650; }
.bf-sales-sharing input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #b8c5d8;
    border-radius: 8px;
    background: #fff;
    color: #15243a;
    font: inherit;
}
.bf-sales-sharing [hidden] { display: none !important; }
.bf-sales-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bf-sales-actions :is(button, a) {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    text-decoration: none;
    border: 1px solid #294976;
    border-radius: 8px;
    min-height: 42px;
    padding: 8px 13px;
    background: #173359;
    color: #fff;
    font: 650 .87rem/1.2 system-ui, sans-serif;
    cursor: pointer;
}
.bf-sales-actions :is(button, a):hover, .bf-sales-actions button[aria-expanded="true"] { background: #284f80; }
.bf-sales-actions :is(button:disabled, [aria-disabled="true"]) { opacity: .55; cursor: default; }
.bf-sales-editor { display: grid; gap: 16px; margin-top: 16px; align-items: start; }
#bf-sales-card { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }
.bf-sales-editor canvas { display: block; width: 100%; height: auto; background: #0e2039; border-radius: 8px; }
#bf-sales-quote input { max-width: 420px; }
.bf-sales-fallback { box-sizing: border-box; width: 100%; margin-top: 10px; font: inherit; }
@media (max-width: 520px) {
    .bf-sales-inputs, .bf-sales-totals { grid-template-columns: 1fr; gap: 8px; }
    #bf-sales-card { grid-template-columns: 1fr; }
    .bf-sales-editor canvas { max-width: 280px; }
}
.bf-sales-sticker[hidden] { display: none !important; }
.bf-sales > .bf-sales-toggle {
    padding: 16px clamp(16px, 3vw, 30px);
    cursor: pointer;
    color: #fff;
    background: #122944;
    font-weight: 750;
    line-height: 1.4;
}
.bf-sales > .bf-sales-toggle::marker { color: #f7d489; }
.bf-sales-toggle:focus-visible, .bf-otr summary:focus-visible {
    outline: 3px solid #bd851e;
    outline-offset: -3px;
}
.bf-otr h3 { font-size: 1.28rem; margin: 0 0 16px; }
.bf-sales select {
    min-width: 0;
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    border: 1px solid #b8c5d8;
    border-radius: 8px;
    padding: 8px 10px;
    color: #15243a;
    background: #fff;
    font: inherit;
}
.bf-otr-overrides { grid-column: 1 / -1; padding: 10px 0; font-size: .86rem; }
.bf-otr-overrides summary { cursor: pointer; font-weight: 650; }
.bf-otr-overrides .bf-sales-inputs { margin-top: 10px; }
.bf-otr-summary {
    width: min(100%, 42rem);
    margin-top: 18px;
    padding: clamp(10px, 2vw, 16px);
    box-sizing: border-box;
    border: 1px solid #dce4ee;
    border-radius: 14px;
    background: #f6f8fb;
}
.bf-otr-summary .bf-otr-breakdown {
    display: block;
    margin: 0;
}
.bf-otr-breakdown > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, max-content);
    align-items: baseline;
    gap: 4px 12px;
    padding: 8px 4px;
    border-bottom: 1px solid #dce4ee;
}
.bf-otr-summary .bf-otr-breakdown dt {
    color: #43536b;
    font-size: .87rem;
    overflow-wrap: anywhere;
}
.bf-otr-summary .bf-otr-breakdown dd {
    margin: 0;
    font-size: .92rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
}
.bf-otr-summary .bf-otr-total {
    margin-bottom: 4px;
    padding: 10px 12px;
    border: 0;
    border-radius: 9px;
    background: #122944;
}
.bf-otr-summary .bf-otr-total dt { color: #fff; font-weight: 700; }
.bf-otr-summary .bf-otr-total dd { color: #ffe1a1; font-size: clamp(.98rem, 2.4vw, 1.4rem); }
.bf-otr-takaful summary {
    padding: 9px 4px 2px;
    color: #254a75;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
}
.bf-otr-takaful .bf-otr-breakdown > div:last-child { border: 0; }
@media (max-width: 360px) {
    .bf-otr-breakdown > div { grid-template-columns: minmax(0, 1fr); }
    .bf-otr-summary .bf-otr-breakdown dd { text-align: left; }
}
.bf-stock-detail-price small { display: block; margin-bottom: 3px; font-size: .88rem; color: #50637b; }

.bf-public-sales-card {
    width: min(100%, 720px);
    margin: 1rem auto 2rem;
    overflow: hidden;
    border-radius: 16px;
    background: #102139;
    color: #f6f8fc;
    box-shadow: 0 12px 36px #0e203328;
}
.bf-public-sales-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3em;
    padding: clamp(12px, 3vw, 20px) 1rem;
    border-bottom: 1px solid #e9c77d;
    font-weight: 800;
    letter-spacing: .07em;
}
.bf-public-sales-brand span { color: #e9c77d; }
.bf-public-sales-brand img { display: block; width: min(100%, clamp(160px, 46vw, 230px)); height: auto; object-fit: contain; }
.bf-public-sales-card > img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    background: #0c192b;
}
.bf-public-sales-copy { padding: clamp(1rem, 4vw, 2rem); }
.bf-public-sales-copy :is(h2, h3, p, dd) { color: inherit; }
.bf-public-sales-copy dl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr));
    gap: 1rem;
}
.bf-public-sales-copy dt { color: #cad4e2; }
.bf-public-sales-copy dd { margin: 0; font-weight: 650; }
.bf-public-sales-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(6px, 2vw, 12px);
    margin-top: 1.25rem;
}
.bf-public-sales-card .bf-public-sales-actions a {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4em;
    min-width: 0;
    min-height: 48px;
    padding: .55rem clamp(5px, 1.6vw, 14px);
    border: 1px solid transparent;
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .17);
    text-align: center;
    text-decoration: none;
    font-size: clamp(.72rem, 2.8vw, .94rem);
    font-weight: 700;
    line-height: 1.2;
}
.bf-public-sales-actions a > :is(img, span[aria-hidden]) { flex: 0 0 auto; }
.bf-public-sales-card .bf-public-sales-view {
    border-color: #e9c77d;
    background: linear-gradient(#f5dda4, #e6bd70);
    color: #102139;
}
.bf-public-sales-card .bf-public-sales-view:hover { background: #f5dda4; }
.bf-public-sales-card .bf-public-sales-share {
    border-color: #349269;
    background: linear-gradient(#1c744d, #14593a);
    color: #fff;
}
.bf-public-sales-card .bf-public-sales-share:hover { background: #1c744d; }
.bf-public-sales-card .bf-public-sales-actions a:focus-visible {
    outline: 2px solid #f5dda4;
    outline-offset: 3px;
}
.bf-sales-actions .bf-sales-whatsapp {
    border-color: #17603d;
    background: #17603d;
    color: #fff;
}
.bf-sales-actions .bf-sales-whatsapp:hover { background: #114c30; }

.bf-stock-detail > .bf-sales {
    margin-block: clamp(14px, 2.5vw, 24px);
    border-radius: 16px;
    scroll-margin-top: 92px;
}
.bf-sales > .bf-estimate-summary {
    position: relative;
    display: block;
    padding: 12px clamp(12px, 2vw, 22px) 14px;
    list-style: none;
    background: linear-gradient(120deg, #101e35, #1c385b);
}
.bf-estimate-summary::-webkit-details-marker { display: none; }
.bf-sales > .bf-estimate-summary { cursor: pointer; }
.bf-sales-toggle:focus-visible { outline-color: #ffe1a1; }
.bf-estimate-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    min-height: 38px;
}
.bf-estimate-title {
    display: block;
    font-size: clamp(1.05rem, 2vw, 1.34rem);
    font-weight: 750;
    line-height: 1.25;
}
.bf-estimate-hint {
    display: block;
    margin-top: 3px;
    color: #ffe1a1;
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.3;
}
.bf-sales[open] > .bf-estimate-summary .bf-estimate-hint { display: none; }
.bf-estimate-chevron {
    display: grid;
    flex: 0 0 34px;
    place-items: center;
    width: 34px;
    height: 34px;
    box-sizing: border-box;
    border: 1px solid rgb(255 225 161 / .5);
    border-radius: 50%;
    background: rgb(255 225 161 / .08);
}
.bf-estimate-chevron::after {
    content: "";
    width: 8px;
    height: 8px;
    border: solid #ffe1a1;
    border-width: 0 2px 2px 0;
    transform: translateY(-2px) rotate(45deg);
}
.bf-sales[open] > .bf-estimate-summary .bf-estimate-chevron::after {
    transform: translateY(2px) rotate(225deg);
}
.bf-estimate-reveal { display: grid; grid-template-rows: 1fr; }
.bf-estimate-reveal > .bf-estimate-reveal-inner { min-height: 0; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
    .bf-estimate-chevron::after { transition: transform .22s ease; }
    .bf-sales:not([open]) > .bf-estimate-summary .bf-estimate-chevron {
        animation: bf-estimate-cue 1.65s ease-in-out .55s 2;
    }
    .bf-sales[open] > .bf-estimate-reveal {
        animation: bf-estimate-slide .36s cubic-bezier(.2, .7, .25, 1) both;
    }
    @keyframes bf-estimate-cue {
        0%, 100% { transform: translateY(0); }
        45% { transform: translateY(3px); background: rgb(255 225 161 / .19); }
    }
    @keyframes bf-estimate-slide {
        from { grid-template-rows: 0fr; opacity: .55; }
        to { grid-template-rows: 1fr; opacity: 1; }
    }
}
.bf-estimate-figures {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid #526780;
}
.bf-estimate-figures > span + span {
    padding-inline-start: 10px;
    border-inline-start: 1px solid #526780;
}
.bf-estimate-figures > span:first-child { padding-inline-end: 8px; }
.bf-estimate-label {
    display: block;
    color: #e7edf5;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.25;
}
.bf-estimate-value {
    display: block;
    margin-top: 3px;
    color: #ffe1a1;
    font-size: clamp(.95rem, 4.65vw, 1.75rem);
    font-variant-numeric: tabular-nums;
    font-weight: 750;
    line-height: 1.16;
    overflow-wrap: anywhere;
}
.bf-estimate-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 10px;
    padding: clamp(9px, 1.8vw, 18px);
    background: #f4f7fb;
}
.bf-estimate-card {
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #dce4ee;
    border-radius: 10px;
    background: #fff;
}
.bf-estimate-card h3 {
    margin: 0 0 7px;
    color: #15243a;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 750;
}
.bf-sales .bf-estimate-inputs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 9px;
}
.bf-estimate-inputs label { gap: 3px; font-size: .76rem; line-height: 1.22; }
.bf-estimate-inputs :is(input, select) {
    min-height: 40px;
    max-width: 100%;
    padding: 5px 7px;
    font-size: 16px;
}
.bf-estimate-inputs [data-glass-custom],
.bf-estimate-breakdown,
.bf-estimate-note { grid-column: 1 / -1; }
.bf-estimate-disclosure > summary {
    padding: 5px 0;
    color: #254a75;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.3;
}
.bf-estimate-disclosure > summary:focus-visible { outline: 2px solid #bd851e; }
.bf-estimate-card .bf-otr-overrides { padding: 0; }
.bf-estimate-breakdown {
    padding-inline: 12px;
    border: 1px solid #dce4ee;
    border-radius: 8px;
    background: #fff;
}
.bf-estimate-breakdown > summary { padding-block: 7px; }
.bf-estimate-breakdown-content { padding-bottom: 10px; }
.bf-estimate-breakdown-content .bf-otr-summary { width: 100%; margin-top: 0; }
.bf-estimate-note { margin: 0; font-size: .74rem; line-height: 1.3; }
@media (max-width: 680px) {
    .bf-estimate-layout { grid-template-columns: minmax(0, 1fr); gap: 7px; }
    .bf-sales input, .bf-sales select { font-size: 16px; }
}

.bf-deposit-field { display: grid; align-content: start; gap: 3px; min-width: 0; }
.bf-deposit-label { color: #253854; font-size: .76rem; font-weight: 650; line-height: 1.22; }
.bf-deposit-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px; }
.bf-estimate-inputs .bf-deposit-input select { width: auto; min-width: 3.3rem; padding-inline: 4px; }
.bf-deposit-field [data-deposit-limit] { color: #9b2538; font-size: .72rem; line-height: 1.22; }
