:root {
    --color-bg: #F8F9FA;
    --color-white: #FFFFFF;
    --color-concrete-light: #E7E8EC;
    --color-concrete-mid: #BEC2CB;
    --color-concrete-gray: #8B8D8C;
    --color-text: #282C2E;
    --color-text-muted: #595C61;
    --color-dark: #141718;
    --color-charcoal: #282C2E;
    --color-accent-green: #5e9832;
    --color-accent-green-dark: #477526;
    --bsb-ink: var(--color-text);
    --bsb-muted: var(--color-text-muted);
    --bsb-line: var(--color-concrete-mid);
    --bsb-paper: var(--color-bg);
    --bsb-card: var(--color-white);
    --bsb-green: var(--color-accent-green);
    --bsb-green-dark: var(--color-accent-green-dark);
    --bsb-shadow: 0 18px 40px rgba(20, 23, 24, .10);
    --bsb-heading-font: "Montserrat", "Segoe UI", Arial, sans-serif;
    --bsb-body-font: "Montserrat", "Segoe UI", Arial, sans-serif;
    --bsb-concrete-texture:
        linear-gradient(135deg, rgba(20, 23, 24, .026) 0 1px, transparent 1px 34px),
        radial-gradient(circle at 18% 22%, rgba(20, 23, 24, .05), transparent 28%),
        radial-gradient(circle at 74% 18%, rgba(139, 141, 140, .05), transparent 24%),
        radial-gradient(circle at 62% 82%, rgba(190, 194, 203, .14), transparent 30%);
    --bsb-dark-concrete:
        radial-gradient(circle at 22% 16%, rgba(255, 255, 255, .08), transparent 24%),
        radial-gradient(circle at 72% 58%, rgba(255, 255, 255, .045), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 34px),
        linear-gradient(120deg, #141718, #282C2E 58%, #111314);
    --bsb-poly:
        linear-gradient(135deg, rgba(40, 44, 46, .055) 0 1px, transparent 1px 100%),
        linear-gradient(38deg, transparent 0 47%, rgba(40, 44, 46, .05) 48% 49%, transparent 50%),
        linear-gradient(148deg, transparent 0 52%, rgba(40, 44, 46, .045) 53% 54%, transparent 55%);
}

.bsb-kicker {
    align-items: center;
    color: var(--color-accent-green-dark);
    display: inline-flex;
    font-family: var(--bsb-heading-font);
    font-size: 14px;
    font-weight: 400;
    gap: 10px;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.bsb-kicker::before {
    background: var(--color-accent-green);
    content: "";
    height: 28px;
    width: 3px;
}

.bsb-btn {
    align-items: center;
    background: transparent;
    border: 1px solid var(--color-concrete-gray);
    border-radius: 2px;
    color: var(--color-charcoal);
    display: inline-flex;
    font-family: var(--bsb-heading-font);
    font-size: 16px;
    font-weight: 400;
    justify-content: center;
    letter-spacing: .08em;
    min-height: 44px;
    padding: 11px 18px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bsb-btn:hover,
.bsb-btn:focus {
    background: var(--color-concrete-light);
    border-color: var(--color-concrete-gray);
    box-shadow: 0 12px 26px rgba(20, 23, 24, .10);
    color: var(--color-dark);
    outline: none;
    transform: translateY(-1px);
}

.bsb-btn-primary {
    background: var(--color-accent-green);
    border-color: var(--color-accent-green);
    color: var(--color-white);
}

.bsb-btn-primary:hover,
.bsb-btn-primary:focus {
    background: var(--color-accent-green-dark);
    border-color: var(--color-accent-green-dark);
    color: var(--color-white);
}

.bsb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bsb-hero {
    display: grid;
    margin: 6px 0 56px;
    max-width: 100%;
    min-height: 0;
    overflow: visible;
    padding: 0;
    position: relative;
}

.bsb-hero::before {
    background: var(--color-concrete-light);
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    content: "";
    height: 78%;
    left: -28px;
    opacity: .78;
    position: absolute;
    top: 34px;
    width: 58%;
    z-index: 0;
}

.bsb-hero-visual {
    aspect-ratio: 16 / 7;
    background-color: var(--color-dark);
    background-image: var(--bsb-dark-concrete);
    border-radius: 2px;
    box-shadow: 0 28px 70px rgba(20, 23, 24, .18);
    min-height: 500px;
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 1;
}

.bsb-hero-visual::before {
    background:
        linear-gradient(90deg, rgba(20, 23, 24, .46), rgba(20, 23, 24, .24) 48%, rgba(20, 23, 24, .04)),
        radial-gradient(circle at 18% 50%, rgba(94, 152, 50, .08), transparent 30%),
        radial-gradient(circle at 72% 22%, rgba(255, 255, 255, .12), transparent 24%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.bsb-hero-visual::after {
    background-image: var(--bsb-poly);
    background-size: 420px 420px, 360px 360px, 520px 520px;
    content: "";
    inset: 0;
    opacity: .10;
    pointer-events: none;
    position: absolute;
    z-index: 3;
}

.bsb-hero-visual img,
.bsb-house-image img,
.bsb-summary img,
.bsb-house-picker img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.bsb-hero-visual img {
    filter: saturate(.98) contrast(1.01);
    opacity: 1;
}

.bsb-hero-content {
    display: flex;
    flex-direction: column;
    inset: 0;
    justify-content: space-between;
    max-width: 100%;
    padding: 60px;
    pointer-events: none;
    position: absolute;
    z-index: 4;
}

.bsb-hero h1 {
    color: var(--color-white);
    font-family: var(--bsb-heading-font);
    font-size: clamp(24px, 2.45vw, 34px);
    font-weight: 500;
    letter-spacing: .01em;
    line-height: 1.16;
    margin: 0;
    max-width: min(100%, 1040px);
    overflow-wrap: anywhere;
    pointer-events: auto;
    text-shadow: 0 14px 34px rgba(0, 0, 0, .35);
    text-transform: none;
    width: 100%;
}

.bsb-hero-actions {
    align-self: flex-start;
    max-width: 100%;
    pointer-events: auto;
}

.bsb-hero .bsb-btn {
    border-color: rgba(255, 255, 255, .54);
    color: var(--color-white);
}

.bsb-hero .bsb-btn:hover,
.bsb-hero .bsb-btn:focus {
    background: rgba(255, 255, 255, .13);
    border-color: rgba(255, 255, 255, .82);
}

.bsb-hero .bsb-btn-primary {
    background: var(--color-accent-green);
    border-color: var(--color-accent-green);
}

.bsb-hero .bsb-btn-primary:hover,
.bsb-hero .bsb-btn-primary:focus {
    background: var(--color-accent-green-dark);
    border-color: var(--color-accent-green-dark);
}

.bsb-page-head {
    margin: 34px 0 34px;
    max-width: 940px;
    position: relative;
}

.bsb-page-head h1,
.bsb-house-panel h1 {
    color: var(--color-charcoal);
    font-family: var(--bsb-heading-font);
    font-size: 58px;
    font-weight: 300;
    letter-spacing: .06em;
    line-height: 1;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.bsb-house-panel h1 {
    font-size: 42px;
    line-height: 1.08;
    overflow-wrap: break-word;
    text-wrap: balance;
    white-space: normal;
    word-break: normal;
}

.bsb-hero p,
.bsb-page-head p,
.bsb-house-panel p {
    color: var(--color-text-muted);
    font-size: 18px;
    line-height: 1.65;
    margin: 0 0 24px;
}

.bsb-houses-head {
    margin-left: 0;
    margin-right: 0;
    max-width: 980px;
    text-align: left;
}

.bsb-houses-head h1 {
    margin-left: 0;
    margin-right: 0;
    max-width: 920px;
    text-wrap: balance;
}

.bsb-houses-head p {
    margin-left: 0;
    margin-right: 0;
    max-width: 700px;
}

.bsb-info-card,
.bsb-config-card,
.bsb-summary,
.bsb-auth,
.bsb-house-panel {
    background-color: var(--color-white);
    background-image: linear-gradient(135deg, rgba(231, 232, 236, .34), rgba(255, 255, 255, 0) 40%);
    border: 1px solid rgba(190, 194, 203, .72);
    border-radius: 2px;
    box-shadow: var(--bsb-shadow);
}

.bsb-info-card {
    padding: 20px;
}

.bsb-info-card strong {
    color: var(--color-charcoal);
    display: block;
    font-family: var(--bsb-heading-font);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.bsb-info-card p {
    color: var(--color-text-muted);
    display: block;
    line-height: 1.55;
    margin-top: 8px;
}

.bsb-section {
    margin: 52px 0;
    position: relative;
}

.bsb-category-section {
    margin: 42px 0 58px;
    position: relative;
}

.bsb-section::before,
.bsb-category-section::before {
    background-image: var(--bsb-poly);
    content: "";
    height: 180px;
    opacity: .08;
    pointer-events: none;
    position: absolute;
    right: -34px;
    top: -18px;
    width: 260px;
    z-index: -1;
}

.bsb-section-head {
    align-items: end;
    border-bottom: 1px solid rgba(190, 194, 203, .78);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
}

.bsb-section-head h2 {
    color: var(--color-charcoal);
    font-family: var(--bsb-heading-font);
    font-size: 42px;
    font-weight: 300;
    letter-spacing: .08em;
    line-height: 1;
    margin: 0;
    position: relative;
    text-transform: uppercase;
}

.bsb-section-head h2::before {
    background: var(--color-accent-green);
    content: "";
    display: inline-block;
    height: 34px;
    margin-right: 14px;
    transform: translateY(5px);
    width: 3px;
}

.bsb-section-head a {
    color: var(--color-accent-green-dark);
    font-family: var(--bsb-heading-font);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.bsb-section-head a:hover,
.bsb-section-head a:focus {
    color: var(--color-dark);
}

.bsb-section-head span {
    color: var(--color-text-muted);
    font-family: var(--bsb-heading-font);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.bsb-house-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bsb-house-card {
    background: var(--color-white);
    border: 1px solid rgba(190, 194, 203, .72);
    border-radius: 2px;
    box-shadow: 0 18px 40px rgba(20, 23, 24, .10);
    overflow: hidden;
    position: relative;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.bsb-house-card::before {
    background: var(--color-concrete-light);
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    content: "";
    height: 150px;
    left: -10px;
    opacity: .75;
    position: absolute;
    top: -10px;
    width: 70%;
    z-index: 0;
}

.bsb-house-card a {
    color: inherit;
    display: block;
    height: 100%;
    position: relative;
    text-decoration: none;
    z-index: 1;
}

.bsb-house-card:hover {
    border-color: var(--color-accent-green);
    box-shadow: 0 24px 52px rgba(20, 23, 24, .15);
    transform: translateY(-2px);
}

.bsb-house-image {
    aspect-ratio: 4 / 3;
    background-color: var(--color-concrete-light);
    background-image: var(--bsb-concrete-texture);
    overflow: hidden;
    position: relative;
}

.bsb-house-image::after {
    background: linear-gradient(180deg, transparent 50%, rgba(20, 23, 24, .36));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.bsb-house-image-placeholder {
    align-items: center;
    color: var(--color-text-muted);
    display: flex;
    font-family: var(--bsb-heading-font);
    font-size: 13px;
    height: 100%;
    justify-content: center;
    letter-spacing: .08em;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
}

.bsb-house-body {
    padding: 18px;
}

.bsb-house-body small {
    color: var(--color-accent-green-dark);
    display: block;
    font-family: var(--bsb-heading-font);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.bsb-house-body h3 {
    color: var(--color-charcoal);
    font-family: var(--bsb-heading-font);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1.05;
    margin: 10px 0;
    overflow-wrap: break-word;
    text-transform: uppercase;
    text-wrap: balance;
}

.bsb-house-body small,
.bsb-house-body p,
.bsb-house-body strong {
    overflow-wrap: break-word;
}

.bsb-house-body p {
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0 0 14px;
}

.bsb-house-body strong,
.bsb-big-price {
    color: var(--color-dark);
    font-size: 17px;
    font-weight: 850;
}

.bsb-info-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 48px;
}

.bsb-info-sections {
    display: grid;
    gap: 54px;
    margin: 20px 0 60px;
    min-width: 0;
}

.bsb-info-section {
    background-color: rgba(255, 255, 255, .74);
    background-image: var(--bsb-concrete-texture);
    border: 1px solid rgba(190, 194, 203, .58);
    border-radius: 2px;
    display: grid;
    gap: 20px;
    padding: 28px;
    position: relative;
}

.bsb-info-section::before {
    background: var(--color-concrete-light);
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    content: "";
    height: 100%;
    opacity: .46;
    position: absolute;
    right: 0;
    top: 0;
    width: 34%;
    z-index: 0;
}

.bsb-info-section > * {
    position: relative;
    z-index: 1;
}

.bsb-info-divider {
    background: var(--color-accent-green);
    border-radius: 0;
    height: 3px;
    width: 118px;
}

.bsb-info-section-copy {
    max-width: 940px;
}

.bsb-info-section-copy h2 {
    color: var(--color-charcoal);
    font-family: var(--bsb-heading-font);
    font-size: 46px;
    font-weight: 300;
    letter-spacing: .08em;
    line-height: 1;
    margin: 0 0 12px;
    text-transform: uppercase;
    text-wrap: balance;
}

.bsb-info-section-copy p {
    color: var(--color-text-muted);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

.bsb-info-section-list {
    display: grid;
    gap: 14px;
    max-width: 980px;
}

.bsb-info-section-item {
    background: rgba(255, 255, 255, .74);
    border-left: 3px solid var(--color-accent-green);
    padding: 12px 0 12px 18px;
}

.bsb-info-section-item strong {
    color: var(--color-charcoal);
    display: block;
    font-family: var(--bsb-heading-font);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: .05em;
    line-height: 1.2;
    text-transform: uppercase;
}

.bsb-info-section-item p {
    color: var(--color-text-muted);
    font-size: 16px;
    line-height: 1.55;
    margin: 6px 0 0;
}

.bsb-legal-page > section {
    background-color: rgba(255, 255, 255, .74);
    background-image: var(--bsb-concrete-texture);
    border: 1px solid rgba(190, 194, 203, .58);
    border-radius: 2px;
    display: grid;
    gap: 14px;
    min-width: 0;
    overflow: hidden;
    padding: 28px;
    position: relative;
}

.bsb-legal-page > section::before {
    background: var(--color-concrete-light);
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    content: "";
    height: 100%;
    opacity: .42;
    position: absolute;
    right: 0;
    top: 0;
    width: 30%;
    z-index: 0;
}

.bsb-legal-page > section > * {
    max-width: 100%;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.bsb-legal-page > section::after {
    background: var(--color-accent-green);
    content: "";
    height: 3px;
    left: 28px;
    position: absolute;
    top: 18px;
    width: 118px;
    z-index: 2;
}

.bsb-legal-page h2 {
    color: var(--color-charcoal);
    font-family: var(--bsb-heading-font);
    font-size: 36px;
    font-weight: 300;
    letter-spacing: .08em;
    line-height: 1;
    margin: 22px 0 4px;
    overflow-wrap: anywhere;
    text-transform: uppercase;
    text-wrap: balance;
    word-break: normal;
}

.bsb-legal-page p,
.bsb-legal-page li {
    color: var(--color-text-muted);
    font-size: 16px;
    hyphens: auto;
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-break: normal;
}

.bsb-legal-page p {
    margin: 0;
    max-width: 1040px;
}

.bsb-legal-page p + p,
.bsb-legal-page dl + p,
.bsb-legal-page p + dl {
    margin-top: 10px;
}

.bsb-legal-page ul {
    margin: 0;
    max-width: 1040px;
    min-width: 0;
    padding-left: 20px;
}

.bsb-legal-page li + li {
    margin-top: 5px;
}

.bsb-legal-page dl {
    display: grid;
    gap: 9px 18px;
    grid-template-columns: minmax(180px, .34fr) minmax(0, 1fr);
    margin: 0;
    max-width: 1040px;
    min-width: 0;
}

.bsb-legal-page dt {
    color: var(--color-accent-green-dark);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .02em;
    overflow-wrap: anywhere;
}

.bsb-legal-page dd {
    color: var(--color-charcoal);
    hyphens: auto;
    margin: 0;
    overflow-wrap: anywhere;
    word-break: normal;
}

.bsb-legal-page a {
    color: var(--color-accent-green-dark);
    font-weight: 800;
    overflow-wrap: anywhere;
    text-decoration-color: rgba(93, 110, 86, .38);
    text-underline-offset: 3px;
}

.bsb-legal-table-scroll {
    border: 1px solid rgba(190, 194, 203, .72);
    border-radius: 2px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.bsb-legal-table-scroll table {
    border-collapse: collapse;
    color: var(--color-charcoal);
    font-size: 13px;
    min-width: 1120px;
    width: 100%;
}

.bsb-legal-table-scroll th,
.bsb-legal-table-scroll td {
    border-bottom: 1px solid rgba(190, 194, 203, .72);
    border-right: 1px solid rgba(190, 194, 203, .42);
    overflow-wrap: anywhere;
    padding: 11px 12px;
    text-align: left;
    vertical-align: top;
    word-break: normal;
}

.bsb-legal-table-scroll th:last-child,
.bsb-legal-table-scroll td:last-child {
    border-right: 0;
}

.bsb-legal-table-scroll th {
    background: var(--color-charcoal);
    color: var(--color-white);
    font-family: var(--bsb-heading-font);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .06em;
    position: sticky;
    text-transform: uppercase;
    top: 0;
}

.bsb-legal-table-scroll tr:last-child td {
    border-bottom: 0;
}

.bsb-house-detail {
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .62fr);
    margin: 34px 0 52px;
    position: relative;
}

.bsb-house-detail::before {
    background: var(--color-concrete-light);
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    content: "";
    height: 310px;
    left: -30px;
    opacity: .82;
    position: absolute;
    top: 34px;
    width: 52%;
    z-index: -1;
}

.bsb-house-gallery {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
}

.bsb-gallery-main {
    background: var(--color-concrete-light);
    border: 0;
    border-radius: 2px;
    box-shadow: var(--bsb-shadow);
    cursor: zoom-in;
    display: block;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

.bsb-gallery-main img {
    aspect-ratio: 16 / 10;
    border-radius: 2px;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.bsb-gallery-strip {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
}

.bsb-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: thin;
}

.bsb-gallery-thumb,
.bsb-gallery-nav {
    background: var(--color-white);
    border: 1px solid rgba(190, 194, 203, .86);
    border-radius: 2px;
    cursor: pointer;
    padding: 0;
}

.bsb-gallery-thumb {
    flex: 0 0 86px;
    height: 64px;
    overflow: hidden;
}

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

.bsb-gallery-thumb.is-active {
    border-color: var(--color-accent-green);
    box-shadow: 0 0 0 2px rgba(94, 152, 50, .26);
}

.bsb-gallery-nav {
    align-items: center;
    color: var(--color-charcoal);
    display: inline-flex;
    font-size: 28px;
    font-weight: 400;
    height: 38px;
    justify-content: center;
    line-height: 1;
    width: 38px;
}

.bsb-gallery-nav:hover,
.bsb-gallery-thumb:hover {
    border-color: var(--color-accent-green);
}

.bsb-lightbox {
    align-items: center;
    background: rgba(20, 23, 24, .90);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 22px;
    position: fixed;
    z-index: 9999;
}

.bsb-lightbox.is-open {
    display: flex;
}

.bsb-lightbox img {
    border-radius: 2px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .34);
    display: block;
    max-height: 88vh;
    max-width: min(1120px, 92vw);
    object-fit: contain;
}

.bsb-lightbox button {
    align-items: center;
    background: rgba(255, 255, 255, .96);
    border: 0;
    border-radius: 2px;
    color: var(--color-charcoal);
    cursor: pointer;
    display: inline-flex;
    font-size: 24px;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    position: absolute;
    width: 44px;
}

.bsb-lightbox-close {
    right: 18px;
    top: 18px;
}

.bsb-lightbox-prev {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.bsb-lightbox-next {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.bsb-house-panel {
    align-self: start;
    min-width: 0;
    padding: 34px;
    position: sticky;
    top: 104px;
}

.bsb-house-panel .bsb-kicker,
.bsb-house-panel p,
.bsb-house-panel .bsb-big-price,
.bsb-house-panel .bsb-feature-list li {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
}

.bsb-house-panel .bsb-kicker {
    display: flex;
    line-height: 1.45;
    margin-bottom: 10px;
}

.bsb-house-panel .bsb-big-price {
    display: block;
    margin-bottom: 12px;
}

.bsb-house-panel .bsb-btn {
    min-width: 0;
    white-space: normal;
}

.bsb-feature-list {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin: 24px 0 0;
    padding-left: 20px;
}

.bsb-feature-list li::marker {
    color: var(--color-accent-green-dark);
}

.bsb-configurator {
    align-items: start;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 360px;
    margin-bottom: 56px;
    position: relative;
}

.bsb-config-main {
    display: grid;
    gap: 18px;
}

.bsb-config-card {
    padding: 26px;
}

.bsb-config-card h2,
.bsb-summary h2,
.bsb-auth h1 {
    color: var(--color-charcoal);
    font-family: var(--bsb-heading-font);
    font-size: 30px;
    font-weight: 400;
    letter-spacing: .06em;
    line-height: 1.1;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.bsb-config-card h3 {
    color: var(--color-text-muted);
    font-family: var(--bsb-heading-font);
    font-size: 19px;
    font-weight: 400;
    letter-spacing: .06em;
    line-height: 1.2;
    margin: 18px 0 10px;
    text-transform: uppercase;
}

.bsb-config-card h2 + h3 {
    margin-top: 0;
}

.bsb-choice-divider {
    background: var(--color-accent-green);
    border-radius: 0;
    height: 3px;
    margin: 20px 0 18px;
    width: 118px;
}

.bsb-config-house-category {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.bsb-config-house-category:first-of-type {
    margin-top: 0;
}

.bsb-config-house-category-head {
    align-items: center;
    border-bottom: 1px solid rgba(190, 194, 203, .86);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding-bottom: 10px;
}

.bsb-config-house-category-head h3 {
    color: var(--color-charcoal);
    font-size: 23px;
    margin: 0;
}

.bsb-config-house-category-head span {
    color: var(--color-text-muted);
    font-family: var(--bsb-heading-font);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .07em;
    text-transform: uppercase;
    white-space: nowrap;
}

.bsb-option-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bsb-option-grid label,
.bsb-extra-list label {
    cursor: pointer;
    display: block;
    min-width: 0;
}

.bsb-option-grid input,
.bsb-extra-list input {
    height: 1px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 1px;
}

.bsb-option-grid span,
.bsb-extra-list label {
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(190, 194, 203, .86);
    border-radius: 2px;
    min-width: 0;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.bsb-option-grid span {
    display: block;
    height: 100%;
    padding: 14px;
}

.bsb-house-picker span {
    display: flex;
    flex-direction: column;
    padding: 8px;
}

.bsb-house-picker img {
    aspect-ratio: 4 / 3;
    border-radius: 2px;
    flex: 0 0 auto;
    height: auto;
    margin-bottom: 12px;
}

.bsb-option-grid strong,
.bsb-extra-list strong {
    color: var(--color-charcoal);
    display: block;
    font-family: var(--bsb-heading-font);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.bsb-option-grid small,
.bsb-extra-list small {
    color: var(--color-text-muted);
    display: block;
    line-height: 1.5;
    margin-top: 7px;
}

.bsb-option-grid input:checked + span {
    background: rgba(94, 152, 50, .13);
    border-color: var(--color-accent-green);
    box-shadow: inset 0 0 0 1px var(--color-accent-green);
}

.bsb-extra-list label:has(input:checked) {
    background: rgba(94, 152, 50, .13);
    border-color: var(--color-accent-green);
    box-shadow: inset 0 0 0 1px var(--color-accent-green);
}

.bsb-extra-list {
    display: grid;
    gap: 10px;
}

.bsb-extra-list label {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 15px;
}

.bsb-extra-list em {
    color: var(--color-charcoal);
    font-style: normal;
    font-weight: 850;
    white-space: nowrap;
}

.bsb-lead-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bsb-lead-grid label,
.bsb-auth label {
    color: var(--color-text-muted);
    display: grid;
    font-size: 13px;
    font-weight: 800;
    gap: 7px;
}

.bsb-wide {
    grid-column: 1 / -1;
}

.bsb-lead-grid input,
.bsb-lead-grid textarea,
.bsb-auth input,
.bsb-admin-grid input,
.bsb-admin-grid select,
.bsb-admin-grid textarea {
    background: var(--color-white);
    border: 1px solid rgba(190, 194, 203, .92);
    border-radius: 2px;
    color: var(--color-charcoal);
    font: inherit;
    min-height: 44px;
    padding: 11px 12px;
    width: 100%;
}

.bsb-lead-grid input:focus,
.bsb-lead-grid textarea:focus,
.bsb-auth input:focus,
.bsb-admin-grid input:focus,
.bsb-admin-grid select:focus,
.bsb-admin-grid textarea:focus {
    border-color: var(--color-accent-green);
    box-shadow: 0 0 0 3px rgba(94, 152, 50, .18);
    outline: none;
}

.bsb-summary {
    padding: 18px;
    position: sticky;
    scroll-margin-top: 112px;
    top: 104px;
}

@media (min-width: 961px) {
    .bsb-configurator > .bsb-summary {
        align-self: start;
        max-height: calc(100vh - 118px);
        max-height: calc(100dvh - 118px);
        overflow-y: auto;
        position: sticky;
        scrollbar-gutter: stable;
        top: 98px;
        z-index: 12;
    }

    .bsb-configurator > .bsb-summary.bsb-summary-is-fixed {
        position: fixed;
        z-index: 82;
    }

    .bsb-configurator > .bsb-summary.bsb-summary-is-bottom {
        position: absolute;
        z-index: 12;
    }

    body.admin-bar .bsb-configurator > .bsb-summary {
        max-height: calc(100vh - 150px);
        max-height: calc(100dvh - 150px);
        top: 130px;
    }
}

.bsb-summary img {
    aspect-ratio: 4 / 3;
    border-radius: 2px;
    margin-bottom: 16px;
}

.bsb-summary-house {
    border-bottom: 1px solid rgba(190, 194, 203, .78);
    margin: 0 0 16px;
    padding: 0 0 16px;
}

.bsb-summary-house strong {
    color: var(--color-charcoal);
    display: block;
    font-family: var(--bsb-heading-font);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.bsb-summary h2 {
    font-size: 24px;
    letter-spacing: .025em;
    line-height: 1.12;
    margin-bottom: 16px;
    max-width: 100%;
    overflow-wrap: normal;
    white-space: nowrap;
}

.bsb-summary dl {
    display: grid;
    align-items: baseline;
    gap: 10px 12px;
    grid-template-columns: minmax(0, 1fr) max-content;
    margin: 0 0 18px;
}

.bsb-summary dt {
    color: var(--color-text-muted);
    min-width: 0;
    overflow-wrap: anywhere;
}

.bsb-summary dd {
    color: var(--color-charcoal);
    font-variant-numeric: tabular-nums;
    font-weight: 850;
    margin: 0;
    text-align: right;
    white-space: nowrap;
}

.bsb-summary dd[data-bsb-total] {
    font-size: 20px;
}

.bsb-summary .bsb-btn {
    width: 100%;
}

.bsb-summary p {
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.5;
}

.bsb-mobile-summary-bar {
    display: none;
}

.bsb-notice {
    background: rgba(94, 152, 50, .14);
    border: 1px solid rgba(94, 152, 50, .48);
    border-radius: 2px;
    color: var(--color-accent-green-dark);
    margin: 16px 0;
    padding: 12px 14px;
}

.bsb-notice-error {
    background: #fff1ef;
    border-color: #f1b9b1;
    color: #8a261a;
}

.bsb-auth {
    margin: 46px auto;
    max-width: 540px;
    padding: 30px;
}

.bsb-auth form {
    display: grid;
    gap: 12px;
}

.bsb-admin-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bsb-admin-grid label {
    display: grid;
    font-weight: 700;
    gap: 6px;
}

.bsb-admin-grid textarea {
    min-height: 96px;
}

.bsb-page-custom {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0 0 30px;
    max-width: 940px;
}

.bsb-page-custom-after {
    margin: 30px 0 0;
}

.bsb-page-custom h1,
.bsb-page-custom h2,
.bsb-page-custom h3 {
    color: var(--color-charcoal);
    font-family: var(--bsb-heading-font);
    font-weight: 400;
    letter-spacing: .06em;
    line-height: 1.12;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.bsb-page-custom p {
    margin: 0 0 14px;
}

.bsb-page-custom ul,
.bsb-page-custom ol {
    margin: 0 0 16px 20px;
}

@media (max-width: 1120px) {
    .bsb-house-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .bsb-configurator,
    .bsb-house-detail {
        grid-template-columns: 1fr;
    }

    .bsb-configurator {
        padding-bottom: 96px;
    }

    .bsb-summary,
    .bsb-house-panel {
        position: static;
    }

    .bsb-mobile-summary-bar {
        align-items: center;
        background: rgba(20, 23, 24, .96);
        border-top: 1px solid rgba(255, 255, 255, .14);
        bottom: 0;
        box-shadow: 0 -18px 40px rgba(20, 23, 24, .18);
        color: var(--color-white);
        display: grid;
        gap: 10px;
        grid-template-columns: 42px minmax(0, 1fr) clamp(140px, 34vw, 220px);
        left: 0;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        position: fixed;
        right: 0;
        z-index: 90;
    }

    .bsb-mobile-summary-jump {
        align-items: center;
        background: rgba(255, 255, 255, .08);
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 2px;
        color: var(--color-white);
        display: inline-flex;
        font-size: 24px;
        height: 42px;
        justify-content: center;
        line-height: 1;
        text-decoration: none;
        width: 42px;
    }

    .bsb-mobile-summary-price {
        display: grid;
        gap: 2px;
        min-width: 0;
    }

    .bsb-mobile-summary-price small {
        color: rgba(255, 255, 255, .68);
        font-family: var(--bsb-heading-font);
        font-size: 11px;
        font-weight: 400;
        letter-spacing: .08em;
        line-height: 1;
        text-transform: uppercase;
    }

    .bsb-mobile-summary-price strong {
        color: var(--color-white);
        font-size: 18px;
        font-weight: 850;
        line-height: 1.15;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bsb-mobile-summary-bar .bsb-btn {
        min-height: 42px;
        padding: 9px 12px;
        white-space: normal;
    }

    .bsb-hero-visual {
        min-height: 420px;
    }

    .bsb-hero-content {
        padding: 42px;
    }

    .bsb-hero h1 {
        font-size: clamp(24px, 3.2vw, 31px);
    }

    .bsb-info-grid,
    .bsb-option-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .bsb-hero {
        margin: 0 0 36px;
    }

    .bsb-hero::before {
        left: -18px;
        width: 74%;
    }

    .bsb-hero-visual {
        aspect-ratio: auto;
        height: 540px;
        min-height: 0;
    }

    .bsb-hero-visual::before {
        background:
            linear-gradient(180deg, rgba(20, 23, 24, .42), rgba(20, 23, 24, .24) 52%, rgba(20, 23, 24, .10)),
            radial-gradient(circle at 20% 48%, rgba(94, 152, 50, .08), transparent 34%);
    }

    .bsb-hero-content {
        align-items: center;
        padding: 26px;
        text-align: center;
    }

    .bsb-hero h1 {
        font-size: 25px;
        line-height: 1.2;
        max-width: 100%;
        text-align: center;
    }

    .bsb-hero-actions {
        align-self: center;
        justify-content: center;
    }

    .bsb-page-head h1,
    .bsb-house-panel h1 {
        font-size: 38px;
    }

    .bsb-info-section-copy h2,
    .bsb-section-head h2 {
        font-size: 34px;
    }

    .bsb-house-grid,
    .bsb-info-grid,
    .bsb-option-grid,
    .bsb-lead-grid,
    .bsb-admin-grid {
        grid-template-columns: 1fr;
    }

    .bsb-info-section {
        padding: 22px;
    }

    .bsb-legal-page > section {
        padding: 22px;
    }

    .bsb-legal-page > section::after {
        left: 22px;
        top: 16px;
    }

    .bsb-legal-page h2 {
        font-size: 30px;
    }

    .bsb-legal-page dl {
        grid-template-columns: 1fr;
    }

    .bsb-legal-page dt {
        margin-bottom: -4px;
    }

    .bsb-legal-table-scroll {
        border: 0;
        overflow: visible;
    }

    .bsb-legal-table-scroll table,
    .bsb-legal-table-scroll thead,
    .bsb-legal-table-scroll tbody,
    .bsb-legal-table-scroll tr,
    .bsb-legal-table-scroll th,
    .bsb-legal-table-scroll td {
        display: block;
        min-width: 0;
        width: 100%;
    }

    .bsb-legal-table-scroll thead {
        clip: rect(0 0 0 0);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }

    .bsb-legal-table-scroll tr {
        background: rgba(255, 255, 255, .82);
        border: 1px solid rgba(190, 194, 203, .72);
        border-radius: 2px;
        margin-bottom: 12px;
        overflow: hidden;
    }

    .bsb-legal-table-scroll td {
        border-right: 0;
        display: grid;
        gap: 5px;
        padding: 10px 12px;
    }

    .bsb-legal-table-scroll td::before {
        color: var(--color-accent-green-dark);
        content: "";
        font-family: var(--bsb-heading-font);
        font-size: 13px;
        font-weight: 600;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .bsb-legal-table-scroll td:nth-child(1)::before {
        content: "Adatkezelés";
    }

    .bsb-legal-table-scroll td:nth-child(2)::before {
        content: "Kezelt adatok";
    }

    .bsb-legal-table-scroll td:nth-child(3)::before {
        content: "Cél";
    }

    .bsb-legal-table-scroll td:nth-child(4)::before {
        content: "Jogalap";
    }

    .bsb-legal-table-scroll td:nth-child(5)::before {
        content: "Megőrzési idő";
    }

    .bsb-info-section::before {
        width: 56%;
    }

    .bsb-section-head {
        align-items: start;
        flex-direction: column;
    }

    .bsb-extra-list label {
        align-items: start;
        grid-template-columns: 1fr;
    }

    .bsb-extra-list em {
        white-space: normal;
    }

    .bsb-actions .bsb-btn {
        min-width: 0;
        text-align: center;
        white-space: normal;
        width: 100%;
    }
}

@media (max-width: 420px) {
    .bsb-mobile-summary-bar {
        gap: 8px;
        grid-template-columns: 38px minmax(0, 1fr) clamp(116px, 36vw, 134px);
        padding-left: 10px;
        padding-right: 10px;
    }

    .bsb-mobile-summary-jump {
        font-size: 22px;
        height: 38px;
        width: 38px;
    }

    .bsb-mobile-summary-price strong {
        font-size: 16px;
    }

    .bsb-mobile-summary-bar .bsb-btn {
        font-size: 11px;
        line-height: 1.12;
        padding: 8px 9px;
    }

    .bsb-summary h2 {
        font-size: 22px;
        letter-spacing: .01em;
    }

    .bsb-summary dd[data-bsb-total] {
        font-size: 18px;
    }

    .bsb-legal-page > section {
        padding: 18px;
    }

    .bsb-legal-page > section::after {
        left: 18px;
        width: 86px;
    }

    .bsb-legal-page h2 {
        font-size: 25px;
        letter-spacing: .04em;
        line-height: 1.08;
    }

    .bsb-legal-page p,
    .bsb-legal-page li,
    .bsb-legal-page dd {
        font-size: 15px;
    }

    .bsb-legal-table-scroll td {
        padding: 10px;
    }

    .bsb-hero-visual {
        height: 500px;
    }

    .bsb-hero-content {
        padding: 22px;
    }

    .bsb-hero h1 {
        font-size: 22px;
    }
}
