html, body { margin: 0; background: #fff; }
body, input, textarea, button { font-family: Montserrat, sans-serif; font-size: 16px; color: #23154e; }
button, input, textarea { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.honeypot { position: absolute; left: -10000px; }
.noscript { margin: 16px; }

.viewport { width: 100%; overflow-x: hidden; }
.p-offer-list .viewport { display: flex; flex-direction: column; height: 100vh; }
.wrapper { width: 1726px; max-width: 100%; padding: 0 20px; margin: 0 auto; }

.header.subpage { position: relative; flex: 0 0 auto; height: 73px; background: #f4c41a; z-index: 5; }
.header .top { position: absolute; left: 0; top: 0; right: 0; height: 73px; }
.header.subpage .blue { position: absolute; top: 0; right: 0; width: 100px; height: 73px; overflow: hidden; }
.header.subpage .blue:before { content: ""; position: absolute; top: 0; right: -20px; display: block; width: 100%; height: 73px; background: #63c2c6; transform: skewX(-24deg); }
.header .top .logo { position: absolute; left: 20px; top: 20px; width: 171px; height: 32px; }
.header .top .logo img { display: block; width: 171px; height: 32px; }
.header .phone { position: absolute; top: 24px; right: 78px; font-weight: 700; text-decoration: none; z-index: 2; }
.menu-open, .menu-close { position: absolute; top: 27px; right: 20px; z-index: 2; width: 38px; height: 20px; padding: 0; border: 0; background: url("../../images/menu.svg") center / 38px 20px no-repeat; cursor: pointer; }
.menu { position: fixed; inset: 0; z-index: 20; display: none; }
.menu.open { display: block; }
.menu .overlay { position: absolute; inset: 0; background: rgba(35, 21, 78, 0.22); }
.menu .content { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; overflow: auto; }
.menu-close { background-color: #63c2c6; width: 64px; height: 64px; top: 0; }
.menu .items { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 12vh; padding: 24px; }
.menu .separator { width: 48px; height: 2px; background: #f4c41a; }
.menu .link { font-size: 22px; font-weight: 700; text-decoration: none; text-align: center; }
.menu .small { font-size: 13px; font-weight: 300; }

.-g { flex: 1 1 auto; min-height: 0; display: flex; }
.-h { flex: 0 1 798px; max-width: 100%; min-height: 0; display: flex; flex-direction: column; padding: 24px 16px; box-sizing: border-box; }
.-a { flex: 1 1 auto; min-height: 0; overflow: auto; }
.-j { position: relative; flex: 1 1 0; min-width: 0; background: #ebebeb; }
.-j .map { position: absolute; inset: 0; }
.-e { max-width: 666px; margin: 0 auto; }
.-b { position: relative; }

.-k { display: flex; align-items: flex-end; gap: 20px; line-height: 1.2; padding-bottom: 10px; border-bottom: 1px solid #ebebeb; }
.-k .caption { min-width: 0; font-weight: 700; color: #63c2c6; }
.-k .caption .row-1 { font-size: 30px; text-transform: uppercase; }
.-k .caption .row-2 { font-size: 18px; text-transform: uppercase; }
.-k .count { flex: 1 1 auto; font-size: 14px; text-align: right; }
.-k .count a { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; }

.filters { margin-bottom: 28px; padding: 18px; background: #f7f7f7; border-radius: 3px; }
.filters fieldset { margin: 0 0 16px; padding: 0; border: 0; }
.deal-filters, .category-filters { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.filters label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-transform: lowercase; }
.deal-filters label { text-transform: none; }
.price-fields { display: flex; gap: 12px; }
.price-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.price-fields input, .inquiry-form .input-text { width: 100%; box-sizing: border-box; height: 47px; padding: 0 16px; border: 0; border-radius: 3px; background: #fff; }
.inquiry-form textarea.input-text { height: auto; padding: 12px 16px; }
.filter-actions { display: flex; justify-content: flex-end; gap: 16px; align-items: center; margin-top: 16px; }
.button, .load-more { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 0 22px; border: 0; border-radius: 3px; background: #f4c41a; color: #fff; font-size: 14px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.text-button { border: 0; background: transparent; font-weight: 700; cursor: pointer; }
.load-more { display: flex; width: max-content; margin: 28px auto; }
.list-status { min-height: 1.4em; font-size: 14px; }
.list-status.error, .form-status.error { color: #e11515; }
.empty-result { margin: 28px 0; }
.empty-result h2 { margin: 0 0 8px; color: #63c2c6; }

.-g .offer { display: block; margin-top: 16px; text-decoration: none; }
.-g .offer .images { position: relative; display: flex; height: 166px; overflow: hidden; background: #ebebeb; }
.-g .offer .images img { flex: 1 1 0; width: 33%; height: 166px; object-fit: cover; }
.-g .offer .images img + img { margin-left: 1%; }
.-g .offer .images .tag { position: absolute; top: 14px; right: 0; height: 28px; line-height: 28px; padding: 0 24px; font-size: 12px; font-weight: 900; color: #fff; text-transform: uppercase; }
.-g .offer .images .tag.yellow { background: #f4c41a; }
.-g .offer .images .tag.blue { background: #63c2c6; }
.-g .offer .images .tag.darkblue { background: #23154e; }
.-g .offer .info { display: flex; align-items: flex-end; gap: 10px; margin-top: 12px; line-height: 22px; }
.-g .offer .info .left { flex: 1 1 auto; min-width: 0; }
.-g .offer .info .name { font-weight: 700; color: #63c2c6; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.-g .offer .info .address { font-size: 12px; }
.-g .offer .info .price { flex: 0 0 auto; font-size: 24px; font-weight: 900; color: #f4c41a; white-space: nowrap; }
.-g .offer:hover .name { text-decoration: underline; }

.-f { line-height: 1.1; padding-bottom: 10px; font-size: 14px; }
.-f .title { margin: 0; font-size: 30px; font-weight: 700; color: #63c2c6; text-transform: uppercase; }
.-f .address { margin: 12px 0 6px; }
.-f .fx { display: flex; align-items: flex-end; gap: 16px; }
.-f .price { flex: 1 1 auto; margin-top: 8px; }
.-f .price strong { margin-right: 8px; font-size: 30px; font-weight: 700; color: #f4c41a; }
.-f .link, .-e .row-link .link { flex: 0 0 auto; margin-left: auto; font-size: 12px; font-weight: 700; }
.-e .row-link { margin-top: 28px; text-align: right; }

.-e .img { position: relative; display: block; height: 0; margin-top: 8px; padding-top: 69.8%; overflow: hidden; background: #ebebeb; }
.-e .img > a { display: block; }
.-e .img img { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.-e .img .matterport { position: absolute; right: 10px; bottom: 10px; width: 240px; max-width: calc(100% - 20px); height: 40px; line-height: 38px; border: 1px solid #fff; border-radius: 6px; font-weight: 400; color: #fff; text-align: center; text-decoration: none; background: rgba(0, 0, 0, 0.5); }
.-e .description { margin: 36px 0; font-size: 12px; line-height: 2; }
.-e .description p { margin: 0; text-align: justify; }
.-e .subtitle { margin: 54px 0 4px; font-size: 18px; font-weight: 900; color: #f4c41a; text-transform: uppercase; }
.-e .params { display: grid; grid-template-columns: 1fr 1fr; line-height: 20px; font-size: 14px; }
.-e .params .param { display: flex; margin: 8px 0; }
.-e .params .caption { flex: 0 0 146px; }
.-e .params .value { font-weight: 700; }
.-e .params .red { color: #e11515; }
.tt-u { text-transform: uppercase; }
.media-link { margin: 0 0 20px; font-weight: 700; }
.media-link a { color: #63c2c6; }

.-e .contact-broker { display: flex; align-items: center; gap: 24px; margin: 60px 0 28px; padding: 30px; background: #ebebeb; border-radius: 3px; }
.-e .contact-broker .face, .-e .contact-broker .face img { width: 98px; height: 98px; border-radius: 50%; object-fit: cover; background: #fff; }
.-e .contact-broker .info { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; }
.-e .contact-broker .name { font-size: 18px; font-weight: 700; text-transform: uppercase; }
.-e .contact-broker .phone, .-e .contact-broker .email, .contact .phone, .contact .email { font-weight: 700; color: #63c2c6; text-decoration: none; }
.-e .contact-broker .button { flex: 0 0 auto; width: 196px; }
.-e .contact-broker p { margin: 0; }

.inquiry-form { max-width: 666px; margin: 0 auto 24px; }
.inquiry-form .field { display: block; margin-top: 12px; }
.inquiry-form .caption { display: block; margin-bottom: 4px; font-size: 12px; line-height: 2; }
.inquiry-form .input-text { background: #ebebeb; }
.inquiry-form .button { margin-top: 18px; }
.privacy-note, .form-status { font-size: 12px; line-height: 1.5; }

.contact { margin-top: 48px; text-align: center; }
.contact h2 { margin: 0; font-size: 18px; font-weight: 900; text-transform: uppercase; }
.contact p { margin: 10px 0 0; }
.contact .fx { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; margin-top: 18px; color: #63c2c6; }
.contact .fx img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }

.photo-lightbox { width: min(960px, calc(100vw - 32px)); padding: 0; border: 0; background: #23154e; }
.photo-lightbox::backdrop { background: rgba(35, 21, 78, 0.72); }
.photo-lightbox img { display: block; width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
.dialog-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px; color: #fff; }
.dialog-head button { border: 0; background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.dialog-head span { flex: 1 1 auto; text-align: center; }
.leaflet-marker-icon.marker { background: none; border: none; }
.marker { width: 60px; height: 52px; font-size: 14px; font-weight: 700; text-align: center; cursor: pointer; }
.marker .nametag { position: absolute; display: none; flex-direction: column; justify-content: center; width: 186px; height: 58px; padding: 0 8px; background: #63c2c6; transform: translate(-63px, -58px); box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3); box-sizing: border-box; }
.marker .title { max-height: 32px; color: #fff; line-height: 16px; overflow: hidden; }
.marker .price { margin-top: 2px; color: #23154e; }
.marker .match { display: none; }
.marker .no-match { display: block; }
.marker img { display: block; width: 60px; height: 52px; }
.marker:hover, .marker:focus-visible, .marker.selected { z-index: 1000 !important; }
.marker:hover .nametag, .marker:focus-visible .nametag, .marker.selected .nametag { display: flex; }
.marker:hover .match, .marker:focus-visible .match, .marker.selected .match { display: block; }
.marker:hover .no-match, .marker:focus-visible .no-match, .marker.selected .no-match { display: none; }
.marker.selected .nametag { background: #fff; }
.marker.selected .nametag .title { color: #63c2c6; }

@media (max-width: 900px) {
    .p-offer-list .viewport { height: auto; min-height: 100vh; }
    .-g { flex-direction: column; }
    .-h { flex: none; }
    .-a { overflow: visible; }
    .-j { flex: none; height: 320px; }
    .header .phone { right: 64px; font-size: 13px; }
    .-e .contact-broker { flex-direction: column; text-align: center; }
    .-e .params { grid-template-columns: 1fr; }
    .-k { flex-direction: column; align-items: flex-start; }
    .-k .count { text-align: left; }
    .-f .fx { flex-direction: column; align-items: flex-start; }
    .-f .price strong { font-size: 24px; }
    .-f .title, .-k .caption .row-1 { font-size: 22px; }
}
