/* =========================
    Fonts
    ========================= */
@font-face{
    font-family: "Unbounded Light";
    src: url("./assets/fonts/Bounded-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face{
    font-family: "Unbounded";
    src: url("./assets/fonts/Bounded-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* =========================
    Variables
    ========================= */
:root{
    --container: 1400px;
    --gutter: 0px;
    --page-bg: #ffffff;

    --teal: #095f7e;
    --teal-dark: #002e42;
    --sand: #F0EAE3;
    --accent: #9e5b16;

    --text: #221E1F;
    --muted: #3d3d3d;

    --shadow: 0 14px 34px rgba(0,0,0,.10);

    --cat-top-h: 410px;
    --cat-bottom-h: 300px;

    --second-family: "Unbounded Light", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --offers-left-w: 690px;
    --offers-gap-x: 20px;
    --offers-gap-y: 20px;
    --offers-top-gap: 33px;
    --offers-total-h: 1271px;
    --offer-img-h: 385px;
    --offer-body-h: 385px;
    --offer-body-pad: 50px;
    --promo-h: 300px;
    --hero-h: 481px;
    --header-pad-y: 10px;
    --header-inner-h: 57px;
    --header-offset: calc((var(--header-pad-y) * 2) + var(--header-inner-h));
    --logo-h: 56.6px;


    /*--site-header-h: var(--header-offset);*/
    --site-header-h: 140px;
    --bx-panel-h: 0px;
    --scrollbar-track: #E6DED7;
    --scrollbar-thumb: #CAB7A9;
    --scrollbar-thumb-hover: #AA8062;

}

/* =========================
    Base
    ========================= */
*{ box-sizing: border-box; }

body, html {
    width: 100%;
    min-height: 100%;
    background: var(--page-bg);
}

body{
    overflow-x: clip;
    margin: 0;
    min-height: 100vh;
    padding-top: var(--header-offset);
    font-family: "Unbounded", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 300;
    color: var(--text);
    background: var(--page-bg);
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    background: var(--page-bg);
}

#main,
.blog-detail-intro,
.blog-detail-shell,
.blog-detail-heading,
.blog-detail-hero,
.blog-detail-copy{
    background: var(--page-bg);
}

img{ max-width: 100%; display: block; }

*{
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

*::-webkit-scrollbar{
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track{
    background: var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb{
    background: var(--scrollbar-thumb);
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover{
    background: var(--scrollbar-thumb-hover);
}

.container{
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.section{
    padding: 20px 0 32px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Every .container inside a section: always centred, never pushed by siblings */
.section > .container,
.section > .container.offers__grid {
    margin-left:  auto;
    margin-right: auto;
}

@media (min-width: 1200px){
    .section.categories{
        padding: 20px 0 140px;
    }

    .section.categories.page{
        padding: clamp(24px, 5vh, 50px) 0;
        min-height: calc(100vh - var(--header-offset));
        display: flex;
        align-items: center;
    }

    .section.categories.page > .container{
        width: 100%;
    }

    .section.categories.page .cat-grid--two{
        --two-card-w: calc((min(100vw, var(--container)) / 5) - 11.2px);
        grid-template-columns: repeat(2, minmax(0, var(--two-card-w)));
        justify-content: center;
    }

    .section.categories.page .cat-grid--two .cat-card--top,
    .section.categories.page .cat-grid--two .cat-card--bottom{
        grid-column: span 1;
        height: auto;
        aspect-ratio: 268.8 / 410;
    }

    .section.offers{
        padding: 0 0 120px;
    }

    .section.blog{
        padding: 0 0 117px;
    }

    .section.blog.home-news{
        padding-top: 0;
        padding-bottom: 120px;
    }

    .section.reviews{
        padding: 0 0 114px;
    }
}

/* headings ca în design */
.section-title{
    font-family: var(--font-family);
    font-weight: 700; /* se “simulează” dacă nu ai bold real */
    font-size: 52px;
    letter-spacing: -0.03em;
    line-height: normal;
    margin: 0 0 10px 0;
}

.section-desc{
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.35;
    max-width: 66ch;
}

/* =========================
    Header
    ========================= */
.site-header{
    background: #fff;
    padding: var(--header-pad-y) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2500;
}

.site-header{ top: var(--bx-panel-h); }
#bx-panel{ top: 0 !important; }
body{ padding-top: max(var(--header-offset), calc(var(--site-header-h) + var(--bx-panel-h))); }


.header__inner{
    max-width: 1600px;
    /* fluid: 100px la 1600px ecran → 20px la 1440px → breakpoint preia */
    padding-left:  clamp(20px, calc((100vw - 1400px) / 2), 100px);
    padding-right: clamp(20px, calc((100vw - 1400px) / 2), 100px);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-inner-h);
}

.brand{ display: inline-flex; align-items: center; line-height: 0; }
.brand__logo{
    width: auto;
    height: auto;
    max-width: none;
    display: block;
}

/* partea dreaptă: meta (stack) + burger */
.header__right{
    width: 259px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__meta{
    width: 129px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    align-items: flex-start;
}

.status{
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--second-family);
    font-size: 12px;
    font-weight: 300;
    line-height: 1;
    color: #221E1F;
}

.status__dot{
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    color: #0AC855;
    background: currentColor;
    flex: 0 0 8px;
}

.status__dot::after{
    content: "";
    position: absolute;
    inset: -2px;
    border: 1px solid currentColor;
    border-radius: inherit;
    opacity: 0;
    transform: scale(1);
    transform-origin: center;
    pointer-events: none;
    animation: status-dot-pulse 4.8s ease-out infinite 2.6s;
}

@keyframes status-dot-pulse{
    0%{
        opacity: .55;
        transform: scale(1);
    }
    45%{
        opacity: 0;
        transform: scale(1.52);
    }
    100%{
        opacity: 0;
        transform: scale(1.52);
    }
}

@media (prefers-reduced-motion: reduce){
    .status__dot::after{
        animation: none;
    }
}

.phone{
    text-decoration: none;
    color: #221E1F;
    font-family: "Unbounded", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
}

.burger{
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.burger__icon{
    width: 42px;
    height: 42px;
    display: block;
}

/* =========================
    Blogs Intro
    ========================= */
.blogs-hero{
    --blogs-hero-top-gap: clamp(18px, 2vw, 28px);
    /* Increase this to pull "CBC Imobiliare" higher under the SVG. */
    --blogs-hero-overlap: clamp(100px, 7vw, 98px);
    --blogs-hero-wordmark-underlay-desktop: 10px;
    --blogs-hero-wordmark-inline-shift-desktop: 5px;
    --blogs-hero-wordmark-underlay-1439: 8px;
    --blogs-hero-wordmark-inline-shift-1439: 24px;
    --blogs-hero-wordmark-underlay-1023: 10px;
    --blogs-hero-wordmark-inline-shift-1023: 5px;
    --blogs-hero-wordmark-underlay-767: 10px;
    --blogs-hero-wordmark-inline-shift-767: 5px;
    --blogs-hero-wordmark-underlay: var(--blogs-hero-wordmark-underlay-desktop);
    --blogs-hero-wordmark-inline-shift: var(--blogs-hero-wordmark-inline-shift-desktop);
    --blogs-hero-heading-max: 678px;
    --blogs-hero-wordmark-size: 101.08px;
    --blogs-hero-wordmark-gap: calc(var(--blogs-hero-wordmark-size) * 0.25);
    --blogs-hero-desc-max: 636.84px;
    --blogs-hero-desc-gap: 12px;
    --blogs-hero-desc-size: 20px;
    --blogs-hero-desc-line: 25px;
    padding-top: var(--blogs-hero-top-gap);
}

.blogs-hero__frame{
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.blogs-hero__content{
    position: relative;
    width: min(100%, var(--container));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blogs-hero__title-hidden{
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.blogs-hero__heading{
    position: relative;
    z-index: 2;
    width: min(100%, var(--blogs-hero-heading-max));
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    pointer-events: none;
}

.blogs-hero__wordmark{
    position: relative;
    width: min(100%, var(--blogs-hero-heading-max));
    max-width: 100%;
    margin: calc((var(--blogs-hero-overlap) + var(--blogs-hero-wordmark-underlay)) * -1) 0 0;
    padding-left: var(--blogs-hero-wordmark-inline-shift);
    z-index: 0;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: var(--blogs-hero-wordmark-gap);
    color: #0C6686;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: var(--blogs-hero-wordmark-size);
    line-height: 1.2168;
    letter-spacing: -0.03em;
    white-space: nowrap;
    text-align: left;
}

.blogs-hero__wordmark-fat{
    flex: 0 0 auto;
    font-weight: 700;
}

.blogs-hero__wordmark-slim{
    flex: 0 0 auto;
    font-weight: 400;
    margin-left: 0;
}

.blogs-hero__desc{
    position: relative;
    width: min(100%, var(--blogs-hero-desc-max));
    max-width: 100%;
    margin: var(--blogs-hero-desc-gap) 0 0;
    color: #221E1F;
    font-family: "Unbounded Light", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: var(--blogs-hero-desc-size);
    font-weight: 300;
    line-height: var(--blogs-hero-desc-line);
    letter-spacing: 0;
    text-align: center;
}

/* =========================
    Blogs Filters
    ========================= */
.blogs-filters{
    padding: 24px 0 50px;
}

.blogs-filters__row{
    width: 1400px;
    max-width: 100%;
}

.blogs-filters__form{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 275px;
    align-items: stretch;
}

.blogs-filters__topic{
    width: 435px;
    height: 64px;
    padding: 20px 30px;
    border: 1px solid #D8D8D8;
    border-right: 0;
    background: #F2F2F2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
}

.blogs-filters__topic-text{
    color: #969696;
    font-family: "Unbounded Light", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;
}

.blogs-filters__icon-wrap{
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.blogs-filters__icon{
    width: 24px;
    height: 24px;
    display: block;
}

.blogs-filters__search{
    width: auto;
    min-width: 0;
    height: 64px;
    padding: 20px 30px;
    border: 1px solid #D8D8D8;
    border-right: 0;
    background: #F2F2F2;
    display: flex;
    align-items: center;
}

.blogs-filters__search-input{
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    color: #969696;
    font-family: "Unbounded Light", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;
}

.blogs-filters__search-input::placeholder{
    color: #969696;
    opacity: 1;
}

.blogs-filters__submit{
    width: 275px;
    height: 64px;
    border: 0;
    background: #9E5B16;
    color: #FFFFFF;
    padding: 16px 60px;
    font-family: "Unbounded", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0;
    cursor: pointer;
    transition: background-color .22s ease;
}

@media (hover: hover){
    .blogs-filters__submit:hover{
        background: #8A4E12;
    }
}

.blogs-filters__submit:focus-visible{
    outline: 2px solid #9E5B16;
    outline-offset: 2px;
}

@media (max-width: 991px){
    .blogs-filters__form{
        grid-template-columns: minmax(0, 1fr);
    }

    .blogs-filters__search{
        border-right: 1px solid #D8D8D8;
    }

    .blogs-filters__submit{
        width: 100%;
    }
}

.blogs-sort{
    width: 381px;
    max-width: 100%;
    height: 40px;
    margin-top: 29.65px;
    margin-left: auto;
    display: flex;
    justify-content: space-between;
}

.blogs-sort__control{
    width: 193px;
    height: 40px;
    padding: 0 0 16px;
    border: 0;
    border-bottom: 1px solid #E3E3E3;
    background: transparent;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    cursor: pointer;
}

.blogs-sort__label{
    color: #221E1F;
    font-family: "Unbounded Light", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;
}

.blogs-sort__icon-wrap{
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.blogs-sort__icon{
    width: 24px;
    height: 24px;
    display: block;
}

.blogs-sort__found{
    width: 84px;
    height: 40px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.blogs-sort__found-text{
    color: #221E1F;
    font-family: "Unbounded Light", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;
}

/* =========================
    Shared Breadcrumb
    ========================= */
.breadcrumb-page{
    width: 100%;
    max-width: 1600px;
    margin: 30px auto 0;
    padding-left:  clamp(20px, calc((100vw - 1400px) / 2), 100px);
    padding-right: clamp(20px, calc((100vw - 1400px) / 2), 100px);
}

/* =========================
    Catalog Intro + Filters
    ========================= */
.catalog-intro{
    --catalog-filter-surface: #FFFFFF;
    --catalog-filter-surface-subtle: #FAF8F6;
    --catalog-filter-surface-soft: #F7F4F1;
    --catalog-filter-surface-active: #F0EAE3;
    --catalog-filter-surface-tab: #F1F1F1;
    --catalog-filter-border: #CAB7A9;
    --catalog-filter-border-soft: #DED3CA;
    --catalog-filter-divider: #E3E3E3;
    --catalog-filter-text: #221E1F;
    --catalog-filter-text-muted: #8A796C;
    --catalog-filter-text-soft: #6F5F52;
    --catalog-filter-text-subtle: #9B8A7C;
    --catalog-filter-accent: #9E5B16;
    --catalog-filter-accent-soft: #AA8062;
    --catalog-filter-track: #D3D3D3;
    --catalog-filter-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
    margin-top: 30px;
    padding-bottom: 30px;
}

.catalog-intro__inner{
    width: 1400px;
    max-width: 100%;
}

.catalog-intro__tabs{
    margin-bottom: 30px;
}

.catalog-intro__filter{
    width: 100%;
}

.catalog-intro__filter-inner{
    width: 100%;
}

.catalog-intro__breadcrumb{
    margin: 0;
}

.catalog-intro__title{
    margin: 36px 0 30px;
    color: #221E1F;
    font-family: var(--font-family);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.catalog-filter-panel{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 1100;
}

.catalog-filter-tabs{
    width: fit-content;
    max-width: 100%;
    min-height: 56px;
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.catalog-filter-tab{
    width: 196.2px;
    min-width: 196.2px;
    height: 56px;
    padding: 18px 10px;
    border: 0;
    background: var(--catalog-filter-surface-tab);
    color: var(--catalog-filter-text);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: color .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.catalog-filter-tab.is-active{
    border: 1px solid var(--catalog-filter-border);
    background: var(--catalog-filter-surface-active);
}

.catalog-filter-selects{
    width: 100%;
    min-height: 76px;
    display: flex;
    align-items: stretch;
    background: var(--catalog-filter-surface);
    border: 1px solid var(--catalog-filter-border);
}

.catalog-filter-select{
    flex: 1 1 20%;
    min-width: 0;
    min-height: 76px;
    padding: 14px 18px;
    border: 0;
    border-left: 1px solid var(--catalog-filter-border);
    background: var(--catalog-filter-surface-subtle);
    color: var(--catalog-filter-text);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: color .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.catalog-filter-select:first-child{
    border-left: 0;
}

.catalog-filter-select.is-filled{
    background: var(--catalog-filter-surface-soft);
}

.catalog-filter-select.is-open{
    background: var(--catalog-filter-surface-active);
    box-shadow: inset 0 -2px 0 var(--catalog-filter-accent);
}

.catalog-filter-select__stack{
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    overflow: hidden;
}

.catalog-filter-select__label{
    color: var(--catalog-filter-text-muted);
    font-family: var(--second-family);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.catalog-filter-select__value{
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    color: var(--catalog-filter-text);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-filter-select.is-filled .catalog-filter-select__value{
    color: var(--catalog-filter-text-soft);
}

.catalog-filter-select.is-open .catalog-filter-select__label,
.catalog-filter-select.is-open .catalog-filter-select__value{
    color: var(--catalog-filter-accent);
}

.catalog-filter-select--rooms{
    position: relative;
    padding-top: 30px;
    padding-bottom: 10px;
}

.catalog-filter-select__corner-label{
    position: absolute;
    top: 8px;
    left: 20px;
    color: var(--catalog-filter-text-subtle);
    font-family: var(--second-family);
    font-size: 12px;
    font-weight: 300;
    line-height: 1;
    pointer-events: none;
}

.catalog-filter-select .catalog-icon-box img{
    transition: transform .22s ease, filter .22s ease;
}

.catalog-filter-select .catalog-icon-box img.is-rotated{
    transform: rotate(180deg);
}

.catalog-filter-select.is-open .catalog-icon-box img,
.catalog-filter-select.is-filled .catalog-icon-box img{
    filter: brightness(0) saturate(100%) invert(36%) sepia(98%) saturate(891%) hue-rotate(6deg) brightness(79%) contrast(83%);
}

.catalog-filter-sort .catalog-icon-box img{
    transition: transform .22s ease, filter .22s ease;
}

.catalog-filter-sort .catalog-icon-box img.is-rotated{
    transform: rotate(180deg);
}

.catalog-filter-popover-host{
    width: 100%;
    position: relative;
}

.catalog-filter-popover{
    position: absolute;
    top: calc(100% + 12px);
    z-index: 1110;
    background: var(--catalog-filter-surface);
    border: 1px solid var(--catalog-filter-border);
    box-shadow: var(--catalog-filter-shadow);
    padding: 24px;
}

.catalog-filter-popover--location{
    display: flex;
    flex-direction: column;
}

.catalog-filter-popover__grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.catalog-filter-popover__section{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.catalog-filter-popover__section--cost{
    margin-top: 15px;
    gap: 5px;
}

.catalog-filter-popover__section--cost-secondary{
    margin-top: 10px;
}

.catalog-filter-popover__section--full{
    grid-column: 1 / -1;
}

.catalog-filter-popover__heading-wrap{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.catalog-filter-popover__heading{
    margin: 0;
    color: var(--catalog-filter-text-soft);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.catalog-filter-popover__helper{
    margin: 0;
    color: var(--catalog-filter-text-muted);
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
}

.catalog-filter-popover__options{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.catalog-filter-popover__options--inline{
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
}

.catalog-filter-popover__options--compact{
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.catalog-filter-popover__options--city-scroll{
    max-height: 246px;
    overflow-y: scroll;
    padding-right: 12px;
    position: relative;
}

.catalog-filter-popover__options--sectors-scroll{
    max-height: 246px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 12px;
    position: relative;
}

.catalog-filter-popover__options--sectors-scroll .catalog-filter-popover__option{
    width: 100%;
    min-width: 0;
    flex: none;
}

.catalog-filter-location{
    display: flex;
    flex-direction: column;
    gap: 16px;
    --catalog-filter-location-selection-size: 22px;
    --catalog-filter-location-selection-radius: 6px;
    --catalog-filter-location-scrollbar-outset: 15px;
}

.catalog-filter-location-panel{
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
}

.catalog-filter-popover--location .catalog-filter-location{
    flex: 1 1 auto;
    min-height: 0;
}

.catalog-filter-location__intro{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.catalog-filter-location-tree{
    position: relative;
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    width: calc(100% + var(--catalog-filter-location-scrollbar-outset));
    margin-right: calc(var(--catalog-filter-location-scrollbar-outset) * -1);
    padding-right: var(--catalog-filter-location-scrollbar-outset);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.catalog-filter-popover--location .catalog-filter-location-tree{
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    padding-bottom: 4px;
}

.catalog-filter-location-tree__branch{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.catalog-filter-location-tree__children{
    position: relative;
    margin-left: 22px;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.catalog-filter-location-tree__children::before{
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 14px;
    width: 1px;
    background: rgba(202, 183, 169, 0.62);
}

.catalog-filter-location-tree__children--deep{
    margin-left: 18px;
}

.catalog-filter-location-row{
    position: relative;
    display: grid;
    grid-template-columns: var(--catalog-filter-location-selection-size) minmax(0, 1fr) 32px;
    align-items: center;
    gap: 11px;
    min-height: 50px;
    padding: 0 10px;
    border: 1px solid var(--catalog-filter-border-soft);
    border-radius: 7px;
    background: var(--catalog-filter-surface-subtle);
}

.catalog-filter-location-row::after{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.catalog-filter-location-row--child::before,
.catalog-filter-location-row--grandchild::before{
    content: "";
    position: absolute;
    left: -18px;
    top: 50%;
    width: 12px;
    height: 1px;
    background: var(--catalog-filter-border-soft);
}

.catalog-filter-location-row--child{
    min-height: 48px;
    border-radius: 6px;
}

.catalog-filter-location-row--child .catalog-filter-location-row__label{
    font-size: 14px;
}

.catalog-filter-location-row.is-city-leaf{
    grid-template-columns: var(--catalog-filter-location-selection-size) minmax(0, 1fr);
    min-height: 44px;
    padding: 0 8px;
    border-color: transparent;
    background: transparent;
    border-radius: 6px;
    box-shadow: none;
}

.catalog-filter-location-row.is-city-leaf::after{
    display: none;
}

.catalog-filter-location-row.is-city-leaf .catalog-filter-location-row__label{
    font-size: 15px;
    font-weight: 600;
}

.catalog-filter-location-row--grandchild,
.catalog-filter-location-row--grandchild.is-expanded,
.catalog-filter-location-row--grandchild.is-partial,
.catalog-filter-location-row--grandchild.is-full{
    min-height: 40px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.catalog-filter-location-row.is-sector-leaf{
    grid-template-columns: var(--catalog-filter-location-selection-size) minmax(0, 1fr);
    gap: 12px;
}

.catalog-filter-location-row--grandchild::after{
    display: none;
}

.catalog-filter-location-row.is-sector-leaf .catalog-filter-location-row__label{
    font-size: 14px;
    font-weight: 600;
}

.catalog-filter-location-row.is-expanded{
    border-color: rgba(202, 183, 169, 0.82);
}

.catalog-filter-location-row.is-partial{
    background: var(--catalog-filter-surface-subtle);
    border-color: rgba(202, 183, 169, 0.78);
}

.catalog-filter-location-row.is-full:not(.is-city-leaf):not(.is-sector-leaf){
    background: var(--catalog-filter-surface-active);
    border-color: rgba(158, 91, 22, 0.62);
    box-shadow: inset 0 0 0 1px rgba(158, 91, 22, 0.05);
}

.catalog-filter-location-row.is-city-leaf.is-full{
    padding: 0 8px;
}

.catalog-filter-location-row.is-city-leaf.is-full,
.catalog-filter-location-row.is-sector-leaf.is-full{
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.catalog-filter-location-row--grandchild.is-partial,
.catalog-filter-location-row--grandchild.is-full{
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.catalog-filter-location-row__selection{
    width: var(--catalog-filter-location-selection-size);
    height: var(--catalog-filter-location-selection-size);
    border: 1.25px solid rgba(202, 183, 169, 0.92);
    border-radius: var(--catalog-filter-location-selection-radius);
    background: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.catalog-filter-location-row__selection-mark{
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: transparent;
    opacity: 0;
    transform: scale(.4);
    transition: opacity .22s ease, transform .22s ease, width .22s ease, height .22s ease, background-color .22s ease;
}

.catalog-filter-location-row__selection.is-included{
    border-color: var(--catalog-filter-accent);
    background: rgba(255, 249, 244, 0.98);
}

.catalog-filter-location-row__selection.is-included .catalog-filter-location-row__selection-mark{
    width: 7px;
    height: 7px;
    border-radius: 2px;
    opacity: 1;
    transform: scale(1);
    background: var(--catalog-filter-accent);
}

.catalog-filter-location-row__selection.is-full{
    border-color: var(--catalog-filter-accent);
    background: rgba(255, 249, 244, 0.98);
}

.catalog-filter-location-row__selection.is-full .catalog-filter-location-row__selection-mark{
    opacity: 1;
    transform: scale(1);
    background: var(--catalog-filter-accent);
}

.catalog-filter-location-row__selection.is-partial{
    border-color: rgba(170, 128, 98, 0.36);
    background: #FFFFFF;
}

.catalog-filter-location-row__selection.is-partial .catalog-filter-location-row__selection-mark{
    width: 8px;
    height: 1.5px;
    border-radius: 999px;
    opacity: 1;
    transform: none;
    background: var(--catalog-filter-accent-soft);
}

.catalog-filter-location-row__main{
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--catalog-filter-text);
    text-align: left;
    cursor: default;
}

.catalog-filter-location-row__main.is-expandable{
    cursor: pointer;
}

.catalog-filter-location-row__main--static{
    display: flex;
}

.catalog-filter-location-row__main--selectable{
    cursor: pointer;
}

.catalog-filter-location-row__label{
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.catalog-filter-location-row.is-partial .catalog-filter-location-row__label{
    color: var(--catalog-filter-text-soft);
    font-weight: 600;
}

.catalog-filter-location-row.is-included .catalog-filter-location-row__label{
    color: var(--catalog-filter-accent);
    font-weight: 700;
}

.catalog-filter-location-row.is-full .catalog-filter-location-row__label{
    color: var(--catalog-filter-accent);
    font-weight: 700;
}

.catalog-filter-location-row__chevron{
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--catalog-filter-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.catalog-filter-location-row__chevron svg{
    transition: transform .22s ease;
}

.catalog-filter-location-row__chevron.is-expanded svg{
    transform: rotate(180deg);
}

.catalog-filter-location-tree__children > .catalog-filter-location-tree__branch:last-child{
    position: relative;
}

.catalog-filter-location-tree__children > .catalog-filter-location-tree__branch:last-child::after{
    content: "";
    position: absolute;
    left: -18px;
    top: 50%;
    bottom: -10px;
    width: 1px;
    background: var(--catalog-filter-surface);
    pointer-events: none;
}

.catalog-filter-location-tree__children--single > .catalog-filter-location-tree__branch:last-child::after{
    top: 25px;
}

.catalog-filter-location-tree__children--single.catalog-filter-location-tree__children--deep > .catalog-filter-location-tree__branch:last-child::after{
    top: 20px;
}

.catalog-filter-location__empty{
    min-height: 88px;
}

.catalog-filter-popover__empty{
    min-height: 54px;
    padding: 14px 16px;
    border: 1px dashed var(--catalog-filter-border);
    background: var(--catalog-filter-surface);
    color: var(--catalog-filter-text-muted);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.catalog-filter-popover__option{
    width: 100%;
    min-height: 56px;
    padding: 15px 16px;
    border: 1px solid transparent;
    background: #F5F5F5;
    color: var(--catalog-filter-text);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}

.catalog-filter-popover__option--rooms-all{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 12px;
    padding-right: 12px;
}

.catalog-filter-popover__option--neutral{
    background: var(--catalog-filter-surface);
    border-color: var(--catalog-filter-border);
    color: var(--catalog-filter-text-soft);
}

.catalog-filter-popover__option.is-active{
    background: var(--catalog-filter-surface-active);
    border-color: var(--catalog-filter-accent);
    box-shadow: inset 0 0 0 1px rgba(158, 91, 22, 0.12);
}

.catalog-filter-popover__option.is-disabled,
.catalog-filter-popover__option:disabled{
    opacity: 0.55;
    cursor: not-allowed;
}

.catalog-filter-slider-wrap{
    display: grid;
    gap: 10px;
}

.catalog-filter-slider{
    position: relative;
    height: 28px;
}

.catalog-filter-slider.is-disabled{
    opacity: 0.55;
}

.catalog-filter-slider__track,
.catalog-filter-slider__active{
    position: absolute;
    left: 0;
    right: 0;
    top: 12px;
    height: 4px;
    border-radius: 999px;
}

.catalog-filter-slider__track{
    background: var(--catalog-filter-track);
}

.catalog-filter-slider__active{
    left: 0;
    right: auto;
    background: var(--catalog-filter-accent);
}

.catalog-filter-slider__input{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 28px;
    margin: 0;
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.catalog-filter-slider__input::-webkit-slider-runnable-track{
    height: 4px;
    background: transparent;
}

.catalog-filter-slider__input::-moz-range-track{
    height: 4px;
    background: transparent;
}

.catalog-filter-slider__input::-webkit-slider-thumb{
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid var(--catalog-filter-accent);
    background: var(--catalog-filter-surface);
    margin-top: -6px;
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.catalog-filter-slider__input::-moz-range-thumb{
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 2px solid var(--catalog-filter-accent);
    background: var(--catalog-filter-surface);
    pointer-events: auto;
    appearance: none;
    cursor: pointer;
}

.catalog-filter-slider__input:disabled::-webkit-slider-thumb,
.catalog-filter-slider__input:disabled::-moz-range-thumb{
    cursor: default;
}

.catalog-filter-slider__values{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--catalog-filter-text);
    font-family: var(--second-family);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.2;
}

.catalog-filter-popover__actions{
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.catalog-filter-popover__actions--sticky{
    position: sticky;
    bottom: 0;
    z-index: 1;
    margin-top: 18px;
    padding-top: 6px;
    background: var(--catalog-filter-surface);
    box-shadow: 0 -12px 18px rgba(34, 30, 31, 0.05);
}

.catalog-filter-popover__actions--sticky::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    height: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--catalog-filter-surface) 100%);
    pointer-events: none;
}

.catalog-filter-popover__ghost,
.catalog-filter-popover__submit{
    min-height: 50px;
    border: 1px solid var(--catalog-filter-border);
    font-family: var(--font-second);
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
}

.catalog-filter-popover__ghost{
    background: var(--catalog-filter-surface);
    color: var(--catalog-filter-text);
}

.catalog-filter-popover__submit{
    background: var(--catalog-filter-accent);
    border-color: var(--catalog-filter-accent);
    color: var(--catalog-filter-surface);
}

.catalog-filter-popover--property-type{
    width: 448px;
    max-width: min(448px, 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.catalog-filter-type-panel{
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    gap: 0;
}

.catalog-filter-type-toolbar{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--catalog-filter-divider);
}

.catalog-filter-type-summary{
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    background: var(--catalog-filter-surface);
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    text-align: left;
    pointer-events: none;
}

.catalog-filter-type-summary__title{
    display: block;
    color: var(--catalog-filter-text-soft);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
}

.catalog-filter-type-summary__meta{
    display: block;
    color: var(--catalog-filter-text-subtle);
    font-family: var(--second-family);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
}

.catalog-filter-type-link{
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--catalog-filter-accent-soft);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    min-height: 0;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    cursor: pointer;
}

.catalog-filter-type-panel__body{
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-right: -8px;
    padding: 18px 8px 4px 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.catalog-filter-type-container{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.catalog-filter-type-main{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.catalog-filter-type-heading{
    margin: 0;
    color: var(--catalog-filter-text-muted);
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-filter-type-options{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.catalog-filter-type-options--limited{
    max-height: 216px;
    overflow-y: scroll;
    padding-right: 12px;
    position: relative;
}

.catalog-filter-popover__options--city-scroll,
.catalog-filter-popover__options--sectors-scroll,
.catalog-filter-type-panel__body,
.catalog-filter-type-options--limited{
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

.catalog-filter-popover--property-type .catalog-filter-type-options--limited{
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.catalog-filter-location-tree{
    scrollbar-gutter: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

.catalog-filter-custom-scroll{
    scrollbar-width: none;
}

.catalog-filter-custom-scroll::-webkit-scrollbar{
    width: 0 !important;
    height: 0 !important;
}

.catalog-filter-custom-scroll__indicator{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 8px;
    border-radius: 999px;
    background: var(--scrollbar-track);
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s ease;
}

.catalog-filter-custom-scroll--has-overflow.catalog-filter-custom-scroll--persistent > .catalog-filter-custom-scroll__indicator,
.catalog-filter-custom-scroll--has-overflow.catalog-filter-custom-scroll--hover:hover > .catalog-filter-custom-scroll__indicator{
    opacity: 1;
}

.catalog-filter-custom-scroll__thumb{
    display: block;
    width: 100%;
    min-height: 28px;
    border-radius: 999px;
    background: var(--scrollbar-thumb);
    transform: translateY(0);
}

.catalog-filter-popover__options--city-scroll:not(.catalog-filter-custom-scroll)::-webkit-scrollbar,
.catalog-filter-popover__options--sectors-scroll:not(.catalog-filter-custom-scroll)::-webkit-scrollbar,
.catalog-filter-type-panel__body:not(.catalog-filter-custom-scroll)::-webkit-scrollbar,
.catalog-filter-location-tree:not(.catalog-filter-custom-scroll)::-webkit-scrollbar,
.catalog-filter-type-options--limited:not(.catalog-filter-custom-scroll)::-webkit-scrollbar{
    width: 8px;
}

.catalog-filter-popover__options--city-scroll:not(.catalog-filter-custom-scroll)::-webkit-scrollbar-track,
.catalog-filter-popover__options--sectors-scroll:not(.catalog-filter-custom-scroll)::-webkit-scrollbar-track,
.catalog-filter-type-panel__body:not(.catalog-filter-custom-scroll)::-webkit-scrollbar-track,
.catalog-filter-location-tree:not(.catalog-filter-custom-scroll)::-webkit-scrollbar-track,
.catalog-filter-type-options--limited:not(.catalog-filter-custom-scroll)::-webkit-scrollbar-track{
    background: var(--scrollbar-track);
}

.catalog-filter-popover__options--city-scroll:not(.catalog-filter-custom-scroll)::-webkit-scrollbar-thumb,
.catalog-filter-popover__options--sectors-scroll:not(.catalog-filter-custom-scroll)::-webkit-scrollbar-thumb,
.catalog-filter-type-panel__body:not(.catalog-filter-custom-scroll)::-webkit-scrollbar-thumb,
.catalog-filter-location-tree:not(.catalog-filter-custom-scroll)::-webkit-scrollbar-thumb,
.catalog-filter-type-options--limited:not(.catalog-filter-custom-scroll)::-webkit-scrollbar-thumb{
    background: var(--scrollbar-thumb);
    border-radius: 999px;
}

.catalog-filter-type-option{
    width: 100%;
    min-height: 58px;
    padding: 16px 18px;
    border: 1px solid transparent;
    background: #F5F5F5;
    color: var(--catalog-filter-text);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.catalog-filter-type-option--family{
    min-height: 58px;
    padding: 14px 16px;
    background: #F5F5F5;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    text-align: center;
}

.catalog-filter-type-option__title{
    display: block;
}

.catalog-filter-type-option--family .catalog-filter-type-option__title{
    width: 100%;
    text-align: center;
}

.catalog-filter-type-option__meta{
    color: var(--catalog-filter-text-muted);
    font-family: var(--second-family);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.2;
}

.catalog-filter-type-option__label{
    min-width: 0;
    flex: 1 1 auto;
}

.catalog-filter-type-option__check{
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border: 1px solid #CFBCAA;
    background: var(--catalog-filter-surface);
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease;
}

.catalog-filter-type-option__check svg{
    display: block;
}

.catalog-filter-type-option--list{
    min-height: 56px;
    background: #F5F5F5;
}

.catalog-filter-type-option.is-active{
    background: var(--catalog-filter-surface);
    border-color: var(--catalog-filter-accent);
    box-shadow: inset 0 0 0 1px rgba(158, 91, 22, 0.14);
}

.catalog-filter-type-option--family.is-active{
    background: var(--catalog-filter-surface);
    box-shadow: inset 0 0 0 1px rgba(158, 91, 22, 0.16);
}

.catalog-filter-type-option--family.is-active .catalog-filter-type-option__title{
    color: var(--catalog-filter-accent);
}

.catalog-filter-type-option.is-active .catalog-filter-type-option__check{
    border-color: var(--catalog-filter-accent);
    background: var(--catalog-filter-accent);
    color: var(--catalog-filter-surface);
}

.catalog-filter-type-container.is-disabled{
    opacity: 0.6;
}

.catalog-filter-type-option:disabled{
    opacity: 0.55;
    cursor: not-allowed;
}

.catalog-filter-type-actions{
    display: grid;
    grid-template-columns: 1fr;
    flex: 0 0 auto;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--catalog-filter-divider);
    background: var(--catalog-filter-surface);
}

.catalog-filter-type-apply{
    width: 100%;
    min-height: 56px;
    padding: 16px 24px;
    border: 0;
    background: var(--catalog-filter-accent);
    color: var(--catalog-filter-surface);
    font-family: "Unbounded", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.catalog-filter-type-link:disabled,
.catalog-filter-type-apply:disabled{
    opacity: 0.6;
    cursor: default;
}

.catalog-icon-box{
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.catalog-icon-box img{
    width: 24px;
    height: 24px;
    display: block;
}

.catalog-filter-bottom{
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.catalog-filter-extra{
    width: 215px;
    height: 40px;
    padding: 0 0 16px;
    border: 0;
    border-bottom: 1px solid var(--catalog-filter-divider);
    background: transparent;
    color: var(--catalog-filter-text);
    font-family: var(--second-family);
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    white-space: nowrap;
    text-align: left;
    cursor: pointer;
}

.catalog-filter-extra > span:first-child{
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
}

.catalog-filter-extra .catalog-icon-box img{
    width: 14px;
    height: 14px;
}

.catalog-filter-extra__plus{
    font-size: 40px;
    line-height: 1;
    margin-top: 0;
    flex: 0 0 auto;
    font-weight: 300;
}

.catalog-filter-meta{
    margin-left: auto;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.catalog-filter-sort-wrap{
    width: auto;
    max-width: 100%;
    flex: 0 1 auto;
    position: relative;
}

.catalog-filter-sort{
    width: auto;
    min-width: 220px;
    max-width: 100%;
    height: 40px;
    padding: 0 14px 16px 30px;
    border: 0;
    border-bottom: 1px solid var(--catalog-filter-divider);
    background: transparent;
    color: var(--catalog-filter-text);
    font-family: var(--second-family);
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    cursor: pointer;
    transition: color .22s ease, border-bottom-color .22s ease;
}

.catalog-filter-sort__label{
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    transition: color .22s ease;
}

.catalog-filter-sort.is-open{
    border-bottom-color: var(--catalog-filter-accent);
}

.catalog-filter-view-switch{
    position: relative;
    width: min(100%, 244px);
    min-width: 0;
    flex: 0 0 244px;
    align-self: flex-start;
    margin-top: 1px;
    padding: 2px;
    border: 1px solid var(--catalog-filter-border);
    border-radius: 999px;
    background: var(--catalog-filter-surface);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    isolation: isolate;
    overflow: hidden;
    box-shadow: none;
}

.catalog-filter-view-switch::before{
    content: "";
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 2px;
    width: calc((100% - 4px) / 2);
    border-radius: 999px;
    background: var(--catalog-filter-accent);
    transform: translateX(calc(var(--catalog-view-switch-active-index, 0) * 100%));
    transition: transform .24s cubic-bezier(.22, .61, .36, 1), background-color .22s ease;
    z-index: 0;
}

.catalog-filter-view-switch__option{
    position: relative;
    z-index: 1;
    min-width: 0;
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--catalog-filter-text);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: color .22s ease;
}

.catalog-filter-view-switch__option-inner{
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.catalog-filter-view-switch__icon{
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.catalog-filter-view-switch__icon img{
    width: 14px;
    height: 14px;
    display: block;
    opacity: 0.9;
    transition: filter .22s ease, opacity .22s ease;
}

.catalog-filter-view-switch__text{
    min-width: 0;
    white-space: nowrap;
}

.catalog-filter-view-switch__option.is-active{
    color: var(--catalog-filter-surface);
}

.catalog-filter-view-switch__option.is-active .catalog-filter-view-switch__icon img{
    opacity: 1;
    filter: brightness(0) invert(1);
}

.catalog-filter-view-switch__option:disabled{
    cursor: default;
}

.catalog-filter-sort-dropdown{
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: auto;
    width: 100%;
    min-width: 100%;
    max-width: min(420px, calc(100vw - 32px));
    padding: 16px;
    border: 1px solid var(--catalog-filter-border-soft);
    background: var(--catalog-filter-surface);
    box-shadow: var(--catalog-filter-shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1110;
}

.catalog-filter-sort.is-open + .catalog-filter-sort-dropdown{
    border-top-color: var(--catalog-filter-accent);
}

.catalog-filter-sort-options{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.catalog-filter-sort-option{
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid transparent;
    background: #F5F5F5;
    color: var(--catalog-filter-text);
    font-family: var(--second-family);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.25;
    white-space: nowrap;
    text-align: left;
    cursor: pointer;
    transition: color .22s ease, background-color .22s ease, border-color .22s ease;
}

.catalog-filter-sort-option.is-active{
    border-color: var(--catalog-filter-accent);
    background: var(--catalog-filter-surface-active);
}

.catalog-filter-sort-apply{
    width: 100%;
    min-height: 48px;
    border: 0;
    background: var(--catalog-filter-accent);
    color: var(--catalog-filter-surface);
    font-family: "Unbounded", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: background-color .22s ease, box-shadow .22s ease;
}

.catalog-filter-reset{
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
    justify-content: center;
    padding: 0 0 16px;
    color: var(--catalog-filter-accent-soft);
    border-bottom-color: var(--catalog-filter-accent-soft);
}

.catalog-filter-popover__option,
.catalog-filter-popover__ghost,
.catalog-filter-popover__submit,
.catalog-filter-type-link,
.catalog-filter-type-option,
.catalog-filter-type-apply,
.catalog-filter-extra,
.catalog-filter-location-row,
.catalog-filter-location-row__selection,
.catalog-filter-location-row__main,
.catalog-filter-location-row__chevron,
.catalog-filter-location-row__selection-mark{
    transition: color .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

@media (hover: hover){
    .catalog-filter-tab:not(.is-active):hover{
        color: var(--catalog-filter-accent);
    }

    .catalog-filter-select:not(.is-open):not([disabled]):hover{
        background: var(--catalog-filter-surface-soft);
    }

    .catalog-filter-select:not(.is-open):not([disabled]):hover .catalog-filter-select__label,
    .catalog-filter-select:not(.is-open):not([disabled]):hover .catalog-filter-select__value{
        color: var(--catalog-filter-accent);
    }

    .catalog-filter-select:not(.is-open):not([disabled]):hover .catalog-icon-box img{
        filter: brightness(0) saturate(100%) invert(36%) sepia(98%) saturate(891%) hue-rotate(6deg) brightness(79%) contrast(83%);
    }

    .catalog-filter-popover__option:not(.is-active):not(.is-disabled):not(:disabled):hover,
    .catalog-filter-type-option:not(.is-active):not(:disabled):hover,
    .catalog-filter-sort-option:not(.is-active):hover{
        color: var(--catalog-filter-accent);
    }

    .catalog-filter-type-option--family:not(.is-active):not(:disabled):hover{
        border-color: var(--catalog-filter-accent-soft);
        background: var(--catalog-filter-surface);
    }

    .catalog-filter-type-option--list:not(.is-active):not(:disabled):hover{
        border-color: var(--catalog-filter-border);
        background: var(--catalog-filter-surface);
    }

    .catalog-filter-type-link:not(:disabled):hover{
        color: var(--catalog-filter-accent);
    }

    .catalog-filter-location-row:not(.catalog-filter-location-row--grandchild):not(.is-full):not(.is-partial):hover{
        background: var(--catalog-filter-surface);
        border-color: rgba(170, 128, 98, 0.55);
    }

    .catalog-filter-location-row.is-city-leaf:not(.is-full):not(.is-partial):hover{
        background: rgba(250, 248, 246, 0.62);
        border-color: rgba(202, 183, 169, 0.44);
    }

    .catalog-filter-location-row:not(.catalog-filter-location-row--grandchild).is-partial:hover{
        background: var(--catalog-filter-surface-subtle);
        border-color: rgba(170, 128, 98, 0.42);
    }

    .catalog-filter-location-row:not(.catalog-filter-location-row--grandchild):not(.is-city-leaf):not(.is-sector-leaf).is-full:hover{
        border-color: rgba(158, 91, 22, 0.7);
    }

    .catalog-filter-location-row__selection:not(.is-full):not(.is-partial):hover{
        border-color: var(--catalog-filter-accent-soft);
    }

    .catalog-filter-location-row__selection.is-partial:hover{
        border-color: rgba(170, 128, 98, 0.5);
        background: #FFFFFF;
    }

    .catalog-filter-location-row__selection.is-included:hover{
        border-color: var(--catalog-filter-accent);
        background: rgba(255, 249, 244, 0.98);
    }

    .catalog-filter-location-row__main.is-expandable:hover .catalog-filter-location-row__label,
    .catalog-filter-location-row__main--selectable:hover .catalog-filter-location-row__label,
    .catalog-filter-location-row__chevron:hover{
        color: var(--catalog-filter-accent);
    }

    .catalog-filter-popover__ghost:not(:disabled):hover{
        color: var(--catalog-filter-accent);
    }

    .catalog-filter-extra:not([disabled]):hover,
    .catalog-filter-sort:not([disabled]):hover{
        color: var(--catalog-filter-accent);
    }

    .catalog-filter-view-switch__option:not(.is-active):not(:disabled):hover{
        color: var(--catalog-filter-accent);
    }

    .catalog-filter-view-switch__option:not(.is-active):not(:disabled):hover .catalog-filter-view-switch__icon img{
        opacity: 1;
        filter: brightness(0) saturate(100%) invert(36%) sepia(98%) saturate(891%) hue-rotate(6deg) brightness(79%) contrast(83%);
    }
}

.catalog-filter-sort:not([disabled]):hover,
.catalog-filter-sort:focus-visible,
.catalog-filter-sort.is-open{
    color: var(--catalog-filter-accent);
    border-bottom-color: var(--catalog-filter-accent);
}

.catalog-filter-sort:not([disabled]):hover .catalog-filter-sort__label,
.catalog-filter-sort:focus-visible .catalog-filter-sort__label,
.catalog-filter-sort.is-open .catalog-filter-sort__label{
    color: var(--catalog-filter-accent);
}

.catalog-filter-sort:not([disabled]):hover .catalog-icon-box img,
.catalog-filter-sort:focus-visible .catalog-icon-box img,
.catalog-filter-sort.is-open .catalog-icon-box img{
    filter: brightness(0) saturate(100%) invert(36%) sepia(98%) saturate(891%) hue-rotate(6deg) brightness(79%) contrast(83%);
}

.catalog-filter-extra[disabled],
.catalog-filter-sort[disabled],
.catalog-filter-sort-apply[disabled]{
    opacity: 0.55;
    cursor: default;
}

.catalog-filter-found{
    color: var(--catalog-filter-text);
    font-family: var(--second-family);
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    white-space: nowrap;
}

.catalog-filter-select:focus-visible,
.catalog-filter-popover__option:focus-visible,
.catalog-filter-popover__ghost:focus-visible,
.catalog-filter-popover__submit:focus-visible,
.catalog-filter-type-link:focus-visible,
.catalog-filter-type-option:focus-visible,
.catalog-filter-type-apply:focus-visible,
.catalog-filter-location-row__selection:focus-visible,
.catalog-filter-location-row__main:focus-visible,
.catalog-filter-location-row__chevron:focus-visible,
.catalog-filter-view-switch__option:focus-visible,
.catalog-filter-extra:focus-visible,
.catalog-filter-sort:focus-visible,
.catalog-filter-sort-option:focus-visible,
.catalog-filter-sort-apply:focus-visible{
    outline: 2px solid var(--catalog-filter-accent);
    outline-offset: 2px;
}

/* =========================
    Catalog Map
    ========================= */
.catalog-map-section{
    --catalog-map-canvas-height: clamp(560px, 68vh, 820px);
    --catalog-map-control-size: 48px;
    --catalog-map-control-radius: 10px;
    --catalog-map-control-icon-color: #0A3D52;
    --catalog-map-control-icon-size: 20px;
    padding: 0 0 40px;
}

.catalog-map-shell{
    width: 1400px;
    max-width: 100%;
    border: 1px solid #CAB7A9;
    background:
            radial-gradient(circle at 8% 6%, rgba(9, 95, 126, 0.18), transparent 36%),
            radial-gradient(circle at 92% 10%, rgba(158, 91, 22, 0.18), transparent 34%),
            #F3EDE8;
    box-shadow: 0 18px 40px rgba(0, 46, 66, 0.16);
    padding: 20px;
    display: grid;
    gap: 16px;
    position: relative;
}

.catalog-map-section .catalog-map-shell{
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 0;
}

.catalog-map-section .catalog-map-shell__head{
    display: none;
}

.catalog-map-shell__head{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.catalog-map-shell__actions{
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}

.catalog-map-shell__title,
.catalog-map-shell__meta{
    margin: 0;
}

.catalog-map-shell__title{
    color: #0A3D52;
    font-family: var(--font-family);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
}

.catalog-map-shell__meta{
    color: #365563;
    font-family: var(--second-family);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
}

.catalog-map-shell__canvas{
    width: 100%;
    height: var(--catalog-map-canvas-height, clamp(560px, 68vh, 820px));
    border: 1px solid rgba(9, 95, 126, 0.25);
    border-radius: 20px;
    overflow: hidden;
    transition: height .34s cubic-bezier(.22, .61, .36, 1);
}

.catalog-map-shell__stage{
    position: relative;
    min-height: 0;
}

.catalog-map-shell__overlay-actions{
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1001;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.catalog-map-shell__overlay-actions .catalog-map-fullscreen-toggle,
.catalog-map-shell__overlay-actions .catalog-detail-map-modal__close{
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
    flex: 0 0 auto;
}

.catalog-map-section .catalog-map-shell__canvas{
    border: 0;
}

.catalog-map-section .catalog-map-fullscreen-toggle{
    width: var(--catalog-map-control-size);
    height: var(--catalog-map-control-size);
    border-radius: var(--catalog-map-control-radius);
    color: var(--catalog-map-control-icon-color);
}

.catalog-map-section .catalog-map-fullscreen-toggle__icon{
    width: var(--catalog-map-control-icon-size);
    height: var(--catalog-map-control-icon-size);
    flex: 0 0 var(--catalog-map-control-icon-size);
}

.catalog-map-section .catalog-map-fullscreen-toggle svg{
    width: var(--catalog-map-control-icon-size);
    height: var(--catalog-map-control-icon-size);
}

.catalog-map-fullscreen-toggle{
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1000;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #A1A1A1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: color .2s ease, opacity .2s ease;
}

.catalog-map-fullscreen-toggle::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(161, 161, 161, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

.catalog-map-shell__head .catalog-map-fullscreen-toggle{
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
    flex: 0 0 auto;
}

.catalog-map-fullscreen-toggle__icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    line-height: 0;
    position: relative;
    z-index: 1;
}

.catalog-map-fullscreen-toggle__icon--exit{
    display: none;
}

.catalog-map-fullscreen-toggle svg{
    width: 26px;
    height: 26px;
    display: block;
}

.catalog-map-shell.is-map-fullscreen .catalog-map-fullscreen-toggle__icon--enter,
.catalog-detail-map-modal__dialog.is-map-fullscreen .catalog-map-fullscreen-toggle__icon--enter{
    display: none;
}

.catalog-map-shell.is-map-fullscreen .catalog-map-fullscreen-toggle__icon--exit,
.catalog-detail-map-modal__dialog.is-map-fullscreen .catalog-map-fullscreen-toggle__icon--exit{
    display: inline-flex;
}

@media (hover: hover){
    .catalog-map-fullscreen-toggle:hover{
        color: #8F8F8F;
    }

    .catalog-map-fullscreen-toggle:hover::before{
        background: rgba(255, 255, 255, 0.48);
        border-color: rgba(161, 161, 161, 0.2);
    }

    .catalog-map-section .catalog-map-fullscreen-toggle:hover{
        color: var(--catalog-map-control-icon-color);
    }
}

.catalog-map-backtop{
    display: none;
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(10, 61, 82, 0.18);
    border-radius: var(--catalog-map-control-radius, 10px) !important;
    background: rgba(255, 255, 255, 0.96);
    color: var(--catalog-map-control-icon-color, #0A3D52);
    box-shadow: none;
    box-sizing: border-box;
    overflow: hidden;
    clip-path: inset(0 round var(--catalog-map-control-radius, 10px));
}

.catalog-map-backtop svg{
    width: var(--catalog-map-control-icon-size, 20px);
    height: var(--catalog-map-control-icon-size, 20px);
    display: block;
}

.catalog-map-backtop > span{
    display: inline-flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.catalog-map-shell__canvas .leaflet-container{
    width: 100%;
    height: 100%;
    font-family: var(--font-family);
    background: #DAE7EF;
}

.catalog-map-shell__canvas .leaflet-control-zoom{
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

.catalog-map-shell__canvas .leaflet-control-zoom a{
    color: #0A3D52;
    border: 0;
    width: 34px;
    height: 34px;
    line-height: 34px;
}

.catalog-map-shell__canvas .leaflet-control-zoom a:hover{
    background: #E5F0F6;
}

.catalog-map-marker{
    background: transparent;
    border: 0;
}

.catalog-map-pin{
    width: 24px;
    height: 24px;
    display: block;
    border-radius: 14px 14px 14px 2px;
    background: linear-gradient(135deg, #095F7E 0%, #0B89B4 100%);
    border: 2px solid #FFFFFF;
    box-shadow: 0 10px 18px rgba(9, 95, 126, 0.25);
    transform: rotate(-45deg);
    position: relative;
}

.catalog-map-pin::after{
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFFFFF;
}

.catalog-map-marker--cluster{
    background: transparent;
    border: 0;
}

.catalog-map-cluster{
    --cluster-size: 48px;
    position: relative;
    width: var(--cluster-size);
    height: var(--cluster-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #095F7E 0%, #0B89B4 100%);
    border: 1px solid rgba(9, 95, 126, 0.18);
    box-shadow: 0 10px 24px rgba(0, 46, 66, 0.10);
    color: #095F7E;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transform: translateZ(0);
    transition: transform .2s ease, box-shadow .2s ease;
    overflow: hidden;
}

.catalog-map-cluster::before{
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid rgba(9, 95, 126, 0.10);
    z-index: 0;
}

.catalog-map-cluster.is-medium{
    --cluster-size: 56px;
    font-size: 15px;
}

.catalog-map-cluster.is-large{
    --cluster-size: 64px;
    font-size: 16px;
}

.catalog-map-cluster__count{
    position: relative;
    z-index: 1;
}

.catalog-map-marker--cluster:hover .catalog-map-cluster{
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 46, 66, 0.16);
}

.catalog-map-marker--active{
    z-index: 1200 !important;
}

.catalog-map-marker--active .catalog-map-pin{
    background: #9E5B16;
    box-shadow: 0 12px 24px rgba(158, 91, 22, 0.28);
    transform: rotate(-45deg) scale(1.06);
}

.catalog-map-popup{
    width: 100%;
    max-width: 304px;
    color: #221E1F;
}

.catalog-map-popup-wrap .leaflet-popup-content .catalog-map-popup p,
.catalog-map-popup-wrap .leaflet-popup-content .catalog-map-popup h3,
.catalog-map-popup-wrap .leaflet-popup-content .catalog-map-popup figure,
.catalog-map-popup-wrap .leaflet-popup-content .catalog-map-popup a{
    margin: 0;
}

.catalog-map-popup-wrap .leaflet-popup-content-wrapper{
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #FFFFFF;
    border: 1px solid rgba(202, 183, 169, 0.34);
    box-shadow: 0 12px 28px rgba(17, 35, 44, 0.13);
}

.catalog-map-popup-wrap .leaflet-popup-content{
    width: min(304px, calc(100vw - 48px)) !important;
    margin: 0;
}

.catalog-map-popup-wrap .leaflet-popup-tip-container{
    width: 18px;
    height: 9px;
    margin-top: -1px;
}

.catalog-map-popup-wrap .leaflet-popup-tip{
    width: 14px;
    height: 14px;
    box-shadow: none;
    background: #FFFFFF;
}

.catalog-map-shell__canvas .leaflet-container .catalog-map-popup-wrap a.leaflet-popup-close-button{
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 3px 10px rgba(17, 35, 44, 0.12);
    color: rgba(34, 30, 31, 0.7);
    font: 17px/22px Tahoma, Verdana, sans-serif;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.catalog-map-shell__canvas .leaflet-container .catalog-map-popup-wrap a.leaflet-popup-close-button span{
    display: block;
    font: 17px/22px Tahoma, Verdana, sans-serif;
}

.leaflet-container a.leaflet-popup-close-button {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    text-align: center;
    width: 22px;
    height: 22px;
    font: 17px/22px Tahoma, Verdana, sans-serif;
    color: rgba(34, 30, 31, 0.7);
    text-decoration: none;
    background: transparent;
}

.catalog-map-popup__media{
    margin: 0;
    height: 98px;
    overflow: hidden;
    background: #EAE2DA;
}

.catalog-map-popup__media-link{
    display: block;
    width: 100%;
    height: 100%;
}

.catalog-map-popup__image{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-map-popup__body{
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.catalog-map-popup--no-media .catalog-map-popup__body{
    padding-right: 34px;
}

.catalog-map-popup__pricing,
.catalog-map-popup__copy{
    display: grid;
}

.catalog-map-popup__pricing{
    gap: 5px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.catalog-map-popup__copy{
    gap: 10px;
}

.catalog-map-popup__price{
    color: #221E1F;
    font-family: var(--font-family);
    font-size: 21px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
}

.catalog-map-popup__price-sub{
    color: #6C635D;
    font-family: var(--font-family);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.1;
}

.catalog-map-popup__title{
    color: #9E5B16;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.24;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-map-popup .catalog-map-popup__title-link{
    color: #9E5B16;
    text-decoration: none;
}

.catalog-map-popup .catalog-map-popup__title-link:visited{
    color: #9E5B16;
}

.catalog-map-popup__location{
    color: #4F4944;
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.28;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-map-popup__meta{
    color: #6B635C;
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-map-popup__meta-item{
    display: inline;
}

.catalog-map-popup__meta-item + .catalog-map-popup__meta-item::before{
    content: "·";
    margin: 0 6px;
    color: #A2958B;
}

.catalog-map-popup__meta + .catalog-map-popup__link{
    margin-top: 8px;
}

.catalog-map-popup .catalog-map-popup__link{
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9E5B16;
    font-family: var(--font-family);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    text-decoration-line: none;
    transform: translateX(0);
    transition: transform .22s ease;
}

.catalog-map-popup .catalog-map-popup__link::after{
    content: "\2192";
    display: inline-block;
    transform: translateX(0);
    transition: transform .22s ease;
}

.catalog-map-popup .catalog-map-popup__title-link:focus-visible,
.catalog-map-popup .catalog-map-popup__title-link:active,
.catalog-map-popup .catalog-map-popup__link:visited,
.catalog-map-popup .catalog-map-popup__link:focus-visible,
.catalog-map-popup .catalog-map-popup__link:active{
    color: #9E5B16;
}

.catalog-map-popup .catalog-map-popup__link:focus-visible,
.catalog-map-popup .catalog-map-popup__link:active{
    text-decoration: none;
    text-decoration-line: none;
    transform: translateX(2px);
}

.catalog-map-popup .catalog-map-popup__link:focus-visible::after,
.catalog-map-popup .catalog-map-popup__link:active::after{
    transform: translateX(2px);
}

@media (hover: hover){
    .catalog-map-popup .catalog-map-popup__title-link:hover{
        color: #9E5B16;
        text-decoration: underline;
    }

    .catalog-map-popup .catalog-map-popup__link:hover{
        color: #9E5B16;
        text-decoration: none;
        text-decoration-line: none;
        transform: translateX(2px);
    }

    .catalog-map-popup .catalog-map-popup__link:hover::after{
        transform: translateX(2px);
    }

    .catalog-map-shell__canvas .leaflet-container .catalog-map-popup-wrap a.leaflet-popup-close-button:hover{
        background: #FFFFFF;
        color: #221E1F;
        box-shadow: 0 4px 12px rgba(17, 35, 44, 0.16);
    }
}

@media (prefers-reduced-motion: reduce){
    .catalog-map-popup .catalog-map-popup__link,
    .catalog-map-popup .catalog-map-popup__link::after{
        transition: none;
        transform: none;
    }
}

.catalog-map-mobile-card{
    --catalog-map-mobile-card-media-height: clamp(92px, 23vw, 108px);
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1050;
    opacity: 0;
    transform: translate3d(0, var(--catalog-map-mobile-card-translate-y, 10px), 0);
    pointer-events: none;
    will-change: transform, opacity;
    transition: opacity .22s ease, transform .22s cubic-bezier(.22, .61, .36, 1);
}

.catalog-map-mobile-card[hidden]{
    display: none;
}

.catalog-map-mobile-card.is-visible{
    opacity: 1;
    --catalog-map-mobile-card-translate-y: 0px;
}

.catalog-map-mobile-card.is-dragging{
    transition: none;
}

.catalog-map-mobile-card.is-dragging .catalog-map-mobile-card__panel{
    box-shadow: 0 14px 30px rgba(17, 35, 44, 0.14);
}

.catalog-map-mobile-card.is-dismissing .catalog-map-mobile-card__panel{
    pointer-events: none;
}

.catalog-map-mobile-card__panel{
    position: relative;
    width: 100%;
    max-height: min(248px, calc(100% - 88px));
    overflow: hidden;
    border-radius: 18px;
    background: #fffefc;
    box-shadow: 0 8px 18px rgba(17, 35, 44, 0.08);
    pointer-events: auto;
    touch-action: none;
    overscroll-behavior: none;
    transition: box-shadow .22s ease;
}

.catalog-map-mobile-card__close:focus-visible{
    outline: 2px solid #9E5B16;
    outline-offset: 2px;
}

.catalog-map-mobile-card__content{
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    transition: opacity .16s ease, transform .18s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}

.catalog-map-mobile-card__content.is-swapping-out,
.catalog-map-mobile-card__content.is-swapping-in{
    opacity: 0;
    transform: translateY(6px);
}

.catalog-map-mobile-card__close{
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.94);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(17, 35, 44, 0.32);
    transition: opacity .2s ease, color .2s ease;
}

.catalog-map-mobile-card__close span{
    display: block;
    font: 22px/1 Arial, sans-serif;
    transform: translateY(-1px);
}

.catalog-map-mobile-card--no-media .catalog-map-mobile-card__close{
    top: 2px;
    right: 4px;
    color: rgba(34, 30, 31, 0.56);
    text-shadow: none;
}

.catalog-map-mobile-card .catalog-map-popup{
    max-width: none;
    min-width: 0;
}

.catalog-map-mobile-card .catalog-map-popup__media{
    width: 100%;
    height: var(--catalog-map-mobile-card-media-height);
    margin: 0;
    overflow: hidden;
    background: #EDE5DE;
}

.catalog-map-mobile-card .catalog-map-popup__media-link{
    display: block;
    width: 100%;
    height: 100%;
}

.catalog-map-mobile-card .catalog-map-popup__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-map-mobile-card .catalog-map-popup__body,
.catalog-map-mobile-card .catalog-map-popup--with-media .catalog-map-popup__body,
.catalog-map-mobile-card .catalog-map-popup--no-media .catalog-map-popup__body{
    min-width: 0;
    padding: 10px 12px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
}

.catalog-map-mobile-card .catalog-map-popup--no-media .catalog-map-popup__body{
    padding-top: 12px;
    padding-right: 44px;
}

.catalog-map-mobile-card .catalog-map-popup__copy,
.catalog-map-mobile-card .catalog-map-popup__pricing{
    min-width: 0;
    display: grid;
    gap: 3px;
}

.catalog-map-mobile-card .catalog-map-popup__pricing{
    margin: 0;
}

.catalog-map-mobile-card .catalog-map-popup__title{
    margin: 0;
    font-size: clamp(14px, 4vw, 15px);
    line-height: 1.24;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-map-mobile-card .catalog-map-popup__location{
    margin: 0;
    color: #4F4944;
    font-size: 11.5px;
    line-height: 1.24;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-map-mobile-card .catalog-map-popup__price{
    margin: 0;
    font-size: clamp(18px, 5vw, 21px);
    line-height: 1;
    letter-spacing: -0.02em;
}

.catalog-map-mobile-card .catalog-map-popup__price-sub{
    margin: 0;
    color: #6B635C;
    font-size: 10.5px;
    line-height: 1.12;
}

.catalog-map-mobile-card .catalog-map-popup__meta{
    margin: 0 !important;
    min-width: 0;
    font-size: 11.5px;
    line-height: 1.24;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-map-mobile-card .catalog-map-popup__meta + .catalog-map-popup__link{
    margin-top: 1px;
}

.catalog-map-mobile-card .catalog-map-popup__link{
    width: auto;
    min-height: 0;
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    color: #9E5B16;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    text-decoration-line: none;
    transform: translateX(0);
    transition: transform .22s ease;
}

.catalog-map-mobile-card .catalog-map-popup__link:visited,
.catalog-map-mobile-card .catalog-map-popup__link:focus-visible,
.catalog-map-mobile-card .catalog-map-popup__link:active{
    color: #9E5B16;
    text-decoration: none;
    text-decoration-line: none;
}

.catalog-map-mobile-card .catalog-map-popup__link::after{
    transform: translateX(0);
}

@media (hover: hover){
    .catalog-map-mobile-card__close:hover{
        opacity: 0.72;
    }

    .catalog-map-mobile-card .catalog-map-popup__link:hover{
        color: #9E5B16;
        transform: translateX(2px);
    }

    .catalog-map-mobile-card .catalog-map-popup__link:hover::after{
        transform: translateX(2px);
    }
}

@media (prefers-reduced-motion: reduce){
    .catalog-map-mobile-card,
    .catalog-map-mobile-card__content,
    .catalog-map-mobile-card .catalog-map-popup__link,
    .catalog-map-mobile-card .catalog-map-popup__link::after{
        transition: none;
    }

    .catalog-map-mobile-card__content,
    .catalog-map-mobile-card .catalog-map-popup__link,
    .catalog-map-mobile-card .catalog-map-popup__link::after{
        transform: none;
    }
}

.catalog-map-section .catalog-map-shell.is-map-fullscreen{
    position: fixed;
    inset: 0;
    z-index: 3200;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    padding: 0;
    gap: 0;
    border: 0;
    border-radius: 0;
    background: #F3EDE8;
    box-shadow: none;
    overscroll-behavior: none;
}

.catalog-map-section .catalog-map-shell.is-map-fullscreen .catalog-map-shell__stage,
.catalog-map-section .catalog-map-shell.is-map-fullscreen .catalog-map-mobile-card,
.catalog-map-section .catalog-map-shell.is-map-fullscreen .catalog-map-mobile-card__panel{
    overscroll-behavior: none;
}

.catalog-map-section .catalog-map-shell.is-map-fullscreen .catalog-map-shell__canvas{
    height: 100dvh;
    border: 0;
    border-radius: 0;
}

.catalog-map-section .catalog-map-shell.is-map-fullscreen .catalog-map-fullscreen-toggle{
    top: calc(env(safe-area-inset-top, 0px) + 16px);
    right: calc(env(safe-area-inset-right, 0px) + 16px);
}

body.catalog-map-fullscreen-open .catalog-map-backtop{
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 1023.98px){
    .catalog-map-section{
        --catalog-map-canvas-height: clamp(460px, 60vh, 700px);
    }

    .catalog-map-shell{
        padding: 14px;
    }

    .catalog-map-shell__head{
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-map-shell__title{
        font-size: 24px;
    }

    .catalog-map-shell__canvas{
        border-radius: 16px;
        height: var(--catalog-map-canvas-height, clamp(460px, 60vh, 700px));
    }

    .catalog-map-fullscreen-toggle{
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .catalog-map-section .catalog-map-fullscreen-toggle{
        width: var(--catalog-map-control-size);
        height: var(--catalog-map-control-size);
        border-radius: var(--catalog-map-control-radius);
    }

    .catalog-map-cluster{
        --cluster-size: 44px;
        font-size: 13px;
    }

    .catalog-map-cluster.is-medium{
        --cluster-size: 52px;
        font-size: 14px;
    }

    .catalog-map-cluster.is-large{
        --cluster-size: 60px;
        font-size: 15px;
    }
}

@media (max-width: 767.98px){
    .catalog-map-section{
        --catalog-map-canvas-height: clamp(360px, calc(100dvh - var(--site-header-h) - 120px), 680px);
    }

    .catalog-map-shell{
        padding: 12px;
    }

    .catalog-map-shell__canvas{
        border-radius: 12px;
        height: var(--catalog-map-canvas-height, clamp(360px, calc(100dvh - var(--site-header-h) - 120px), 680px));
    }

    .catalog-map-mobile-card{
        --catalog-map-mobile-card-media-height: clamp(92px, 23vw, 108px);
    }

    .catalog-map-fullscreen-toggle{
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
    }

    .catalog-map-section .catalog-map-fullscreen-toggle{
        width: var(--catalog-map-control-size);
        height: var(--catalog-map-control-size);
        border-radius: var(--catalog-map-control-radius);
    }

    .catalog-map-section .catalog-map-shell.is-map-fullscreen .catalog-map-fullscreen-toggle{
        top: calc(env(safe-area-inset-top, 0px) + 12px);
        right: calc(env(safe-area-inset-right, 0px) + 12px);
    }

    .catalog-map-popup-wrap .leaflet-popup-content{
        width: min(304px, calc(100vw - 32px)) !important;
    }

    .catalog-map-popup__media{
        height: 88px;
    }

    .catalog-map-popup__body{
        padding: 9px 11px 10px;
        gap: 5px;
    }

    .catalog-map-popup--no-media .catalog-map-popup__body{
        padding-right: 31px;
    }

    .catalog-map-popup__price{
        font-size: 18px;
    }

    .catalog-map-popup__title{
        font-size: 14px;
    }

    .catalog-map-popup__location,
    .catalog-map-popup__meta,
    .catalog-map-popup__link{
        font-size: 12px;
    }
}

@media (max-width: 430px){
    .catalog-map-mobile-card{
        --catalog-map-mobile-card-media-height: clamp(84px, 24vw, 96px);
    }

    .catalog-map-mobile-card__panel{
        border-radius: 16px;
    }

    .catalog-map-mobile-card .catalog-map-popup__body,
    .catalog-map-mobile-card .catalog-map-popup--with-media .catalog-map-popup__body,
    .catalog-map-mobile-card .catalog-map-popup--no-media .catalog-map-popup__body{
        padding: 9px 11px 11px;
        gap: 6px;
    }

    .catalog-map-mobile-card .catalog-map-popup__title{
        font-size: 14px;
    }

    .catalog-map-mobile-card .catalog-map-popup__location,
    .catalog-map-mobile-card .catalog-map-popup__meta,
    .catalog-map-mobile-card .catalog-map-popup__price-sub,
    .catalog-map-mobile-card .catalog-map-popup__link{
        font-size: 11.5px;
    }
}

/* =========================
    Catalog Items
    ========================= */
.catalog-items{
    padding: 0 0 40px;
}

.catalog-items__inner{
    width: 1400px;
    max-width: 100%;
    display: grid;
    gap: 40px;
}

.catalog-items__top{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.catalog-items__grid{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.catalog-items__top.catalog-items__slider,
.catalog-items__grid.catalog-items__slider{
    display: block;
    overflow: hidden;
}

.catalog-items__slider .swiper-wrapper{
    align-items: stretch;
}

.catalog-items__slide{
    height: auto;
}

.catalog-items__slide .catalog-property-card{
    height: 100%;
}

.catalog-items__card{
    min-width: 0;
}

.catalog-items__card .catalog-property-card{
    height: 100%;
}

.catalog-items__loadmore-wrap{
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.catalog-items__loadmore-wrap:empty{
    display: none;
    padding: 0;
}

html[data-catalog-view-mode="map"] .catalog-items__loadmore-wrap{
    display: none !important;
}

.catalog-items__loadmore{
    width: 100%;
    height: 64px;
    padding: 16px 60px;
    border: 2px solid #095F7E;
    background: #095F7E;
    color: #FFFFFF;
    font-family: "Unbounded", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.25s, color 0.25s;
}

.catalog-items__loadmore:hover,
.catalog-items__loadmore:focus-visible{
    background: #095F7E;
    color: #FFFFFF;
}

.catalog-items__loadmore.is-loading{
    background: #FFFFFF;
    color: #095F7E;
    cursor: wait;
}

.catalog-items--has-loadmore{
    padding-bottom: 0;
}

.catalog-items--no-loadmore{
    padding-bottom: 40px;
}

.catalog-property-card{
    width: 100%;
    background: #F0EAE3;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.catalog-property-card--top{
    height: 679.09px;
}

.catalog-property-card__media{
    position: relative;
    width: 100%;
    overflow: hidden;
}

.catalog-property-card__media.swiper{
    overflow: hidden;
}

.catalog-property-card__media .swiper-wrapper{
    height: 100%;
}

.catalog-property-card__media .swiper-slide{
    height: 100%;
}

.catalog-property-card--top .catalog-property-card__media{
    height: 484.09px;
}

.catalog-property-card--regular .catalog-property-card__media{
    aspect-ratio: 680 / 484.09;
}

.catalog-property-card__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-property-card__media-link{
    display: block;
    width: 100%;
    height: 100%;
}

.catalog-property-card__arrow{
    position: absolute;
    top: 50%;
    width: 53px;
    height: 53px;
    border: 0;
    padding: 0;
    transform: translateY(-50%);
    background: rgba(9, 95, 126, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background-color .22s ease;
}

.catalog-property-card__arrow--prev{
    left: 20px;
}

.catalog-property-card__arrow--next{
    right: 20px;
}

.catalog-property-card__arrow-icon{
    width: 33.47px;
    height: 33.47px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.catalog-property-card__arrow-icon img{
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
}

.catalog-property-card--regular .catalog-property-card__arrow{
    width: 38px;
    height: 38px;
    background: rgba(9, 95, 126, 0.5);
}

@media (hover: hover){
    .catalog-property-card__arrow:hover{
        background: rgba(9, 95, 126, 0.65);
    }
}

.catalog-property-card--regular .catalog-property-card__arrow-icon{
    width: 24px;
    height: 24px;
}

.catalog-property-card__dots{
    position: absolute;
    left: 12px;
    bottom: 15px;
    z-index: 3;
    height: 8px;
    overflow: hidden;
}

.catalog-property-card__dots.swiper-pagination{
    left: 12px;
    right: auto;
    top: auto;
    bottom: 15px;
    width: auto;
    transform: none !important;
    text-align: left;
    line-height: 0;
    white-space: nowrap;
}

.catalog-property-card__dots.swiper-pagination.swiper-pagination-bullets-dynamic{
    left: 12px;
    right: auto;
    width: auto !important;
    transform: none;
}

/* track-ul nostru */
.catalog-property-card__dots .cbc-pagination__track {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.catalog-property-card__dots .swiper-pagination-bullet{
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 3px !important;
    flex-shrink: 0;
    border-radius: 999px;
    background: #ffffff;
    opacity: 0.45;
    transform: scale(0.72);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: center;
}

.catalog-property-card__dots .swiper-pagination-bullet-active,
.catalog-property-card__dots .swiper-pagination-bullet-active-main{
    opacity: 1;
    transform: scale(1);
}

.catalog-property-card__dots .swiper-pagination-bullet-active-prev,
.catalog-property-card__dots .swiper-pagination-bullet-active-next{
    opacity: 0.75;
    transform: scale(0.86);
}

.catalog-property-card__dots .swiper-pagination-bullet-active-prev-prev,
.catalog-property-card__dots .swiper-pagination-bullet-active-next-next{
    opacity: 0.55;
    transform: scale(0.72);
}

.catalog-property-card__body{
    width: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #F0EAE3;
}

.catalog-property-card--top .catalog-property-card__body{
    height: 195px;
}

.catalog-property-card--regular .catalog-property-card__body{
    min-height: 185px;
    padding: 20px;
    gap: 16px;
    flex: 1 1 auto;
}

.catalog-property-card__main{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.catalog-property-card--regular .catalog-property-card__main{
    gap: 10px;
}

.catalog-property-card__head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.catalog-property-card__brand,
.catalog-property-card__lot,
.catalog-property-card__title,
.catalog-property-card__address,
.catalog-property-card__price-main,
.catalog-property-card__price-sub,
.catalog-property-card__fact-label,
.catalog-property-card__fact-value{
    margin: 0;
}

.catalog-property-card__brand{
    color: #979797;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.catalog-property-card__lot{
    color: #221E1F;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
}

.catalog-property-card__title{
    color: #9E5B16;
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
}

.catalog-property-card__title-link{
    color: inherit;
    text-decoration: none;
}

.catalog-property-card__title-link:hover,
.catalog-property-card__title-link:focus-visible{
    text-decoration: underline;
}

.catalog-property-card__address{
    color: #221E1F;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
}

.catalog-property-card__footer{
    min-height: 44px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.catalog-property-card--regular .catalog-property-card__footer{
    margin-top: auto;
}

.catalog-property-card__price{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: max-content;
}

.catalog-property-card__price-main{
    color: #221E1F;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}

.catalog-property-card__price-sub{
    margin-top: 6px;
    color: #221E1F;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

.catalog-property-card__facts{
    margin-left: auto;
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

.catalog-property-card__fact{
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.catalog-property-card__fact-label{
    color: #979797;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
}

.catalog-property-card__fact-value{
    color: #221E1F;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.1;
}

.catalog-property-card--regular .catalog-property-card__facts{
    gap: 16px;
}

.catalog-property-card--clickable{
    cursor: pointer;
}

.catalog-property-card--clickable:focus-visible{
    outline: 2px solid #095F7E;
    outline-offset: 2px;
}

.catalog-property-card__arrow:focus-visible{
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* =========================
    Catalog Detail
    ========================= */
.catalog-detail-intro{
    margin-top: 30px;
    padding-bottom: 115.24px;
}

.catalog-detail__shell{
    width: 1400px;
    max-width: 100%;
}

.catalog-detail__breadcrumb{
    margin: 0;
}

.catalog-detail__content{
    width: 100%;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(2, 662px);
    gap: 76px;
    align-items: start;
}

.catalog-detail-gallery,
.catalog-detail-info{
    width: 662px;
}

.catalog-detail-gallery{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.catalog-detail-gallery__main{
    position: relative;
    width: 100%;
    height: 466px;
    overflow: hidden;
    background: #F0EAE3;
    cursor: zoom-in;
}

.catalog-detail-gallery__main.swiper{
    overflow: hidden;
}

.catalog-detail-gallery__main .swiper-wrapper{
    height: 100%;
}

.catalog-detail-gallery__main .swiper-slide{
    height: 100%;
}

.catalog-detail-gallery__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-detail-gallery__arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
}

.catalog-detail-gallery__arrow--prev{
    left: 11px;
}

.catalog-detail-gallery__arrow--next{
    right: 11px;
}

.catalog-detail-gallery__arrow-icon{
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.catalog-detail-gallery__arrow-icon img{
    width: 7px;
    height: 12px;
}

.catalog-detail-gallery__thumbs{
    width: 100%;
    display: flex;
    gap: 20px;
}

/* Animated viewport + track (used when > 3 photos) */
.catalog-detail-gallery__thumbs-viewport{
    overflow: hidden;
    flex: 1 1 0;
    min-width: 0;
    container-type: inline-size;
}

.catalog-detail-gallery__thumbs-track{
    display: flex;
    gap: 20px;
    transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.catalog-detail-gallery__thumbs-track .catalog-detail-gallery__thumb{
    flex: none;
    width: calc((100cqw - 2 * 20px) / 3);
    height: auto;
    aspect-ratio: 150.5 / 105.76;
}


/* plain thumb (ultima poză) */
.catalog-detail-gallery__more.is-plain-thumb .catalog-detail-gallery__more-img {
    filter: none;
    opacity: 1;
}

/* overlay text dispare în plain mode */
.catalog-detail-gallery__more.is-plain-thumb .catalog-detail-gallery__more-overlay {
    display: none;
}

/* contur pentru active (și pe more button) –
    ::after cu z-index > imagine/overlay, ca să fie vizibil mereu */
.catalog-detail-gallery__thumb.is-active::after,
.catalog-detail-gallery__more.is-active::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid #9E5B16;
    pointer-events: none;
    z-index: 10;
}

/* ensure browsers that apply display:none for [hidden] within flex/grid still hide slot buttons */
.catalog-detail-gallery__thumb[hidden],
.catalog-detail-gallery__more[hidden]{
    display: none;
}

.catalog-detail-gallery__thumb,
.catalog-detail-gallery__more{
    width: 150.5px;
    height: 105.76px;
    border: 0;
    padding: 0;
    overflow: hidden;
}

.catalog-detail-gallery__thumb{
    position: relative;   /* necesar pentru ::after */
    background: transparent;
    cursor: pointer;
}

.catalog-detail-gallery__thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* regula de active pentru __thumb e tratată de ::after de mai sus */

.catalog-detail-gallery__more{
    position: relative;
    background: #F0EAE3;
    color: #221E1F;
    font-family: var(--font-family);
    cursor: pointer;
    overflow: hidden;
}

.catalog-detail-gallery__more-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.catalog-detail-gallery__more-overlay{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.48);
    color: #fff;
    font-family: var(--font-family);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.catalog-detail-gallery__more-text{
    white-space: pre-line;
}

/* Slot-4 in "plain thumb" mode (last photo, no hidden remaining) */
.catalog-detail-gallery__more.is-plain-thumb{
    background: transparent;
    cursor: pointer;
}

.catalog-detail-gallery__more.is-plain-thumb .catalog-detail-gallery__more-overlay{
    display: none;
}

/* .is-plain-thumb.is-active folosește același ::after definit mai sus */

/* ================================================================
    Lightbox
    ================================================================ */

.cbc-lightbox{
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.cbc-lightbox[hidden]{
    display: none;
}

.cbc-lightbox__backdrop{
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 7, 0.90);
    cursor: pointer;
}

.cbc-lightbox__shell{
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: none;
}

/* — top bar — */
.cbc-lightbox__topbar{
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 10px;
    gap: 16px;
    pointer-events: auto;
}

.cbc-lightbox__counter{
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.70);
    letter-spacing: 0.06em;
}

.cbc-lightbox__close{
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s;
    flex-shrink: 0;
}

.cbc-lightbox__close:hover,
.cbc-lightbox__close:focus-visible{
    background: rgba(255, 255, 255, 0.22);
    outline: none;
}

/* — stage — */
.cbc-lightbox__stage{
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    min-height: 0;
    gap: 0;
    padding: 0 24px;
    pointer-events: auto;
}

.cbc-lightbox__viewport{
    flex: 1 1 auto;
    overflow: hidden;
    height: 100%;
    min-width: 0;
}

.cbc-lightbox__track{
    display: flex;
    height: 100%;
    will-change: transform;
}

.cbc-lightbox__slide{
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
}

.cbc-lightbox__img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    border-radius: 2px;
}

/* — arrows — */
.cbc-lightbox__arrow{
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* generous padding extends the dead-zone around the icon */
    padding: 10px;
    box-sizing: content-box;
    transition: background 0.15s;
    flex-shrink: 0;
    color: #fff;
}

.cbc-lightbox__arrow:hover,
.cbc-lightbox__arrow:focus-visible{
    background: rgba(255, 255, 255, 0.22);
    outline: none;
}

.cbc-lightbox__arrow:disabled{
    opacity: 0.25;
    pointer-events: none;
}

.cbc-lightbox__arrow-svg{
    display: block;
    width: 18px;
    height: 10px;
}

/* — filmstrip — */
.cbc-lightbox__filmstrip{
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 20px 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
}

.cbc-lightbox__filmstrip::-webkit-scrollbar{
    display: none;
}

.cbc-lightbox__film-thumb{
    flex: 0 0 98px;
    width: 98px;
    height: 70px;
    border: 2px solid transparent;
    padding: 0;
    overflow: hidden;
    border-radius: 3px;
    cursor: pointer;
    background: transparent;
    opacity: 0.55;
    transition: opacity 0.15s, border-color 0.15s;
}

.cbc-lightbox__film-thumb:hover{
    opacity: 0.80;
}

.cbc-lightbox__film-thumb.is-active{
    border-color: #AA8062;
    opacity: 1;
}

.cbc-lightbox__film-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    display: block;
}

/* — body lock when open — */
body.cbc-lightbox-open{
    overflow: hidden;
    overscroll-behavior-y: none;
}

.catalog-detail-info{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.catalog-detail-info__title,
.catalog-detail-info__address,
.catalog-detail-info__price-main,
.catalog-detail-info__price-sub,
.catalog-detail-info__fact-label,
.catalog-detail-info__fact-value,
.catalog-detail-info__description{
    margin: 0;
}

.catalog-detail-info__title{
    color: #AA8062;
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.catalog-detail-info__address{
    min-height: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #221E1F;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}

.catalog-detail-info__location{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.catalog-detail-info__address img{
    width: 15px;
    height: 18px;
    flex: 0 0 15px;
}

.catalog-detail-info__map-link{
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    text-decoration-color: rgba(158, 91, 22, 0.45);
    cursor: pointer;
    transition: color .2s ease, text-decoration-color .2s ease;
    white-space: nowrap;
}

.catalog-detail-info__map-link:hover,
.catalog-detail-info__map-link:focus-visible{
    color: var(--accent);
    text-decoration-color: var(--accent);
}

.catalog-detail-info__summary{
    width: 100%;
    min-height: 59px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.catalog-detail-info__price{
    min-width: max-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.catalog-detail-info__price-main{
    color: #221E1F;
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
}

.catalog-detail-info__price-sub{
    margin-top: 8px;
    color: #221E1F;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
}

.catalog-detail-info__facts{
    margin-left: auto;
    min-height: 52px;
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.catalog-detail-info__fact{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.catalog-detail-info__fact-label{
    color: #979797;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.catalog-detail-info__fact-value{
    color: #221E1F;
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.catalog-detail-info__description{
    width: 100%;
    color: #221E1F;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
}

.catalog-detail-info__actions{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.catalog-detail-info__actions--single{
    grid-template-columns: minmax(0, 1fr);
}

.catalog-detail-info__button{
    width: 100%;
    min-height: 64px;
    padding: 16px 60px;
    border: 1px solid transparent;
    font-family: "Unbounded", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .22s ease, border-color .22s ease, color .22s ease;
}

.catalog-detail-info__button--primary{
    background: #9E5B16;
    color: #FFFFFF;
}

.catalog-detail-info__button--secondary{
    background: #FFFFFF;
    color: #9E5B16;
    border-color: #9E5B16;
}

@media (hover: hover){
    .catalog-detail-info__button--primary:hover{
        background: #8A4E12;
        border-color: #8A4E12;
    }

    .catalog-detail-info__button--secondary:hover{
        background: rgba(158, 91, 22, 0.08);
        color: #8A4E12;
    }
}

.catalog-detail-gallery__arrow:focus-visible,
.catalog-detail-gallery__thumb:focus-visible,
.catalog-detail-gallery__more:focus-visible,
.catalog-detail-info__button:focus-visible,
.catalog-detail-info__map-link:focus-visible,
.catalog-map-fullscreen-toggle:focus-visible,
.catalog-detail-map-modal__close:focus-visible{
    outline: 2px solid #9E5B16;
    outline-offset: 2px;
}

html.catalog-map-fullscreen-open,
body.catalog-detail-map-modal-open,
body.catalog-map-fullscreen-open{
    overflow: hidden;
    overscroll-behavior: none;
}

.catalog-detail-map-modal{
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 2.5vw, 32px);
}

.catalog-detail-map-modal.is-map-fullscreen{
    inset: 0;
    z-index: 3200;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
}

.catalog-detail-map-modal[hidden]{
    display: none;
}

.catalog-detail-map-modal__overlay{
    position: absolute;
    inset: 0;
    background: rgba(24, 31, 36, 0.26);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.catalog-detail-map-modal__dialog{
    --catalog-detail-map-inline-pad: clamp(20px, 2.4vw, 28px);
    --catalog-detail-map-head-pad-top: clamp(18px, 2.2vw, 24px);
    --catalog-detail-map-head-pad-bottom: clamp(14px, 1.8vw, 18px);
    --catalog-detail-map-overlay-top: clamp(14px, 2vw, 18px);
    position: relative;
    z-index: 1;
    width: min(1040px, calc(100vw - clamp(40px, 5vw, 64px)));
    max-height: calc(100dvh - clamp(40px, 5vw, 64px));
    overflow: hidden;
}

.catalog-detail-map-modal__dialog .catalog-map-shell{
    width: 100%;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0;
    padding: 0;
    border: 1px solid rgba(10, 61, 82, 0.08);
    border-radius: 28px;
    background: #FFFFFF;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(17, 35, 44, 0.16), 0 10px 24px rgba(17, 35, 44, 0.08);
}

.catalog-detail-map-modal__dialog .catalog-map-shell__stage{
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.catalog-detail-map-modal__dialog .catalog-map-shell__head{
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: var(--catalog-detail-map-head-pad-top) var(--catalog-detail-map-inline-pad) var(--catalog-detail-map-head-pad-bottom);
    background: #FFFFFF;
}

.catalog-detail-map-modal__dialog .catalog-map-shell__title{
    flex: 1 1 auto;
    min-width: 0;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.12;
}

.catalog-detail-map-modal__dialog .catalog-map-shell__canvas{
    flex: 1 1 auto;
    height: clamp(360px, 62dvh, 720px);
    border: 0;
    border-radius: 0 0 28px 28px;
    transition: none;
}

.catalog-detail-map-modal__dialog .catalog-map-shell__overlay-actions{
    top: var(--catalog-detail-map-overlay-top);
    right: var(--catalog-detail-map-inline-pad);
}

.catalog-detail-map-overlay{
    position: absolute;
    left: var(--catalog-detail-map-inline-pad);
    bottom: clamp(16px, 2vw, 22px);
    z-index: 950;
    display: flex;
    align-items: center;
    gap: 16px;
    width: fit-content;
    min-width: min(350px, calc(100% - 32px));
    max-width: calc(100% - (var(--catalog-detail-map-inline-pad) * 2));
    padding: 10px 18px;
    border: 1px solid rgba(10, 61, 82, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 38px rgba(17, 35, 44, 0.08), 0 6px 16px rgba(17, 35, 44, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    pointer-events: none;
}

.catalog-detail-map-overlay__pin{
    width: 16px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    margin-top: 1px;
    flex: 0 0 16px;
}

.catalog-detail-map-overlay__pin img{
    width: 16px;
    height: 18px;
    display: block;
}

.catalog-detail-map-overlay__content{
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px 52px;
}

.catalog-detail-map-overlay__location,
.catalog-detail-map-overlay__price{
    margin: 0;
}

.catalog-detail-map-overlay__location{
    flex: 1 1 auto;
    min-width: 0;
    color: #193845;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-detail-map-overlay__price{
    flex: 0 0 auto;
    color: #0A3D52;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
}

.catalog-detail-map-modal__dialog.is-map-fullscreen{
    width: 100vw;
    max-width: none;
    max-height: none;
    height: 100dvh;
}

.catalog-detail-map-modal__dialog.is-map-fullscreen .catalog-map-shell{
    height: 100%;
    border-radius: 0;
}

.catalog-detail-map-modal__dialog.is-map-fullscreen .catalog-map-shell__head{
    padding-top: calc(env(safe-area-inset-top, 0px) + var(--catalog-detail-map-head-pad-top));
    padding-right: calc(env(safe-area-inset-right, 0px) + var(--catalog-detail-map-inline-pad));
    padding-left: calc(env(safe-area-inset-left, 0px) + var(--catalog-detail-map-inline-pad));
}

.catalog-detail-map-modal__dialog.is-map-fullscreen .catalog-map-shell__stage{
    height: 100%;
}

.catalog-detail-map-modal__dialog.is-map-fullscreen .catalog-map-shell__overlay-actions{
    top: var(--catalog-detail-map-overlay-top);
    right: calc(env(safe-area-inset-right, 0px) + var(--catalog-detail-map-inline-pad));
}

.catalog-detail-map-modal__dialog.is-map-fullscreen .catalog-detail-map-overlay{
    left: calc(env(safe-area-inset-left, 0px) + var(--catalog-detail-map-inline-pad));
    bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
    min-width: min(350px, calc(100% - 48px));
    max-width: calc(100% - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px) - (var(--catalog-detail-map-inline-pad) * 2));
}

.catalog-detail-map-modal__dialog.is-map-fullscreen .catalog-map-shell__canvas{
    height: 100%;
    min-height: 100%;
    border-radius: 0;
}

.catalog-detail-map-modal__close{
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #095F7E;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: opacity .2s ease, background-color .2s ease;
}

.catalog-detail-map-modal__close--header{
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
    flex: 0 0 auto;
}

.catalog-detail-map-modal__close--desktop{
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 4;
}

.catalog-detail-map-modal__close-icon{
    width: 18px;
    height: 18px;
    display: block;
}

.catalog-detail-map-modal__close img{
    display: block;
    width: 18px;
    height: 18px;
}

.catalog-detail-map-modal__close--mobile{
    display: none;
    font-size: 0;
}

@keyframes catalogDetailMapModalFadeIn{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

@keyframes catalogDetailMapModalDialogIn{
    from{
        opacity: 0;
        transform: translate3d(0, 12px, 0) scale(0.985);
    }
    to{
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@media (hover: hover){
    .catalog-detail-map-modal__close:hover{
        opacity: 0.7;
    }
}

@media (min-width: 768px){
    .catalog-detail-map-modal.is-open .catalog-detail-map-modal__overlay{
        animation: catalogDetailMapModalFadeIn 0.2s ease both;
    }

    .catalog-detail-map-modal.is-open .catalog-detail-map-modal__dialog{
        animation: catalogDetailMapModalDialogIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .catalog-detail-map-modal__close--desktop{
        display: inline-flex;
    }
}

@media (min-width: 768px) and (max-width: 1023.98px){
    .catalog-detail-map-modal__dialog .catalog-map-shell{
        border-radius: 24px;
    }

    .catalog-detail-map-modal__dialog .catalog-map-shell__head{
        flex-direction: row;
        align-items: center;
    }

    .catalog-detail-map-modal__dialog .catalog-map-shell__title{
        font-size: 22px;
    }

    .catalog-detail-map-modal__dialog .catalog-map-shell__canvas{
        height: clamp(340px, 56dvh, 620px);
        border-radius: 0 0 24px 24px;
    }

}

@media (min-width: 1024px){
}

@media (max-width: 767.98px){
    .catalog-detail-info__location{
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .catalog-detail-map-modal{
        inset: calc(var(--site-header-h, 52px) + var(--bx-panel-h, 0px)) 0 0 0;
        align-items: stretch;
        justify-content: stretch;
        padding: 0;
    }

    .catalog-detail-map-modal__dialog{
        --catalog-detail-map-inline-pad: 20px;
        --catalog-detail-map-head-pad-top: 16px;
        --catalog-detail-map-head-pad-bottom: 16px;
        --catalog-detail-map-overlay-top: 12px;
        width: 100%;
        max-height: none;
        height: 100%;
        overflow: hidden;
        min-height: 0;
    }

    .catalog-detail-map-modal__dialog .catalog-map-shell{
        height: 100%;
        min-height: 0;
        padding: 0;
        gap: 0;
        border: 0;
        border-radius: 0;
        background: #FFFFFF;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .catalog-detail-map-modal__dialog .catalog-map-shell__head{
        position: sticky;
        top: 0;
        z-index: 3;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        min-height: 56px;
        background: #FFFFFF;
    }

    .catalog-detail-map-modal__dialog .catalog-map-shell__title{
        flex: 1 1 auto;
        min-width: 0;
        font-size: 20px;
        line-height: 1.2;
    }

    .catalog-detail-map-modal__dialog .catalog-map-shell__canvas{
        flex: 1 1 auto;
        height: 100%;
        min-height: 100%;
        border: 0;
        border-radius: 0;
    }

    .catalog-detail-map-overlay{
        left: 16px;
        right: 16px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
        align-items: center;
        width: auto;
        min-width: min(350px, calc(100% - 32px));
        max-width: none;
        padding: 10px 18px;
        border-radius: 18px;
    }

    .catalog-detail-map-overlay__content{
        width: 100%;
        flex-wrap: wrap;
        gap: 6px 18px;
    }

    .catalog-detail-map-overlay__location{
        flex: 1 1 170px;
        min-width: 170px;
        font-size: 15px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .catalog-detail-map-overlay__price{
        flex: 0 0 auto;
        font-size: 15px;
    }

    .catalog-detail-map-modal__dialog .catalog-map-fullscreen-toggle{
        display: none;
    }

    .catalog-detail-map-modal__close--header{
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .cbc-lightbox{
        --cbc-lightbox-safe-top: env(safe-area-inset-top, 0px);
        --cbc-lightbox-safe-bottom: env(safe-area-inset-bottom, 0px);
        overscroll-behavior: contain;
    }

    .cbc-lightbox__backdrop{
        background: rgba(5, 4, 4, 0.98);
    }

    .cbc-lightbox__shell{
        height: 100dvh;
    }

    .cbc-lightbox__topbar{
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 4;
        padding: calc(var(--cbc-lightbox-safe-top) + 10px) 12px 0;
        pointer-events: none;
    }

    .cbc-lightbox__counter{
        color: rgba(255, 255, 255, 0.92);
        font-size: 14px;
        letter-spacing: 0.04em;
        pointer-events: auto;
    }

    .cbc-lightbox__close{
        width: 28px;
        height: 28px;
        border-radius: 0;
        background: transparent;
        pointer-events: auto;
    }

    .cbc-lightbox__close:hover,
    .cbc-lightbox__close:focus-visible{
        background: transparent;
        opacity: 0.82;
    }

    .cbc-lightbox__stage{
        position: relative;
        flex: 1 1 auto;
        min-height: 100%;
        height: 100%;
        padding: calc(var(--cbc-lightbox-safe-top) + 98px) 0 calc(var(--cbc-lightbox-safe-bottom) + 82px);
        background: #080707;
    }

    .cbc-lightbox__slide{
        padding: 0 6px;
    }

    .cbc-lightbox__img{
        width: 100%;
        max-width: 100%;
        max-height: 100%;
        touch-action: none;
        transform-origin: center center;
        transition: transform 0.18s ease;
    }

    .cbc-lightbox__img.is-zoomed{
        transition: none;
        cursor: grab;
    }

    .cbc-lightbox__img.is-zoomed:active{
        cursor: grabbing;
    }

    .cbc-lightbox__arrow{
        position: absolute;
        z-index: 4;
        bottom: calc(var(--cbc-lightbox-safe-bottom) + 12px);
        width: calc(50% - 18px);
        height: 46px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.20);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    .cbc-lightbox__arrow--prev{
        left: 12px;
    }

    .cbc-lightbox__arrow--next{
        right: 12px;
    }

    .cbc-lightbox__arrow-svg{
        width: 34px;
        height: 14px;
        opacity: 0.95;
    }

    .cbc-lightbox__filmstrip{
        position: absolute;
        top: calc(var(--cbc-lightbox-safe-top) + 42px);
        left: 8px;
        right: 8px;
        z-index: 4;
        display: flex;
        gap: 6px;
        align-items: center;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 4px 0;
        background: transparent;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .cbc-lightbox__film-thumb{
        flex: 0 0 58px;
        width: 58px;
        height: 42px;
        border-width: 1px;
        border-radius: 2px;
        opacity: 0.5;
    }

    .cbc-lightbox__film-thumb.is-active{
        border-color: #FFFFFF;
        opacity: 0.8;
    }

    .cbc-lightbox.is-zoomed .cbc-lightbox__viewport{
        touch-action: none;
    }
}

@media (max-width: 319.98px){
    .catalog-detail-map-overlay__location{
        min-width: 160px;
        font-size: 14px;
    }
}

@media (max-width: 299.98px){
    .catalog-detail-map-overlay__location{
        min-width: 150px;
        font-size: 13px;
    }
}

@media (max-width: 279.98px){
    .catalog-detail-map-overlay__location{
        min-width: 140px;
        font-size: 12px;
    }
}

@media (max-width: 259.98px){
    .catalog-detail-map-overlay__location{
        min-width: 130px;
        font-size: 11px;
    }
}

/* =========================
    Blogs Listing
    ========================= */
.blogs-listing{
    padding: 0 0 80px;
}

.blogs-listing__main{
    width: 1400px;
    max-width: 100%;
    height: 1619px;
    max-height: 1619px;
    display: grid;
    grid-template-rows: 381px 1164px;
    row-gap: 74px;
}

.blogs-featured-card{
    width: 100%;
    height: 381px;
    display: grid;
    grid-template-columns: 865px minmax(0, 1fr);
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    overflow: hidden;
    contain: layout paint;
}

.blogs-featured-card__media{
    margin: 0;
    width: 865px;
    height: 381px;
}

.blogs-featured-card__media-link{
    display: block;
    line-height: 0;
    overflow: hidden;
}

.blogs-featured-card__image{
    width: 865px;
    height: 381px;
    object-fit: cover;
    display: block;
}

.blogs-featured-card__content{
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blogs-featured-card__title{
    margin: 0;
    color: #221E1F;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.blogs-featured-card__text{
    margin: 0;
    color: #221E1F;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
}

.blogs-featured-card__link{
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #9E4B16;
    font-family: "Unbounded Light", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;
    text-decoration: none;
}

.blogs-featured-card__link img{
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    transform: translateX(0);
    transition: transform .22s ease;
}

.blogs-listing__cluster{
    width: 1400px;
    max-width: 100%;
    height: 1164px;
    display: grid;
    grid-template-columns: 469px 884px;
    column-gap: 47px;
}

.blogs-listing__right{
    width: 884px;
    height: 1164px;
    display: grid;
    grid-template-rows: 469px 644px;
    row-gap: 51px;
}

.blogs-listing__pair{
    width: 884px;
    height: 644px;
    display: grid;
    grid-template-columns: 417px 417px;
    column-gap: 50px;
}

.blogs-main-card{
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    overflow: hidden;
    contain: layout paint;
}

.blogs-main-card--vertical{
    width: 469px;
    height: 1164px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.blogs-main-card--wide{
    width: 884px;
    height: 469px;
    display: grid;
    grid-template-columns: 469px minmax(0, 1fr);
}

.blogs-main-card--compact{
    width: 417px;
    min-height: 644px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 0;
}

.blogs-main-card__image{
    display: block;
    object-fit: cover;
}

.blogs-main-card__media-link{
    display: block;
    line-height: 0;
    overflow: hidden;
}

.blogs-main-card__image--square{
    width: 469px;
    height: 469px;
}

.blogs-main-card__image--compact{
    width: 417px;
    height: 277.85px;
}

.blogs-default-card__image{
    position: relative;
    z-index: 1;
    width: 100%;
    height: 277.85px;
    object-fit: cover;
    display: block;
}

.blogs-default-card__media-link{
    display: block;
    line-height: 0;
    overflow: hidden;
}

.blogs-main-card__body{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.blogs-main-card__body--padded{
    padding: 30px;
}

.blogs-main-card--vertical .blogs-main-card__body--padded{
    min-height: 357px;
}

.blogs-main-card__body--compact{
    padding: 0;
    margin-top: 30px;
}

.blogs-main-card__title{
    margin: 0;
    color: #221E1F;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.blogs-main-card__text{
    margin: 30px 0 0;
    color: #221E1F;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
}

.blogs-main-card__link{
    width: max-content;
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #9E4B16;
    font-family: "Unbounded Light", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;
    text-decoration: none;
}

.blogs-main-card__link img{
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    transform: translateX(0);
    transition: transform .22s ease;
}

.blogs-default-card{
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    box-shadow: inset 0 0 0 1px #EBEBEB;
    overflow: hidden;
    contain: layout paint;
}

.blogs-default-card__title{
    margin: 0;
    color: #221E1F;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.blogs-default-card__text{
    margin: 0;
    color: #221E1F;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
}

.blogs-default-card__link{
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #9E4B16;
    font-family: "Unbounded Light", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;
    text-decoration: none;
}

.blogs-default-card__link img{
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    transform: translateX(0);
    transition: transform .22s ease;
}

.blogs-default-card__body{
    padding: 30px;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    min-height: 357px;
}

.blogs-listing__defaults{
    width: 1400px;
    max-width: 100%;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.blogs-listing__empty{
    width: 1400px;
    max-width: 100%;
    margin-top: 50px;
    padding: 44px 48px;
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
}

.blogs-listing__empty-title{
    margin: 0;
    color: #221E1F;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.blogs-listing__empty-text{
    margin: 16px 0 0;
    max-width: 760px;
    color: #221E1F;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0;
}

/* =========================
    Blogs Life
    ========================= */
.blogs-life{
    margin-bottom: 80px;
}

@supports (content-visibility: auto){
    .blogs-default-card{
        content-visibility: auto;
        contain-intrinsic-size: 1px 660px;
    }

    .blogs-listing__defaults{
        content-visibility: auto;
        contain-intrinsic-size: 1px 3200px;
    }

    .blogs-life{
        content-visibility: auto;
        contain-intrinsic-size: 1px 950px;
    }
}

.blogs-life__inner{
    width: 1400px;
    max-width: 100%;
    height: 811.47px;
}

.blogs-life__header{
    min-height: 63px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.blogs-life__title{
    margin: 0;
    color: #221E1F;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
}

.blogs-life__all-link{
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9E5B16;
    font-family: "Unbounded Light", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blogs-life__body{
    margin-top: 50px;
    height: 698.47px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 41px;
}

.blogs-life-card{
    width: 100%;
    height: 698.47px;
    display: grid;
    grid-template-rows: 317.47px 381px;
    overflow: hidden;
    background: #095F7E;
    contain: layout paint;
}

.blogs-life-card__media-link{
    display: block;
    line-height: 0;
    overflow: hidden;
}

.blogs-life-card__image{
    width: 100%;
    height: 317.47px;
    object-fit: cover;
}

.blogs-life-card__content{
    padding: 30px;
    background: #095F7E;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.blogs-life-card__title{
    margin: 0;
    color: #FFFFFF;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.blogs-life-card__text{
    margin: 30px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
}

.blogs-life-card__link{
    width: max-content;
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #AA8062;
    font-family: "Unbounded Light", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;
    text-decoration: none;
}

.blogs-life-card__link::after{
    content: "";
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    background-color: #AA8062;
    -webkit-mask: url("./assets/blogs/right_brown_arrow.svg") center / contain no-repeat;
    mask: url("./assets/blogs/right_brown_arrow.svg") center / contain no-repeat;
    transform: translateX(0);
    transition: transform .22s ease;
}

.blogs-life--reference > .container{
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
}

.blogs-life--reference .blogs-life__inner{
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.blogs-life--reference .blogs-life__body{
    width: 100%;
    height: auto;
    margin-top: 50px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.blogs-life--reference .blogs-life-card{
    height: auto;
    grid-template-rows: auto minmax(399px, auto);
}

.blogs-life--reference .blogs-life-card__image{
    width: 100%;
    height: auto;
    aspect-ratio: 314.67 / 227.38;
}

.blogs-life--reference .blogs-life-card__content{
    min-height: 399px;
}

.blogs-featured-card__link,
.blogs-main-card__link,
.blogs-default-card__link,
.blogs-life-card__link{
    transform: translateX(0);
    transition: transform .22s ease;
}

@media (hover: hover){
    .blogs-featured-card__link:hover,
    .blogs-main-card__link:hover,
    .blogs-default-card__link:hover,
    .blogs-life-card__link:hover{
        transform: translateX(2px);
    }

    .blogs-featured-card__link:hover img,
    .blogs-main-card__link:hover img,
    .blogs-default-card__link:hover img,
    .blogs-life-card__link:hover::after{
        transform: translateX(2px);
    }
}

.blogs-featured-card__link:focus-visible,
.blogs-main-card__link:focus-visible,
.blogs-default-card__link:focus-visible,
.blogs-life-card__link:focus-visible{
    transform: translateX(2px);
}

.blogs-featured-card__link:focus-visible img,
.blogs-main-card__link:focus-visible img,
.blogs-default-card__link:focus-visible img,
.blogs-life-card__link:focus-visible::after{
    transform: translateX(2px);
}

.blog-card__media-link:focus-visible,
.blogs-featured-card__media-link:focus-visible,
.blogs-main-card__media-link:focus-visible,
.blogs-default-card__media-link:focus-visible,
.blogs-life-card__media-link:focus-visible{
    outline: 2px solid #AA8062;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
    .blogs-featured-card__link,
    .blogs-main-card__link,
    .blogs-default-card__link,
    .blogs-life-card__link{
        transition: none;
        transform: none;
    }

    .blog-card,
    .blogs-featured-card,
    .blogs-main-card,
    .blogs-default-card,
    .blogs-life-card{
        transition: none;
        transform: none;
    }

    .blogs-featured-card__link img,
    .blogs-main-card__link img,
    .blogs-default-card__link img,
    .blogs-life-card__link::after{
        transition: none;
        transform: none;
    }

    .blog-card__img,
    .blogs-featured-card__image,
    .blogs-main-card__image,
    .blogs-default-card__image,
    .blogs-life-card__image{
        transition: none;
        transform: none;
    }
}

/* =========================
    Categories grid (10 cols)
    ========================= */
.cat-grid{
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 10px; /* liniile albe dintre tile-uri */
}

.cat-card{
    position: relative;
    overflow: hidden;
    background: var(--teal);
    text-decoration: none;
}

.section.categories:not(.page) .cat-card,
.section.categories.page .cat-card{
    transform: translateY(0);
    transition: transform .28s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

@media (hover: hover){
    .section.categories:not(.page) .cat-card:hover,
    .section.categories.page .cat-card:hover{
        transform: translateY(-4px);
    }
}

.section.categories:not(.page) .cat-card:focus-visible,
.section.categories.page .cat-card:focus-visible{
    transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce){
    .section.categories:not(.page) .cat-card,
    .section.categories.page .cat-card{
        transition: none;
        transform: none;
    }
}

.cat-card__title{
    font-family: var(--font-family);
    position: absolute;
    top: 50px;
    left: 30px;
    z-index: 2;

    font-size: 18px;
    line-height: normal;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
}

.cat-card__title{
    top: clamp(20px, 4vw, 50px);
    left: clamp(16px, 3vw, 30px);
    font-size: clamp(14px, 1.4vw, 18px);
    line-height: 1.2;
}

.cat-card__img{
    position: absolute;
    left: 50%;
    bottom: var(--img-bottom, 16px);

    width: auto;
    height: auto;
    max-width: var(--img-max-w, 90%);
    max-height: var(--img-max-h, 75%);

    object-fit: contain;
    z-index: 1;

    transform: translateX(-50%) translate(var(--img-x, 0px), var(--img-y, 0px));
}

.cat-card--top{
    grid-column: span 2;
    height: var(--cat-top-h);
}

.cat-card--bottom{
    grid-column: span 5;
    height: var(--cat-bottom-h);
}

/* APARTAMENTE: mai mare + împins spre stânga + mai jos */
.cat--ap { --img-max-w: 100%; --img-max-h: 100%; --img-bottom: 0px; --img-x: 0px; }

/* CASE/VILE: stă mai sus (nu pe podea) */
.cat--cv { --img-max-w: 100%; --img-max-h: 100%; --img-bottom: 0px; --img-x: 0px; }

/* TERENURI: sus, mai mic */
.cat--tr { --img-max-w: 100%; --img-max-h: 100%;--img-bottom: 0px; --img-x: 0px; }

/* SPAȚII COMERCIALE: jos, centrat */
.cat--sc { --img-max-w: 100%; --img-max-h: 100%; --img-bottom: 0px; --img-x: 0px; }

/* ANSAMBLURI: jos-dreapta (împins spre dreapta) */
.cat--ar { --img-max-w: 100%; --img-max-h: 100%; --img-bottom: 0px; --img-x: 0px; }

/* VÂNZARE: centrat, nu full */
.cat--va { --img-max-w: 100%; --img-max-h: 100%; --img-bottom: 0px; --img-x: 0px; }

/* CHIRIE: mult spre dreapta + mai jos (să “iasă” ca în Figma) */
.cat--ca { --img-max-w: 100%; --img-max-h: 100%; --img-bottom: 0px; --img-x: 0px; }


/* =========================
    Buttons
    ========================= */
.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    min-width: 170px;
    padding: 0 26px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    user-select: none;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.btn--accent{
    background: var(--accent);
    color: #fff;
    box-shadow: inset 0 0 0 1px var(--accent);
}

.btn--teal{
    background: var(--teal-dark);
    color: #fff;
    box-shadow: inset 0 0 0 1px var(--teal-dark);
}

@media (hover: hover){
    .btn--accent:hover,
    .btn--accent:focus-visible{
        background: #fff;
        color: var(--accent);
        box-shadow: inset 0 0 0 1px var(--accent);
    }

    .btn--teal:hover,
    .btn--teal:focus-visible{
        background: #fff;
        color: var(--teal-dark);
        box-shadow: inset 0 0 0 1px var(--teal-dark);
    }
}

/* =========================
    Offers
    ========================= */
.offers__grid{
    display: grid;
    grid-template-columns: var(--offers-left-w) var(--offers-left-w);
    column-gap: var(--offers-gap-x);
    align-items: stretch;
}

.offers__left{
    display: flex;
    flex-direction: column;
    gap: var(--offers-top-gap);
    max-width: var(--offers-left-w);
    min-width: 0;
}

.offers__intro{
    display: block;
}

/* stânga: spațiere verticală între promo și card = 20px */
.offers__stack{
    display: grid;
    gap: var(--offers-gap-y);
}

/* dreapta: spațiere verticală între card și hero = 20px */
.offers__right{
    display: grid;
    gap: var(--offers-gap-y);
    grid-template-rows: calc(var(--offer-img-h) + var(--offer-body-h)) minmax(0, 1fr);
    min-width: 0;
}

.promo{
    position: relative;
    display: block;
    height: var(--promo-h);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: #fff;
}

.promo__img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 46, 66, 1) 0%, rgba(0, 46, 66, 0) 100%);
}

.promo__overlay{
    position: absolute;
    inset: 0;
    padding: 50px 30px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    max-width: 540px;
}

.promo__title{
    margin: 0;
    color: #fff;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.15;
}

.promo__overlay .btn{
    margin-top: auto;
    align-self: flex-start;
}

.offer-card{
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #F0EAE3;
}

.offer-card__img{
    width: 100%;
    height: var(--offer-img-h);
    object-fit: cover;
}

.offer-card__media-link{
    display: block;
}

.offer-card__body{
    height: var(--offer-body-h);
    padding: var(--offer-body-pad);
    background: #F0EAE3;
    display: flex;
    flex-direction: column;
}

.offer-card__text{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.offer-card__title{
    margin: 0;
    font-family: var(--font-family); /* <- folosește Montserrat ca în design */
    font-weight: 700;
    font-size: 22px;
    line-height: 1.15;
    color: var(--accent);
}

.offer-card__title-link{
    color: inherit;
    text-decoration: none;
}

.offer-card__title-link:hover,
.offer-card__title-link:focus-visible{
    text-decoration: underline;
}

.offer-card__line{
    font-family: var(--second-family);
    margin: 0;
    font-size: 20px;
    line-height: 1.35;
    color: #221E1F;
}

.section.offers em,
.section.offers i,
.offer-card__line em,
.offer-card__line i,
.offer-card__body em,
.offer-card__body i,
.promo__overlay em,
.promo__overlay i,
.hero__overlay em,
.hero__overlay i{
    color: var(--accent);
    font-style: normal;
    font-weight: 700;
}

.accent{
    color: var(--accent);
    font-weight: 700;
}

.offer-card__body .btn{
    margin-top: auto;
    align-self: flex-start;
}

.hero{
    position: relative;
    display: block;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: #fff;
}

.hero__img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 46, 66, 1) 0%, rgba(0, 46, 66, 0) 100%);
}

.hero__overlay{
    position: absolute;
    inset: 0;
    padding: 50px 30px;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.hero__title{
    margin: 0;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.15;
}

.hero__overlay .btn{
    margin-top: auto;
    align-self: flex-start;
}

/* =========================
    Oferte – Home Page Grid
    ========================= */
.oferte-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.oferta-card{
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.oferta-card__img{
    width: 100%;
    height: 309px;
    object-fit: cover;
}

.oferta-card__body{
    background: var(--sand);
    color: var(--text);
    padding: 30px 30px 0;
    min-height: 284px;
    max-height: 284px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.oferta-card__title{
    margin: 0;
    font-family: var(--font-family);
    font-size: 18px;
    line-height: normal;
    font-weight: 700;
    color: var(--accent);
}

.oferta-card__text{
    margin: 0;
    font-family: var(--second-family);
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    color: var(--muted);
}

.oferta-card__link{
    margin-top: auto;
    margin-bottom: 30px;
    color: var(--accent);
    font-family: var(--second-family);
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    text-decoration: none;
}

.oferta-card__link:hover{
    text-decoration: underline;
}

.offers .section-head{
    display: grid;
    grid-template-columns: 712px 588px;
    gap: 100px;
    align-items: center;
    margin-bottom: 30px;
}

.offers .section-title{
    font-family: var(--font-family);
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 63px;
    color: #095F7E;
}

.offers .section-desc{
    font-family: var(--second-family);
    font-size: 20px;
    font-weight: 300;
    line-height: 25px;
    letter-spacing: 0;
    max-width: 588px;
    color: #002E42;
}

/* =========================
    Oferte – Hero (Page /oferte/)
    ========================= */
.oferte-hero{
    background: var(--teal-dark);
    padding: 80px 0;
    text-align: center;
}

.oferte-hero__frame{
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.oferte-hero__content{
    max-width: 720px;
    margin: 0 auto;
}

.oferte-hero__title{
    margin: 0 0 20px;
    font-family: var(--font-family);
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
}

.oferte-hero__desc{
    margin: 0;
    font-family: var(--second-family);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255,255,255,.8);
}

/* =========================
    Oferte – Filters (Page /oferte/)
    ========================= */
.oferte-filters{
    background: var(--sand);
    padding: 20px 0;
}

.oferte-filters__row{
    display: flex;
    align-items: center;
    gap: 16px;
}

.oferte-filters__topic{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--muted);
    background: transparent;
    font-family: var(--second-family);
    font-size: 14px;
    cursor: pointer;
    color: var(--text);
}

.oferte-filters__search{
    flex: 1;
}

.oferte-filters__search-input{
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #ccc;
    font-family: var(--second-family);
    font-size: 14px;
    background: #fff;
    color: var(--text);
}

.oferte-filters__submit{
    padding: 10px 24px;
    border: none;
    background: var(--teal);
    color: #fff;
    font-family: var(--second-family);
    font-size: 14px;
    cursor: pointer;
    transition: background .2s;
}

.oferte-filters__submit:hover{
    background: var(--teal-dark);
}

.oferte-sort{
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.oferte-sort__control{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    background: transparent;
    font-family: var(--second-family);
    font-size: 14px;
    cursor: pointer;
    color: var(--muted);
}

/* =========================
    Oferte – Listing (Page /oferte/)
    ========================= */
.oferte-listing{
    padding: 60px 0 80px;
}

.oferte-listing__featured{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 60px;
}

.oferte-featured-card{
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--sand);
}

.oferte-featured-card--large{
    grid-column: 1 / -1;
    position: relative;
    min-height: 460px;
}

.oferte-featured-card--large .oferte-featured-card__media{
    position: absolute;
    inset: 0;
}

.oferte-featured-card--large .oferte-featured-card__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oferte-featured-card--large .oferte-featured-card__overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 46, 66, .85) 0%, rgba(0, 46, 66, 0) 80%);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 600px;
    z-index: 1;
}

.oferte-featured-card--large .oferte-featured-card__title{
    margin: 0 0 16px;
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}

.oferte-featured-card--large .oferte-featured-card__text{
    margin: 0 0 24px;
    font-family: var(--second-family);
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255,255,255,.85);
}

.oferte-featured-card--side{
    display: flex;
    flex-direction: column;
}

.oferte-featured-card--side .oferte-featured-card__image{
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.oferte-featured-card--side .oferte-featured-card__body,
.oferte-featured-card--compact .oferte-featured-card__body{
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.oferte-featured-card--side .oferte-featured-card__title,
.oferte-featured-card--compact .oferte-featured-card__title{
    margin: 0 0 12px;
    font-family: var(--font-family);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--accent);
}

.oferte-featured-card--side .oferte-featured-card__text,
.oferte-featured-card--compact .oferte-featured-card__text{
    margin: 0 0 20px;
    font-family: var(--second-family);
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
}

.oferte-featured-card--side .oferte-featured-card__link,
.oferte-featured-card--compact .oferte-featured-card__link{
    margin-top: auto;
    align-self: flex-start;
}

.oferte-featured-card__link{
    width: max-content;
    min-width: 0;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #9E4B16;
    font-family: "Unbounded Light", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;
    text-decoration: none;
    transform: translateX(0);
    transition: transform .22s ease;
}

.oferte-featured-card__link:hover,
.oferte-featured-card__link:focus-visible{
    background: transparent;
    color: #9E4B16;
    box-shadow: none;
}

.oferte-featured-card__link::after{
    content: "";
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    background-color: currentColor;
    -webkit-mask: url("./assets/blogs/right_brown_arrow.svg") center / contain no-repeat;
    mask: url("./assets/blogs/right_brown_arrow.svg") center / contain no-repeat;
    transform: translateX(0);
    transition: transform .22s ease;
}

.oferte-listing__pair{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.oferte-featured-card--compact .oferte-featured-card__image{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Regular grid cards */
.oferte-listing__grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.oferte-regular-card{
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
    transition: transform .2s, box-shadow .2s;
}

.oferte-regular-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,.14);
}

.oferte-regular-card__image{
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.oferte-regular-card__body{
    padding: 28px;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.oferte-regular-card__title{
    margin: 0 0 12px;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

.oferte-regular-card__text{
    margin: 0 0 20px;
    font-family: var(--second-family);
    font-size: 15px;
    line-height: 1.5;
    color: var(--muted);
    flex: 1;
}

.oferte-regular-card__link{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #9E4B16;
    font-family: "Unbounded Light", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0;
    text-decoration: none;
    transform: translateX(0);
    transition: transform .22s ease;
}

.oferte-regular-card__link::after{
    content: "";
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    background-color: currentColor;
    -webkit-mask: url("./assets/blogs/right_brown_arrow.svg") center / contain no-repeat;
    mask: url("./assets/blogs/right_brown_arrow.svg") center / contain no-repeat;
    transform: translateX(0);
    transition: transform .22s ease;
}

.oferte-regular-card__link svg{
    display: none;
}

@media (hover: hover){
    .oferte-featured-card__link:hover,
    .oferte-regular-card__link:hover{
        transform: translateX(2px);
    }

    .oferte-featured-card__link:hover::after,
    .oferte-regular-card__link:hover::after{
        transform: translateX(2px);
    }
}

.oferte-featured-card__link:focus-visible,
.oferte-regular-card__link:focus-visible{
    transform: translateX(2px);
}

.oferte-featured-card__link:focus-visible::after,
.oferte-regular-card__link:focus-visible::after{
    transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce){
    .oferte-featured-card__link,
    .oferte-regular-card__link{
        transition: none;
        transform: none;
    }

    .oferte-featured-card__link::after,
    .oferte-regular-card__link::after{
        transition: none;
        transform: none;
    }
}

/* ===========================
    Oferta Detail - Redesign
    =========================== */
.oferta-detail {
    --od-bg: #f8f7f5;
    --od-ink: #1a1a1a;
    --od-muted: #4a4a4a;
    --od-accent: #095f7e;
    --od-accent-dark: #002e42;
    --od-sand: #F0EAE3;
    --od-gold: #9e5b16;
    --od-radius: 16px;
    --od-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --oferta-detail-text-size: 17px;
    --oferta-detail-subtitle-size: calc(var(--oferta-detail-text-size) + 3px);

    font-family: var(--font-family, "Montserrat", system-ui, sans-serif);
    background: #fff;
}

/* ---------- Banner ---------- */
.oferta-detail__banner {
    padding: 32px 0 0;
    background: #fff;
}

.oferta-detail__banner-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--od-radius);
    max-height: 420px;
}

.oferta-detail__banner-img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
}

/* ---------- Heading ---------- */
.oferta-detail .oferta-detail__heading {
    padding: 24px 0 0;
    background: #fff;
}

.oferta-detail .oferta-detail__heading-inner {
    max-width: 860px;
    margin: 0 auto;
}

.oferta-detail .oferta-detail__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 16px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--od-gold);
    background: var(--od-gold);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.03em;
    color: #fff;
}

.oferta-detail .oferta-detail__date svg {
    flex-shrink: 0;
    opacity: 1;
}

.oferta-detail .oferta-detail__title {
    margin: 0;
    font-family: var(--second-family, "Unbounded Light", system-ui, sans-serif);
    font-size: 46px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--od-ink);
}

.oferta-detail .oferta-detail__subtitle {
    margin: 14px 0 0;
    max-width: 720px;
    font-size: var(--oferta-detail-subtitle-size);
    font-weight: 400;
    line-height: 1.6;
    color: var(--od-muted);
}

.oferta-detail .oferta-detail__divider {
    display: none;
}

/* ---------- Content ---------- */
.oferta-detail .oferta-detail__content {
    padding: 16px 0 52px;
    background: #fff;
}

.oferta-detail .oferta-detail__body {
    max-width: 860px;
    margin: 0 auto;
}

.oferta-detail__text {
    color: var(--od-muted);
    font-size: var(--oferta-detail-text-size);
    line-height: 1.85;
}

.oferta-detail__text p {
    margin: 0 0 20px;
}

.oferta-detail__text p:last-child {
    margin-bottom: 0;
}

.oferta-detail__text h2,
.oferta-detail__text h3,
.oferta-detail__text h4 {
    margin: 36px 0 14px;
    color: var(--od-ink);
    font-family: var(--second-family, "Unbounded Light", system-ui, sans-serif);
    font-weight: 400;
    line-height: 1.3;
}

.oferta-detail__text h2 {
    font-size: 26px;
}

.oferta-detail__text h3 {
    font-size: 22px;
}

.oferta-detail__text ul,
.oferta-detail__text ol {
    margin: 0 0 20px;
    padding-left: 22px;
}

.oferta-detail__text li {
    margin-bottom: 10px;
}

.oferta-detail__text li::marker {
    color: var(--od-accent);
}

.oferta-detail__text img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: var(--od-radius);
    box-shadow: var(--od-shadow);
}

.oferta-detail__text a {
    color: var(--od-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.oferta-detail__text a:hover {
    color: var(--od-accent-dark);
}

.oferta-detail__text blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 3px solid var(--od-accent);
    background: var(--od-sand);
    border-radius: 0 var(--od-radius) var(--od-radius) 0;
    font-style: italic;
    color: var(--od-ink);
}

.oferta-detail__empty {
    margin: 0;
    color: var(--od-muted);
    font-size: 17px;
    line-height: 1.75;
}

/* ---------- Footer / Back ---------- */
.oferta-detail__footer {
    padding: 0 0 80px;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.oferta-detail .oferta-detail__back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid var(--od-gold);
    background: #fff;
    color: var(--od-gold);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.25s ease;
}

.oferta-detail .oferta-detail__back-link:hover {
    background: var(--od-gold);
    border-color: var(--od-gold);
    color: #fff;
    box-shadow: 0 4px 16px rgba(158, 91, 22, 0.3);
}

.oferta-detail .oferta-detail__back-link svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.oferta-detail .oferta-detail__back-link:hover svg {
    transform: translateX(-3px);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .oferta-detail .oferta-detail__title {
        font-size: 40px;
    }

    .oferta-detail__banner {
        padding-top: 24px;
    }

    .oferta-detail__banner-frame {
        max-height: 340px;
        border-radius: 12px;
    }

    .oferta-detail__banner-img {
        max-height: 340px;
    }

    .oferta-detail .oferta-detail__heading {
        padding-top: 18px;
    }

    .oferta-detail .oferta-detail__content {
        padding: 12px 0 44px;
    }
}

@media (max-width: 767px) {
    .oferta-detail {
        --oferta-detail-text-size: 16px;
    }

    .oferta-detail__banner {
        padding-top: 16px;
    }

    .oferta-detail__banner-frame {
        max-height: 260px;
        border-radius: 10px;
    }

    .oferta-detail__banner-img {
        max-height: 260px;
    }

    .oferta-detail .oferta-detail__heading {
        padding-top: 14px;
    }

    .oferta-detail .oferta-detail__title {
        font-size: clamp(28px, 8vw, 34px);
    }

    .oferta-detail .oferta-detail__subtitle {
        margin-top: 10px;
    }

    .oferta-detail .oferta-detail__content {
        padding: 10px 0 36px;
    }

    .oferta-detail__text {
        line-height: 1.75;
    }

    .oferta-detail__footer {
        padding-bottom: 56px;
    }

    .oferta-detail__back-link {
        margin-top: 6px;
        padding: 14px 26px;
        font-size: 15px;
    }
}


/* =========================
    Blog
    ========================= */
.section-head{
    display: grid;
    grid-template-columns: 712px 588px;
    gap: 100px;
    align-items: center;
    margin-bottom: 28px;
}

.blog .section-head{
    margin-bottom: 30px;
}

.blog .section-title{
    font-family: var(--font-family);
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 63px;
}

.blog .section-desc{
    font-family: var(--second-family);
    font-size: 20px;
    font-weight: 300;
    line-height: 25px;
    letter-spacing: 0;
    max-width: 588px;
}

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

.blog-card{
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.blog-card__media-link{
    display: block;
    line-height: 0;
    overflow: hidden;
}

.blog-card__img{
    width: 100%;
    height: 309px;
    object-fit: cover;
    transition: transform .22s ease;
}

.blog-card__body{
    background: var(--teal);
    color: #fff;
    padding: 30px 30px 0;
    min-height: 284px;
    max-height: 284px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.blog-card__title{
    margin: 0;
    font-family: var(--font-family);
    font-size: 18px;
    line-height: normal;
    font-weight: 700;
}

.blog-card__title-link{
    color: inherit;
    text-decoration: none;
}

.blog-card__title-link:hover,
.blog-card__title-link:focus-visible{
    text-decoration: underline;
}

.blog-card__text{
    margin: 0;
    font-family: var(--second-family);
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    opacity: .95;
}

.blog-card__link{
    margin: 0;
    color: #AA8062;
    font-family: var(--second-family);
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    text-decoration: none;
}

.section.blog .blog-card__link:hover,
.section.blog .blog-card__link:focus-visible{
    text-decoration: underline;
}

/* =========================
    Reviews
    ========================= */
.reviews-grid{
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.reviews .section-title{
    margin: 0;
    font-family: var(--font-family);
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: normal;
}

.review-card{
    background: var(--teal);
    color: #fff;
    box-shadow: var(--shadow);
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 400px;
}

.review-card__stars{
    height: 24px;
    margin-bottom: 16px;
}

.review-card__stars img{
    width: auto;
    height: 24px;
    display: block;
}

.review-card__text{
    margin: 0;
    font-family: var(--second-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    opacity: .95;
}

.review-card__who{
    margin-top: 32px;
    height: 48px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar{
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    font-family: var(--font-family);
}

.who{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
    min-height: 0;
}

.who__name{
    margin: 0;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
}

.who__role{
    margin: 0;
    font-family: var(--second-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
    opacity: .9;
}

/* =========================
    Footer
    ========================= */
.site-footer{
    background: var(--sand);
    padding: 46px 0 54px;
}

.footer__grid{
    display: grid;
    grid-template-columns: 257px auto auto auto auto;
    justify-content: space-between;
    column-gap: 0;
    row-gap: 26px;
    align-items: start;
}

.footer__brand{
    width: 257px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
    text-align: left;
}

.footer__logo{
    margin: 0;
    align-self: flex-start;
    width: auto;
    height: auto;
    max-width: none;
    display: block;
}

.footer__copy,
.footer__dev{
    margin: 0;
    width: 100%;
    max-width: 257px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    color: #2a2a2a;
    text-align: left;
}

.footer__link{
    color: #2a2a2a;
    text-decoration: underline;
}

.footer__col{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer__title{
    margin: 0;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: normal;
    text-transform: uppercase;
    color: #111;
}

.footer__item{
    margin: 0;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: #2a2a2a;
    text-decoration: none;
    display: block;
}

.footer__services-body{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer__services-text{
    margin: 0;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: #2a2a2a;
    text-decoration: none;
}

.footer__col--contacts{
    gap: 16px;
}

.footer__contact-row{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.footer__contact-label,
.footer__contact-value{
    font-family: var(--font-family);
    font-size: 16px;
    line-height: normal;
    color: #2a2a2a;
}

.footer__contact-label{
    font-weight: 400;
}

.footer__contact-value{
    font-weight: 400;
}

.footer__contact-value--strong{
    font-weight: 700;
}

@media (min-width: 1200px){
    .site-footer{
        height: 317px;
        padding-top: 60px;
        padding-bottom: 60px;
        /* same fluid rule as header: 20px min → 100px max at 1600px */
        padding-left:  max(20px, calc((100vw - var(--container)) / 2));
        padding-right: max(20px, calc((100vw - var(--container)) / 2));
    }

    .footer__grid{
        min-height: 197px;
        grid-template-columns: 257px auto auto auto auto;
        justify-content: space-between;
        column-gap: 0;
        row-gap: 0;
    }
}

/* =========================
    Side Menu
    ========================= */
body.menu-open{ overflow: hidden; }

.side-menu{
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
}

.side-menu.is-open{ pointer-events: auto; }

/* zona din stânga (transparentă) care prinde click-ul */
.side-menu__backdrop{
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

/* panoul din dreapta */
.side-menu__panel{
    position: absolute;
    top: 0;
    right: 0;

    width: 422px;
    max-width: 92vw;
    height: 100vh;

    padding: 10px 10px 50px 50px;

    background: rgba(0, 46, 66, .95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 30px 80px rgba(0,0,0,.25);

    transform: translateX(105%);
    transition: transform .28s ease;
}

.side-menu.is-open .side-menu__panel{
    transform: translateX(0);
}

.side-menu__close{
    position: absolute;
    top: 18px;
    right: 18px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

/* top area (status + phone) */
.status--menu{
    color: #fff;
    font-size: 14px;
    opacity: .95;
}

.side-menu__top{
    padding-top: 38px; /* ca să nu se bată cu X-ul */
    display: grid;
    gap: 8px;
}

.side-menu__phone{
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--second-family);
    font-size: 28px;
    letter-spacing: -0.02em;
}

/* sheet-ul interior (dreptunghiul din mijloc) */
.side-menu__sheet{
    margin-top: 18px;
    padding: 26px 22px 26px 22px;
    background: rgba(0, 46, 66, .35);
    border: 1px solid rgba(255,255,255,.10);
}

/* nav */
.side-menu__nav{
    display: grid;
    gap: 30px; /* Figma gap */
}

.side-menu__group{
    border: 0;
}

.side-menu__summary{
    list-style: none;
    cursor: pointer;

    color: #fff;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.15;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* scoate marker-ul implicit */
.side-menu__summary::-webkit-details-marker{ display: none; }

/* chevron */
.side-menu__summary::after{
    content: "▾";
    font-size: 24px;
    opacity: .9;
    transform: translateY(1px);
    transition: transform .18s ease;
}

.side-menu__group[open] > .side-menu__summary::after{
    transform: rotate(180deg) translateY(-1px);
}

/* list items */
.side-menu__list{
    margin: 20px 0 0 0;
    padding: 0 0 0 20px;
    list-style: none;
    display: grid;
    gap: 16px;
}

.side-menu__list > li{
    list-style: none;
}

.side-menu__link{
    color: rgba(255,255,255,.92);
    text-decoration: none;
    font-family: var(--second-family);
    font-size: 22px;
    line-height: 1.2;
}

/* link items (Blog, Contacte...) fără chevron */
.side-menu__summary--link{
    text-decoration: none;
}
.side-menu__summary--link::after{ content: ""; }


.header__right{
    width: 259px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__meta{
    width: 129px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    align-items: flex-start;
}

.status__text{
    font-family: var(--second-family);
    font-size: 12px;
    font-weight: 300;
    line-height: 1;
}

.burger{
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.burger__icon{
    width: 42px;
    height: 42px;
    display: block;
}

body.menu-open{ overflow: hidden; }

.side-menu{
    position: fixed;
    inset: 0;
    z-index: 3000;
    pointer-events: none;
}

.side-menu.is-open{ pointer-events: auto; }

.side-menu__backdrop{
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.side-menu.is-open .side-menu__backdrop{
    background: transparent;
}

body.menu-open .side-menu.is-open .side-menu__backdrop{
    background: rgba(0,0,0,.08); /* ușor, ca în mock */
}

/* panel lipit de marginea ecranului */
.side-menu__panel{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;

    width: 422px;
    max-width: 100vw;

    padding: 10px 10px 50px 50px;
    background: rgba(0, 46, 66, .95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 30px 80px rgba(0,0,0,.25);

    transform: translateX(110%);
    transition: transform .28s ease;
}

.side-menu.is-open .side-menu__panel{
    transform: translateX(0);
}

.side-menu__close{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.side-menu__top{
    padding-top: 30px;
    display: grid;
    gap: 5px;
}

.status--menu{
    color: #fff;
    font-family: var(--second-family);
    font-size: 12px;
    font-weight: 300;
}

.status--menu .status__dot{
    color: #0AC885;
    background: currentColor;
}

.side-menu__phone{
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--second-family);
    font-size: 16px;
    letter-spacing: 0;
}

.side-menu__sheet{
    margin-top: 30px;
    padding: 22px;
    background: rgba(0, 46, 66, 0);
    border: 1px solid rgba(255, 255, 255, 0);
}


.side-menu__summary{
    list-style: none;
    cursor: pointer;

    color: #fff;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.side-menu__summary::-webkit-details-marker{ display: none; }

.side-menu__summary::after{
    content: "▾";
    font-size: 14px;
    opacity: .9;
    transition: transform .18s ease;
}

.side-menu__group[open] > .side-menu__summary::after{
    transform: rotate(180deg);
}

/* list items fără marker, ca în Figma */
.side-menu__list{
    margin: 20px 0 0 0;
    padding: 0 0 0 20px;
    list-style: none;
    display: grid;
    gap: 16px;
    color: rgba(255,255,255,.85);
}

.side-menu__list > li{
    list-style: none;
}

.side-menu__link{
    color: rgba(255,255,255,.92);
    text-decoration: none;
    font-family: var(--second-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.2;
}

.side-menu__summary--link{
    text-decoration: none;
    font-family: var(--second-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.2;
}
.side-menu__summary--link::after{ content: ""; }

/* =========================
    Side Menu Final Spec
    ========================= */
.side-menu{
    position: fixed;
    inset: 0;
    z-index: 3000;
    pointer-events: none;
    --side-menu-net-content: 322px;
    --side-menu-inline-gap: 10px;
}

.side-menu.is-open{
    pointer-events: auto;
}

.side-menu__backdrop{
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.side-menu.is-open .side-menu__backdrop{
    background: transparent;
}

body.menu-open .side-menu.is-open .side-menu__backdrop{
    background: rgba(0, 0, 0, .08);
}

.side-menu__panel{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 422px;
    max-width: 100vw;
    height: 100vh;
    padding: 10px var(--side-menu-inline-gap) 50px 50px;
    background: rgba(0, 46, 66, .95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
    transform: translateX(110%);
    transition: transform .28s ease;
    overflow-y: auto;
}

.side-menu.is-open .side-menu__panel{
    transform: translateX(0);
}

.side-menu__close{
    position: absolute;
    top: 10px;
    right: var(--side-menu-inline-gap);
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.side-menu__close-icon{
    width: 18.67px;
    height: 18.67px;
    display: block;
}

.side-menu__content{
    width: min(100%, var(--side-menu-net-content));
    max-width: 100%;
    margin-left: auto;
    padding-right: 0;
    display: grid;
    gap: 30px;
}

.side-menu__sheet{
    margin: 0;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
    background: transparent;
    border: 0;
}

.side-menu__top{
    /* padding-top: 0; */
    display: grid;
    gap: 6px;
}

.status--menu{
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
}

.status--menu .status__dot{
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    color: #0AC855;
    background: currentColor;
}

.status--menu .status__text{
    font-family: var(--second-family);
    font-weight: 300;
    font-size: 12px;
    line-height: 1;
    color: #fff;
}

.side-menu__phone{
    color: #fff;
    text-decoration: none;
    font-family: "Unbounded", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
}

.side-menu__nav{
    width: 100%;
    display: grid;
    gap: 30px;
}

.side-menu__group{
    border: 0;
}

.side-menu__summary{
    margin: 0;
    list-style: none;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.side-menu__summary::after{
    content: none;
}

.side-menu__summary::-webkit-details-marker{
    display: none;
}

.side-menu__summary-label{
    display: block;
}

.side-menu__chevron{
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.side-menu__chevron::before{
    content: "";
    width: 10px;
    height: 5px;
    background: url("./assets/down-arrow.svg") no-repeat center / 10px 5px;
}

.side-menu__group[open] > .side-menu__summary .side-menu__chevron::before{
    background-image: url("./assets/up-arrow.svg");
}

.side-menu__list{
    margin: 16px 0 0 0;
    padding: 0 20px;
    list-style: none;
    display: grid;
    gap: 16px;
}

.side-menu__list > li{
    list-style: none;
}

.side-menu__link{
    display: block;
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    font-family: var(--second-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.2;
}

.side-menu__summary--link{
    color: #fff;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    display: block;
}

@media (max-width: 767.98px){
    .side-menu{
        --side-menu-inline-gap: 20px;
        --side-menu-net-content: calc(100vw - 40px);
    }

    .side-menu__panel{
        width: 100vw;
        padding: 20px var(--side-menu-inline-gap) 40px;
    }

    .side-menu__close{
        top: 20px;
        right: var(--side-menu-inline-gap);
    }
}

/* =========================
    Blog Detail Intro
    ========================= */
.blog-detail-intro{
    margin-top: 30px;
}

/* Figma frame: 1600px, cu 100px offset pe stânga => zona de conținut 1500px */
.blog-detail-shell{
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 100px;
}

.blog-detail-heading{
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.blog-detail-breadcrumb{
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    font-family: var(--second-family);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2;
}

.blog-detail-breadcrumb__muted,
.blog-detail-breadcrumb__separator{
    color: rgba(34, 30, 31, 0.35);
    text-decoration: none;
}

.blog-detail-breadcrumb__current{
    color: #000;
}

.blog-detail-hero{
    width: 100%;
    min-height: 432px;
    display: grid;
    grid-template-columns: minmax(0, 546px) minmax(0, 1fr);
    gap: 41px;
    background: transparent;
}

.blog-detail-copy{
    max-width: 546px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: transparent;
}

.blog-detail-title{
    margin: 0;
    color: #221E1F;
    font-family: var(--font-family);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.blog-detail-subtitle{
    margin: 20px 0 0;
    color: #AA8062;
    font-family: var(--font-family);
    font-size: 32px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.blog-detail-date{
    margin-top: 20px;
    color: #221E1F;
    font-family: var(--second-family);
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
}

.blog-detail-media{
    margin: 0;
    height: 432px;
}

.blog-detail-media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* =========================
    Blog Detail Introduction
    ========================= */
.blog-detail-introduction{
    margin: 100px 0;
}

.blog-detail-introduction__shell{
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 100px 200px;
    border-radius: 70px;
    background: #002E42;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-detail-introduction__text{
    width: 100%;
    padding-left: 100px;
    padding-right: 100px;
    text-align: left;
}

.blog-detail-introduction__title{
    margin: 0;
    max-width: 600px;
    color: #AA8062;
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
}

.blog-detail-introduction__description{
    margin: 30px 0 0;
    max-width: 600px;
    color: #F4F4F4;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.blog-detail-introduction__media{
    margin: 0 auto;
    width: 1200px;
    max-width: 100%;
    height: 677px;
    overflow: hidden;
}

.blog-detail-introduction__media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* =========================
    Blog Detail Benefits
    ========================= */
.blog-detail-benefits{
    margin-bottom: 100px;
}

.blog-detail-benefits__shell{
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* 1300px total: 100px inner-left padding + 600 + 100 gap + 500 */
.blog-detail-benefits__inner{
    width: 1300px;
    margin-left: auto;
    margin-right: 100px;
    padding-left: 100px;
    display: grid;
    grid-template-columns: 600px 500px;
    column-gap: 100px;
    align-items: start;
}

.blog-detail-benefits__left{
    width: 600px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: left;
}

.blog-detail-benefits__title{
    margin: 0;
    color: #221E1F;
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.blog-detail-benefits__item{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-detail-benefits__item-title{
    margin: 0;
    color: #000;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
}

.blog-detail-benefits__item-text{
    margin: 0;
    color: #000;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.blog-detail-benefits__aside{
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.blog-detail-benefits__avatar{
    margin: 0;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    overflow: hidden;
    border: 0;
    outline: 0;
    box-shadow: none;
}

.blog-detail-benefits__avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 0;
    outline: 0;
    box-shadow: none;
    display: block;
    transform: scale(1.01);
    transform-origin: center;
}

.blog-detail-benefits__aside-text{
    margin: 40px 0 0;
    color: #000;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
}

.blog-detail-benefits__aside-link{
    margin-top: 40px;
    color: #AA8062;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Optional helper for Bitrix visual editor content */
.blog-detail-benefits__richtext,
.blog-detail-benefits__left > span{
    display: block;
    margin: 0;
    max-width: 600px;
    color: #000;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.blog-detail-benefits__richtext > span,
.blog-detail-benefits__left > span > span{
    display: block;
    margin: 0;
}

.blog-detail-benefits__richtext strong,
.blog-detail-benefits__richtext b,
.blog-detail-benefits__left > span strong,
.blog-detail-benefits__left > span b{
    display: block;
    margin: 40px 0 20px;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
}

.blog-detail-benefits__richtext strong:first-child,
.blog-detail-benefits__richtext b:first-child,
.blog-detail-benefits__left > span > strong:first-child,
.blog-detail-benefits__left > span > b:first-child{
    margin-top: 0;
}

.blog-detail-benefits__left > span > span:first-child > strong:first-child,
.blog-detail-benefits__left > span > span:first-child > b:first-child{
    margin-top: 0;
}

.blog-detail-benefits__richtext strong + br,
.blog-detail-benefits__richtext b + br,
.blog-detail-benefits__left > span strong + br,
.blog-detail-benefits__left > span b + br{
    display: none;
}

.blog-detail-benefits__richtext > :first-child,
.blog-detail-benefits__left > span > :first-child{
    margin-top: 0 !important;
}

.blog-detail-benefits__richtext p,
.blog-detail-benefits__left > span p{
    margin: 0;
}

.blog-detail-benefits__richtext p + p,
.blog-detail-benefits__left > span p + p{
    margin-top: 40px;
}

.blog-detail-benefits__richtext p > strong:first-child,
.blog-detail-benefits__richtext p > b:first-child,
.blog-detail-benefits__left > span p > strong:first-child,
.blog-detail-benefits__left > span p > b:first-child{
    display: block;
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
}

.blog-detail-benefits__richtext span[style*="white-space: pre-wrap"],
.blog-detail-benefits__left > span span[style*="white-space: pre-wrap"]{
    white-space: normal !important;
}

.blog-detail-benefits__richtext br,
.blog-detail-benefits__left > span br{
    display: none;
}

/* =========================
    Blog Detail Rent Types
    ========================= */
.blog-detail-rent-types{
    margin-bottom: 42px;
}

.blog-detail-rent-types__shell{
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 100px 200px;
    border-radius: 70px;
    background: #002E42;
}

.blog-detail-rent-types__inner{
    padding-left: 100px;
    padding-right: 360px;
}

.blog-detail-rent-types__title{
    margin: 0;
    max-width: 1000px;
    color: #AA8062;
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
}

.blog-detail-rent-types__content{
    width: 600px;
    max-width: 100%;
    margin-top: 30px;
    display: grid;
    gap: 30px;
}

.blog-detail-rent-types__item{
    margin: 0;
}

.blog-detail-rent-types__item-title{
    margin: 0;
    color: #F4F4F4;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
}

.blog-detail-rent-types__item-text{
    margin: 0;
    color: #F4F4F4;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.blog-detail-rent-types__item-title + .blog-detail-rent-types__item-text{
    margin-top: 20px;
}

.blog-detail-rent-types__item-text + .blog-detail-rent-types__item-text{
    margin-top: 30px;
}

/* Pentru conținut injectat din Bitrix (visual editor) */
.blog-detail-rent-types__editor,
.blog-detail-rent-types__content > span{
    display: block;
    width: 600px;
    max-width: 100%;
    margin-top: 30px;
    color: #F4F4F4;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.blog-detail-rent-types__content > span{
    margin-top: 0;
}

.blog-detail-rent-types__editor > span,
.blog-detail-rent-types__content > span > span{
    display: block;
    margin: 0;
}

.blog-detail-rent-types__editor strong,
.blog-detail-rent-types__editor b,
.blog-detail-rent-types__content > span strong,
.blog-detail-rent-types__content > span b{
    display: block;
    margin: 30px 0 20px;
    color: #F4F4F4;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
}

.blog-detail-rent-types__editor > strong:first-of-type,
.blog-detail-rent-types__editor > b:first-of-type,
.blog-detail-rent-types__content > span > strong:first-of-type,
.blog-detail-rent-types__content > span > b:first-of-type{
    margin-top: 0;
}

.blog-detail-rent-types__content > span > span:first-child > strong:first-child,
.blog-detail-rent-types__content > span > span:first-child > b:first-child{
    margin-top: 0;
}

.blog-detail-rent-types__editor > :first-child,
.blog-detail-rent-types__content > span > :first-child{
    margin-top: 0 !important;
}

.blog-detail-rent-types__editor p,
.blog-detail-rent-types__content > span p{
    margin: 0;
}

.blog-detail-rent-types__editor p + p,
.blog-detail-rent-types__content > span p + p{
    margin-top: 30px;
}

.blog-detail-rent-types__editor p > strong:first-child,
.blog-detail-rent-types__editor p > b:first-child,
.blog-detail-rent-types__content > span p > strong:first-child,
.blog-detail-rent-types__content > span p > b:first-child{
    display: block;
    margin: 0 0 20px;
    color: #F4F4F4;
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
}

.blog-detail-rent-types__editor strong + br,
.blog-detail-rent-types__editor b + br,
.blog-detail-rent-types__content > span strong + br,
.blog-detail-rent-types__content > span b + br{
    display: none;
}

.blog-detail-rent-types__editor br + br,
.blog-detail-rent-types__content > span br + br{
    display: none;
}

.blog-detail-rent-types__editor span[style*="white-space: pre-wrap"],
.blog-detail-rent-types__content > span span[style*="white-space: pre-wrap"]{
    white-space: normal !important;
}

.blog-detail-rent-types__editor br,
.blog-detail-rent-types__content > span br{
    display: none;
}

/* =========================
    Credit Page
    ========================= */
.credit-intro{
    padding-top: 50px;
}

.credit-intro__inner{
    width: 1400px;
    max-width: 100%;
    height: 355px;
    margin: 0 auto;
    padding: 80px 60px;
    background: #0C6686;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.credit-intro__content{
    width: 650px;
    max-width: 100%;
    height: 195px;
}

.credit-intro__title{
    margin: 0;
    color: #FFFFFF;
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.credit-intro__text{
    margin: 30px 0 0;
    color: #FFFFFF;
    font-family: var(--second-family);
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
}

.credit-intro__media{
    width: 580px;
    height: 195px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.credit-intro__img{
    width: 336.01px;
    height: 418.29px;
    object-fit: contain;
    max-width: none;
}

.credit-hero{
    margin-top: 37px;
}

.credit-hero__inner{
    width: 1156.52px;
    max-width: 100%;
    min-height: 575.91px;
    margin: 0 auto;
    padding-left: 94px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 94px;
}

.credit-hero__media{
    display: flex;
    align-items: flex-start;
}

.credit-hero__img{
    width: 466.69px;
    height: 575.91px;
    max-width: none;
    object-fit: contain;
}

.credit-hero__content{
    width: 596px;
    max-width: 100%;
    min-height: 499px;
    margin-top: 45px;
}

.credit-hero__title{
    margin: 0;
    color: #221E1F;
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.credit-hero__lead{
    margin: 30px 0 0;
    color: #221E1F;
    font-family: var(--second-family);
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
}

.credit-hero__stats{
    margin-top: 30px;
    display: grid;
    gap: 30px;
}

.credit-hero__stat{
    margin: 0;
}

.credit-hero__stat-title{
    margin: 0;
    color: #000000;
    font-family: "Unbounded", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
}

.credit-hero__stat-text{
    margin: 10px 0 0;
    color: #221E1F;
    font-family: var(--second-family);
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
}

.credit-hero__btn{
    width: 405px;
    max-width: 100%;
    height: 64px;
    margin-top: 30px;
    padding: 16px 60px;
    background: #9E5B16;
    color: #FFFFFF;
    text-decoration: none;
    font-family: "Unbounded", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    box-shadow: none;
    transition: background-color .22s ease;
}

@media (hover: hover){
    .credit-hero__btn:hover{
        background: #8A4E12;
    }
}

.credit-hero__btn:focus-visible{
    outline: 2px solid #9E5B16;
    outline-offset: 2px;
}

.credit-calculator{
    margin-top: 125px;
    padding-bottom: 64px;
}

.credit-calculator__inner{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.credit-calculator__title{
    width: 596px;
    max-width: 100%;
    margin: 0;
    color: #221E1F;
    text-align: center;
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
}

.credit-calculator__text{
    width: 596px;
    max-width: 100%;
    margin: 10px 0 0;
    color: #221E1F;
    text-align: center;
    font-family: var(--second-family);
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
}

.credit-calculator__img{
    width: 1201px;
    max-width: 100%;
    height: 556px;
    margin-top: 37px;
    display: block;
    border: 0;
    background: #edf0f3;
}

.credit-calculator__results{
    width: 1201px;
    max-width: 100%;
    margin-top: 22px;
    color: #253746;
    font-family: "Nexa", var(--font-family), sans-serif;
    line-height: 24px;
}

.credit-calculator__results[hidden]{
    display: none;
}

.credit-calculator__results .form__results_table,
.credit-calculator__results .form__paid_table{
    background: #edf0f3;
    padding: 56px 38px 40px;
}

.credit-calculator__results .form__paid_table{
    margin-top: 20px;
    padding-left: 72px;
    padding-right: 72px;
}

.credit-calculator__results h2{
    margin: 0;
    color: #2f3440;
    font-family: var(--font-family);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
}

.credit-calculator__results .form__results_table table{
    width: 100%;
    border-collapse: collapse;
    margin-top: 26px;
}

.credit-calculator__results .form__results_table td{
    padding: 17px 0;
    border-bottom: 1px solid #d4d7db;
    font-size: 16px;
    vertical-align: middle;
}

.credit-calculator__results .form__results_table td.td_val{
    width: 180px;
    text-align: right;
    font-weight: 500;
}

.credit-calculator__results .form__results_table td.td_val::after{
    content: "";
    display: block;
    width: 108px;
    margin: 10px 0 0 auto;
    border-bottom: 1px solid #3fc5ba;
}

.credit-calculator__results .form__results_table td:last-child{
    width: 36px;
}

.credit-calculator__results .results__table_info{
    margin-top: 26px;
}

.credit-calculator__results .results__table_info p{
    margin: 0;
    max-width: 740px;
    font-size: 16px;
    line-height: 1.45;
}

.credit-calculator__results .form__paid_table{
    overflow-x: auto;
}

.credit-calculator__results .form__paid_table table.tb2{
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    margin-top: 26px;
}

.credit-calculator__results .form__paid_table thead th{
    padding: 18px 10px 20px;
    border-bottom: 2px solid #4ec9bc;
    color: #253746;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
}

.credit-calculator__results .form__paid_table thead th:first-child,
.credit-calculator__results .form__paid_table tbody td:first-child{
    text-align: left;
}

.credit-calculator__results .form__paid_table tbody td{
    padding: 22px 10px;
    border-bottom: 1px solid #d4d7db;
    color: #253746;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
}

.credit-calculator__results .form__paid_table tbody tr:last-child td{
    border-bottom: 2px solid #4ec9bc;
}

.credit-calculator__results .form__paid_table tbody td:last-child{
    font-size: 22px;
    font-weight: 500;
}

.credit-calculator__results .form__paid_table tfoot td{
    padding: 20px 10px;
    border-bottom: 2px solid #4ec9bc;
    color: #40baa9;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
}

.credit-calculator__results .form__paid_table tfoot td:first-child{
    font-family: var(--font-family);
    font-size: 40px;
    font-weight: 700;
    text-align: left;
}

@media (max-width: 991px){
    .credit-calculator__img{
        height: 680px;
    }

    .credit-calculator__results .form__results_table,
    .credit-calculator__results .form__paid_table{
        padding: 34px 20px 28px;
    }

    .credit-calculator__results h2{
        font-size: 40px;
    }

    .credit-calculator__results .form__results_table td.td_val::after{
        width: 72px;
    }

    .credit-calculator__results .form__paid_table tfoot td:first-child{
        font-size: 32px;
    }
}

@media (max-width: 575px){
    .credit-calculator__img{
        height: 760px;
    }

    .credit-calculator__results h2{
        font-size: 30px;
    }

    .credit-calculator__results .form__results_table td,
    .credit-calculator__results .results__table_info p,
    .credit-calculator__results .form__paid_table thead th,
    .credit-calculator__results .form__paid_table tbody td,
    .credit-calculator__results .form__paid_table tfoot td{
        font-size: 14px;
    }

    .credit-calculator__results .form__paid_table tbody td:last-child{
        font-size: 18px;
    }

    .credit-calculator__results .form__paid_table tfoot td:first-child{
        font-size: 26px;
    }
}

/* =========================
    Material Design Icons (local)
    ========================= */
@font-face{
    font-family: "Material Design Icons";
    src: url("./assets/fonts/materialdesignicons-webfont.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.mdi{
    display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mdi-phone::before{ content: "\F03F2"; }
.mdi-email-outline::before{ content: "\F01F0"; }
.mdi-map-marker::before{ content: "\F034E"; }

/* =========================
    Contact Page
    ========================= */
.contacte-section{
    padding: 115px 0;
}

.contacte-container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Two-column bordered wrapper */
.layout-bordered{
    display: flex;
    flex-direction: row;
    background: #ffffff;
}

.layout-bordered > *:first-child{
    padding-left: 30px;
    padding-right: 30px;
}

.layout-bordered > *:last-child{
    padding-left: 30px;
    padding-right: 30px;
}

.layout-bordered-aside,
.layout-bordered-main{
    width: 50%;
    min-width: 0;
}

.layout-bordered-main{
    border-left: 1px solid #e1e1e1;
}

/* Aside inner */
.layout-bordered-aside-inner{
    max-width: 430px;
    padding: 48px 0;
}

/* Main inner */
.layout-bordered-main-inner{
    max-width: 470px;
    margin-left: auto;
    padding: 48px 0;
}

/* Headings — Montserrat semibold */
.layout-bordered-aside-inner h1,
.layout-bordered-main-inner h2{
    margin: 0;
    color: #151515;
    font-family: var(--font-family);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
}

/* Description paragraph */
.layout-bordered-aside-inner > p{
    margin: 15px 0 0;
    color: #9b9b9b;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.71;
    letter-spacing: 0;
}

/* Terms group */
.layout-bordered-aside-group{
    margin-top: 33px;
    max-width: 400px;
}

.layout-bordered-aside-group > *{
    padding: 27px 0;
}

.layout-bordered-aside-group > *:first-child{
    padding-top: 0;
}

.layout-bordered-aside-group > *:last-child{
    padding-bottom: 0;
}

.layout-bordered-aside-group > * + *{
    border-top: 1px solid #e1e1e1;
}

/* Definition list */
.list-terms-1{
    margin: 0;
    max-width: 350px;
    letter-spacing: 0;
}

.list-terms-1 dt{
    margin: 0;
    color: #0d0d0d;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.list-terms-1 dd{
    margin: 10px 0 0;
    display: flex;
    align-items: center;
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.667;
    letter-spacing: 0.1em;
}

.list-terms-1 dd > * + *{
    display: inline-block;
    vertical-align: top;
    margin-left: 14px;
}

.list-terms-1 dd a{
    line-height: 1.45;
}

.list-terms-1 dd a,
.list-terms-1 dd a:active,
.list-terms-1 dd a:focus{
    color: #151515;
    text-decoration: none;
}

.list-terms-1 dd a:hover{
    color: var(--accent);
}

.list-terms-1 .icon{
    font-size: 1.33333em;
    color: var(--accent);
    line-height: 1;
    flex-shrink: 0;
    width: auto;
    min-width: auto;
}

.list-terms-1-link-big{
    font-size: 1.33333em;
}

/* Form */
.contacte-section .rd-form .row{
    margin-top: 30px;
    display: grid;
    gap: 20px;
}

.contacte-section .form-wrap{
    position: relative;
    width: 100%;
}

.contacte-section .form-label{
    display: none;
}

.contacte-section .form-input{
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 19px;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #151515;
    font-family: var(--font-family);
    background-color: #f3f4f9;
    border: 1px solid #f3f4f9;
    border-radius: 0;
    outline: none;
    transition: .3s ease-in-out;
    letter-spacing: 0;
    -webkit-appearance: none;
    appearance: none;
}

.contacte-section .form-input:focus{
    border-color: var(--accent);
}

.contacte-section .form-input::placeholder{
    color: #9a9a9a;
}

.contacte-section textarea.form-input{
    height: 135px;
    min-height: 50px;
    max-height: 230px;
    resize: vertical;
}

/* Button */
.contacte-section .button-primary{
    display: inline-block;
    min-width: 160px;
    padding: 15px 40px;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: #ffffff;
    font-family: var(--font-second);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .22s ease, border-color .22s ease;
}

.contacte-section .button-primary:hover{
    background: #8A4E12;
    border-color: #8A4E12;
}

.life-detail {
    max-width: 860px;
    margin: 48px auto 80px;
    padding: 0 24px;
    font-family: var(--font-family);
    color: #1a2530;
}

/* --- Hero image --- */
.life-detail__hero {
    margin: 0 0 40px;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}

.life-detail__hero-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

/* --- Meta (date + title + lead) --- */
.life-detail__meta {
    margin-bottom: 40px;
}

.life-detail__date {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--teal, #095f7e);
    margin-bottom: 14px;
}

.life-detail__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--teal-dark, #002e42);
    margin: 0 0 16px;
}

.life-detail__lead {
    font-size: 18px;
    line-height: 1.65;
    color: #4a5663;
    margin: 0;
    max-width: 65ch;
}

/* --- Divider --- */
.life-detail__meta::after {
    content: none;
}

/* --- Article body prose --- */
.life-detail__prose {
    font-size: 17px;
    line-height: 1.8;
    color: #2c3a47;
}

.life-detail__prose p { margin: 0 0 1.4em; }
.life-detail__prose h2 { font-size: 24px; font-weight: 700; color: var(--teal-dark, #002e42); margin: 2em 0 .7em; }
.life-detail__prose h3 { font-size: 20px; font-weight: 600; color: var(--teal-dark, #002e42); margin: 1.6em 0 .5em; }
.life-detail__prose ul,
.life-detail__prose ol { padding-left: 1.5em; margin: 0 0 1.4em; }
.life-detail__prose li { margin-bottom: .5em; }
.life-detail__prose a { color: var(--teal, #095f7e); text-decoration: underline; }
.life-detail__prose a:hover { color: var(--teal-dark, #002e42); }
.life-detail__prose img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5em 0;
}
.life-detail__prose blockquote {
    border-left: 4px solid var(--teal, #095f7e);
    margin: 1.8em 0;
    padding: .8em 1.2em;
    color: #4a5663;
    font-style: italic;
    background: #f4f8fa;
    border-radius: 0 6px 6px 0;
}

/* --- Back link --- */
.life-detail__footer {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid #e5ebef;
}

.life-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--teal, #095f7e);
    text-decoration: none;
    letter-spacing: .02em;
    transition: color .2s;
}

.life-detail__back:hover {
    color: var(--teal-dark, #002e42);
}

.blog-detail__footer{
    padding: 0 0 52px;
}

.blog-detail__back-link{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid #AA8062;
    background: #fff;
    color: #AA8062;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: all .25s ease;
}

.blog-detail__back-link:hover{
    background: #AA8062;
    border-color: #AA8062;
    color: #fff;
    box-shadow: 0 4px 16px rgba(170, 128, 98, 0.35);
}

.blog-detail__back-link svg{
    flex-shrink: 0;
    transition: transform .25s ease;
}

.blog-detail__back-link:hover svg{
    transform: translateX(-3px);
}

/* =========================
    Breakpoint ≤ 1439.98px
    Container: exact 20 px margin pe fiecare parte mereu.
    Toate dimensiunile scala proportional cu S = (100vw − 40px)/1400
    ========================= */
@media (max-width: 1439.98px) {

    /* ── 1. Container: 20 px de la margini la orice latime ── */
    .container {
        /* min(1400px, 100vw−40px) = container exact 20px de la margini */
        max-width: min(var(--container), calc(100% - 40px));
    }

    /* ── 2. Variabile scalate proportional (S = (100vw−40px)/1400) ── */
    :root {
        /* Categorii grid */
        --cat-top-h:     clamp(200px, calc((100vw - 40px) * 410  / 1400), 410px);
        --cat-bottom-h:  clamp(140px, calc((100vw - 40px) * 300  / 1400), 300px);

        /* Oferte layout */
        --offers-left-w:   clamp(380px, calc((100vw - 40px) * 690  / 1400), 690px);
        --offers-gap-x:    clamp(10px,  calc((100vw - 40px) *  20  / 1400),  20px);
        --offers-gap-y:    clamp(10px,  calc((100vw - 40px) *  20  / 1400),  20px);
        --offers-top-gap:  clamp(16px,  calc((100vw - 40px) *  33  / 1400),  33px);
        --offer-img-h:     clamp(200px, calc((100vw - 40px) * 385  / 1400), 385px);
        --offer-body-h:    clamp(200px, calc((100vw - 40px) * 385  / 1400), 385px);
        --offer-body-pad:  clamp(22px,  calc((100vw - 40px) *  50  / 1400),  50px);
        --promo-h:         clamp(170px, calc((100vw - 40px) * 300  / 1400), 300px);
        --hero-h:          clamp(260px, calc((100vw - 40px) * 481  / 1400), 481px);
    }

    /* ── 3. Section headings: coloane fixe → fluide (fr) ── */
    .section-head,
    .offers .section-head,
    .blog .section-head {
        grid-template-columns: minmax(0, 712fr) minmax(0, 588fr);
        gap: clamp(20px, calc((100vw - 40px) * 100 / 1400), 100px);
    }

    .blog .section-desc,
    .offers .section-desc {
        max-width: 100%;
    }

    /* ── 4. Section-title font scalat ── */
    .section-title,
    .blog .section-title,
    .reviews .section-title,
    .offers .section-title,
    .blogs-life__title {
        font-size: clamp(28px, calc((100vw - 40px) * 52 / 1400), 52px);
    }

    /* ── 5. Blog/oferta card heights scalate proportional ── */
    /* Card width ≈ container/4, ratio = 309/(container/4 la 1400) = 309/336.5 */
    .blog-card__img,
    .oferta-card__img {
        height: clamp(155px, calc((100vw - 40px) * 309 / 1400), 309px);
    }

    .blog-card__body,
    .oferta-card__body {
        max-height: none;
        min-height: clamp(155px, calc((100vw - 40px) * 284 / 1400), 284px);
    }

    /* ── 6. Review cards ── */
    .review-card {
        height: clamp(240px, calc((100vw - 40px) * 400 / 1400), 400px);
    }

    /* ── 7. Cat-grid–two formula (catalog page) ── */
    .section.categories.page .cat-grid--two {
        /* card-width = container/5 − gap: la 1400px → 280−11.2=268.8px; scaleaza cu containerul */
        --two-card-w: calc(((100vw - 40px) / 5) - 11.2px);
    }

    /* ── 8. Blogs listing: dimensiuni fixe → fluide ── */
    .blogs-listing__main {
        width: 100%;
        height: auto;
        max-height: none;
        grid-template-rows: auto auto;
    }

    .blogs-listing__cluster {
        width: 100%;
        height: auto;
        grid-template-columns: minmax(0, 469fr) minmax(0, 884fr);
    }

    .blogs-listing__right {
        width: 100%;
        height: auto;
        grid-template-rows: auto auto;
    }

    .blogs-listing__pair {
        width: 100%;
        height: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blogs-listing__defaults {
        width: 100%;
    }

    .blogs-listing__empty {
        width: 100%;
        padding: clamp(24px, 2.5vw, 44px);
    }

    .blogs-listing__empty-title {
        font-size: clamp(28px, 2.4vw, 36px);
    }

    .blogs-listing__empty-text {
        font-size: clamp(16px, 1.4vw, 18px);
        line-height: 1.55;
    }

    .blogs-featured-card {
        height: auto;
        grid-template-columns: minmax(0, 865fr) minmax(0, 535fr);
    }

    .blogs-featured-card__media {
        width: 100%;
        height: auto;
    }

    .blogs-featured-card__image {
        width: 100%;
        height: 100%;
    }

    .blogs-main-card--vertical {
        width: 100%;
        height: auto;
    }

    .blogs-main-card__image--square {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .blogs-main-card--wide {
        width: 100%;
        height: auto;
        grid-template-columns: minmax(0, 469fr) minmax(0, 415fr);
    }

    .blogs-main-card--compact {
        width: 100%;
        min-height: 0;
    }

    .blogs-main-card__image--compact {
        width: 100%;
        height: auto;
        aspect-ratio: 417 / 277.85;
    }

    /* ── 9. Blogs Life grid ── */
    .blogs-life__inner {
        width: 100%;
        height: auto;
    }

    .blogs-life__body {
        height: auto;
    }

    .blogs-life-card {
        height: auto;
        grid-template-rows: auto auto;
    }

    .blogs-life-card__image {
        height: auto;
        aspect-ratio: 1 / 1;
    }

    /* ── 10. Catalog detail – coloane fixe → fluide ── */
    .catalog-detail__content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(30px, calc((100vw - 40px) * 76 / 1400), 76px);
    }

    .catalog-detail-gallery,
    .catalog-detail-info {
        width: 100%;
    }

    .catalog-detail-gallery__thumbs-viewport{
        /* viewport covers 3 of 4 equal shares: (W - 3×gap)/4 × 3 + 2×gap = 75% - 5px */
        flex: none;
        width: calc(75% - 5px);
    }

    /* more button in track mode — must stay same width as each thumb (25% - 15px) */
    .catalog-detail-gallery__thumbs-viewport ~ .catalog-detail-gallery__more{
        flex: none;
        width: calc(25% - 15px);
        height: auto;
        aspect-ratio: 150.5 / 105.76;
    }

    .catalog-detail-gallery__thumb,
    .catalog-detail-gallery__more {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        height: auto;
        aspect-ratio: 150.5 / 105.76;
    }

    .catalog-detail-gallery__main {
        height: auto;
        aspect-ratio: 662 / 466;
    }

    /* ── 11. Breadcrumb page padding fluid ── */
    .breadcrumb-page {
        padding-left: max(20px, calc((100vw - var(--container)) / 2));
        padding-right: max(20px, calc((100vw - var(--container)) / 2));
    }

}

/* =========================
    Catalog frame lock 1024/984
    ========================= */
@media (max-width: 1439.98px) and (min-width: 1024px) {
    :root {
        --container: 1024px;
        --gutter: 20px;
        --cat-top-h: 287px;
        --cat-bottom-h: 204px;
    }

    .section.categories > .container,
    .catalog-intro > .container,
    .catalog-map-section > .container,
    .catalog-items > .container,
    .catalog-detail-intro > .container,
    .catalog-items__loadmore-wrap.container {
        width: 1024px;
        max-width: 1024px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    .header__inner.container {
        width: 1024px;
        max-width: 1024px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    .section.categories .cat-card--top {
        height: 287px;
    }

    .section.categories .cat-card--bottom {
        height: 204px;
    }

    .section.categories.page {
        align-items: flex-start;
    }

    .section.categories.page .cat-grid--two {
        --two-card-w: calc((984px / 5) - 11.2px);
        justify-content: center;
    }

    .catalog-intro__inner,
    .catalog-map-section .catalog-map-shell,
    .catalog-items__inner,
    .catalog-detail__shell {
        width: 100%;
        max-width: 984px;
        margin-left: auto;
        margin-right: auto;
    }

    .catalog-intro__title {
        display: none;
    }

    .catalog-filter-tabs {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: stretch;
        gap: 10px;
    }

    .catalog-filter-tab {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    .catalog-filter-select {
        flex: 1 1 0;
        min-width: 0;
        padding-left: 16px;
        padding-right: 16px;
        gap: 12px;
    }

    .catalog-filter-select__corner-label {
        left: 16px;
    }

    .catalog-detail__content {
        gap: 53.4px;
    }
}

.contact-link,
.contact-link:visited,
.contact-link:hover,
.contact-link:active {
    color: inherit;
    text-decoration: none;
}