body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}

body {
    padding-top: 40px;
}

*:focus {
    outline: none;
}

.city_selector {
    cursor: pointer;
    position: relative;
    display: inline-block;
}

.city_selector>div {
    display: none;
    position: absolute;
}

.city_selector:hover {
    background: white;
    outline: 5px solid white;
}

.city_selector:hover>div {
    display: block;
    width: 200px;
    background: white;
    left: -5px;
    padding: 5px;
}

.city_selector span {
    font-size: 13px;
    line-height: 16px;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #a9a9a9;
    display: inline-block;
}

.city_selector>i {
    display: inline-block;
    background-position: -65px -16px;
    background-image: url(/js/ui/jquery-ui-1.12.1.custom/images/ui-icons_222222_256x240.png);
    width: 16px;
    height: 16px;
    top: 4px;
    left: 4px;
    position: relative;
}



em {
    font-style: italic !important;
}

.bold {
    font-weight: bold;
}

fieldset,
img {
    border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
    font-weight: normal;
}

ol,
ul {
    list-style: none;
}

ul {
    list-style: square inside;
    margin-left: 20px;
}

caption,
th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

q:before,
q:after {
    content: '';
}

abbr,
acronym {
    border: 0;
}

img {
    vertical-align: middle;
}

strong {
    font-weight: bold;
}

sup {
    vertical-align: top;
    line-height: normal;
}

select {
    -moz-appearance: none;
    -webkit-appearance: none;
}


/*/css-resert*/

@font-face {
    font-family: 'TT Norms';
    src: url('/css/font/ttnorms-bolditalic.eot');
    src: url('/css/font/ttnorms-bolditalic.eot?#iefix') format('embedded-opentype'), url('/css/font/ttnorms-bolditalic.woff2') format('woff2'), url('/css/font/ttnorms-bolditalic.woff') format('woff'), url('/css/font/ttnorms-bolditalic.ttf') format('truetype'), url('/css/font/ttnorms-bolditalic.svg#tt_normsbold_italic') format('svg');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Norms';
    src: url('/css/font/ttnorms-italic.eot');
    src: url('/css/font/ttnorms-italic.eot?#iefix') format('embedded-opentype'), url('/css/font/ttnorms-italic.woff2') format('woff2'), url('/css/font/ttnorms-italic.woff') format('woff'), url('/css/font/ttnorms-italic.ttf') format('truetype'), url('/css/font/ttnorms-italic.svg#tt_normsitalic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Norms';
    src: url('/css/font/ttnorms-regular.eot');
    src: url('/css/font/ttnorms-regular.eot?#iefix') format('embedded-opentype'), url('/css/font/ttnorms-regular.woff2') format('woff2'), url('/css/font/ttnorms-regular.woff') format('woff'), url('/css/font/ttnorms-regular.ttf') format('truetype'), url('/css/font/ttnorms-regular.svg#tt_normsregular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Norms';
    src: url('/css/font/ttnorms-bold.eot');
    src: url('/css/font/ttnorms-bold.eot?#iefix') format('embedded-opentype'), url('/css/font/ttnorms-bold.woff2') format('woff2'), url('/css/font/ttnorms-bold.woff') format('woff'), url('/css/font/ttnorms-bold.ttf') format('truetype'), url('/css/font/ttnorms-bold.svg#tt_normsbold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

a {
    color: #000;
}

a:hover {
    text-decoration: none;
}

body {
    font: 15px / 21px 'TT Norms', Tahoma, serif;
    background: #eaebf0;
}

.wraper {
    max-width: 1030px;
    margin: 0 auto;
    position: relative;
}

.section {
    position: relative;
    z-index: 5;
}

.section+.section:not(.main-menu):not(.banner),
.holder.dbl {
    margin-top: 60px;
}

.section.slick+.section {
    margin-top: 30px;
}

.holder {
    margin-top: 30px;
}

.wraper:after,
.section:after,
.holder:after {
    content: '';
    display: block;
    clear: both;
}

[class*="col-"] {
    float: left;
    margin-left: 30px;
    min-height: 10px;
}

[class*="col-"]:first-child {
    margin-left: 0;
}

.col-1-2,
.col-2-4 {
    width: 500px;
}

.col-1-4 {
    width: 235px;
}

.col-3-4 {
    width: 765px;
}

ul.cols-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: -30px;
    margin-top: -30px;
}

ul.cols-list>li {
    flex-grow: 0;
    flex-shrink: 1;
}

ul.cols-list>li,
ul.cols-list>li:first-child {
    margin-top: 30px;
    margin-left: 30px;
}

ul.menu-holder {
    list-style: none;
    margin: 0;
    padding: 0;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -o-flex-wrap: nowrap;
    flex-wrap: nowrap;
    justify-content: space-between;
}

ul.menu-holder a {
    font-size: 17px;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #a9a9a9;
}

ul.menu-holder a:hover {
    border-bottom: none;
}

.icon {
    display: inline-block;
    margin-right: 10px;
}

.icon::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 24px;
    vertical-align: middle;
}

.icon-phone::before {
    background: url('/images/icons/phone.png') no-repeat;
    margin-top: -10px;
}

.icon-send::before {
    background: url('/images/icons/send.png') no-repeat;
}

.icon-team::before {
    background: url('/images/icons/user.png') no-repeat;
}

.icon-like::before {
    background: url('/images/icons/like.png') no-repeat;
}

#content {
    padding: 30px;
    padding-top: 0px !important;
}

#content .ui-state-hover,
#content .ui-state-default,
#content .ui-widget-content .ui-state-default,
#content .ui-widget-content .ui-state-active,
#content .ui-state-active {
    border: 1px solid #2d366a!important;
    color: #000 !important;
}

input[type='text'],
input[type='email'],
textarea,
select {
    background: transparent;
    border: 1px solid #2d366a;
    height: 30px;
    box-sizing: border-box;
    min-width: 200px;
    padding: 0 8px;
    border-radius: 0px;
    color: #000;
    font: 15px 'TT Norms', Tahoma, serif;
    box-shadow: none;
}

.sort_div {
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 0px;
    clear: both;
    margin-bottom: 0px;
}

.sort_div * {
    color: #2d366a !important;
    border-color: #2d366a !important;
}

select:after {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    right: 10px;
    top: 5px;
    background-image: url(/js/ui/jquery-ui-1.12.1.custom/images/ui-icons_222222_256x240.png);
}

textarea {
    width: 500px;
    max-width: 100%;
    min-height: 100px;
    padding: 8px;
}

.frm_row+.frm_row {
    margin-top: 15px;
}

.frm_btns {
    margin-top: 15px;
}

.form_personal {
    margin-top: 15px;
    font-size: 13px;
}

.frm_row .tit {
    margin-bottom: 5px;
}

.section.header {
    margin-top: 0;
    padding-top: 60px;
}

.section.main-menu {
    min-height: 22px;
    position: relative;
    z-index: 9999;
}

body.fixed .section.main-menu .fixed_helper>.wraper {}

body.fixed .section.main-menu .fixed_helper {
    position: fixed;
    top: 0px;
    width: 100%;
    padding: 15px 0px;
    background: #eaebf0 no-repeat center -180px;
    z-index: 9000;
}

.mfp-wrap {
    z-index: 10001;
}

.mfp-fade.mfp-bg.mfp-ready {
    z-index: 10000;
}

.obj-i .info {
    position: absolute;
    bottom: 50px;
}

.header .wraper {
    align-items: center;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -o-flex-wrap: nowrap;
    flex-wrap: nowrap;
    justify-content: space-between;
    height: 68px;
}

.header .wraper::after {
    display: none;
}

.header a.logo {
    -webkit-flex: 0 0 235px;
    -moz-flex: 0 0 235px;
    -ms-flex: 0 0 235px;
    -o-flex: 0 0 235px;
    flex: 0 0 235px;
    box-sizing: border-box;
    padding-left: 77px;
    /* logo background removed */
    text-decoration: none;
    color: #000;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.9em;
    width: 235px;
    background-size: contain;
}

.header a.btn {
    -webkit-flex: 0 0 235px;
    -moz-flex: 0 0 235px;
    -ms-flex: 0 0 235px;
    -o-flex: 0 0 235px;
    flex: 0 0 235px;
}

.header a.logo b {
    font-weight: bold;
    font-size: 2.6666666em;
    letter-spacing: -2px;
    line-height: .933333333em;
    display: block;
}

.header a.logo span {
    display: block;
    font-size: 1.5em;
    letter-spacing: -0.03em;
}

.header .contacts {
    -webkit-flex: 0 0 500px;
    -moz-flex: 0 0 500px;
    -ms-flex: 0 0 500px;
    -o-flex: 0 0 500px;
    flex: 0 0 500px;
    font-size: 13px;
}

.header .contacts .phones,
.company-phones {
    font-size: 22px;
    margin: 7px 0 4px;
    letter-spacing: -1px;
}

.header .contacts .phones span,
.company-phones span {
    white-space: nowrap;
}

.company-contacts {
    font-size: 13px;
}

a.btn,
input.btn,
.btn {
    font-size: 16px;
    text-decoration: none;
    background: #fff;
    color: #000;
    border-radius: 5px;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    overflow: hidden;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -o-flex-wrap: nowrap;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 10px 20px 0px rgba(45, 54, 106, 0.25);
    width: 235px;
    height: 50px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: .8s cubic-bezier(.165, .84, .44, 1);
}

a.btn:hover,
input.btn:hover,
.btn:hover {
    color: #fff;
    cursor: pointer;
}

.btn1 {
    text-decoration: none;
    outline: none;
    color: white;
    display: inline-block;
    position: relative;
    padding: 15px 30px;
    border: 1px solid;
    border-image: linear-gradient(180deg, #ff3000, #ed0200, #ff096c, #d50082);
    border-image-slice: 1;
    margin: 10px 20px;
    text-transform: uppercase;
    overflow: hidden;
    letter-spacing: 2px;
    transition: .8s cubic-bezier(.165, .84, .44, 1);
}

.btn:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 0;
    width: 100%;
    z-index: -1;
    color: white;
    background: linear-gradient(180deg, #2d366a, #2d366a);
    transition: .8s cubic-bezier(.165, .84, .44, 1);
}

.btn:hover {
    background: rgba(255, 255, 255, 0);
}

.btn:hover:before {
    bottom: 0%;
    top: auto;
    height: 100%;
}

h1,
.h1 {
    font-size: 32px;
    letter-spacing: -2px;
    margin-bottom: 30px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 32px;
}

h2,
.h2 {
    font-size: 28px;
    letter-spacing: -2px;
    margin-bottom: 30px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.1;
}

h3,
.h3 {
    font-size: 22px;
    letter-spacing: -1px;
    margin-bottom: 30px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 22px;
}

h4,
.h4 {
    font-size: 16px;
    margin-bottom: 30px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 20px;
}

p+p {
    margin-top: 15px;
}

p+h3 {
    margin-top: 30px;
}

p+h4 {
    margin-top: 30px;
}

.title {
    display: block;
    color: #dc0029;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: bold;
}

.date {
    font-size: 28px;
    letter-spacing: -2px;
    font-weight: bold;
    margin-top: 10px;
}

.section.news {
    padding-top: 30px;
}

.section .news-section {
    background: #fff;
    padding: 60px 0;
}

.items-holder .obj-list {
    justify-content: center;
    display: grid !important;
    margin: 0px !important;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
}

.items-holder ul.obj-list>li,
.items-holder ul.obj-list>li:first-child {
    margin: 0px !important;
}

.obj-i {
    background: #ffffff;
    box-shadow: 0px 10px 20px 0px rgba(45, 54, 126, 0.25);
    box-sizing: border-box;
    padding: 0 15px;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -o-flex-wrap: nowrap;
    flex-wrap: nowrap;
    align-content: space-between;
    font-size: 13px;
    position: relative;
    min-height: 360px;
}

.obj-i>* {
    flex: 0 0 auto;
    margin-bottom: 15px;
}

.obj-i .obj-img {
    margin: 0 -15px 15px;
    display: block;
}

.obj-i .obj-img img {
    max-width: 100%;
}

.obj-i .flags {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

.obj-i .flags>img {
    width: 24px;
}

.obj-list .obj-img .slick-slide {
    padding: 0;
}

.obj-i .title {
    font-weight: normal;
    text-transform: none;
    font-size: 17px;
    color: #000;
    margin-bottom: 15px;
    text-decoration: none;
}

.obj-i .title span {
    border-bottom: 1px solid #abafc3;
}

.obj-i .title:hover span {
    text-decoration: none;
}

.obj-i .price,
.obj-card .price {
    margin-top: auto;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: -1px;
    position: absolute;
    bottom: 0px;
}

.obj-card .price {
    margin-top: 0;
}

.obj-i .price .sub,
.obj-card .price .sub {
    color: #555;
    font-size: 10px;
    letter-spacing: 0;
    font-weight: normal;
    text-transform: uppercase;
}

.obj-i .obj-like-action {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 21px;
    height: 18px;
}

.obj-card-info {
    position: relative;
}

.obj-card-info .obj-like-action {
    position: absolute;
    top: 90px;
    right: 0;
    width: 21px;
    height: 18px;
}

.obj-like-action.active .icon-like::before {
    background: url(/images/icons/likeon.png) no-repeat;
}

.obj-i:hover a,
.obj-i:hover a span {
    text-decoration: none;
    border-bottom: none;
}

.subscribe {
    background: #e2efd1;
    color: #000;
    margin-top: 60px;
}

.subscribe .col-1-2 {
    box-sizing: border-box;
    padding: 30px;
}

.subscribe h3 {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 17px;
}

.subscribe img {
    display: block;
    float: left;
    margin-top: -30px;
}

.subscribe-form {
    margin: 30px 0;
}

.subscribe-form .tit {
    display: none;
}

.subscribe-form input {
    display: block;
}

.subscribe-form input[type='email'] {
    box-sizing: border-box;
    height: 30px;
    border: 1px solid #727a64;
    background: transparent;
    color: #000;
    padding: 0 10px;
    font: 15px 'TT Norms', Tahoma, serif;
}

.subscribe-form input[type='email']::-webkit-input-placeholder {
    color: rgba(255, 255, 255, .6)
}

.subscribe-form input[type='email'] ::-moz-placeholder {
    color: rgba(255, 255, 255, .6)
}

.subscribe-form input[type='email']:-ms-input-placeholder {
    color: rgba(255, 255, 255, .6)
}

.subscribe-form input[type='email']:-moz-placeholder {
    color: rgba(255, 255, 255, .6)
}

.subscribe-form input[type='submit'] {
    color: #000;
    background: none;
    border: none;
    font: 18px 'TT Norms', Tahoma, serif;
    margin-top: 10px;
    cursor: pointer;
}

.agent::after {
    content: '';
    display: block;
    clear: both;
}

.agent-img {
    float: left;
    margin-right: 30px;
    width: 100px;
    height: auto!important;
    min-height: 120px;
    position: relative;
}

.agent-img img {
    width: 100px;
    height: auto!important;
    z-index: 3;
    position: relative;
}

.agent-img.big img {
    width: 100%;
}

.agent-img::after {
    content: '';
    display: block;
    z-index: 2;
    background: #fff;
    width: 100px;
    height: 100px;
    bottom: 0;
    left: 0;
    border-radius: 85px;
    position: absolute;
    box-shadow: 0px 10px 20px 0px rgba(45, 54, 106, 0.25);
}

.agent-card .agent-img {
    width: 235px;
}

.agent .title {
    margin-top: 0;
    margin-bottom: 5px;
}

.agent-contacts {
    margin-top: 15px;
}

.section.team .wraper {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -o-flex-wrap: nowrap;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.section.team .wraper::after {
    display: none;
}

#mainmap {
    box-shadow: 0px 10px 20px 0px rgba(45, 54, 106, 0.25);
    height: 100%;
    min-height: 570px;
}

.section.footer {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #2d366a;
    color: #fff;
}

.section.news+.section.footer {
    margin-top: 0;
}

.section.banner {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    top: 32px;
    height: 668px;
    margin-top: 0;
    box-shadow: 0px 10px 20px 0px rgba(45, 54, 106, 0.25);
}

.section.banner .banner-content {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
}

.banner-bg {
    background-color: #0d1634;
    height: 668px;
    position: relative;
    overflow: hidden;
}

.banner-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.banner-img-lcp {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.section.banner+.section.types,
.section.banner+.section {
    margin-top: 500px;
}

.section.banner.inner {
    height: 268px;
}

.section.banner.inner .banner-bg {
    background: #1a2b49 url('/images/banner.webp') 50% 0 no-repeat;
    background-size: cover;
    height: 100%;
}

.section.banner.inner+.section {
    margin-top: 120px;
}

.filter {
    position: relative;
    background: #2d366a;
    color: #fff;
    padding: 30px;
    box-sizing: border-box;
    margin-bottom: 60px;
    margin-top: -90px;
}

.section.banner .filter {
    position: absolute;
    left: 50%;
    bottom: 60px;
    height: 340px;
    margin-left: 15px;
    margin-bottom: 0;
    margin-top: 0;
}

.filter::after,
.footer::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 5px;
    right: 0;
    margin-top: -5px;
    background: url('/images/flttop.png') repeat-x;
}

.filter a {
    color: #fff;
}

.filter h3 .sub {
    font-size: 17px;
    text-transform: none;
    display: block;
    margin-top: 10px;
    font-weight: normal;
    letter-spacing: 0;
}

.filter .col-1-4 {
    width: 220px;
}

.banner .filter .col-1-4 {
    width: 205px;
}

.filter .col-2-4 {
    width: 470px;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
}

.banner .filter .col-2-4 {
    width: 440px;
}

.banner .filter .col-1-2 {
    width: 440px;
}

.filter ul.cols-list {
    margin-top: -15px;
}

.filter ul.cols-list>li {
    margin-top: 15px;
    margin-left: 30px !important;
}

.filter ul.cols-list>li>div.col-1-4 {
    margin-top: 0 !important;
}

.filter input[type='text'],
.filter select,
.flt-chk-holder {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .4);
    height: 30px;
    box-sizing: border-box;
    width: 100%;
    padding: 0 8px;
    color: #fff;
    font: 15px 'TT Norms', Tahoma, serif;
    box-shadow: none;
}

.filter input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, .6)
}

.filter input ::-moz-placeholder {
    color: rgba(255, 255, 255, .6)
}

.filter input:-ms-input-placeholder {
    color: rgba(255, 255, 255, .6)
}

.filter input:-moz-placeholder {
    color: rgba(255, 255, 255, .6)
}

.filter button {
    color: #fff;
    background: none;
    border: none;
    font: 18px 'TT Norms', Tahoma, serif;
    margin-top: 10px;
    border-bottom: 1px solid #8186a6;
    padding: 0;
    cursor: pointer;
}

.filter button:hover {
    border-bottom-color: #2d366a;
}

.flt-chk {
    display: none;
}

.flt-chk-holder {
    padding: 0;
    line-height: 30px;
    height: 30px;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -o-flex-wrap: nowrap;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

.flt-chk+label {
    cursor: pointer;
    padding: 0 8px;
    flex: 0 0 auto;
    height: 28px;
}

.flt-chk:checked+label {
    background: #dc0029;
}

.dir {
    position: relative;
    display: block;
}

.dir img {
    width: 100%;
    z-index: 3;
    position: relative;
}

.agent-card .agent-img::after,
.dir::after {
    content: '';
    display: block;
    z-index: 2;
    background: #fff;
    width: 234px;
    height: 234px;
    bottom: 3px;
    left: 0;
    border-radius: 235px;
    position: absolute;
    box-shadow: 0px 10px 20px 0px rgba(45, 54, 106, 0.25);
}

.dir span {
    z-index: 4;
    position: absolute;
    color: #fff;
    background: #2d366a;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    bottom: 30px;
    left: 0;
}

.obj-types li {
    text-align: center;
}

.obj-types a {
    text-decoration: none;
    color: #000;
}

.obj-types .title {
    margin-top: 15px;
    margin-bottom: 10px;
}

.obj-types .title span {
    font-size: 17px;
    font-weight: normal;
    border-bottom: 1px solid #abafc3;
    text-transform: none;
}

.obj-types .cnt {
    font-size: 13px;
    color: #fff;
    background: #2d366a;
    padding: 5px 13px;
}

.obj-types li:hover a,
.obj-types li:hover .title span {
    text-decoration: none;
    border-bottom: none;
}

.obj-types li:hover .cnt {
    background: #dc0029;
}

.obj-types {
    justify-content: center
}

.h1.color {
    position: relative;
}

.h1.color::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 50%;
    background: #2d366a;
    margin-left: 15px;
}

.h1.color.red::after {
    background: #dc0029;
}

.banner-text {
    position: absolute;
    left: 50%;
    margin-left: -515px;
    bottom: 60px;
    text-decoration: none !important;
}

.banner-text .big {
    font-size: 154px;
    font-weight: bold;
    color: #dc0029;
    line-height: 140px;
}

.banner-text {
    font-size: 32px;
    color: #fff;
    line-height: 33px;
    letter-spacing: -1px;
    text-decoration: none !important;
}

.banner-text b {
    font-size: 62px;
    line-height: 62px;
    text-transform: uppercase;
}

.obj-list .slick-slide {
    width: 235px;
    padding: 0 15px 30px;
    text-align: center;
}

.obj-list .slick-slide .obj-i {
    max-width: 235px;
    text-align: left;
}

.obj-list.slick-initialized,
.parnters-list.slick-initialized {
    margin-left: -15px;
    margin-right: -15px;
    margin-top: 0;
    position: relative;
    display: block;
}

.slick-arrow {
    position: absolute;
    right: 30px;
    top: -53px;
    background: url('/images/icons/arrows.png') -26px 0 no-repeat;
    height: 14px;
    width: 16px;
    cursor: pointer;
}

.slick-arrow.slick-prev {
    margin-right: 26px;
    background: url('/images/icons/arrows.png') 0 0 no-repeat;
}

.section.banner .banner-content {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}
.section.banner .banner-bg {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s !important;
    z-index: 1 !important;
}
.section.banner .banner-bg.active,
.section.banner .banner-bg:first-child {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2 !important;
    transition: none !important;
}
.section.banner .banner-bg.active {
    z-index: 3 !important;
}

.banner-arrows {
    position: absolute !important;
    bottom: 30px !important;
    left: calc(50% - 540px) !important;
    display: flex !important;
    gap: 12px !important;
    z-index: 10 !important;
}
@media (max-width: 1160px) {
    .banner-arrows {
        left: 20px !important;
    }
}
@media (max-width: 768px) {
    .banner-arrows {
        bottom: 18px !important;
        left: 14px !important;
    }
}

.banner-arrow,
.banner .slick-arrow {
    top: auto !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    border: none !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}
.banner-arrow:hover,
.banner .slick-arrow:hover {
    background: #ffffff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3) !important;
}
.banner-arrow.banner-prev,
.banner .slick-arrow.slick-prev {
    background: rgba(255, 255, 255, 0.88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e293b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E") center / 18px 18px no-repeat !important;
}
.banner-arrow.banner-next,
.banner .slick-arrow.slick-next {
    background: rgba(255, 255, 255, 0.88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e293b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") center / 18px 18px no-repeat !important;
}
@media (max-width: 768px) {
    .banner-arrow,
    .banner .slick-arrow {
        width: 34px !important;
        height: 34px !important;
    }
}

.team.slick-initialized {
    margin-top: 0;
    margin-left: 0;
}

.team .slick-slide {
    height: 165px;
    width: 100%;
}

.menu-btn {
    display: none;
}

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8 !important;
    background: #2d366a!important;
}

.mfp-move-horizontal {
    /* start state */
    /* animate in */
    /* animate out */
}

.mfp-move-horizontal .mfp-content {
    opacity: 0;
    transition: all 0.5s;
    transform: translateX(-50px);
}

.mfp-move-horizontal.mfp-bg {
    opacity: 0;
    transition: all 0.5s;
}

.mfp-move-horizontal.mfp-ready .mfp-content {
    opacity: 1;
    transform: translateX(0);
}

.mfp-move-horizontal.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-move-horizontal.mfp-removing .mfp-content {
    transform: translateX(50px);
    opacity: 0;
}

.mfp-move-horizontal.mfp-removing.mfp-bg {
    opacity: 0;
}

.mfp-content .menu-holder {
    background: #fff;
    padding: 20px 30px;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    text-align: center;
    height: 85vh;
    justify-content: center;
}

.mfp-content .menu-holder li {
    margin: 10px 0;
}

.pages {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -o-flex-wrap: nowrap;
    flex-wrap: nowrap;
    justify-content: center;
}

.pages .pages-h {
    padding: 0 10px;
}

.pages .pages-h a {
    font-weight: bold;
    font-size: 22px;
    color: #000;
    display: inline-block;
    padding: 0 5px;
    line-height: 35px;
}

.pages .pages-h a.page-active {
    text-decoration: none;
}

.pages>a {
    background: #dc0029;
    color: #fff;
    text-decoration: none;
    height: 35px;
    width: 50px;
    text-align: center;
    line-height: 35px;
    display: flex;
}

.pages>a:after {
    display: block;
    content: '';
    margin: auto;
    height: 14px;
    width: 16px;
    margin: auto;
    background: url(/images/icons/arrows.png) -26px 0 no-repeat;
}

.pages>a.page-prev:after {
    display: block;
    content: '';
    margin: auto;
    height: 14px;
    width: 16px;
    margin: auto;
    background: url(/images/icons/arrows.png) 0 0 no-repeat;
}

ul.cols-list.review-list {
    margin-top: -60px;
    margin-left: -30px;
}

ul.cols-list.review-list .review-i {
    margin-top: 60px;
}

.review-i .thickbox {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 20px 0 rgba(45, 54, 106, .25);
    margin-left: 15px;
    margin-bottom: 15px;
    float: right;
}

.review-i .thickbox img {
    width: 100%;
}

.ajax-popup {
    margin-left: auto;
    margin-right: auto;
    padding: 60px;
    background: #fff;
    width: 620px;
    position: relative;
    max-width: 100%;
    box-sizing: border-box
}

.ajax-popup h2.holder {
    margin-top: 0;
}

body .ui-widget-content .ui-state-active {
    background: gray;
}

.news-i .news-img {
    margin-left: 15px;
    margin-bottom: 15px;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    float: right;
}

.news-card .news-img,
.round-img {
    width: 235px;
    height: 235px;
    margin: 0 0 0 30px;
    display: block;
    border-radius: 120px;
    float: right;
}

.news-img,
.round-img {
    box-shadow: 0 10px 20px 0 rgba(45, 54, 106, .25);
    overflow: hidden;
}

.news-img img,
.round-img img {
    width: 100%;
}

.news-section .news-img {
    display: none;
}

.info-table {
    list-style: none;
    margin: 0;
    padding: 0;
    -moz-column-count: 2;
    /* Для Firefox */
    -moz-column-width: 200px;
    -moz-column-gap: 30px;
    -webkit-column-count: 2;
    /* Для Safari и Chrome */
    -webkit-column-width: 200px;
    -webkit-column-gap: 30px;
    column-count: 2;
    column-width: 200px;
    column-gap: 30px;
}

.info-table li {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -o-flex-wrap: nowrap;
    flex-wrap: nowrap;
    justify-content: space-between;
    break-inside: avoid-column;
    -webkit-column-break-inside: avoid;
}

.info-table li span {
    flex: 0 0 auto;
}

.info-table-title {
    order: 1;
}

.info-table-value {
    order: 3;
}

.info-table li:after {
    content: '';
    display: block;
    border-bottom: 1px dotted #555;
    order: 2;
    flex: 1 0 auto;
    margin: 0 5px 5px;
    order: 2;
}

.ya_map {
    min-height: 570px;
    box-shadow: 0px 10px 20px 0px rgba(45, 54, 106, 0.25);
}

.obj-card {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -o-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.obj-card-info {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    -o-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.obj-card-info>* {
    margin-bottom: 15px;
    margin-top: 0;
}

.obj-card-info .actions {
    margin-top: auto;
    margin-bottom: 0;
}

.obj-more-links {
    text-align: center;
    font-size: 12px;
}

.fotorama__thumb-border {
    border-color: #dc0029;
}

.ui-widget ul li {
    list-style: none;
}

body .ui-corner-all {
    border-radius: 0;
}

body .ui-widget {
    font: 15px "TT Norms";
    color: #fff;
}

body .msort+.ui-widget {
    font-size: 12px;
}

ul.ui-multiselect-checkboxes {
    margin-top: 7px;
    max-height: 200px;
}

body .ui-state-hover,
body .ui-state-default,
body .ui-widget-content .ui-state-default,
body .ui-widget-content .ui-state-active,
body .ui-state-active {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, .4) !important;
    font-weight: normal !important;
}

body .ui-widget-content .ui-state-active {
    background: rgba(255, 255, 255, .4) !important;
    border: 1px solid rgba(255, 255, 255, .4) !important;
    color: black !important;
    font-weight: normal !important;
}

body .ui-widget-content label.ui-state-hover {
    color: white !important;
    padding: 5px !important;
    border: 0px !important;
    background: #dc0029 !important;
}

body .ui-multiselect-checkboxes label {
    border: none;
    padding: 5px !important;
}

#filter_map {
    width: 100%;
    height: 400px;
    display: none;
    margin-top: -60px;
    margin-bottom: 50px;
}

#filter_map.vis {
    height: 400px;
    display: block;
}

body .ui-widget-content .ui-state-active,
.ui-multiselect-menu .ui-state-active {
    color: #000;
}

body .ui-multiselect-menu .ui-widget-header {
    background: none;
    border: none;
    margin: -5px;
    padding: 0;
}

body .ui-multiselect-menu,
body .ui-multiselect-checkboxes li {
    padding: 0;
    margin: 0;
}

body .ui-multiselect-filter {
    float: none;
    margin-right: 0;
    padding: 10px 10px 0;
    margin-bottom: 12px;
}

body .ui-multiselect-filter input {
    width: 100%;
    padding: 5px;
    margin-left: 0;
    box-sizing: border-box;
    height: 30px;
}

body .ui-widget-header .ui-helper-reset {
    display: none;
}

body .ui-widget-content label.ui-state-hover {
    background: #dc0029;
    color: #fff;
    font-weight: normal;
    border: none;
}

body .ui-widget-content label {}

label,
body .ui-multiselect-checkboxes label {
    cursor: pointer;
}

.ui-multiselect-single .ui-multiselect-checkboxes label {
    padding: 5px!important;
    border: 0px !important;
}

body .ui-widget.ui-widget-content {
    background: #fff;
    border: none;
    color: #000;
}

body button.ui-multiselect.ui-widget {
    height: 30px;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 0;
    max-width: 100%;
}

body button.ui-multiselect.ui-widget .ui-icon {
    margin-top: 0;
}

body .ui-multiselect-checkboxes li span {
    margin-left: 5px;
    display: inline-block;
}

.mfp-close {
    color: #000 !important;
    right: 20px !important;
    top: 20px !important;
    opacity: 1 !important;
    font-size: 41px !important;
}

.obj-img {
    position: relative;
}

.obj-img .slick-arrow {
    background: transparent;
    color: #dc0029;
    text-decoration: none;
    height: 35px;
    width: 50px;
    text-align: center;
    line-height: 35px;
    display: flex;
    top: auto;
    bottom: 0;
    right: 0;
    z-index: 50;
}

.obj-img .slick-arrow::after {
    display: block;
    content: '';
    margin: auto;
    height: 14px;
    width: 16px;
    margin: auto;
    background: url(/images/icons/arrows.png) 0 0 no-repeat;
}

.obj-img .slick-arrow.slick-next::after {
    background: url(/images/icons/arrows.png) -26px 0 no-repeat;
}

.obj-img .slick-arrow.slick-prev {
    margin-right: 30px;
}

.parnters-list .slick-slide {
    width: 235px;
    padding: 0 15px 30px;
}

.parnters-list .slick-slide a {
    background: transparent;
    display: flex;
    height: 150px;
    width: 100%;
    justify-content: center;
}

.parnters-list .slick-slide img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    margin: auto;
}

.no-photo {
    max-width: 100%;
}

.footer a {
    color: #fff;
}

.footer .menu-holder a {
    color: #fff;
}

.footer .menu-holder {
    margin-bottom: 30px;
}


/* adaptive */

@media (max-width: 1060px) {
    .obj-list {
        justify-content: center;
        display: grid !important;
        margin: 0px !important;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
    }
    ul.obj-list>li,
    ul.obj-list>li:first-child {
        margin: 0 auto !important;
    }
    .no-mobile {
        display: none;
    }
    .wraper {
        margin: 15px;
        width: auto;
        min-width: 290px;
    }
    .wraper .wraper {
        margin: 0;
    }
    [class*="col-"] {
        display: block;
        float: none;
        max-width: 100%;
    }
    .section.content div[class*="col-"]+div[class*="col-"] {
        margin-left: 0;
        margin-top: 30px;
    }
    .section.header {
        padding-top: 15px;
    }
    .header .wraper {
        flex-wrap: wrap;
        height: auto;
        box-sizing: border-box;
    }
    .header .contacts {
        -webkit-flex: 0 0 100%;
        -moz-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
        -o-flex: 0 0 100%;
        flex: 0 0 100%;
        order: 3;
        text-align: center;
        margin-top: 15px;
    }
    .header a.logo {
        -webkit-flex: 0 0 50%;
        -moz-flex: 0 0 50%;
        -ms-flex: 0 0 50%;
        -o-flex: 0 0 50%;
        flex: 0 0 50%;
        height: 46px;
        padding-left: 60px;
        font-size: 8px;
        line-height: 1.8em;
        flex: 0 0 180px;
    }
    .city_selector {
        position: inherit !important;
    }
    .city_selector:hover>div {
        position: absolute;
        left: calc(50% - 105px);
    }
    .city_selector span {
        width: 169px;
        border-color: transparent;
        padding-left: 15px;
    }
    .city_selector>i {
        left: -20px;
    }
    .obj-card-info .obj-like-action {
        top: 5px;
    }
    .header a.logo b {
        letter-spacing: -1px;
        margin-left: -1px;
    }
    .header a.btn {
        -webkit-flex: 0 0 100px;
        -moz-flex: 0 0 100px;
        -ms-flex: 0 0 100px;
        -o-flex: 0 0 100px;
        flex: 0 0 100px;
        white-space: nowrap;
        height: 46px;
        padding: 0 15px;
        font-size: 13px;
    }
    .section.main-menu {
        display: none;
    }
    .menu-btn {
        display: block;
        height: 46px;
        width: 46px;
        flex: 0 0 46px;
        background: #dc0029;
        border-radius: 5px;
        text-align: center;
        box-sizing: border-box;
        padding: 15px 0;
        box-shadow: 0px 10px 20px 0px rgba(45, 54, 106, 0.25);
    }
    .menu-btn span {
        background: #ffffff;
        display: block;
        width: 20px;
        height: 3px;
        margin-left: auto;
        margin-right: auto;
    }
    .menu-btn span+span {
        margin-top: 4px;
    }
    .section.banner {
        position: static;
        height: auto;
        padding: 0;
        box-shadow: none;
    }
    .banner-content {
        display: none;
    }
    .section.banner .filter {
        position: relative;
        margin: 0 auto;
        left: auto;
        bottom: auto;
        width: auto;
        max-width: 500px;
        height: auto;
        ;
    }
    .section.banner+.section.types,
    .section.banner+.section {
        margin-top: 0;
    }
    .section.banner.inner {
        display: none;
    }
    .section.header .btn.ajax-link {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin: 0 !important;
        border-radius: 12px;
        justify-content: center;
        padding: 0;
    }
    .section.header .btn.ajax-link .icon {
        margin: 0;
    }
    .subscribe {
        margin-left: -15px;
        margin-right: -15px;
    }
    .subscribe .col-1-2 {
        padding: 15px;
    }
    .subscribe .col-1-4 {
        float: left;
        width: auto;
        margin-top: 0;
        margin-left: 15px;
        display: none;
    }
    .subscribe .col-1-4+.col-1-4 {
        display: block;
    }
    .subscribe .col-1-4 .subscribe-form {
        margin-top: 0;
    }
    .section .news-section,
    .section.footer {
        padding: 30px 0;
    }
    .section+.section {
        margin-top: 30px;
    }
    .section.slick+.section {
        margin-top: 0;
    }
    .section.banner.inner+.section {
        margin-top: 30px;
    }
    .filter {
        margin-top: 0;
    }

    .section.team .wraper {
        display: block;
    }

    .section.team .wraper .col-1-2 {
        width: 100%;
    }

    .section.team .wraper .col-1-2+.col-1-2 {
        margin: 30px 0 0;
    }
}

@media (max-width:735px) {
    .obj-card {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }
    .bcenter {
        display: block !important;
        margin: 10px auto !important;
    }
}

@media (max-width:650px) {
    body {
        max-width: 100vw;
    }
    .mfp-iframe-holder .mfp-content {
        max-width: 100vw !important;
    }
    .ajax-popup {
        padding: 30px;
    }
    .section.team .wraper {
        display: block;
    }
    .section.team .wraper .col-1-2 {
        width: 100%;
    }
    .section.team .wraper .col-1-2+.col-1-2 {
        margin: 30px 0 0;
    }
    .h1.color {
        padding-bottom: 41px;
    }
    .h1.color::after {
        height: 32px;
        top: auto;
        left: 0;
        margin-left: 0;
    }
    .info-table {
        column-count: 1;
    }
    .team .slick-slide {
        height: 180px !important;
    }
    .agent-img {
        margin-bottom: 20px !important;
    }
}

@media (max-width:580px) {
    .filter .col-1-4,
    .banner .filter .col-1-4 {
        width: 100%;
    }
    .filter .col-1-4 button.ui-multiselect.ui-widget {
        width: 100% !important;
    }
    .filter ul.cols-list>li>div.col-1-4+div {
        margin-top: 15px !important;
        margin-left: 0;
    }
    .clear_filter {
        position: relative !important;
        margin: 0 auto;
        left: 15px;
        top: 15px;
    }
}

@media (max-width:560px) {
    ul.cols-list.obj-types>li {
        width: 200px;
    }
}

@media (max-width:520px) {}

@media (max-width:500px) {
    .section.header .btn.ajax-link {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin: 0 !important;
        border-radius: 12px;
        justify-content: center;
        padding: 0;
    }
    .section.header .btn.ajax-link .icon {
        margin: 0;
    }
    ul.cols-list.obj-types>li {
        width: 150px;
    }
    .obj-i>* {
        flex: 0 0 auto;
        margin-bottom: 0px;
    }
    .obj-i .price {
        position: absolute;
        bottom: 10px;
    }
    .obj-i .info {
        position: absolute;
        bottom: 60px;
    }
    .obj-i {
        min-height: 340px;
    }
    .show_map {
        display: none;
    }
    .sort_div {
        display: block !important;
        position: relative !important;
        /* right: 0; */
        /* top: 0; */
        /* clear: both; */
        /* margin-bottom: 0; */
        margin: 0 auto !important;
        margin-bottom: 20px !important;
    }
}

@media (max-width:400px) {
    ul.cols-list.obj-types>li {
        width: 130px;
    }
}

.grecaptcha-badge {
    display: none!important;
}

.top-line {
    text-align: center;
    background: #dc0029;
    height: 32px;
    padding: 2px;
    line-height: 32px;
    z-index: 1000;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
}

.top-line>a {
    color: white;
    text-decoration: none;
}

.mfp-bg {
    z-index: 10000;
}

.popup-medi {
    margin: 0 auto;
    width: 400px;
    max-width: 100vw;
    padding: 40px;
    box-sizing: border-box;
    text-align: center;
}

.biga {
    font-size: 22px;
    line-height: 35px;
    font-weight: 400;
    border-bottom: 1px solid #abafc3;
    text-transform: none;
    text-decoration: none;
}


/* ++++++++++++++++++++++++++++++++++ */

.items-holder {
    display: flex;
    justify-content: space-between;
}

.items-holder .filter-holder {
    flex: 0 1 calc(25% - 15px);
}

.items-holder .list-holder {
    flex: 0 1 75%;
}

.items-holder .obj-list {
    justify-content: center;
    display: grid !important;
    margin: 0px !important;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
}

.items-holder .cols-list-new {
    padding: 0px;
    margin: 0px;
}

.items-holder .cols-list-new li {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.items-holder .cols-list-new li {
    margin-bottom: 10px;
}

.items-holder .cols-list-new li>label {
    margin-top: 5px;
    font-size: 12px;
    opacity: 0.5;
    display: block;
}

.items-holder .filter {
    position: sticky;
    top: 50px;
    margin: 0px;
    max-width: 235px;
    padding: 0px;
    max-height: calc(100vh - 60px);
    overflow-y: auto; overflow-x: hidden;
    background-color: transparent;
}

.items-holder .filter::after {
    top: 0px;
    height: 5px;
    right: 0;
    margin-top: 0px;
}

.items-holder .filter>form {
    padding: 15px;
    margin-top: 5px;
    background-color: #2d366a;
}

.items-holder .show_map {
    display: none;
}

.items-holder .clear_filter {
    display: none;
}

.items-holder .range-holder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 5px;
}

.items-holder .range-holder>input {
    min-width: 0px;
}

.items-holder .submit-holder {
    position: sticky;
    bottom: 10px;
    background-color: #2d366a;
    padding: 0px 0px 0px 0px;
}

.items-holder .submit-holder button {
    width: 100%;
    background: #dc0029;
    font-size: 15px;
    margin-top: 20px;
    margin-bottom: -10px;
    border: 0px;
}

.items-holder .submit-holder button b {
    display: inline-block;
    margin-left: 5px;
}

.filter-mob-but {
    display: none;
}

@media (max-width:735px) {
    .items-holder {
        flex-direction: column;
    }
    .items-holder .filter {
        max-width: 100%;
    }
    .items-holder .filter {
        display: none;
        position: relative;
        top: 0px;
        max-height: inherit;
    }
    .items-holder .filter-holder {
        flex: 0 1 auto;
        position: absolute;
        z-index: 100;
        left: -15px;
        width: 100vw;
    }
    .items-holder .filter.visible {
        display: block;
    }
    .items-holder .obj-list {
        display: flex !important;
        grid-template-columns: repeat(1, 1fr);
    }
    .filter-mob-but {
        display: block;
        background-color: #2d366a;
        padding: 15px;
        text-align: center;
        margin-bottom: 15px;
        color: white;
    }
    .items-holder .filter-holder {
        margin-top: -5px;
    }
    .items-holder button.ui-multiselect.ui-widget {
        width: 100% !important;
    }
}

/* --- UI Improvements & MAX Button --- */
a, .btn, button, .items-holder .item {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
    a, .btn, button, .items-holder .item,
}

.items-holder .item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}





@media (max-width: 768px) {


}

@media (max-width: 1060px) {
    .section.header .btn.ajax-link {
        flex: 0 0 46px;
        width: 46px;
        max-width: 46px;
        box-sizing: border-box;
        padding: 0;
        justify-content: center;
        font-size: 0 !important;
    }

    .section.header .btn.ajax-link .icon {
        margin: 0;
    }
}

/* Targeted production fixes: keep the legacy layout geometry intact. */
.header a.logo {
    display: flex;
    align-items: center;
    height: 68px;
    padding-left: 0;
    background-image: none;
}

.header a.logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 68px;
    object-fit: contain;
}

.filter input::placeholder {
    color: rgba(255, 255, 255, 0.78);
    opacity: 1;
}

.filter .flt-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 5px;
    background: #dc0029;
    color: #fff;
    line-height: 1;
}

.filter .flt-submit:hover,
.filter .flt-submit:focus-visible {
    background: #b80022;
    color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(220, 0, 41, 0.28);
    outline-offset: 3px;
}



.max-manager-btn svg {
    flex: 0 0 auto;
    color: #dc0029;
}

@media (max-width: 768px) {
    .header a.logo {
        height: 46px;
    }

    .header a.logo img {
        max-height: 46px;
    }



    .obj-card .price {
        position: static;
        margin: 20px 0 15px;
    }
}

/* Premium component polish: scoped to existing UI components only. */
:root {
    --ui-radius: 12px;
    --ui-border: #dfe3eb;
    --ui-shadow: 0 12px 28px rgba(25, 35, 66, .12);
    --ui-shadow-hover: 0 18px 34px rgba(25, 35, 66, .18);
    --ui-navy: #2d366a;
    --ui-red: #dc0029;
}

.section.header {
    border-bottom: 1px solid rgba(45, 54, 106, .08);
}

.section.main-menu a {
    text-underline-offset: 5px;
    transition: color .2s ease, text-decoration-color .2s ease;
}

.section.main-menu a:hover,
.section.main-menu a:focus-visible {
    color: var(--ui-red);
}

.filter {
    border-radius: var(--ui-radius);
    box-shadow: var(--ui-shadow);
}

.filter input[type='text'],
.filter select,
.filter .flt-chk-holder {
    border-radius: 5px;
}

.obj-i {
    border: 1px solid var(--ui-border);
    border-radius: var(--ui-radius);
    overflow: hidden;
    box-shadow: var(--ui-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.obj-i:hover {
    transform: translateY(-3px);
    box-shadow: var(--ui-shadow-hover);
}

.obj-i .obj-img {
    overflow: hidden;
}

.obj-i .obj-img img {
    width: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.obj-i:hover .obj-img img {
    transform: scale(1.025);
}

.subscribe,
.subscribe *,
.subscribe-form {
    box-sizing: border-box;
}

.subscribe {
    border: 1px solid #d2e2bc;
    border-radius: var(--ui-radius);
    box-shadow: var(--ui-shadow);
    overflow: hidden;
}

.subscribe .col-1-2,
.subscribe .col-1-4 {
    min-width: 0;
    box-sizing: border-box;
}

.subscribe .col-1-4 {
    width: 25%;
}

.subscribe-form {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.subscribe-form input[type='email'] {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 44px;
    border-color: #9aac83;
    border-radius: 6px;
    background: rgba(255, 255, 255, .72);
    font-size: 16px;
}

.subscribe-form input[type='email']::placeholder {
    color: #68725d;
    opacity: 1;
}

.subscribe-form input[type='submit'] {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: var(--ui-red);
    color: #fff;
    font-weight: 700;
    line-height: 1;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.subscribe-form input[type='submit']:hover,
.subscribe-form input[type='submit']:focus-visible {
    background: #b80022;
    box-shadow: 0 8px 18px rgba(220, 0, 41, .25);
    transform: translateY(-1px);
}



@media (max-width: 768px) {
    .subscribe .col-1-2,
    .subscribe .col-1-4 {
        width: 100%;
        float: none;
        margin-left: 0;
        padding: 15px;
    }

    .subscribe-form input[type='submit'] {
        width: 100%;
    }
}

/* Stable catalogue cards: hover may decorate a card, but never changes layout. */
ul.obj-list > li.obj-i, ul.cols-list > li.obj-i { box-sizing:border-box; min-height:420px; height:auto; max-height:none; overflow:hidden; contain:layout paint; }
ul.obj-list > li.obj-i .obj-img, ul.cols-list > li.obj-i .obj-img { height:220px; overflow:hidden; background:#f1f3f7; }
ul.obj-list > li.obj-i .obj-img img, ul.cols-list > li.obj-i .obj-img img { display:block; width:100%; height:100%; object-fit:cover; }
ul.obj-list > li.obj-i .title, ul.cols-list > li.obj-i .title { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; min-height:42px; line-height:1.35; }
ul.obj-list > li.obj-i .info, ul.cols-list > li.obj-i .info { left:15px; right:15px; max-height:40px; overflow:hidden; line-height:1.4; }
ul.obj-list > li.obj-i:hover, ul.cols-list > li.obj-i:hover { height:auto; min-height:420px; max-height:none; }
@media (max-width:500px) { ul.obj-list > li.obj-i, ul.cols-list > li.obj-i, ul.obj-list > li.obj-i:hover, ul.cols-list > li.obj-i:hover { height:auto; min-height:400px; max-height:none; } ul.obj-list > li.obj-i .obj-img, ul.cols-list > li.obj-i .obj-img { height:200px; } }
/* -------------------------------------------------------------------------
   Premium UI layer
   Kept at the end of the legacy stylesheet so the old layout can be
   modernised without changing the PHP markup contract.
   ------------------------------------------------------------------------- */
:root {
    --premium-ink: #172033;
    --premium-muted: #667085;
    --premium-navy: #27356f;
    --premium-navy-deep: #1b285c;
    --premium-red: #e00038;
    --premium-red-dark: #b9002d;
    --premium-surface: #ffffff;
    --premium-bg: #f4f6fa;
    --premium-line: #e5e9f2;
    --premium-radius: 20px;
    --premium-shadow: 0 16px 45px rgba(22, 32, 64, .11);
    --premium-shadow-hover: 0 22px 55px rgba(22, 32, 64, .18);
}

html { background: var(--premium-bg); }
body {
    padding-top: 0;
    background: var(--premium-bg);
    color: var(--premium-ink);
    font-family: 'TT Norms', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body::selection { background: rgba(224, 0, 56, .18); }
.wraper { max-width: 1120px; }
.section { z-index: 1; }

/* Header */
.top-line {
    position: relative;
    top: auto;
    height: 34px;
    padding: 0;
    line-height: 34px;
    background: linear-gradient(100deg, var(--premium-red-dark), var(--premium-red));
    letter-spacing: .04em;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.top-line a { color: #fff; opacity: .95; }
.section.header {
    padding: 16px 0 14px;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid var(--premium-line);
}
.header .wraper { height: 78px; gap: 24px; }
.header a.logo {
    flex: 0 0 220px;
    width: 220px;
    height: 58px;
    display: flex;
    align-items: center;
}
.header a.logo img {
    display: block;
    width: 190px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}
.header .contacts {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--premium-ink);
    font-size: 13px;
    line-height: 18px;
}
.city_selector { padding: 2px 8px 2px 0; }
.city_selector:hover { background: #fff; outline: 8px solid #fff; border-radius: 8px; }
.city_selector span { color: var(--premium-navy); border: 0; font-size: 14px; font-weight: 700; }
.city_selector > i { filter: none; opacity: .65; }
.header .contacts .phones, .company-phones {
    color: var(--premium-ink);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.04em;
    margin: 3px 0 0;
}
.header a.btn.ajax-link {
    flex: 0 0 220px;
    width: 220px;
    height: 52px;
    border: 1px solid var(--premium-line);
    border-radius: 12px;
    color: var(--premium-ink);
    box-shadow: 0 8px 24px rgba(31,43,83,.09);
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.header a.btn.ajax-link:hover, .header a.btn.ajax-link:focus-visible {
    color: var(--premium-red);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(31,43,83,.15);
}

/* Navigation */
.section.main-menu {
    min-height: 0;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid var(--premium-line);
}
.section.main-menu .fixed_helper { background: rgba(255,255,255,.96); }
.section.main-menu .wraper { max-width: 1120px; }
ul.menu-holder {
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
}
ul.menu-holder li { flex: 0 0 auto; }
ul.menu-holder a {
    display: block;
    padding: 15px 0 16px;
    color: var(--premium-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.section.main-menu a:hover, .section.main-menu a:focus-visible { color: var(--premium-red); }

/* Hero */
.section.banner {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: 560px;
    margin: 0;
    overflow: hidden;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 18px 45px rgba(22,32,64,.16);
}
.section.banner .banner-content { position: absolute; inset: 0; display: block; }
.banner-bg {
    height: 560px;
    background-position: center center;
    background-size: cover;
}
.section.banner .banner-content::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13,22,52,.66) 0%, rgba(13,22,52,.2) 48%, rgba(13,22,52,.08) 100%);
    pointer-events: none;
}
.banner-text {
    z-index: 2;
    left: max(24px, calc(50% - 560px));
    bottom: 78px;
    width: 500px;
    margin: 0;
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1.05;
    text-shadow: 0 3px 20px rgba(0,0,0,.22);
}
.banner-text .big { font-size: clamp(58px, 7vw, 108px); line-height: .9; }
.banner-text b { font-size: 50px; line-height: 1; }
.banner-text { font-size: 26px; }
.section.banner .filter {
    z-index: 3;
    left: auto;
    right: max(24px, calc(50% - 560px));
    bottom: 42px;
    width: 500px;
    height: auto;
    margin: 0;
    padding: 32px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(39,53,111,.97), rgba(24,37,88,.97));
    box-shadow: 0 24px 55px rgba(9,17,47,.33);
    backdrop-filter: blur(12px);
}
.filter::after, .footer::after { display: none; }
.filter h3, .filter h2, .filter-heading, .section.banner .filter h3, .section.banner .filter h2, .section.banner .filter-heading {
    margin-top: 0;
    margin-bottom: 22px;
    color: #fff;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -.04em;
}
.filter ul.cols-list { margin: -10px 0 0 -16px; }
.filter ul.cols-list > li { margin-top: 16px; margin-left: 16px !important; }
.banner .filter .col-1-4 { width: 210px; }
.banner .filter .col-1-2 { width: 440px; }
.filter input[type='text'], .filter select, .flt-chk-holder,
body button.ui-multiselect.ui-widget {
    height: 44px;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 10px;
    background: rgba(255,255,255,.08) !important;
    color: #fff;
    font-size: 15px;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.filter input[type='text'], .filter select { padding: 0 13px; }
body button.ui-multiselect.ui-widget { padding: 0 13px; text-align: left; }
.filter input[type='text']:focus, .filter select:focus,
body button.ui-multiselect.ui-widget:focus-visible,
.filter .flt-chk-holder:focus-within {
    border-color: rgba(255,255,255,.8);
    background: rgba(255,255,255,.14) !important;
    box-shadow: 0 0 0 4px rgba(255,255,255,.1);
}
.filter input::placeholder { color: rgba(255,255,255,.7); }
.filter .flt-submit, .filter button[type='submit'] {
    min-width: 220px;
    height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    background: var(--premium-red);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(224,0,56,.28);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.filter .flt-submit:hover, .filter .flt-submit:focus-visible,
.filter button[type='submit']:hover, .filter button[type='submit']:focus-visible {
    background: #f21a4e;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(224,0,56,.35);
}

/* Main sections and headings */
.section.banner + .section.types, .section.banner + .section { margin-top: 0; }
.section.content, .section.slick, .section.news, .section.team {
    padding: 68px 0;
}
.section.content { background: var(--premium-bg); }
.section.slick { background: #fff; }
.section.news { padding-top: 0; background: var(--premium-bg); }
.section .news-section { padding: 58px 0; background: transparent; }
.h1, h1 { color: var(--premium-ink); letter-spacing: -.045em; }
.h1.color { margin-bottom: 32px; padding-bottom: 14px; }
.h1.color::after { top: auto; left: 0; right: auto; bottom: 0; width: 72px; height: 4px; margin: 0; border-radius: 99px; background: var(--premium-red); }
.h1.color.red::after { background: var(--premium-red); }

/* Category tiles */
.obj-types-wraper,
.wraper .wraper.obj-types-wraper {
    width: 100% !important;
    max-width: 1120px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

ul.obj-types,
ul.cols-list.obj-types,
.section.content .holder ul.obj-types {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 1120px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

ul.obj-types li,
ul.cols-list.obj-types li,
.section.content .holder ul.obj-types li {
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 24px 16px 20px !important;
    border: 1px solid var(--premium-line) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(22, 32, 64, 0.06) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

ul.obj-types li::before,
ul.cols-list.obj-types li::before,
.section.content .holder ul.obj-types li::before,
ul.obj-types li::after,
ul.cols-list.obj-types li::after,
.section.content .holder ul.obj-types li::after {
    content: none !important;
    display: none !important;
}

.obj-types li:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--premium-shadow-hover) !important;
    border-color: #cbd5e1 !important;
}

/* Category card link */
.obj-type-card-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-decoration: none !important;
    color: inherit !important;
    text-align: center !important;
}

/* Icon with background and internal padding */
.obj-types .obj-type-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 106px !important;
    height: 78px !important;
    padding: 12px 16px !important;
    box-sizing: border-box !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    margin: 0 auto !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.obj-types .obj-type-icon img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Fallback if wrapper is not used */
.obj-types li > a > img,
.obj-types li img:not(.obj-type-icon img) {
    box-sizing: border-box !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 12px 16px !important;
    width: auto !important;
    max-width: 106px !important;
    height: 78px !important;
    max-height: 78px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: inline-block !important;
    box-shadow: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.obj-types li:hover .obj-type-icon,
.obj-types li:hover .obj-type-card-link > img,
.obj-types li:hover img:not(.obj-type-icon img) {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    transform: scale(1.05) !important;
}

.obj-types .title {
    margin: 16px 0 10px 0 !important;
    text-align: center !important;
    width: 100% !important;
}

.obj-types .title span {
    border: 0 !important;
    border-bottom: none !important;
    color: var(--premium-ink) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    transition: color 0.2s ease !important;
}

.obj-type-card-link:hover .title span,
.obj-types li:hover .title span {
    color: #d8232a !important;
    text-decoration: none !important;
}

.obj-types .cnt {
    display: inline-block !important;
    border-radius: 99px !important;
    background: rgba(39, 53, 111, 0.08) !important;
    color: var(--premium-navy) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 5px 14px !important;
    line-height: 1.2 !important;
    margin: 0 auto !important;
    transition: all 0.2s ease !important;
}

.obj-types li:hover .cnt {
    background: var(--premium-red) !important;
    color: #ffffff !important;
}

/* Stable property cards, including the homepage Slick carousel. */
.obj-i, .obj-list .slick-slide .obj-i, .items-holder .obj-list .obj-i {
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 420px !important;
    max-height: none !important;
    padding: 0 18px;
    overflow: hidden !important;
    border: 1px solid var(--premium-line);
    border-radius: 18px;
    background: var(--premium-surface);
    box-shadow: 0 8px 26px rgba(22,32,64,.08);
    transition: transform .22s ease, box-shadow .22s ease;
}
.obj-i:hover, .obj-i:focus-within { transform: translateY(-5px); box-shadow: var(--premium-shadow-hover); }
.obj-i > * { flex: 0 0 auto; margin-bottom: 0 !important; }
.obj-i > meta { display: none !important; }
.obj-i .obj-img, .obj-i .obj-img.slick-initialized {
    box-sizing: border-box;
    flex: 0 0 178px;
    height: 178px !important;
    min-height: 178px !important;
    max-height: 178px !important;
    margin: 0 -18px 14px;
    overflow: hidden !important;
    background: #edf0f5;
}
.obj-i .obj-img .slick-list, .obj-i .obj-img .slick-track,
.obj-i .obj-img .slick-slide { height: 178px !important; min-height: 178px !important; max-height: 178px !important; }
.obj-i .obj-img .slick-slide { padding: 0 !important; }
.obj-i .obj-img > img:not(.slick-slide), .obj-i .obj-img .slick-slide img {
    display: block;
    width: 100% !important;
    height: 178px !important;
    object-fit: cover;
    transform: none !important;
}
.obj-i .obj-img > img.slick-slide { display:block; height:178px !important; object-fit:cover; transform:none !important; }
.obj-i .title {
    display: -webkit-box;
    min-height: 44px;
    max-height: 44px;
    margin: 0 0 10px;
    overflow: hidden;
    color: var(--premium-ink);
    font-size: 17px;
    line-height: 22px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.obj-i .title span { border: 0; }
.obj-i .info {
    left: 18px !important;
    right: 18px !important;
    bottom: 58px !important;
    max-height: 42px;
    overflow: hidden;
    color: var(--premium-muted);
    font-size: 13px;
    line-height: 21px;
}
.obj-i .price {
    left: 18px;
    right: 18px;
    bottom: 16px !important;
    color: var(--premium-ink);
    font-size: 22px;
    letter-spacing: -.04em;
}
.obj-i .price .sub { color: var(--premium-muted); }
.obj-i .obj-like-action { right: 18px; bottom: 16px; z-index: 4; }
.obj-i .flags { top: 12px; right: 12px; }
.obj-list .slick-slide { height: auto !important; max-height: none !important; padding: 0 10px; }
.obj-list .slick-slide .obj-i { max-width: none !important; }
.obj-list.slick-initialized { height: auto !important; }

/* Forms, news, team, footer */
.subscribe { border: 1px solid #d9e3c9; border-radius: 20px; box-shadow: var(--premium-shadow); }
.subscribe h3 { color: var(--premium-ink); }
.news-i, .news-card, .review-i, .agent-card { border-radius: 18px; }
.section.team { background: #fff; }
.section.team .wraper { padding: 28px; border: 1px solid var(--premium-line); border-radius: 24px; background: #fff; box-shadow: var(--premium-shadow); }
#mainmap, .ya_map { border-radius: 18px; overflow: hidden; box-shadow: none; }
.section.footer { margin-top: 0; padding: 58px 0; background: var(--premium-navy-deep); }
.section.footer a, .footer .menu-holder a { color: rgba(255,255,255,.84); }
.section.footer a:hover { color: #fff; }

/* Keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(224,0,56,.35); outline-offset: 3px; }

@media (max-width: 1060px) {
    .wraper { max-width: none; margin-left: 24px; margin-right: 24px; }
    .header .wraper { height: auto; min-height: 70px; }
    .section.banner, .banner-bg { height: auto; min-height: 610px; }
    .section.banner .banner-content { display: block; }
    .banner-bg { min-height: 610px; }
    .section.banner .filter { right: 24px; width: min(480px, calc(100% - 48px)); }
    .banner-text { left: 24px; bottom: 52px; width: 44%; }
    .banner-text .big { font-size: 70px; }
    .banner-text b { font-size: 40px; }
    .obj-list .slick-slide .obj-i { max-width: 235px; }
}
@media (max-width: 735px) {
    .top-line { font-size: 10px; }
    .section.header { padding: 12px 0; }
    .header .wraper { gap: 10px; }
    .header a.logo { flex-basis: 170px; width: 170px; height: 50px; }
    .header a.logo img { width: 160px; }
    .header .contacts { flex-basis: 100%; order: 3; text-align: center; }
    .header .contacts .phones, .company-phones { font-size: 21px; }
    .section.banner, .banner-bg { min-height: 0; }
    .banner-bg { height: 270px; }
    .section.banner .banner-content::after { background: linear-gradient(180deg, rgba(13,22,52,.1), rgba(13,22,52,.66)); }
    .banner-text { left: 20px; bottom: 24px; width: calc(100% - 40px); }
    .banner-text .big { font-size: 54px; }
    .banner-text b { font-size: 30px; }
    .banner-text { font-size: 19px; }
    .section.banner .filter { position: relative; right: auto; bottom: auto; width: auto; margin: 16px 16px 24px; padding: 22px; border-radius: 18px; }
    .section.banner .filter h3, .section.banner .filter h2, .section.banner .filter-heading { font-size: 24px; margin-top: 0; margin-bottom: 16px; }
    .banner .filter .col-1-4, .banner .filter .col-1-2 { width: 100%; }
    .section.content, .section.slick, .section.news, .section.team { padding: 42px 0; }
    .obj-i, .obj-list .slick-slide .obj-i, .items-holder .obj-list .obj-i { height: auto !important; min-height: 400px !important; max-height: none !important; }
    .obj-i .obj-img, .obj-i .obj-img.slick-initialized { flex-basis: 180px; height: 180px !important; min-height: 180px !important; max-height: 180px !important; }
    .obj-i .obj-img .slick-list, .obj-i .obj-img .slick-track, .obj-i .obj-img .slick-slide { height: 180px !important; min-height: 180px !important; max-height: 180px !important; }
    .obj-i .obj-img > img:not(.slick-slide), .obj-i .obj-img .slick-slide img { height: 180px !important; }
    .obj-list .slick-slide { height: auto !important; max-height: none !important; }
    .section.team .wraper { padding: 18px; }
}
@media (max-width: 500px) {
    .wraper { margin-left: 16px; margin-right: 16px; min-width: 0; }
    .header a.logo { flex-basis: 150px; width: 150px; }
    .header a.logo img { width: 145px; }
    .header a.btn.ajax-link { flex-basis: 46px; width: 46px; padding: 0; font-size: 0; }
    .header a.btn.ajax-link .icon { margin: 0; }
    .menu-btn { border-radius: 12px; }
    .section.banner .filter { margin-left: 0; margin-right: 0; }
    .filter ul.cols-list { margin-left: -10px; }
    .filter ul.cols-list > li { margin-left: 10px !important; }
    ul.obj-types,
    ul.cols-list.obj-types,
    .section.content .holder ul.obj-types {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px !important;
        gap: 12px !important;
        justify-content: flex-start !important;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    ul.obj-types::-webkit-scrollbar { display: none; }
    ul.obj-types li,
    ul.cols-list.obj-types li,
    .section.content .holder ul.obj-types li {
        flex: 0 0 160px !important;
        scroll-snap-align: start;
        padding: 18px 10px !important;
        width: auto !important;
        min-width: 0 !important;
    }
    .obj-types .obj-type-icon {
        width: 88px !important;
        height: 64px !important;
        padding: 8px 12px !important;
        border-radius: 14px !important;
    }
    .obj-types li > a > img,
    .obj-types li img:not(.obj-type-icon img) {
        max-width: 88px !important;
        height: 64px !important;
        padding: 8px 12px !important;
        border-radius: 14px !important;
    }
}
@media (max-width: 900px) and (min-width: 501px) {
    ul.obj-types,
    ul.cols-list.obj-types,
    .section.content .holder ul.obj-types {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* Keep the desktop search panel compact enough to remain fully inside the hero. */
@media (min-width: 1061px) {
    .section.banner .filter .col-1-4,
    .section.banner .filter .banner .col-1-4 { width: 200px; }
}

/* -------------------------------------------------------------------------
   2026 QA pass: stable sections, fluid cards, polished filters and forms.
   This block intentionally comes last so it wins over legacy float rules.
   ------------------------------------------------------------------------- */

/* Keep every top-level section independent after editor content is rendered. */
body > .section,
body > .section.content,
body > .section.slick,
body > .section.news,
body > .section.team,
body > .section.footer {
    width: 100%;
    clear: both;
}

.section > .wraper,
.section > .news-section > .wraper {
    width: min(1120px, calc(100% - 32px));
    max-width: 1120px;
    box-sizing: border-box;
}

/* Four fluid cards on desktop; no fixed 235px bottleneck. */
.obj-list:not(.slick-initialized) {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0 !important;
    padding: 0 !important;
}
.obj-list:not(.slick-initialized) > li.obj-i {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}
.obj-list .slick-list {
    width: 100%;
    overflow: hidden;
}
.obj-list.slick-initialized {
    height: auto !important;
    margin: 0 -10px !important;
}
.obj-list.slick-initialized .slick-track {
    display: flex;
    align-items: stretch;
}
.obj-list.slick-initialized .slick-slide {
    box-sizing: border-box;
    height: auto;
    padding: 0 10px 26px;
}
.obj-list.slick-initialized .slick-slide .obj-i,
.obj-list .slick-slide .obj-i,
.items-holder .obj-list .obj-i {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Filter grid: equal tracks, equal controls, predictable wrapping. */
.filter form {
    position: relative;
    width: 100%;
}
.filter form > ul.cols-list {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
    margin: 0 !important;
    padding: 0 0 52px !important;
}
.filter form > ul.cols-list > li {
    box-sizing: border-box;
    width: auto !important;
    min-width: 0;
    height: auto !important;
    min-height: 44px;
    margin: 0 !important;
    float: none !important;
    list-style: none;
}
.filter form > ul.cols-list > li.col-2-4 {
    display: grid !important;
    grid-column: span 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}
.filter form > ul.cols-list > li.col-1-2 {
    grid-column: 1 / -1;
}
.filter form > ul.cols-list > li.col-2-4 > .col-1-4,
.filter form > ul.cols-list > li > .col-1-4 {
    box-sizing: border-box;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    float: none !important;
}
.filter form > ul.cols-list > .show_map,
.filter form > ul.cols-list > .clear_filter {
    position: absolute !important;
    bottom: 0;
    width: auto !important;
    margin: 0 !important;
    line-height: 22px;
    white-space: nowrap;
}
.filter form > ul.cols-list > .show_map { right: 150px; }
.filter form > ul.cols-list > .clear_filter { right: 0; }

.filter input[type='text'],
.filter input[type='number'],
.filter select,
.filter .flt-chk-holder,
.filter button.ui-multiselect.ui-widget {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0;
    height: 46px;
    min-height: 46px;
    margin: 0 !important;
    border-radius: 12px;
}
.filter input[type='text'],
.filter input[type='number'],
.filter select,
.filter button.ui-multiselect.ui-widget {
    padding: 0 42px 0 14px;
}
.filter select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-position: right 14px center !important;
    background-repeat: no-repeat !important;
}
.filter .flt-chk-holder {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px;
    height: auto;
    min-height: 46px;
    padding: 4px;
    overflow: hidden;
}
.filter .flt-chk + label {
    box-sizing: border-box;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1;
    transition: background .2s ease, color .2s ease;
}
.filter .flt-chk:checked + label {
    background: var(--premium-red);
    color: #fff;
}
.filter .flt-submit,
.filter button[type='submit'] {
    width: min(260px, 100%);
    min-width: 0;
}
.filter .flt-submit b,
.filter button[type='submit'] b {
    display: inline-block;
    margin-left: 6px;
}

/* jQuery multiselect: replace browser-native list boxes with a consistent menu. */
body .filter button.ui-multiselect.ui-widget {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    font: inherit;
    cursor: pointer;
}
body .filter button.ui-multiselect.ui-widget .ui-icon {
    display: none;
}
body .filter button.ui-multiselect.ui-widget::after {
    content: '';
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin-left: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: .75;
}
body .ui-multiselect-menu {
    z-index: 10050 !important;
    box-sizing: border-box;
    max-height: 310px;
    padding: 8px;
    overflow-y: auto; overflow-x: hidden;
    border: 1px solid #dfe5f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(22, 32, 64, .22);
}
body .ui-multiselect-menu .ui-widget-header {
    margin: 0 0 6px;
    padding: 6px;
    border: 0;
    border-radius: 9px;
    background: #f3f5fa;
}
body .ui-multiselect-menu .ui-multiselect-filter input {
    box-sizing: border-box;
    width: 100%;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #dfe5f0;
    border-radius: 8px;
    color: var(--premium-ink);
    background: #fff;
}
body .ui-multiselect-menu .ui-multiselect-checkboxes {
    max-height: 230px;
    overflow-y: auto; overflow-x: hidden;
}
body .ui-multiselect-menu .ui-multiselect-checkboxes li {
    margin: 0 !important;
    padding: 0;
}
body .ui-multiselect-menu .ui-multiselect-checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 6px 9px;
    border-radius: 8px;
    color: var(--premium-ink);
    white-space: normal;
    cursor: pointer;
}
body .ui-multiselect-menu .ui-multiselect-checkboxes label:hover {
    background: #f1f4fb;
}
body .ui-multiselect-menu .ui-multiselect-checkboxes input {
    accent-color: var(--premium-red);
}

/* Sorting select outside the filter uses the same visual language. */
.sort_div {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--premium-muted);
}
.sort_div select {
    box-sizing: border-box;
    min-width: 150px;
    height: 42px;
    padding: 0 34px 0 12px;
    border: 1px solid var(--premium-line);
    border-radius: 10px;
    color: var(--premium-ink);
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%2327336f' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 11px center;
    background-repeat: no-repeat;
}

/* Subscription card: one intentional composition instead of three floated columns. */
.subscribe {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(190px, .72fr) minmax(280px, 1fr);
    align-items: stretch;
    min-height: 244px;
    padding: 0 !important;
    overflow: hidden;
    background: linear-gradient(120deg, #edf8df 0%, #e3f1d3 58%, #d8ebc5 100%);
}
.subscribe > .col-1-2,
.subscribe > .col-1-4 {
    box-sizing: border-box;
    width: auto !important;
    min-width: 0;
    min-height: 0;
    margin: 0 !important;
    float: none !important;
}
.subscribe-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 30px !important;
}
.subscribe-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    padding: 5px 10px;
    border-radius: 99px;
    color: #50643e;
    background: rgba(255,255,255,.58);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.subscribe-copy h3 {
    margin: 0 0 12px;
    color: var(--premium-ink);
    font-size: clamp(24px, 2.8vw, 36px);
    line-height: .98;
    letter-spacing: -.045em;
}
.subscribe-copy p {
    max-width: 430px;
    color: #536147;
    font-size: 16px;
    line-height: 1.35;
}
.subscribe-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 10px !important;
}
.subscribe-media img {
    display: block;
    width: 100%;
    max-width: 235px;
    height: 168px;
    margin: 0 !important;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(53, 76, 38, .14);
}
.subscribe-action {
    display: flex;
    align-items: center;
    padding: 30px 30px 30px 10px !important;
}
.subscribe-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: 100%;
    margin: 0 !important;
}
.subscribe-form .frm_row {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0 !important;
}
.subscribe-form .tit {
    display: block;
    margin: 0 0 7px;
    color: #536147;
    font-size: 13px;
    font-weight: 700;
}
.subscribe-form input[type='email'] {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #aabe98;
    border-radius: 11px;
    color: var(--premium-ink);
    background: rgba(255,255,255,.86);
    font-size: 16px;
}
.subscribe-form input[type='email']::placeholder { color: #7d8c72; }
.subscribe-form input[type='submit'] {
    align-self: end;
    min-width: 142px;
    height: 48px;
    margin: 0 !important;
    padding: 0 18px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: var(--premium-red);
    font: 700 15px/1 'TT Norms', Arial, sans-serif;
    cursor: pointer;
}

/* Footer remains a full-width block and never clips its second row. */
.section.footer {
    clear: both;
    min-height: 250px;
    overflow: visible;
}
.section.footer > .wraper {
    width: min(1120px, calc(100% - 32px));
    max-width: 1120px;
}
.section.footer .no-mobile {
    display: block !important;
}
.section.footer .menu-holder {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 30px;
    margin: 0 0 30px;
}
.section.footer .menu-holder li { flex: 0 0 auto; }
.section.footer .menu-holder a { padding-bottom: 7px; }
.section.footer > .wraper + .wraper { margin-top: 0; }
.section.footer > .wraper + .wraper > .cols-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    margin: 0 !important;
}
.section.footer > .wraper + .wraper > .cols-list > li {
    width: auto !important;
    margin: 0 !important;
    float: none;
    line-height: 1.55;
}
.section.footer img { max-width: 100%; }

@media (min-width: 1061px) {
    .section.banner .filter form > ul.cols-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .section.banner .filter form > ul.cols-list > li.col-2-4 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1060px) {
    .obj-list:not(.slick-initialized) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .filter form > ul.cols-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .filter form > ul.cols-list > li.col-2-4 { grid-column: span 2; }
    .subscribe {
        grid-template-columns: minmax(0, 1fr) minmax(180px, .7fr) minmax(250px, 1fr);
    }
    .subscribe-copy { padding-left: 24px !important; padding-right: 18px !important; }
    .subscribe-action { padding-right: 24px !important; }
}

@media (max-width: 765px) {
    .obj-list:not(.slick-initialized) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .filter form > ul.cols-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .filter form > ul.cols-list > li.col-2-4 { grid-column: 1 / -1; }
    .subscribe {
        grid-template-columns: minmax(0, 1fr) minmax(170px, .7fr);
    }
    .subscribe-copy { grid-column: 1 / -1; padding-bottom: 18px !important; }
    .subscribe-media { grid-column: 1; padding: 10px 10px 28px 24px !important; }
    .subscribe-action { grid-column: 2; padding: 10px 24px 28px 10px !important; }
    .subscribe-media img { height: 132px; }
    .subscribe-form { grid-template-columns: 1fr; }
    .subscribe-form input[type='submit'] { width: 100%; }
    .section.footer > .wraper + .wraper > .cols-list { grid-template-columns: 1fr; gap: 18px; }
}
.rubrics-list .obj-list:not(.slick-initialized), .section.content > .wraper > .holder.obj-list {
    display: block!important;
}
.obj-like-action {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.15s ease;
}
.obj-like-action:hover {
    transform: scale(1.15);
}
@media (max-width: 500px) {
    .section > .wraper,
    .section > .news-section > .wraper,
    .section.footer > .wraper { width: calc(100% - 32px); }
    .obj-list:not(.slick-initialized) { grid-template-columns: 1fr; }
    .filter form > ul.cols-list { grid-template-columns: 1fr; }
    .filter form > ul.cols-list > li.col-2-4 { grid-column: 1 / -1; grid-template-columns: 1fr; }
    .filter form > ul.cols-list > li.col-1-2 { grid-column: 1 / -1; }
    .filter form > ul.cols-list > .show_map { right: 135px; }
    .filter form > ul.cols-list > .clear_filter { right: 0; }
    .subscribe { display: block !important; }
    .subscribe-copy,
    .subscribe-media,
    .subscribe-action { display: block; width: 100% !important; padding: 24px !important; }
    .subscribe-media { padding-top: 0 !important; }
    .subscribe-media img { max-width: none; height: 150px; }
    .filter form > ul.cols-list > .clear_filter {
        position: relative !important;
    }
    .subscribe-action { padding-top: 0 !important; }
}

.floating-widgets {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    z-index: 99999 !important;
}

.floating-widgets > a,
.floating-widgets a.max-manager-btn,
.floating-widgets a.tg-manager-btn {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    border: 1px solid #e4e6ee !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
}

.floating-widgets > a:hover,
.floating-widgets a.max-manager-btn:hover,
.floating-widgets a.tg-manager-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.floating-widgets .max-manager-icon {
    width: 28px !important;
    height: 28px !important;
    display: block !important;
}

.floating-widgets .tg-icon {
    width: 36px !important;
    height: 36px !important;
    fill: #2CA5E0 !important;
    display: block !important;
}

@media (max-width: 768px) {
    .floating-widgets {
        bottom: 15px !important;
        right: 15px !important;
        left: auto !important;
        gap: 10px !important;
    }
    .floating-widgets > a,
    .floating-widgets a.max-manager-btn,
    .floating-widgets a.tg-manager-btn {
        width: 48px !important;
        height: 48px !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
    }
    .floating-widgets .max-manager-icon, .floating-widgets .tg-icon {
        width: 24px !important;
        height: 24px !important;
    }
}
.section.header { margin-bottom: 0 !important; } .section.header + .section.main-menu { margin-top: 0 !important; }
.subscribe-form input[type='submit'] { width: 100% !important; grid-column: 1 / -1 !important; }

/* PWA Install Banner */
.pwa-install-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 480px;
    margin: 0 auto;
    background: #1a2b49;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 99999;
    padding: 14px 18px;
    animation: pwaSlideUp 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
@keyframes pwaSlideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.pwa-install-content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pwa-app-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
}
.pwa-text {
    flex: 1;
    min-width: 0;
}
.pwa-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}
.pwa-text span {
    display: block;
    font-size: 12px;
    color: #cbd5e1;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pwa-btn {
    padding: 8px 16px;
    background: #e31e24;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.pwa-btn:hover {
    background: #c7181e;
}
.pwa-btn-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}
.pwa-btn-close:hover {
    color: #fff;
}
@media (max-width: 600px) {
    .pwa-install-banner {
        left: 10px;
        right: 10px;
        bottom: 15px;
        padding: 12px 14px;
    }
}

/* Vector SVG icons for Likes (Favorites) and Compare */
.icon-like {
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    vertical-align: middle !important;
}
.icon-like::before {
    content: '' !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc0029' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'%3E%3C/path%3E%3C/svg%3E") center/contain no-repeat !important;
}
.obj-like-action.active .icon-like::before,
.obj-like-action:hover .icon-like::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc0029' stroke='%23dc0029' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'%3E%3C/path%3E%3C/svg%3E") center/contain no-repeat !important;
}

.icon-compare {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    vertical-align: middle !important;
}
.icon-compare::before {
    content: '' !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 20V10M12 20V4M6 20v-6'/%3E%3C/svg%3E") center/contain no-repeat !important;
}
.obj-compare-action.active .icon-compare::before,
.obj-compare-action:hover .icon-compare::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc0029' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 20V10M12 20V4M6 20v-6'/%3E%3C/svg%3E") center/contain no-repeat !important;
}
.obj-compare-action.active {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #dc0029 !important;
}

/* ========================================================
   Action Buttons on Detail Page (.obj-detail-actions)
   ======================================================== */
.obj-detail-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
    margin: 18px 0 22px !important;
    padding: 0 !important;
    position: relative !important;
}
.obj-detail-actions .btn-obj-action {
    height: 44px !important;
    line-height: 44px !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    margin: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}
.obj-detail-actions .btn-request-view {
    background: #d8232a !important;
    color: #ffffff !important;
    border: 1px solid #d8232a !important;
    padding: 0 22px !important;
    box-shadow: 0 4px 14px rgba(216, 35, 42, 0.25) !important;
}
.obj-detail-actions .btn-request-view:hover {
    background: #b91c1c !important;
    border-color: #b91c1c !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(216, 35, 42, 0.35) !important;
}
.obj-detail-actions .btn-request-view .icon-send::before {
    filter: brightness(0) invert(1) !important;
    margin: 0 !important;
}
.obj-detail-actions .btn-request-view i {
    margin: 0 8px 0 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}
.obj-detail-actions .btn-pdf-view {
    background: #f3f4f6 !important;
    color: #1f2937 !important;
    border: 1px solid #e5e7eb !important;
    padding: 0 18px !important;
}
.obj-detail-actions .btn-pdf-view:hover {
    background: #e5e7eb !important;
    color: #111827 !important;
    transform: translateY(-2px) !important;
}
.obj-detail-actions .btn-pdf-view i {
    color: #dc0029 !important;
    margin-right: 8px !important;
    font-size: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Compare and Like Square Action Buttons in Detail Page */
.obj-detail-actions .btn-compare-toggle,
.obj-detail-actions .btn-like-toggle,
.obj-detail-actions .obj-like-action {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f3f4f6 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
}
.obj-detail-actions .btn-compare-toggle:hover,
.obj-detail-actions .btn-like-toggle:hover,
.obj-detail-actions .obj-like-action:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    transform: translateY(-2px) !important;
}
.obj-detail-actions .btn-compare-toggle.active,
.obj-detail-actions .btn-like-toggle.active,
.obj-detail-actions .obj-like-action.active {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
}
.obj-detail-actions .btn-compare-toggle .icon-compare {
    margin: 0 !important;
    padding: 0 !important;
    width: 22px !important;
    height: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}
.obj-detail-actions .btn-like-toggle .icon-like,
.obj-detail-actions .obj-like-action .icon-like {
    margin: 0 !important;
    padding: 0 !important;
    width: 22px !important;
    height: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

/* ========================================================
   Catalog Cards Action Buttons (Screen 3 - Center icons)
   ======================================================== */
.obj-card-actions {
    position: absolute !important;
    bottom: 12px !important;
    right: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    z-index: 6 !important;
}
.obj-card-actions .obj-like-action,
.obj-card-actions .obj-compare-action {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, background 0.15s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
}
.obj-card-actions .obj-like-action:hover,
.obj-card-actions .obj-compare-action:hover {
    transform: scale(1.1) !important;
    background: #ffffff !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16) !important;
}
.obj-card-actions .icon {
    margin: 0 !important;
    padding: 0 !important;
    width: 18px !important;
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}
.obj-card-actions .icon::before {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    vertical-align: top !important;
}

/* ========================================================
   Floating Left Action Widgets (Fav & Compare)
   ======================================================== */
.floating-left-actions {
    position: fixed !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    z-index: 99998 !important;
}
.floating-left-actions #fav_but,
.floating-left-actions #compare_but {
    position: relative !important;
    left: 0 !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 44px !important;
    height: 44px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-left: none !important;
    border-radius: 0 10px 10px 0 !important;
    box-shadow: 2px 4px 14px rgba(0, 0, 0, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
.floating-left-actions #fav_but:hover,
.floating-left-actions #compare_but:hover {
    transform: translateX(4px) !important;
    background: #f9fafb !important;
}
.floating-left-actions #fav_but i,
.floating-left-actions #compare_but i {
    margin: 0 !important;
    padding: 0 !important;
    width: 22px !important;
    height: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}
.floating-left-actions #fav_but i::before,
.floating-left-actions #compare_but i::before {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    vertical-align: middle !important;
}
.floating-left-actions .fav-badge,
.floating-left-actions .compare-badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background: #d8232a !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    min-width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    text-align: center !important;
    padding: 0 4px !important;
    border-radius: 9px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) !important;
    box-sizing: border-box !important;
}

/* ========================================================
   Favorites Toolbar Buttons (Screen 3 - Equal 42px height)
   ======================================================== */
.fav-actions-bar .fav-actions-right {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.btn-fav-compare,
.btn-clear-fav {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    margin: 0 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    vertical-align: middle !important;
}
.btn-fav-compare {
    background: #1a2b49 !important;
    color: #ffffff !important;
    border: 1px solid #1a2b49 !important;
    padding: 0 20px !important;
    gap: 8px !important;
}
.btn-fav-compare:hover {
    background: #d8232a !important;
    border-color: #d8232a !important;
    color: #ffffff !important;
}
.btn-fav-compare .icon {
    margin: 0 !important;
    font-size: 15px !important;
    color: inherit !important;
}
.btn-clear-fav {
    background: #ffffff !important;
    color: #4b5563 !important;
    border: 1px solid #d1d5db !important;
    padding: 0 18px !important;
}
.btn-clear-fav:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-color: #fca5a5 !important;
}

/* ========================================================
   Profile Forms Alignment (Screen 1)
   ======================================================== */
.profile-page-wrapper .auth-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}
.profile-page-wrapper .auth-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.profile-page-wrapper .auth-field label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    display: block !important;
    margin: 0 !important;
    text-align: left !important;
}
.profile-page-wrapper .auth-field input[type="text"],
.profile-page-wrapper .auth-field input[type="email"],
.profile-page-wrapper .auth-field input[type="password"],
.profile-page-wrapper .auth-field input[type="tel"] {
    width: 100% !important;
    height: 42px !important;
    line-height: 40px !important;
    padding: 0 14px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    color: #111827 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    display: block !important;
}
.profile-page-wrapper .auth-field input:focus {
    border-color: #d8232a !important;
    box-shadow: 0 0 0 3px rgba(216, 35, 42, 0.1) !important;
    outline: none !important;
}
.profile-page-wrapper .btn-submit-profile,
.profile-page-wrapper .btn-submit-pass {
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 0 24px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: none !important;
    text-decoration: none !important;
    margin-top: 8px !important;
    align-self: flex-start !important;
}
.profile-page-wrapper .btn-submit-profile {
    background: #d8232a !important;
    color: #ffffff !important;
}
.profile-page-wrapper .btn-submit-profile:hover {
    background: #b91c1c !important;
}
.profile-page-wrapper .btn-submit-pass {
    background: #1a2b49 !important;
    color: #ffffff !important;
}
.profile-page-wrapper .btn-submit-pass:hover {
    background: #0f1a2e !important;
}

/* ========================================================
   Sticky Filter Trigger (Collapsed into Icon / Pill)
   Slides out filter drawer from the right
   ======================================================== */
.sticky-filter-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    position: fixed !important;
    bottom: 28px !important;
    right: 28px !important;
    z-index: 9999 !important;
    background: linear-gradient(135deg, #d8232a 0%, #b81b21 100%) !important;
    color: #ffffff !important;
    padding: 13px 22px 13px 18px !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    font-family: inherit !important;
    letter-spacing: 0.4px !important;
    box-shadow: 0 8px 26px rgba(216, 35, 42, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    outline: none !important;
    opacity: 0;
    pointer-events: none;
    transform: translateY(40px) scale(0.9);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.25s ease, box-shadow 0.2s ease !important;
    -webkit-tap-highlight-color: transparent !important;
}
.sticky-filter-trigger.visible {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
.sticky-filter-trigger:hover {
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 12px 30px rgba(216, 35, 42, 0.55), 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}
.sticky-filter-trigger:active {
    transform: translateY(1px) scale(0.97) !important;
}
.sticky-filter-trigger .sft-icon-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.sticky-filter-trigger .sft-svg {
    stroke: #ffffff !important;
    stroke-width: 2.2 !important;
}
.sticky-filter-trigger .sft-text {
    line-height: 1 !important;
}

@media (max-width: 768px) {
    .sticky-filter-trigger {
        right: 18px !important;
        bottom: 22px !important;
        padding: 12px 20px 12px 16px !important;
        font-size: 14px !important;
    }
}

/* ========================================================
   Offcanvas Filter Drawer (Slides out smoothly from the right)
   ======================================================== */
.filter-drawer-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    z-index: 100000 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s !important;
}
.filter-drawer-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.filter-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 440px !important;
    max-width: 92vw !important;
    height: 100% !important;
    height: 100dvh !important;
    background: #202958 !important;
    color: #ffffff !important;
    z-index: 100001 !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.45) !important;
    transform: translateX(100%) !important;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}
.filter-drawer.active {
    transform: translateX(0) !important;
}

body.drawer-open {
    overflow: hidden !important;
    touch-action: none !important;
}

/* Drawer Header */
.filter-drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px 24px !important;
    background: #182046 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    flex-shrink: 0 !important;
}
.filter-drawer-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 0.3px !important;
}
.filter-drawer-title svg {
    stroke: #d8232a !important;
}
.filter-drawer-close {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 30px !important;
    line-height: 1 !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}
.filter-drawer-close:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

/* Drawer Scrollable Body */
.filter-drawer-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 22px 24px !important;
    box-sizing: border-box !important;
}

/* Drawer form responsive styling */
.filter-drawer-body .flt-form {
    display: block !important;
    width: 100% !important;
}
.filter-drawer-body .flt-form ul.cols-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.filter-drawer-body .flt-form ul.cols-list > li {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
.filter-drawer-body .flt-form .col-1-4,
.filter-drawer-body .flt-form .col-2-4,
.filter-drawer-body .flt-form .col-1-2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}
.filter-drawer-body .flt-form button.ui-multiselect.ui-widget {
    width: 100% !important;
    height: 44px !important;
    line-height: 42px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
}
.filter-drawer-body .flt-form input[type='text'],
.filter-drawer-body .flt-form select,
.filter-drawer-body .flt-form .flt-chk-holder {
    height: 44px !important;
    line-height: 42px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
}
.filter-drawer-body .flt-form .flt-chk-holder {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    padding: 0 !important;
}
.filter-drawer-body .flt-form .flt-submit {
    display: none !important; /* Handled by drawer footer */
}

/* Drawer Footer */
.filter-drawer-footer {
    display: flex !important;
    gap: 12px !important;
    padding: 16px 24px !important;
    background: #182046 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    flex-shrink: 0 !important;
}
.filter-drawer-footer .drawer-btn {
    height: 48px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
}
.filter-drawer-footer .drawer-btn-primary {
    flex: 1 !important;
    background: linear-gradient(135deg, #d8232a 0%, #b81b21 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(216, 35, 42, 0.35) !important;
}
.filter-drawer-footer .drawer-btn-primary:hover {
    background: linear-gradient(135deg, #e30613 0%, #a00b12 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(216, 35, 42, 0.45) !important;
}
.filter-drawer-footer .drawer-btn-secondary {
    padding: 0 18px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}
.filter-drawer-footer .drawer-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* ========================================================
   Modern Form Styling (Forms beautification across all pages - Item 5)
   ======================================================== */
.frm_ph,
form.aja1x-form,
.ajax-popup form,
.feedback-form {
    max-width: 540px;
    box-sizing: border-box;
}

.frm_row {
    margin-bottom: 18px !important;
    position: relative;
}
.frm_row + .frm_row {
    margin-top: 0 !important;
}

.frm_row .tit,
.frm_row label.tit {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin-bottom: 7px !important;
    line-height: 1.3 !important;
}
.frm_row .req,
.frm_row span.req {
    color: #dc0029 !important;
    font-weight: 700 !important;
    margin-left: 2px !important;
}

.frm_row input.login,
.frm_row input[type='text'],
.frm_row input[type='tel'],
.frm_row input[type='email'],
.frm_row input[type='password'],
.frm_row select,
form input.login,
form select.login {
    width: 100% !important;
    max-width: 100% !important;
    height: 48px !important;
    line-height: 46px !important;
    padding: 0 16px !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    color: #0f172a !important;
    font: 500 15px 'TT Norms', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    box-shadow: none !important;
}

.frm_row select {
    padding-right: 40px !important;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8232a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat calc(100% - 14px) center / 16px 16px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
}

.frm_row textarea,
form textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 120px !important;
    padding: 12px 16px !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    color: #0f172a !important;
    font: 500 15px 'TT Norms', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    outline: none !important;
    resize: vertical !important;
    line-height: 1.5 !important;
}

.frm_row input:focus,
.frm_row textarea:focus,
.frm_row select:focus,
form input.login:focus,
form textarea:focus {
    border-color: #d8232a !important;
    box-shadow: 0 0 0 3px rgba(216, 35, 42, 0.12) !important;
    background-color: #ffffff !important;
}

.frm_row input.need,
.frm_row textarea.need,
form input.login.need {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

/* File Upload Field */
.frm_row input[type='file'] {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 14px !important;
    background: #f8fafc !important;
    border: 1.5px dashed #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #475569 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.frm_row input[type='file']:hover {
    border-color: #94a3b8 !important;
    background: #f1f5f9 !important;
}
.frm_row input[type='file']::file-selector-button {
    background: #e2e8f0 !important;
    color: #1e293b !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 6px 14px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    margin-right: 12px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}
.frm_row input[type='file']::file-selector-button:hover {
    background: #cbd5e1 !important;
}

/* Form Action Buttons */
.frm_btns {
    margin-top: 22px !important;
    display: flex !important;
    align-items: center !important;
}
.frm_btns .btn,
.ajax-popup form .btn,
form.aja1x-form .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    height: 50px !important;
    padding: 0 34px !important;
    background: linear-gradient(135deg, #d8232a 0%, #b81b21 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(216, 35, 42, 0.3) !important;
    transition: all 0.2s ease !important;
}
.frm_btns .btn:hover,
.ajax-popup form .btn:hover,
form.aja1x-form .btn:hover {
    background: linear-gradient(135deg, #e30613 0%, #a00b12 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(216, 35, 42, 0.42) !important;
}
.frm_btns .btn:active {
    transform: translateY(1px) !important;
}
.frm_btns .btn .icon-send {
    filter: brightness(0) invert(1) !important;
    width: 18px !important;
    height: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Personal Data Consent Text */
.form_personal {
    margin-top: 14px !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: #64748b !important;
}
.form_personal a {
    color: #d8232a !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    transition: color 0.15s ease !important;
}
.form_personal a:hover {
    color: #991b1b !important;
}

/* Visually Hidden Helper (for SEO / accessibility h1) */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Category cards single link style */
.obj-type-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
}
.obj-type-card-link:hover .title span {
    color: #d8232a;
}
.filter-actions-row {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin-top: 16px !important;
    position: static !important;
}
.filter-actions-row .flt-submit {
    flex: 0 0 auto !important;
    min-width: 180px !important;
    height: 46px !important;
    margin: 0 !important;
    position: static !important;
}
.filter-extra-links {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}
.filter-extra-links a.show_map,
.filter-extra-links a.clear_filter {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    color: #fff !important;
    font-size: 14px !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    padding: 6px 0 !important;
    display: inline-block !important;
    transition: opacity 0.15s ease !important;
}
.filter-extra-links a.show_map:hover,
.filter-extra-links a.clear_filter:hover {
    opacity: 0.8 !important;
    text-decoration: none !important;
}

/* Header and mobile auth button fixes */
.header-auth-btn {
    margin-left: 10px !important;
    width: auto !important;
    min-width: 105px !important;
    padding: 0 16px !important;
    gap: 6px !important;
    border: 1px solid var(--premium-line, #e2e8f0) !important;
    border-radius: 12px !important;
    color: var(--premium-ink, #0f172a) !important;
    box-shadow: 0 8px 24px rgba(31, 43, 83, 0.09) !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 52px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease !important;
}
.header-auth-btn:hover,
.header-auth-btn:focus-visible {
    color: var(--premium-red, #dc0029) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 30px rgba(31, 43, 83, 0.15) !important;
}

@media (max-width: 1060px) {
    .header-auth-btn {
        height: 46px !important;
    }
}

@media (max-width: 500px) {
    .header-auth-btn {
        flex: 0 0 44px !important;
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 12px !important;
        font-size: 0 !important;
        justify-content: center !important;
    }
    .header-auth-btn span {
        display: none !important;
    }
    .header-auth-btn .icon {
        margin: 0 !important;
    }
}

/* Drawer mobile auth link */
.menu-auth-item {
    display: none;
}
@media (max-width: 1060px) {
    .menu-auth-item {
        display: block !important;
        border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
        margin-top: 12px !important;
        padding-top: 10px !important;
    }
    .menu-auth-item a {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-weight: 700 !important;
        color: #fff !important;
    }
}

/* Fix banner text overlapping filter on intermediate screens */
@media (min-width: 1024px) and (max-width: 1280px) {
    .section.banner .banner-text {
        max-width: 45% !important;
    }
}

/* ========================================================
   Sort Field in Filter (4th column in Row 2, next to Price)
   ======================================================== */
.flt-sort-col {
    width: 210px !important;
    box-sizing: border-box !important;
}
.filter .flt-sort-col {
    margin-top: 16px !important;
    margin-left: 16px !important;
}
.flt-sort-select {
    width: 100% !important;
    height: 46px !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    border-radius: 12px !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-position: right 14px center !important;
    background-repeat: no-repeat !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-family: inherit !important;
    padding: 0 36px 0 14px !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}
.flt-sort-select option {
    background: #182046 !important;
    color: #ffffff !important;
}
.flt-sort-select:focus {
    border-color: rgba(255, 255, 255, 0.8) !important;
    background-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1) !important;
    outline: none !important;
}

/* Hide old floating sort_div when embedded sort exists */
.flt-form ~ .sort_div,
.items-holder .sort_div {
    display: none !important;
}

/* ========================================================
   Sticky Filter Trigger – Inside floating-left-actions (Left side)
   ======================================================== */
.sticky-filter-trigger,
.floating-left-actions .sticky-filter-trigger {
    position: relative !important;
    right: auto !important;
    left: 0 !important;
    bottom: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
    border-radius: 0 10px 10px 0 !important;
    background: linear-gradient(135deg, #d8232a 0%, #b81b21 100%) !important;
    color: #ffffff !important;
    border: 1px solid #b81b21 !important;
    border-left: none !important;
    box-shadow: 2px 4px 14px rgba(216, 35, 42, 0.4) !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    transition: width 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
    display: none !important;
    align-items: center !important;
    justify-content: flex-start !important;
    cursor: pointer !important;
    text-decoration: none !important;
    outline: none !important;
    box-sizing: border-box !important;
    z-index: 99999 !important;
}
.sticky-filter-trigger.visible,
.floating-left-actions .sticky-filter-trigger.visible {
    display: inline-flex !important;
    pointer-events: auto !important;
}
.sticky-filter-trigger:hover,
.floating-left-actions .sticky-filter-trigger:hover {
    width: 125px !important;
    transform: translateX(4px) !important;
    box-shadow: 0 8px 24px rgba(216, 35, 42, 0.55) !important;
}
.sticky-filter-trigger .sft-icon-box {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
.sticky-filter-trigger .sft-svg {
    stroke: #ffffff !important;
    display: block !important;
}
.sticky-filter-trigger .sft-text {
    display: inline-block !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    padding-right: 12px !important;
    opacity: 0;
    transition: opacity 0.2s ease !important;
}
.sticky-filter-trigger:hover .sft-text {
    opacity: 1 !important;
}
@media (max-width: 768px) {
    .sticky-filter-trigger,
    .floating-left-actions .sticky-filter-trigger {
        width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
    }
    .sticky-filter-trigger .sft-icon-box {
        width: 40px !important;
        height: 40px !important;
    }
    .sticky-filter-trigger:hover,
    .floating-left-actions .sticky-filter-trigger:hover {
        width: 115px !important;
    }
}

/* ========================================================
   Refined Filter Drawer Styles (Screen 1 Fixes)
   ======================================================== */
.filter-drawer-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    z-index: 100000 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s !important;
}
.filter-drawer-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.filter-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 420px !important;
    max-width: 92vw !important;
    height: 100% !important;
    height: 100dvh !important;
    background: #202958 !important;
    color: #ffffff !important;
    z-index: 100001 !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.45) !important;
    transform: translateX(100%) !important;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}
.filter-drawer.active {
    transform: translateX(0) !important;
}

body.drawer-open {
    overflow: hidden !important;
    touch-action: none !important;
}
/* Hide floating widgets when drawer is open so they never obstruct drawer buttons */
body.drawer-open .floating-widgets {
    display: none !important;
}

.filter-drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 22px !important;
    background: #182046 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    flex-shrink: 0 !important;
}
.filter-drawer-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}
.filter-drawer-title svg {
    stroke: #d8232a !important;
}
.filter-drawer-close {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 30px !important;
    line-height: 1 !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}
.filter-drawer-close:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

.filter-drawer-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 20px 22px 30px !important;
    box-sizing: border-box !important;
}
.filter-drawer-body .flt-form ul.cols-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.filter-drawer-body .flt-form ul.cols-list > li {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}
.filter-drawer-body .flt-form .flt-sort-col {
    width: 100% !important;
    margin: 0 !important;
}

/* Two-column layout for range fields (Цена/Площадь/Этаж) inside drawer.
   Must use ul.cols-list > li.col-2-4 to beat the specificity of
   .filter-drawer-body .flt-form ul.cols-list > li { display:block !important }  */
.filter-drawer-body .flt-form ul.cols-list > li.col-2-4 {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* Each inner wrapper takes equal half — set width:0 so flex:1 controls growth */
.filter-drawer-body .flt-form ul.cols-list > li.col-2-4 > div,
.filter-drawer-body .flt-form ul.cols-list > li.col-2-4 > .col-1-4 {
    flex: 1 1 0 !important;
    width: 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}
/* Input fills its wrapper completely */
.filter-drawer-body .flt-form ul.cols-list > li.col-2-4 input[type='text'] {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* Form fields inside drawer: matching modern rounded design */
.filter-drawer-body input[type='text'],
.filter-drawer-body select,
.filter-drawer-body .flt-sort-select,
.filter-drawer-body button.ui-multiselect.ui-widget {
    width: 100% !important;
    height: 46px !important;
    border-radius: 12px !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-family: inherit !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, background 0.2s ease !important;
}
.filter-drawer-body input[type='text']:focus,
.filter-drawer-body select:focus,
.filter-drawer-body .flt-sort-select:focus,
.filter-drawer-body button.ui-multiselect.ui-widget:focus {
    border-color: rgba(255, 255, 255, 0.8) !important;
    background-color: rgba(255, 255, 255, 0.14) !important;
    outline: none !important;
}
.filter-drawer-body input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Clean white chevron on multiselect in drawer, remove red icon */
.filter-drawer-body button.ui-multiselect.ui-widget {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    cursor: pointer !important;
    text-align: left !important;
    padding-right: 38px !important;
}
.filter-drawer-body button.ui-multiselect.ui-widget .ui-icon {
    display: none !important;
}
.filter-drawer-body button.ui-multiselect.ui-widget::after {
    content: '' !important;
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    width: 8px !important;
    height: 8px !important;
    border-right: 2px solid rgba(255, 255, 255, 0.8) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-70%) rotate(45deg) !important;
    pointer-events: none !important;
}

/* Checkbox pill bars in drawer (1K 2K 3K 4K комната & не первый / не последний) */
.filter-drawer-body .flt-chk-holder {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    height: 46px !important;
    padding: 4px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
}
.filter-drawer-body .flt-chk {
    display: none !important;
}
.filter-drawer-body .flt-chk + label {
    flex: 1 1 auto !important;
    height: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 6px !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}
.filter-drawer-body .flt-chk:checked + label {
    background: #d8232a !important;
    color: #ffffff !important;
}

/* Links row in drawer */
.filter-drawer-body .filter-extra-links {
    display: flex !important;
    justify-content: space-between !important;
    padding: 8px 4px 0 !important;
}
.filter-drawer-body .filter-extra-links a {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 14px !important;
    text-decoration: underline !important;
}
.filter-drawer-body .filter-extra-links a:hover {
    color: #ffffff !important;
}

/* Drawer Footer */
.filter-drawer-footer {
    display: flex !important;
    gap: 12px !important;
    padding: 16px 22px !important;
    background: #182046 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    flex-shrink: 0 !important;
}
.filter-drawer-footer .drawer-btn {
    height: 48px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    border: none !important;
    outline: none !important;
    text-decoration: none !important;
}
.filter-drawer-footer .drawer-btn-primary {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    background: linear-gradient(135deg, #d8232a 0%, #b81b21 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(216, 35, 42, 0.35) !important;
}
.filter-drawer-footer .drawer-btn-primary:hover {
    background: linear-gradient(135deg, #e30613 0%, #a00b12 100%) !important;
    transform: translateY(-1px) !important;
}
.filter-drawer-footer .drawer-btn-secondary {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 0 18px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}
.filter-drawer-footer .drawer-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* ========================================================
   Magnific Popup z-index (Must be higher than drawer & backdrop)
   ======================================================== */
.mfp-bg {
    z-index: 200000 !important;
    background: rgba(0, 0, 0, 0.72) !important;
}
.mfp-wrap {
    z-index: 200001 !important;
}
.mfp-container {
    z-index: 200002 !important;
}
.mfp-content {
    position: relative !important;
    z-index: 200003 !important;
    background: transparent !important;
}
.mfp-ajax-holder .mfp-content,
.white-popup,
.popup-medi {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35) !important;
}

/* ========================================================
   1. City Selection Modal Styling (#select_city)
   ======================================================== */
.city-select-popup {
    position: relative !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 36px 28px 30px !important;
    max-width: 460px !important;
    width: calc(100% - 32px) !important;
    margin: 24px auto !important;
    text-align: center !important;
    box-shadow: 0 25px 60px -15px rgba(26, 43, 73, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
    box-sizing: border-box !important;
    font-family: 'TT Norms', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.city-popup-close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    font-size: 26px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    z-index: 10 !important;
}

.city-popup-close:hover {
    background: #fee2e2 !important;
    color: #dc0029 !important;
    transform: scale(1.06) !important;
}

.city-popup-icon-wrap {
    width: 72px !important;
    height: 72px !important;
    margin: 0 auto 16px !important;
    border-radius: 20px !important;
    background: linear-gradient(135deg, #fff5f5 0%, #fee2e2 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 24px -4px rgba(220, 0, 41, 0.2) !important;
    border: 1px solid rgba(220, 0, 41, 0.12) !important;
}

.city-popup-logo {
    width: 44px !important;
    height: 44px !important;
    object-fit: contain !important;
}

.city-popup-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #1a2b49 !important;
    margin: 0 0 6px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.25 !important;
}

.city-popup-desc {
    font-size: 13.5px !important;
    color: #64748b !important;
    margin: 0 0 22px 0 !important;
    line-height: 1.45 !important;
}

.city-popup-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    text-align: left !important;
}

.city-popup-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 13px 18px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
}

.city-popup-item:hover {
    background: #eff6ff !important;
    border-color: #3b82f6 !important;
    color: #1d4ed8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.12) !important;
}

.city-popup-item.is-active {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
    color: #166534 !important;
}

.city-item-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.city-item-pin {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    background: rgba(220, 0, 41, 0.08) !important;
    color: #dc0029 !important;
    flex-shrink: 0 !important;
}

.city-popup-item.is-active .city-item-pin {
    background: rgba(22, 163, 74, 0.12) !important;
    color: #16a34a !important;
}

.city-badge-current {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #16a34a !important;
    background: #dcfce7 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.city-item-arrow {
    color: #94a3b8 !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
}

.city-popup-item:hover .city-item-arrow {
    color: #3b82f6 !important;
    transform: translateX(3px) !important;
}

/* ========================================================
   2. Mobile Menu Close Controls & Navigation
   ======================================================== */
.mobile-menu-header-item,
.mobile-menu-footer-item {
    display: none !important;
}

.mfp-content .menu-holder {
    position: relative !important;
    max-width: 380px !important;
    width: 90vw !important;
    margin: 0 auto !important;
    border-radius: 22px !important;
    padding: 24px 20px !important;
    background: #ffffff !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
    height: auto !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.mfp-content .menu-holder .mobile-menu-header-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding-bottom: 16px !important;
    margin-bottom: 12px !important;
    border-bottom: 1.5px solid #f1f5f9 !important;
    box-sizing: border-box !important;
}

.mfp-content .menu-holder .mobile-menu-title {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #1a2b49 !important;
    letter-spacing: -.02em !important;
}

.mfp-content .menu-holder .mobile-menu-close-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    font-size: 26px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.mfp-content .menu-holder .mobile-menu-close-btn:hover,
.mfp-content .menu-holder .mobile-menu-close-btn:active {
    background: #fee2e2 !important;
    color: #dc0029 !important;
    transform: scale(1.06) !important;
}

.mfp-content .menu-holder li:not(.mobile-menu-header-item):not(.mobile-menu-footer-item) {
    margin: 4px 0 !important;
}

.mfp-content .menu-holder li:not(.mobile-menu-header-item):not(.mobile-menu-footer-item) a {
    display: block !important;
    padding: 13px 16px !important;
    border-radius: 12px !important;
    color: #1e293b !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
}

.mfp-content .menu-holder li:not(.mobile-menu-header-item):not(.mobile-menu-footer-item) a:hover {
    background: #f1f5f9 !important;
    color: #dc0029 !important;
}

.mfp-content .menu-holder .mobile-menu-footer-item {
    display: block !important;
    width: 100% !important;
    padding-top: 16px !important;
    margin-top: 12px !important;
    border-top: 1.5px solid #f1f5f9 !important;
    box-sizing: border-box !important;
}

.mfp-content .menu-holder .mobile-menu-bottom-close {
    width: 100% !important;
    height: 48px !important;
    border-radius: 14px !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
}

.mfp-content .menu-holder .mobile-menu-bottom-close:hover,
.mfp-content .menu-holder .mobile-menu-bottom-close:active {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #dc0029 !important;
}

/* Hide Magnific Popup's default external close button when menu opens with its own header */
.mfp-move-horizontal .mfp-close {
    display: none !important;
}

/* ========================================================
   3. Filter Rooms: Full Width with Equal Distribution
   ======================================================== */
.filter .flt-rooms-full,
.filter form > ul.cols-list > li.flt-rooms-full,
.filter form > ul.cols-list-new > li.flt-rooms-full,
.section.banner .filter .flt-rooms-full,
.section.banner .filter form > ul.cols-list > li.flt-rooms-full,
.section.banner .filter form > ul.cols-list-new > li.flt-rooms-full {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.filter .flt-rooms-full .flt-chk-holder,
.filter form > ul.cols-list > li.flt-rooms-full .flt-chk-holder,
.filter form > ul.cols-list-new > li.flt-rooms-full .flt-chk-holder,
.section.banner .filter .flt-rooms-full .flt-chk-holder,
.section.banner .filter form > ul.cols-list > li.flt-rooms-full .flt-chk-holder,
.section.banner .filter form > ul.cols-list-new > li.flt-rooms-full .flt-chk-holder {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 46px !important;
    box-sizing: border-box !important;
    padding: 4px !important;
    gap: 6px !important;
}

.filter .flt-rooms-full .flt-chk,
.section.banner .filter .flt-rooms-full .flt-chk {
    display: none !important;
}

.filter .flt-rooms-full .flt-chk + label,
.filter form > ul.cols-list > li.flt-rooms-full .flt-chk + label,
.filter form > ul.cols-list-new > li.flt-rooms-full .flt-chk + label,
.section.banner .filter .flt-rooms-full .flt-chk + label,
.section.banner .filter form > ul.cols-list > li.flt-rooms-full .flt-chk + label,
.section.banner .filter form > ul.cols-list-new > li.flt-rooms-full .flt-chk + label {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 38px !important;
    line-height: 38px !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}

/* ========================================================
   4. Mobile Banner & Filter: Vertical Stacking (No Overlap)
   ======================================================== */
@media (max-width: 900px) {
    .section.banner {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: 0 !important;
        position: relative !important;
        border-radius: 0 0 20px 20px !important;
        overflow: visible !important;
        box-shadow: none !important;
    }
    .section.banner .banner-content {
        position: relative !important;
        inset: auto !important;
        display: block !important;
        width: 100% !important;
        height: 270px !important;
        min-height: 270px !important;
        max-height: 270px !important;
        overflow: hidden !important;
        border-radius: 0 0 16px 16px !important;
        flex: 0 0 270px !important;
    }
    .section.banner .banner-content .slick-slider,
    .section.banner .banner-content .slick-list,
    .section.banner .banner-content .slick-track,
    .section.banner .banner-content .slick-slide {
        height: 270px !important;
    }
    .section.banner .banner-bg {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 270px !important;
        min-height: 270px !important;
    }
    .section.banner .banner-arrows {
        bottom: 16px !important;
        left: 20px !important;
        z-index: 10 !important;
    }
    .section.banner .filter {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        top: auto !important;
        width: calc(100% - 32px) !important;
        max-width: 520px !important;
        margin: 16px auto 24px auto !important;
        padding: 24px 20px !important;
        border-radius: 20px !important;
        box-sizing: border-box !important;
        z-index: 5 !important;
    }
}

@media (max-width: 500px) {
    .section.banner .banner-content {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
        flex: 0 0 220px !important;
    }
    .section.banner .banner-content .slick-slider,
    .section.banner .banner-content .slick-list,
    .section.banner .banner-content .slick-track,
    .section.banner .banner-content .slick-slide {
        height: 220px !important;
    }
    .section.banner .banner-bg {
        height: 220px !important;
        min-height: 220px !important;
    }
    .section.banner .filter {
        width: calc(100% - 24px) !important;
        margin: 12px auto 20px auto !important;
        padding: 18px 14px !important;
    }
    .section.banner .filter h2,
    .section.banner .filter-heading {
        font-size: 22px !important;
        margin-bottom: 14px !important;
    }
}

/* ========================================================
   Header Actions & Unified Mobile Buttons (44x44px)
   ======================================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.header-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
    text-decoration: none;
}

.header-action-btn .header-action-svg {
    flex-shrink: 0;
}

.header-callback-btn {
    height: 52px;
    padding: 0 20px;
    gap: 8px;
    border: 1px solid var(--premium-line, #dfe3eb);
    background: #ffffff;
    color: var(--premium-ink, #2d366a);
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(31, 43, 83, 0.08);
}
.header-callback-btn:hover {
    color: var(--premium-red, #dc0029);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(31, 43, 83, 0.12);
}

.header-auth-btn {
    height: 52px;
    padding: 0 18px;
    gap: 8px;
    border: 1px solid var(--premium-line, #dfe3eb);
    background: #ffffff;
    color: var(--premium-ink, #2d366a);
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(31, 43, 83, 0.08);
}
.header-auth-btn:hover {
    color: var(--premium-red, #dc0029);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(31, 43, 83, 0.12);
}

@media (max-width: 1060px) {
    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin-left: auto !important;
        margin-right: 0 !important;
    }
    .header-actions .header-action-btn,
    .header-actions .header-callback-btn,
    .header-actions .header-auth-btn,
    .header-actions .menu-btn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        flex: 0 0 44px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        font-size: 0 !important;
    }
    .header-actions .header-action-btn span.btn-text {
        display: none !important;
    }
    .header-actions .header-callback-btn {
        background: #ffffff !important;
        border: 1px solid var(--premium-line, #dfe3eb) !important;
        color: #2d366a !important;
        box-shadow: 0 4px 12px rgba(31, 43, 83, 0.06) !important;
    }
    .header-actions .header-auth-btn {
        background: #ffffff !important;
        border: 1px solid var(--premium-line, #dfe3eb) !important;
        color: #2d366a !important;
        box-shadow: 0 4px 12px rgba(31, 43, 83, 0.06) !important;
    }
    .header-actions .menu-btn {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: #dc0029 !important;
        border: none !important;
        box-shadow: 0 4px 14px rgba(220, 0, 41, 0.25) !important;
    }
    .header-actions .menu-btn span {
        display: block !important;
        width: 20px !important;
        height: 2.5px !important;
        background: #ffffff !important;
        border-radius: 2px !important;
        margin: 0 auto !important;
    }
    .header-actions .menu-btn span + span {
        margin-top: 3.5px !important;
    }
    .header-actions .header-action-svg {
        width: 20px !important;
        height: 20px !important;
        margin: 0 !important;
    }
}

/* ========================================================
   Footer Telegram Bot Card & Menu Styling
   ======================================================== */
.footer-tg-item {
    color: #38bdf8 !important;
    transition: color 0.2s ease !important;
}
.footer-tg-item:hover {
    color: #60a5fa !important;
}

.footer-tg-banner {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-tg-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(14, 165, 233, 0.08) 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
    max-width: 600px;
}
.footer-tg-card:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(14, 165, 233, 0.16) 100%);
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.15);
}

.footer-tg-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
}

.footer-tg-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.footer-tg-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.footer-tg-desc {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.3;
}

.footer-tg-btn {
    font-size: 13px;
    font-weight: 600;
    color: #38bdf8;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease, transform 0.2s ease;
}
.footer-tg-card:hover .footer-tg-btn {
    color: #7dd3fc;
    transform: translateX(3px);
}

@media (max-width: 600px) {
    .footer-tg-card {
        padding: 12px 14px;
        gap: 12px;
    }
    .footer-tg-btn {
        display: none;
    }
    .footer-tg-title {
        font-size: 14px;
    }
    .footer-tg-desc {
        font-size: 12px;
    }
}

/* ==========================================================================
   PREMIUM REDESIGN: LUXURY DESIGN SYSTEM & ANIMATIONS
   Target Pages: 1) Карточка объекта 2) Отзывы 3) Сотрудники 4) Контакты 5) Агентство
   ========================================================================== */

/* Keyframe Animations */
@keyframes premFadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes premPulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes premBtnShimmer {
    0% { left: -70%; }
    22% { left: 160%; }
    100% { left: 160%; }
}

@keyframes premFloatingOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-25px, 25px) scale(1.18); }
}

/* Shared Premium Buttons & Badges */
.prem-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #e11d48 0%, #d8232a 55%, #b91c1c 100%) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 14px 26px !important;
    border-radius: 14px !important;
    border: none !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px -4px rgba(216, 35, 42, 0.4) !important;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
}
.prem-btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 35%;
    height: 200%;
    background: linear-gradient(
        60deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.38) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    animation: premBtnShimmer 4.5s infinite ease-in-out;
    pointer-events: none;
}
.prem-btn-primary:hover {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 14px 30px -4px rgba(216, 35, 42, 0.55) !important;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 55%, #c81e25 100%) !important;
    color: #ffffff !important;
}
.prem-btn-primary:active {
    transform: translateY(1px) !important;
}

.prem-btn-outline {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 12px 22px !important;
    border-radius: 12px !important;
    border: 1px solid #cbd5e1 !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}
.prem-btn-outline:hover {
    background: #f8fafc !important;
    border-color: #0f172a !important;
    color: #0f172a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08) !important;
}

.prem-icon-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d8232a;
    box-shadow: 0 0 8px rgba(216, 35, 42, 0.6);
    margin-right: 4px;
}

/* ==========================================================================
   1. КАРТОЧКА ОБЪЕКТА (modules/obj.php)
   ========================================================================== */
.prem-obj-page {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    animation: premFadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    margin-bottom: 50px;
}

.prem-obj-header {
    margin-bottom: 24px;
}

.prem-obj-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.prem-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.prem-badge-active {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.prem-badge-reserved {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}
.prem-badge-sold {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}
.prem-badge-type {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.prem-badge-code {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}
.prem-badge-city {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.prem-obj-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.28;
    color: #0f172a;
    margin: 0 0 8px 0;
    letter-spacing: -0.4px;
}

.prem-obj-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 15px;
}

.prem-obj-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.22fr) minmax(320px, 380px) !important;
    gap: 32px !important;
    align-items: start !important;
    width: 100% !important;
    float: none !important;
}
.prem-obj-main,
.prem-obj-aside {
    min-width: 0 !important;
    width: 100% !important;
    float: none !important;
}

.prem-obj-gallery {
    background: #000000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.15);
    margin-bottom: 24px;
}
.prem-obj-gallery .fotorama__nav-wrap {
    padding-top: 10px;
    background: #0f172a;
}
.prem-obj-gallery .fotorama__thumb-border {
    border-color: #d8232a !important;
    border-radius: 8px;
}

/* Quick highlights grid */
.prem-quick-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.prem-spec-tile {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}
.prem-spec-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}
.prem-spec-icon {
    font-size: 22px;
    width: 40px;
    height: 40px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.prem-spec-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.prem-spec-val {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.prem-spec-label {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card sections */
.prem-card-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px 26px;
    margin-bottom: 24px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.prem-section-heading {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}

.prem-specs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.prem-specs-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 14px;
}
.prem-specs-list .info-table-title {
    color: #64748b;
    padding-right: 12px;
}
.prem-specs-list .info-table-value {
    color: #0f172a;
    font-weight: 700;
    text-align: right;
}

.prem-desc-content {
    font-size: 16px;
    line-height: 1.75;
    color: #334155;
}

.prem-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.prem-map-header .prem-section-heading {
    margin-bottom: 0;
}
.prem-map-addr {
    font-size: 14px;
    color: #64748b;
}
.prem-map-container {
    border-radius: 16px;
    overflow: hidden;
    height: 380px;
    border: 1px solid #e2e8f0;
}
.prem-map-container .ya_map {
    width: 100% !important;
    height: 100% !important;
}

/* Sticky sidebar */
.prem-sticky-sidebar {
    position: sticky;
    top: 85px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prem-price-card {
    background: #ffffff;
    border: 1px solid rgba(216, 35, 42, 0.16);
    border-radius: 20px;
    padding: 26px 24px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06);
}
.prem-price-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.prem-price-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}
.prem-price-views {
    font-size: 12px;
    color: #94a3b8;
}

.prem-price-main {
    margin-bottom: 16px;
}
.prem-price-value {
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.5px;
}
.prem-price-main .sub {
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
}

.prem-mortgage-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    padding: 12px 14px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: all 0.22s ease;
}
.prem-mortgage-banner:hover {
    background: #dcfce7;
    border-color: #6ee7b7;
    transform: translateX(2px);
}
.prem-mortgage-badge {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #10b981;
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.prem-mortgage-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.prem-mortgage-label {
    font-size: 11px;
    color: #047857;
    font-weight: 600;
    text-transform: uppercase;
}
.prem-mortgage-val {
    font-size: 14px;
    color: #064e3b;
}
.prem-mortgage-arrow {
    color: #059669;
}

.prem-actions-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.prem-actions-group .btn-request-view {
    width: 100%;
}
.prem-actions-subrow {
    display: flex;
    gap: 8px;
}
.prem-actions-subrow .btn-pdf-view {
    flex: 1;
}
.prem-actions-subrow .btn-obj-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}
.prem-actions-subrow .btn-obj-action:hover,
.prem-actions-subrow .btn-obj-action.active {
    background: #fef2f2;
    border-color: #d8232a;
    color: #d8232a;
}

.prem-price-alt .object-myprice {
    display: block;
    text-align: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #475569;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}
.prem-price-alt .object-myprice:hover {
    background: #ffffff;
    border-color: #0f172a;
    color: #0f172a;
}

.prem-guarantees-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.prem-guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

/* Broker Card */
.prem-broker-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.prem-broker-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.prem-broker-avatar-wrap {
    position: relative;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
}
.prem-broker-avatar {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.prem-broker-status-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    background: #10b981;
    border: 2px solid #ffffff;
    border-radius: 50%;
    animation: premPulseDot 2s infinite;
}
.prem-broker-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.prem-broker-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #d8232a;
}
.prem-broker-name {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    text-decoration: none;
    margin: 2px 0;
}
.prem-broker-name:hover {
    color: #d8232a;
}
.prem-broker-pos {
    font-size: 13px;
    color: #64748b;
}

.prem-broker-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}
.prem-broker-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.prem-broker-call-btn:hover {
    background: #1e293b;
    color: #ffffff;
    transform: translateY(-1px);
}
.prem-broker-social-row {
    display: flex;
    gap: 8px;
}
.prem-agent-social-btn {
    flex: 1;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    transition: all 0.2s ease;
}
.prem-agent-social-btn.wa:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
}
.prem-agent-social-btn.tg:hover {
    background: #229ed9;
    color: #ffffff;
    border-color: #229ed9;
}
.prem-agent-social-btn.mail:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.prem-broker-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}
.prem-broker-all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}
.prem-broker-all-link:hover {
    color: #d8232a;
}

/* ==========================================================================
   2. ОТЗЫВЫ (modules/agents.php -> genGuestBook)
   ========================================================================== */
.prem-reviews-container {
    animation: premFadeInUp 0.5s ease-out;
    margin-bottom: 50px;
}

.prem-reviews-hero {
    background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 44px 36px;
    margin-bottom: 36px;
    box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.prem-reviews-hero-content {
    flex: 1;
    min-width: 280px;
}
.prem-reviews-badge {
    display: inline-block;
    background: rgba(216, 35, 42, 0.2);
    border: 1px solid rgba(216, 35, 42, 0.4);
    color: #fca5a5;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.prem-reviews-hero-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}
.prem-reviews-hero {
    background: linear-gradient(135deg, #090e17 0%, #0f172a 60%, #1e1b4b 100%) !important;
    color: #ffffff;
    border-radius: 24px;
    padding: 44px 36px;
    margin-bottom: 36px;
    box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    position: relative;
    overflow: hidden;
}
.prem-reviews-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 35, 42, 0.22) 0%, rgba(216, 35, 42, 0) 70%);
    pointer-events: none;
    animation: premFloatingOrb 7s infinite alternate ease-in-out;
}
.prem-reviews-hero-content {
    flex: 1;
    min-width: 280px;
    position: relative;
    z-index: 1;
}
.prem-reviews-badge {
    display: inline-block;
    background: rgba(216, 35, 42, 0.2);
    border: 1px solid rgba(216, 35, 42, 0.4);
    color: #fca5a5;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.prem-reviews-hero-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}
.prem-reviews-hero-desc {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0 0 24px 0;
    max-width: 640px;
}
.prem-reviews-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}
.prem-rev-stat-item {
    display: flex;
    flex-direction: column;
}
.prem-rev-stat-val {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}
.prem-rev-stat-label {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 2px;
}

.prem-reviews-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)) !important;
    gap: 24px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 36px 0 !important;
}

.prem-review-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 28px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    width: auto !important;
    float: none !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
}
.prem-review-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(216, 35, 42, 0.2) !important;
}
.prem-review-quote-watermark {
    position: absolute;
    top: 14px;
    right: 20px;
    font-size: 76px;
    font-family: Georgia, serif;
    line-height: 1;
    color: rgba(15, 23, 42, 0.04);
    user-select: none;
    pointer-events: none;
    z-index: 0;
}

.prem-review-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.prem-review-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.prem-review-monogram {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}
.prem-review-name {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}
.prem-review-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
}
.prem-review-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 9999px;
}
.prem-review-date {
    font-size: 12px;
    color: #94a3b8;
}
.prem-review-stars {
    color: #f59e0b;
    font-size: 17px;
    letter-spacing: 2px;
    user-select: none;
}

.prem-review-body {
    position: relative;
    margin-bottom: 20px;
    flex: 1;
    z-index: 1;
}
.prem-review-text {
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
    position: relative;
    z-index: 1;
}

.prem-review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    position: relative;
    z-index: 1;
}
.prem-review-agent-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}
.prem-review-agent-pill:hover {
    background: #ffffff;
    border-color: #0f172a;
    color: #0f172a;
}
.prem-review-agent-pill img {
    border-radius: 50%;
    object-fit: cover;
}
.prem-review-files {
    display: flex;
    gap: 8px;
}
.prem-review-attachment {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #d8232a;
    background: #fef2f2;
    border: 1px solid #fecaca;
    padding: 6px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.prem-review-attachment:hover {
    background: #fee2e2;
    color: #b91c1c;
    transform: translateY(-1px);
}

.prem-reviews-cta {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
}
.prem-reviews-cta-text h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}
.prem-reviews-cta-text p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    max-width: 600px;
}

/* ==========================================================================
   3. СОТРУДНИКИ (modules/agents.php -> genList, tplAgentItem, tplCard)
   ========================================================================== */
.prem-team-wrapper {
    animation: premFadeInUp 0.5s ease-out;
    margin-bottom: 50px;
}

.prem-team-hero {
    background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 44px 36px;
    margin-bottom: 36px;
    box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.2);
}
.prem-team-badge {
    display: inline-block;
    background: rgba(216, 35, 42, 0.2);
    border: 1px solid rgba(216, 35, 42, 0.4);
    color: #fca5a5;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.prem-team-hero-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}
.prem-team-hero-desc {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0 0 24px 0;
    max-width: 640px;
}
.prem-team-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}
.prem-team-hstat {
    display: flex;
    flex-direction: column;
}
.prem-team-hstat b {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}
.prem-team-hstat span {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 2px;
}

.prem-team-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 28px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 40px 0 !important;
}

.prem-team-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    width: auto !important;
    float: none !important;
    box-sizing: border-box !important;
}
.prem-team-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 22px 45px -10px rgba(15, 23, 42, 0.12) !important;
    border-color: rgba(216, 35, 42, 0.25) !important;
}

.prem-team-photo-wrap {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #0f172a;
}
.prem-team-photo-link {
    display: block;
    width: 100%;
    height: 100%;
}
.prem-team-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.prem-team-card:hover .prem-team-img {
    transform: scale(1.05) !important;
}
.prem-team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(15,23,42,0.6) 100%);
    pointer-events: none;
}
.prem-team-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.prem-team-content {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.prem-team-name {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.2s ease;
}
.prem-team-name:hover {
    color: #d8232a;
}

.prem-team-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.prem-team-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.prem-team-pill:hover {
    background: #ffffff;
    border-color: #0f172a;
    color: #0f172a;
}

.prem-team-contacts-box {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.prem-team-call-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.prem-team-call-btn:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}
.prem-team-socials {
    display: flex;
    gap: 6px;
}
.prem-team-soc-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    transition: all 0.2s ease;
}
.prem-team-soc-btn.wa:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
}
.prem-team-soc-btn.tg:hover {
    background: #229ed9;
    color: #ffffff;
    border-color: #229ed9;
}
.prem-team-soc-btn.mail:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.prem-team-action-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: #d8232a;
    text-decoration: none;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    transition: transform 0.2s ease;
}
.prem-team-action-link:hover {
    transform: translateX(3px);
}

/* Single Agent Profile Page */
.prem-agent-profile-page {
    animation: premFadeInUp 0.5s ease-out;
    margin-bottom: 50px;
}
.prem-agent-profile-hero {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 36px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 36px;
    align-items: start;
}
.prem-agent-profile-avatar-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.prem-agent-profile-img-wrap {
    position: relative;
    width: 220px;
    height: 260px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.prem-agent-profile-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prem-agent-profile-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    background: #10b981;
    border: 2px solid #ffffff;
    border-radius: 50%;
    animation: premPulseDot 2s infinite;
}
.prem-agent-profile-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 6px 14px;
    border-radius: 9999px;
}

.prem-agent-profile-top {
    margin-bottom: 18px;
}
.prem-agent-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}
.prem-agent-profile-title {
    font-size: 30px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 4px 0;
}
.prem-agent-profile-position {
    font-size: 16px;
    color: #64748b;
}

.prem-agent-profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}
.prem-agent-pstat {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
}
.prem-pstat-num {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}
.prem-pstat-lbl {
    font-size: 12px;
    color: #64748b;
}

.prem-agent-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
}
.prem-agent-profile-socials {
    display: flex;
    gap: 8px;
}

.prem-agent-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 24px;
}
.prem-agent-details-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 14px;
}
.prem-agent-details-list .info-table-title {
    color: #64748b;
}
.prem-agent-details-list .info-table-value {
    color: #0f172a;
    font-weight: 700;
}

/* ==========================================================================
   4. КОНТАКТЫ (catches/mod/contacts.php, tplOffice)
   ========================================================================== */
.prem-contacts-page {
    animation: premFadeInUp 0.5s ease-out;
    margin-bottom: 50px;
}

.prem-contacts-hero {
    background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 44px 36px;
    margin-bottom: 36px;
    box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.2);
}
.prem-contacts-badge {
    display: inline-block;
    background: rgba(216, 35, 42, 0.2);
    border: 1px solid rgba(216, 35, 42, 0.4);
    color: #fca5a5;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.prem-contacts-hero-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}
.prem-contacts-hero-desc {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0 0 28px 0;
    max-width: 680px;
}

.prem-contacts-quick-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.prem-cquick-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.22s ease;
}
.prem-cquick-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}
.prem-cquick-icon {
    font-size: 24px;
}
.prem-cquick-info {
    display: flex;
    flex-direction: column;
}
.prem-cquick-lbl {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}
.prem-cquick-val {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin-top: 2px;
}

.prem-contacts-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 36px;
    margin-bottom: 36px;
}

.prem-offices-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.prem-office-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
@media (max-width: 768px) {
    .prem-office-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px !important;
        gap: 16px !important;
    }
}
.prem-office-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-3px) !important;
}
.prem-office-photo-box {
    position: relative !important;
    width: 160px !important;
    height: 160px !important;
    min-width: 160px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    background: #f1f5f9 !important;
}
.prem-office-img-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
.prem-office-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
    display: block !important;
}
.prem-office-card:hover .prem-office-img {
    transform: scale(1.05) !important;
}
.prem-office-photo-badge {
    position: absolute !important;
    bottom: 8px !important;
    right: 8px !important;
    background: rgba(15, 23, 42, 0.8) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
}

.prem-office-content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
.prem-office-tag {
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #2563eb !important;
}
.prem-office-address {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    line-height: 1.35 !important;
}
.prem-office-address svg {
    flex-shrink: 0 !important;
    color: #2563eb !important;
}
.prem-office-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    font-size: 14px !important;
    color: #64748b !important;
}
.prem-office-meta-row {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.prem-office-meta-row a {
    color: #0f172a !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
.prem-office-meta-row a:hover {
    color: #2563eb !important;
}
.prem-office-actions {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 6px !important;
}
.prem-office-call-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 42px !important;
    padding: 0 20px !important;
    border-radius: 12px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}
.prem-office-call-btn:hover {
    background: #1e293b !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2) !important;
}
.prem-office-actions .ajax-link.prem-btn-outline {
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 20px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}
.prem-office-soc-btn.wa {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    background: #dcfce7 !important;
    color: #16a34a !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #bbf7d0 !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
}
.prem-office-soc-btn.wa:hover {
    background: #22c55e !important;
    color: #ffffff !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.3) !important;
}
.prem-office-tour-btn {
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
}

.prem-requisites-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
}
.prem-req-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.prem-req-icon {
    font-size: 26px;
}
.prem-req-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.prem-req-sub {
    font-size: 12px;
    color: #64748b;
}
.prem-req-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}
.prem-req-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    border-bottom: 1px dashed #f1f5f9;
}
.prem-req-k {
    color: #64748b;
    flex-shrink: 0;
}
.prem-req-v {
    color: #0f172a;
    font-weight: 600;
    text-align: right;
}

/* Feedback form card */
.prem-feedback-form-card {
    background: #ffffff;
    border: 1px solid rgba(216, 35, 42, 0.2);
    border-radius: 24px;
    padding: 34px 30px;
    box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.06);
}
.prem-ff-badge {
    display: inline-block;
    background: #fef2f2;
    color: #d8232a;
    border: 1px solid #fecaca;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.prem-ff-title {
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 8px 0;
    letter-spacing: -0.4px;
}
.prem-ff-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 20px 0;
}

.prem-ff-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.prem-ff-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.prem-ff-label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}
.prem-ff-input,
.prem-ff-select,
.prem-ff-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    box-sizing: border-box;
    transition: all 0.2s ease;
    font-family: inherit;
}
.prem-ff-input:focus,
.prem-ff-select:focus,
.prem-ff-textarea:focus {
    border-color: #d8232a;
    box-shadow: 0 0 0 3px rgba(216, 35, 42, 0.12);
    outline: none;
}
.prem-ff-submit {
    width: 100%;
    margin-top: 8px;
}
.prem-ff-privacy {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
    text-align: center;
}
.prem-ff-privacy a {
    color: #64748b;
    text-decoration: underline;
}

.prem-form-alert {
    padding: 14px 16px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}
.prem-form-alert.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.prem-form-alert.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* ==========================================================================
   5. АГЕНТСТВО (catches/index.php -> section agency)
   ========================================================================== */
.prem-agency-page {
    animation: premFadeInUp 0.5s ease-out;
    margin-bottom: 50px;
}

.prem-agency-hero {
    background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 50px 40px;
    margin-bottom: 36px;
    box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.2);
}
.prem-agency-badge {
    display: inline-block;
    background: rgba(216, 35, 42, 0.2);
    border: 1px solid rgba(216, 35, 42, 0.4);
    color: #fca5a5;
    padding: 4px 14px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}
.prem-agency-hero-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 14px 0;
    letter-spacing: -0.5px;
}
.prem-agency-hero-desc {
    font-size: 17px;
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0 0 32px 0;
    max-width: 720px;
}

.prem-agency-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}
.prem-astat-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}
.prem-astat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.prem-astat-num {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
}
.prem-astat-label {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 4px;
    line-height: 1.4;
}

.prem-agency-story-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 36px;
    margin-bottom: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 36px;
    align-items: center;
}
.prem-agency-section-heading {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px 0;
    letter-spacing: -0.4px;
}
.prem-agency-section-heading.centered {
    text-align: center;
    margin-bottom: 28px;
}
.prem-agency-lead {
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.65;
}
.prem-agency-story-main p {
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 14px;
}

.prem-agency-quote-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    position: relative;
}
.prem-quote-mark {
    font-family: Georgia, serif;
    font-size: 54px;
    line-height: 1;
    color: #d8232a;
    opacity: 0.3;
    position: absolute;
    top: 14px;
    left: 20px;
}
.prem-quote-text {
    font-style: italic;
    font-size: 15px;
    line-height: 1.7;
    color: #1e293b;
    margin: 0 0 18px 0;
    position: relative;
    z-index: 1;
}
.prem-author-name {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}
.prem-author-pos {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.prem-agency-services-section {
    margin-bottom: 40px;
}
.prem-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.prem-service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.prem-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    border-color: rgba(216, 35, 42, 0.25);
}
.prem-service-icon-box {
    font-size: 32px;
    margin-bottom: 14px;
}
.prem-service-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}
.prem-service-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.prem-agency-steps-section {
    margin-bottom: 40px;
}
.prem-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.prem-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px;
    position: relative;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}
.prem-step-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.prem-step-num {
    font-size: 28px;
    font-weight: 900;
    color: #d8232a;
    line-height: 1;
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
}
.prem-step-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}
.prem-step-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

.prem-agency-cta-card {
    background: linear-gradient(135deg, #0b0f19 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 40px 36px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.2);
}
.prem-acta-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
}
.prem-acta-desc {
    font-size: 15px;
    color: #cbd5e1;
    margin: 0;
    max-width: 580px;
}
.prem-acta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.prem-acta-buttons .prem-btn-outline {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}
.prem-acta-buttons .prem-btn-outline:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #ffffff !important;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 992px) {
    .prem-obj-grid {
        grid-template-columns: 1fr;
    }
    .prem-sticky-sidebar {
        position: static;
    }
    .prem-contacts-layout {
        grid-template-columns: 1fr;
    }
    .prem-agency-story-card {
        grid-template-columns: 1fr;
    }
    .prem-agent-profile-hero {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .prem-agent-profile-top {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .prem-agent-profile-stats {
        justify-content: center;
    }
    .prem-agent-profile-actions {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .prem-obj-title {
        font-size: 22px;
    }
    .prem-price-value {
        font-size: 26px;
    }
    .prem-card-section {
        padding: 20px 18px;
    }
    .prem-reviews-hero,
    .prem-team-hero,
    .prem-contacts-hero,
    .prem-agency-hero {
        padding: 30px 22px;
    }
    .prem-reviews-hero-title,
    .prem-team-hero-title,
    .prem-contacts-hero-title,
    .prem-agency-hero-title {
        font-size: 24px;
    }
    .prem-office-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .prem-office-photo-box {
        width: 100%;
        height: 180px;
    }
    .prem-office-address {
        justify-content: center;
    }
    .prem-office-meta-row {
        justify-content: center;
    }
    .prem-office-actions {
        justify-content: center;
    }
    .prem-req-row {
        flex-direction: column;
        text-align: left;
    }
    .prem-req-v {
        text-align: left;
    }
    .prem-agency-cta-card,
    .prem-reviews-cta {
        padding: 24px 20px;
    }
}

/* ==========================================================================
   STAGGERED ENTRANCE ANIMATIONS (Framer-style smooth cascade)
   ========================================================================== */
.prem-reviews-grid > li,
.prem-team-grid > li,
.prem-services-grid > div,
.prem-steps-grid > div,
.prem-card-section {
    animation: premFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.prem-reviews-grid > li:nth-child(1),
.prem-team-grid > li:nth-child(1),
.prem-services-grid > div:nth-child(1),
.prem-steps-grid > div:nth-child(1) { animation-delay: 0.05s; }

.prem-reviews-grid > li:nth-child(2),
.prem-team-grid > li:nth-child(2),
.prem-services-grid > div:nth-child(2),
.prem-steps-grid > div:nth-child(2) { animation-delay: 0.12s; }

.prem-reviews-grid > li:nth-child(3),
.prem-team-grid > li:nth-child(3),
.prem-services-grid > div:nth-child(3),
.prem-steps-grid > div:nth-child(3) { animation-delay: 0.19s; }

.prem-reviews-grid > li:nth-child(4),
.prem-team-grid > li:nth-child(4),
.prem-services-grid > div:nth-child(4),
.prem-steps-grid > div:nth-child(4) { animation-delay: 0.26s; }

.prem-reviews-grid > li:nth-child(5),
.prem-team-grid > li:nth-child(5) { animation-delay: 0.33s; }

.prem-reviews-grid > li:nth-child(6),
.prem-team-grid > li:nth-child(6) { animation-delay: 0.40s; }

.prem-reviews-grid > li:nth-child(7),
.prem-team-grid > li:nth-child(7) { animation-delay: 0.47s; }

.prem-reviews-grid > li:nth-child(8),
.prem-team-grid > li:nth-child(8) { animation-delay: 0.54s; }

/* Admin Content Typography (Scoping for text entered via ACP / CKEditor) */
.prem-agency-admin-text,
.prem-contacts-admin-intro,
.prem-team-admin-intro,
.section.content .holder {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    word-break: break-word;
}

.prem-agency-admin-text h2,
.prem-contacts-admin-intro h2,
.section.content .holder h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 30px 0 16px 0;
    line-height: 1.3;
}

.prem-agency-admin-text h3,
.prem-contacts-admin-intro h3,
.section.content .holder h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 24px 0 12px 0;
}

.prem-agency-admin-text p,
.prem-contacts-admin-intro p,
.prem-team-admin-intro p,
.section.content .holder p {
    margin: 0 0 18px 0;
}

.prem-agency-admin-text ul:not(.obj-types):not(.obj-list):not(.cols-list),
.prem-contacts-admin-intro ul:not(.obj-types):not(.obj-list):not(.cols-list),
.section.content .holder ul:not(.obj-types):not(.obj-list):not(.cols-list) {
    list-style: none;
    padding-left: 0;
    margin: 0 0 20px 0;
}

.prem-agency-admin-text ul:not(.obj-types):not(.obj-list):not(.cols-list) li,
.prem-contacts-admin-intro ul:not(.obj-types):not(.obj-list):not(.cols-list) li,
.section.content .holder ul:not(.obj-types):not(.obj-list):not(.cols-list) li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
}

.prem-agency-admin-text ul:not(.obj-types):not(.obj-list):not(.cols-list) li::before,
.prem-contacts-admin-intro ul:not(.obj-types):not(.obj-list):not(.cols-list) li::before,
.section.content .holder ul:not(.obj-types):not(.obj-list):not(.cols-list) li::before {
    content: "•";
    color: #d8232a;
    font-size: 20px;
    position: absolute;
    left: 4px;
    top: -2px;
}

.prem-agency-admin-text img,
.prem-contacts-admin-intro img,
.section.content .holder:not(.obj-list) img:not(.obj-type-icon img):not(.obj-type-card-link img) {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
}

.prem-agency-admin-text table,
.section.content .holder table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
}

.prem-agency-admin-text table td,
.prem-agency-admin-text table th,
.section.content .holder table td,
.section.content .holder table th {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}

/* ==========================================================================
   ULTRA-LUXURY REDESIGN FIXES & ENHANCEMENTS 2026
   ========================================================================== */

/* 1. КАРТОЧКА ОБЪЕКТА: Описание и карта в 1 ряд на ВСЮ ШИРИНУ КОНТЕЙНЕРА */
.prem-obj-fullwidth-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
    margin-top: 36px !important;
    margin-bottom: 24px !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}
.prem-obj-fullwidth-row.prem-obj-fullwidth-single {
    grid-template-columns: 1fr !important;
}
.prem-obj-fullwidth-row .prem-obj-desc-col,
.prem-obj-fullwidth-row .prem-obj-map-col {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}
.prem-obj-fullwidth-row .prem-card-section {
    flex: 1 1 auto !important;
    height: 100% !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}
.prem-obj-fullwidth-row .prem-desc-content {
    flex: 1 1 auto !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #334155 !important;
}
.prem-obj-fullwidth-row .prem-map-container {
    flex: 1 1 auto !important;
    min-height: 440px !important;
    height: 100% !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    position: relative !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
}
.prem-obj-fullwidth-row .prem-map-container .ya_map,
.prem-obj-fullwidth-row .prem-map-container #obj-map {
    width: 100% !important;
    height: 100% !important;
    min-height: 440px !important;
}
@media (max-width: 900px) {
    .prem-obj-fullwidth-row {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin-top: 24px !important;
    }
}

/* Кнопка PDF-презентации */
.btn-pdf-view,
a.btn-pdf-view {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 20px !important;
    width: auto !important;
    min-width: 195px !important;
    height: 48px !important;
    line-height: 48px !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}
.btn-pdf-view:hover,
a.btn-pdf-view:hover {
    background: #ffffff !important;
    border-color: #2563eb !important;
    color: #2563eb !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12) !important;
    transform: translateY(-2px) !important;
}
.btn-pdf-view svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
}

/* 2. ПРОСМОТР АГЕНТА: Круглые иконки мессенджеров + стильные карточки объектов */
.prem-agent-social-btn,
a.prem-agent-social-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    border-radius: 50% !important;
    flex: 0 0 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.prem-agent-social-btn:hover {
    transform: translateY(-2px) scale(1.08) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
}
.prem-agent-social-btn svg {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    display: block !important;
    flex-shrink: 0 !important;
}
.prem-agent-social-btn.wa {
    background: #25d366 !important;
    color: #ffffff !important;
}
.prem-agent-social-btn.tg {
    background: #229ed9 !important;
    color: #ffffff !important;
}
.prem-agent-social-btn.wa svg,
.prem-agent-social-btn.tg svg {
    fill: #ffffff !important;
}

/* Карточки объектов сотрудника */
.prem-agent-objects-section {
    margin-top: 48px !important;
    padding-top: 36px !important;
    border-top: 1px solid #e2e8f0 !important;
}
.prem-agent-objects-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 24px !important;
    margin-top: 24px !important;
}
.prem-agent-obj-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
}
.prem-agent-obj-card:hover {
    transform: translateY(-6px) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12) !important;
}
.prem-ao-img-box {
    position: relative !important;
    height: 220px !important;
    overflow: hidden !important;
    background: #f1f5f9 !important;
}
.prem-ao-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.prem-agent-obj-card:hover .prem-ao-img-box img {
    transform: scale(1.06) !important;
}
.prem-ao-body {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}
.prem-ao-price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 6px !important;
    letter-spacing: -0.3px !important;
}
.prem-ao-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.35 !important;
}
.prem-ao-address {
    font-size: 13px !important;
    color: #64748b !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.prem-ao-btn {
    margin-top: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    padding: 0 18px !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}
.prem-ao-btn:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}

/* 3. КОНТАКТЫ: Аккуратная форма + надежная карта */
.prem-feedback-form-card {
    background: #ffffff !important;
    border-radius: 24px !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    padding: 36px 32px !important;
    box-shadow: 0 16px 45px -10px rgba(15, 23, 42, 0.08) !important;
}
.prem-ff-field {
    margin-bottom: 18px !important;
    display: flex !important;
    flex-direction: column !important;
}
.prem-ff-label {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #475569 !important;
    margin-bottom: 8px !important;
}
.prem-ff-input,
.prem-ff-select,
.prem-ff-textarea {
    width: 100% !important;
    height: 52px !important;
    padding: 0 18px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    font-family: inherit !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.prem-ff-textarea {
    height: 130px !important;
    padding: 16px 18px !important;
    resize: vertical !important;
    line-height: 1.5 !important;
}
.prem-ff-input:focus,
.prem-ff-select:focus,
.prem-ff-textarea:focus {
    background: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}
.prem-ff-submit,
button.prem-ff-submit {
    height: 52px !important;
    width: 100% !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15) !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}
.prem-ff-submit:hover,
button.prem-ff-submit:hover {
    transform: translateY(-2px) !important;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25) !important;
}
.prem-contacts-map-box,
.prem-contacts-map-box #offices-map,
#offices-map {
    width: 100% !important;
    height: 440px !important;
    min-height: 440px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06) !important;
}

/* 4. ПОДБОР ОБЪЕКТА (КВИЗ): Центрированный Hero и люксовая карточка */
.prem-quiz-header {
    text-align: center !important;
    max-width: 800px !important;
    margin: 0 auto 36px auto !important;
    padding: 0 15px !important;
}
.prem-quiz-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 16px !important;
    border-radius: 9999px !important;
    background: rgba(37, 99, 235, 0.08) !important;
    color: #2563eb !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 14px !important;
}
.prem-quiz-main-title {
    font-size: 34px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    letter-spacing: -0.6px !important;
    line-height: 1.25 !important;
    margin: 0 0 12px 0 !important;
    text-align: center !important;
}
.prem-quiz-subtitle {
    font-size: 16px !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    max-width: 620px !important;
    margin: 0 auto !important;
    text-align: center !important;
}
.quiz-wrap,
#quiz {
    border-radius: 24px !important;
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    padding: 36px !important;
}
@media (max-width: 768px) {
    .prem-quiz-main-title {
        font-size: 26px !important;
    }
    .quiz-wrap,
    #quiz {
        padding: 20px !important;
    }
}

/* 5. ГЛАВНАЯ СТРАНИЦА: Вертикальная карусель команды со стрелками и карта одинаковой высоты */
.section.team {
    background: #f8fafc !important;
    padding: 60px 0 !important;
}
.section.team > .wraper {
    display: flex !important;
    align-items: stretch !important;
    gap: 32px !important;
}
.section.team .col-1-2 {
    width: 50% !important;
    flex: 1 1 50% !important;
    float: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}
.section.team .col-1-2 .h1 {
    margin: 0 0 16px 0 !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
}
.section.team #mainmap {
    width: 100% !important;
    height: 100% !important;
    min-height: 490px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
}
@media (max-width: 900px) {
    .section.team > .wraper {
        flex-direction: column !important;
    }
    .section.team .col-1-2 {
        width: 100% !important;
        flex: 1 1 auto !important;
    }
    .section.team #mainmap {
        min-height: 380px !important;
        height: 380px !important;
    }
}
.prem-home-team-slider-box {
    position: relative !important;
    margin: 0 0 16px 0 !important;
    padding: 42px 0 44px 0 !important;
    display: block !important;
    box-sizing: border-box !important;
}
.team[data-slick='vertical'] {
    position: relative !important;
    display: block !important;
    height: 330px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
}
.team[data-slick='vertical'] .slick-list {
    overflow: hidden !important;
    height: 330px !important;
    display: block !important;
}
.team[data-slick='vertical'] .slick-slide {
    padding: 6px 0 !important;
    box-sizing: border-box !important;
}
.prem-home-team-slider-box > .slick-prev,
.prem-home-team-slider-box .team[data-slick='vertical'] .slick-prev {
    position: absolute !important;
    top: 2px !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 68px !important;
    height: 28px !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 25 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
    transition: all 0.2s ease !important;
}
.prem-home-team-slider-box > .slick-next,
.prem-home-team-slider-box .team[data-slick='vertical'] .slick-next {
    position: absolute !important;
    bottom: 6px !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 68px !important;
    height: 28px !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 25 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
    transition: all 0.2s ease !important;
}
.prem-home-team-slider-box .slick-prev:hover,
.prem-home-team-slider-box .slick-next:hover {
    background: #0f172a !important;
    border-color: #0f172a !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2) !important;
}
.prem-home-team-slider-box .slick-prev::before {
    content: "▲" !important;
    font-size: 11px !important;
    color: #475569 !important;
    transition: color 0.2s ease !important;
    line-height: 1 !important;
}
.prem-home-team-slider-box .slick-next::before {
    content: "▼" !important;
    font-size: 11px !important;
    color: #475569 !important;
    transition: color 0.2s ease !important;
    line-height: 1 !important;
}
.prem-home-team-slider-box .slick-prev:hover::before,
.prem-home-team-slider-box .slick-next:hover::before {
    color: #ffffff !important;
}
.prem-home-agent-slide {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.prem-home-agent-card {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 12px 18px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
    height: 98px !important;
}
.prem-home-agent-card:hover {
    transform: translateY(-2px) !important;
    border-color: #2563eb !important;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.12) !important;
}
.prem-home-agent-avatar-wrap {
    position: relative !important;
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    flex-shrink: 0 !important;
}
.prem-home-agent-avatar {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #e2e8f0 !important;
    display: block !important;
}
.prem-home-agent-dot {
    position: absolute !important;
    bottom: 2px !important;
    right: 2px !important;
    width: 12px !important;
    height: 12px !important;
    background: #10b981 !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
}
.prem-home-agent-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}
.prem-home-agent-name {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.prem-home-agent-name:hover {
    color: #2563eb !important;
}
.prem-home-agent-pos {
    font-size: 12px !important;
    color: #64748b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.prem-home-agent-meta {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 2px !important;
}
.prem-home-agent-phone {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-decoration: none !important;
}
.prem-home-agent-phone:hover {
    color: #2563eb !important;
}
.prem-home-agent-objs {
    font-size: 11px !important;
    font-weight: 600 !important;
    background: #eff6ff !important;
    color: #2563eb !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
}
.prem-home-agent-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
}
.prem-home-soc-wa {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: #dcfce7 !important;
    color: #16a34a !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}
.prem-home-soc-wa:hover {
    background: #22c55e !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}
.prem-home-agent-profile-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}
.prem-home-agent-profile-btn:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}
.section.team .col-1-2 > .holder {
    margin-top: auto !important;
}
.section.team .col-1-2 > .holder a.btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}
.section.team .col-1-2 > .holder a.btn:hover {
    background: #1e293b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2) !important;
}

/* 6. ВХОД В ЛК (АВТОРИЗАЦИЯ): Центрированная карточка без дублирующего заголовка */
.auth-page-container,
.prem-auth-container {
    min-height: 60vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 40px 16px !important;
    margin: 0 auto !important;
}
.auth-card,
.prem-auth-card {
    width: 100% !important;
    max-width: 460px !important;
    margin: 0 auto !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 24px !important;
    padding: 40px 36px !important;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.1) !important;
    text-align: center !important;
    box-sizing: border-box !important;
}
.auth-card h2,
.prem-auth-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.5px !important;
    text-align: center !important;
}
.auth-subtitle,
.prem-auth-subtitle {
    font-size: 14px !important;
    color: #64748b !important;
    margin: 0 0 24px 0 !important;
    text-align: center !important;
    line-height: 1.5 !important;
}
.auth-field {
    text-align: left !important;
    margin-bottom: 18px !important;
    display: flex !important;
    flex-direction: column !important;
}
.auth-field label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
    display: block !important;
}
.auth-field input {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}
.auth-field input:focus {
    background: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
}
.btn-auth-submit {
    width: 100% !important;
    height: 50px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%) !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25) !important;
    transition: all 0.3s ease !important;
}
.btn-auth-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35) !important;
}
.auth-links {
    margin-top: 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    font-size: 13px !important;
    gap: 12px !important;
}
.auth-links a {
    color: #2563eb !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}
.auth-links a:hover {
    text-decoration: underline !important;
}

/* 7. ВАКАНСИИ: Премиальный раздел и данные из БД */
.prem-vacancies-page {
    margin-bottom: 60px !important;
}
.prem-vac-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
    color: #ffffff !important;
    border-radius: 28px !important;
    padding: 56px 40px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.25) !important;
    margin-bottom: 48px !important;
}
.prem-vac-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.25) 0%, transparent 60%);
    pointer-events: none;
}
.prem-vac-badge {
    display: inline-block !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 6px 16px !important;
    border-radius: 9999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 16px !important;
    color: #93c5fd !important;
}
.prem-vac-hero-title {
    font-size: 38px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.8px !important;
    margin: 0 0 16px 0 !important;
    color: #ffffff !important;
}
@media (max-width: 768px) {
    .prem-vac-hero {
        padding: 36px 20px !important;
    }
    .prem-vac-hero-title {
        font-size: 26px !important;
    }
}
.prem-vac-hero-desc {
    font-size: 17px !important;
    line-height: 1.65 !important;
    color: #cbd5e1 !important;
    max-width: 720px !important;
    margin: 0 auto 32px auto !important;
}
.prem-vac-hero-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}
.prem-vac-heading {
    font-size: 28px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    letter-spacing: -0.5px !important;
    margin: 0 0 32px 0 !important;
}
.prem-vac-heading.centered {
    text-align: center !important;
}
.prem-vac-benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 24px !important;
    margin-bottom: 56px !important;
}
.prem-vbenefit-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 28px 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.prem-vbenefit-card:hover {
    transform: translateY(-4px) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08) !important;
}
.prem-vbenefit-icon {
    font-size: 32px !important;
    margin-bottom: 14px !important;
}
.prem-vbenefit-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 8px 0 !important;
}
.prem-vbenefit-desc {
    font-size: 14px !important;
    color: #64748b !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* Реальная карточка вакансии из базы данных */
.prem-vac-card-single {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 24px !important;
    padding: 40px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 48px !important;
}
@media (max-width: 768px) {
    .prem-vac-card-single {
        padding: 24px 18px !important;
    }
}
.prem-vac-card-content {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #334155 !important;
}
.prem-vac-card-content h3,
.prem-vac-card-content h4,
.prem-vac-card-content h5 {
    color: #0f172a !important;
    font-weight: 800 !important;
    margin: 24px 0 12px 0 !important;
}
.prem-vac-card-content p {
    margin: 0 0 16px 0 !important;
}
.prem-vac-card-content ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 10px 20px !important;
}
.prem-vac-card-content ul li {
    position: relative !important;
    padding-left: 22px !important;
    font-size: 15px !important;
    color: #475569 !important;
    line-height: 1.5 !important;
}
.prem-vac-card-content ul li::before {
    content: "✓" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: #2563eb !important;
    font-weight: 800 !important;
}
.prem-vac-card-content .news-img {
    margin-bottom: 24px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    max-width: 480px !important;
}
.prem-vac-card-content .news-img img {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
    display: block !important;
}
.prem-vac-apply-box {
    margin: 32px 0 !important;
}
.prem-vac-apply-box .btn,
.prem-vac-footer-cta .btn,
.prem-vapply-btn-box .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 16px 36px !important;
    border-radius: 14px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: keep-all !important;
    text-align: center !important;
}
.prem-vac-footer-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    margin-top: 36px !important;
    padding-top: 32px !important;
    border-top: 1px solid #f1f5f9 !important;
}
.prem-vac-fcta-text h4 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
}
.prem-vac-fcta-text p {
    font-size: 14px !important;
    color: #64748b !important;
    margin: 0 !important;
}
.prem-vapply-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 24px !important;
    padding: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 32px !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.05) !important;
}
@media (max-width: 991px) {
    .prem-vapply-card {
        flex-direction: column !important;
        text-align: center !important;
    }
}
.prem-vapply-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 8px 0 !important;
}
.prem-vapply-desc {
    font-size: 15px !important;
    color: #64748b !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

/* 8. ПРЕМИАЛЬНЫЕ КНОПКИ И МИКРО-АНИМАЦИИ */
.prem-btn-primary,
a.prem-btn-primary {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}
.prem-btn-primary:hover,
a.prem-btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.35) !important;
    color: #ffffff !important;
}
.prem-btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    transition: 0.75s;
    pointer-events: none;
}
.prem-btn-primary:hover::after {
    left: 150%;
}
.prem-btn-outline,
a.prem-btn-outline {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}
.prem-btn-outline:hover,
a.prem-btn-outline:hover {
    border-color: #2563eb !important;
    color: #2563eb !important;
    background: #f8fafc !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1) !important;
}

/* 9. ВЫРАВНИВАНИЕ ШАПКИ РАЗДЕЛОВ АГЕНТА (Скрин 3: заголовок и ссылка все отзывы) */
.prem-agent-section-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.prem-agent-section-top .prem-section-heading {
    margin: 0 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.prem-agent-section-top .prem-link-all {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #2563eb !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}
.prem-agent-section-top .prem-link-all:hover {
    color: #1d4ed8 !important;
    transform: translateX(3px) !important;
}

/* ==========================================================================
   10. КАРТОЧКИ ОБЪЕКТОВ (Каталог 4 в ряд, Слайдер на главной, Объекты сотрудника)
   ========================================================================== */

/* Статический каталог и списки: строго 4 в ряд на десктопе */
ul.obj-list:not([data-slick]):not(.slick-slider):not(.slick-initialized),
.prem-agent-objects-holder ul.obj-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    padding: 0 !important;
    margin: 28px 0 !important;
    list-style: none !important;
}
@media (max-width: 1200px) {
    ul.obj-list:not([data-slick]):not(.slick-slider):not(.slick-initialized),
    .prem-agent-objects-holder ul.obj-list {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
}
@media (max-width: 860px) {
    ul.obj-list:not([data-slick]):not(.slick-slider):not(.slick-initialized),
    .prem-agent-objects-holder ul.obj-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}
@media (max-width: 520px) {
    ul.obj-list:not([data-slick]):not(.slick-slider):not(.slick-initialized),
    .prem-agent-objects-holder ul.obj-list {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* Слайдеры объектов (Новые объекты на главной data-slick="1"): блочный контейнер для Slick */
ul.obj-list[data-slick],
/* Outer slider for "Новые объекты" */
.section.slick {
    position: relative !important;
}
.section.slick .wraper {
    position: relative !important;
}
ul.obj-list[data-slick],
ul.obj-list.slick-slider,
ul.obj-list.slick-initialized {
    display: block !important;
    margin: 20px 0 !important;
    padding: 0 !important;
    position: relative !important;
}
ul.obj-list.slick-initialized > .slick-list {
    overflow: hidden !important;
    padding: 10px 0 32px 0 !important;
    margin: 0 -10px !important;
}
ul.obj-list.slick-initialized > .slick-list > .slick-track {
    display: flex !important;
    align-items: stretch !important;
}
/* Slide inside carousel: do NOT force width: 100%! Slick manages width inline */
ul.obj-list.slick-initialized > .slick-list > .slick-track > li.slick-slide,
ul.obj-list.slick-initialized > .slick-list > .slick-track > .slick-slide,
.obj-list.slick-initialized .slick-slide {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    max-height: none !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    min-width: 0 !important;
}
.obj-list.slick-initialized .slick-slide > div {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    flex: 1 1 auto !important;
}
.obj-list.slick-initialized .slick-slide .obj-i {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 420px !important;
    max-height: none !important;
    max-width: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Static catalog grid: only non-slick items fill column */
ul.obj-list:not(.slick-initialized) > li.obj-i,
ul.cols-list:not(.slick-initialized) > li.obj-i,
.items-holder .obj-list:not(.slick-initialized) > li.obj-i {
    width: 100% !important;
    max-width: 100% !important;
}

/* Card container: display flex column, NO width: 100% !important */
.obj-i {
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    min-height: 420px !important;
    height: 100% !important;
    max-height: none !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    contain: paint !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease !important;
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}
.obj-i > * {
    margin-bottom: 0 !important;
}
.obj-i > meta {
    display: none !important;
}
.obj-i:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
    border-color: #cbd5e1 !important;
}

/* Photo container inside card */
.obj-i .obj-img {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    overflow: hidden !important;
    contain: paint !important;
    background: #f1f5f9 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 18px 18px 0 0 !important;
    flex: 0 0 220px !important;
}
.obj-i .obj-img > img {
    display: block !important;
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    transition: transform 0.3s ease !important;
}
.obj-i:hover .obj-img > img {
    transform: scale(1.03) !important;
}

/* Modern segmented photo switcher on card hover */
.prem-card-segments {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}
.prem-card-segment {
    flex: 1 1 0 !important;
    height: 100% !important;
    cursor: pointer !important;
}
.prem-card-dots {
    position: absolute !important;
    bottom: 8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    z-index: 15 !important;
    pointer-events: none !important;
    padding: 3px 6px !important;
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    border-radius: 10px !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease !important;
}
.obj-i:hover .prem-card-dots {
    opacity: 1 !important;
}
.prem-card-dot {
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.5) !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
}
.prem-card-dot.active {
    background: #ffffff !important;
    width: 14px !important;
    border-radius: 4px !important;
}
.prem-card-nav-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 28px !important;
    height: 28px !important;
    background: rgba(15, 23, 42, 0.65) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    z-index: 20 !important;
    opacity: 0 !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
}
.obj-i:hover .prem-card-nav-arrow {
    opacity: 1 !important;
}
.prem-card-nav-arrow:hover {
    background: rgba(15, 23, 42, 0.95) !important;
    transform: translateY(-50%) scale(1.1) !important;
}
.prem-card-prev {
    left: 8px !important;
}
.prem-card-next {
    right: 8px !important;
}

/* Outer slider navigation arrows for "Новые объекты" */
.section.slick ul.obj-list.slick-initialized .slick-prev,
.section.slick ul.obj-list.slick-initialized .slick-next {
    position: absolute !important;
    top: -56px !important;
    bottom: auto !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 25 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.2s ease !important;
}
.section.slick ul.obj-list.slick-initialized .slick-prev {
    right: 48px !important;
    left: auto !important;
}
.section.slick ul.obj-list.slick-initialized .slick-next {
    right: 0 !important;
    left: auto !important;
}
.section.slick ul.obj-list.slick-initialized .slick-prev:hover,
.section.slick ul.obj-list.slick-initialized .slick-next:hover {
    background: #0f172a !important;
    border-color: #0f172a !important;
}
.section.slick ul.obj-list.slick-initialized .slick-prev::before {
    content: "‹" !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    line-height: 1 !important;
}
.section.slick ul.obj-list.slick-initialized .slick-next::before {
    content: "›" !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    line-height: 1 !important;
}
.section.slick ul.obj-list.slick-initialized .slick-prev:hover::before,
.section.slick ul.obj-list.slick-initialized .slick-next:hover::before {
    color: #ffffff !important;
}


/* Заголовок объекта */
.obj-i .title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    padding: 14px 16px 6px 16px !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    min-height: 42px !important;
}
.obj-i .title span {
    border-bottom: none !important;
    color: inherit !important;
}
.obj-i .title:hover {
    color: #2563eb !important;
}

/* Характеристики: строго в потоке перед ценой */
.obj-i .info {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 0 16px 12px 16px !important;
    margin: 0 !important;
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    max-height: 40px !important;
    min-height: 18px !important;
}

/* Блок цены: прижат к низу карточки, никогда не наезжает */
.obj-i .price {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding: 12px 16px 16px 16px !important;
    border-top: 1px solid #f1f5f9 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.3px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    background: #fafbfc !important;
}
.obj-i .price .sub {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    margin-top: 2px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* Плавающие кнопки действий (избранное и сравнение) */
.obj-i .obj-card-actions {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    display: flex !important;
    gap: 6px !important;
    z-index: 20 !important;
}
.obj-i .obj-card-actions a,
.obj-i .obj-card-actions .obj-like-action {
    position: static !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(6px) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    color: #475569 !important;
}
.obj-i .obj-card-actions a:hover,
.obj-i .obj-card-actions .obj-like-action:hover {
    background: #ffffff !important;
    transform: scale(1.1) !important;
    color: #2563eb !important;
}
.obj-i .flags {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 20 !important;
}
.obj-i .flags img {
    width: 32px !important;
    height: 32px !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15)) !important;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE FIXES (PRESERVING DESKTOP STYLES)
   ========================================================================== */

/* 1. Мобильное меню: предотвращение выталкивания крестика закрытия и заголовка за пределы экрана */
.mfp-content .menu-holder {
    justify-content: flex-start !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}
.mfp-content .menu-holder .mobile-menu-header-item {
    position: sticky !important;
    top: 0 !important;
    background: #ffffff !important;
    z-index: 10 !important;
}

/* 2. Плейсхолдер для карточек объектов без фото (SVG заглушка) */
.obj-i .obj-img {
    background: #f1f5f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E") center center no-repeat !important;
}

/* 3. Планшеты и малые ноутбуки (<= 1100px): предотвращение наезда быстрого фильтра на баннер */
@media (max-width: 1100px) {
    .section.banner {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        border-radius: 0 0 20px 20px !important;
    }
    .section.banner .banner-bg {
        height: 420px !important;
    }
    .banner-text {
        left: 24px !important;
        margin-left: 0 !important;
        bottom: 24px !important;
        width: calc(100% - 48px) !important;
        max-width: 520px !important;
    }
    .banner-arrows {
        left: 24px !important;
        bottom: 20px !important;
    }
    .section.banner .filter {
        position: relative !important;
        inset: auto !important;
        margin: 20px auto !important;
        width: calc(100% - 32px) !important;
        max-width: 540px !important;
    }
}

/* 4. Планшеты (651px - 1060px): сетка каталога в 2 колонки вместо 1 растянутой */
@media (min-width: 651px) and (max-width: 1060px) {
    .items-holder .obj-list,
    ul.obj-list:not([data-slick]):not(.slick-slider):not(.slick-initialized) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

/* 5. Карточка объекта: одноколоночный стек на экранах <= 991px без наложений и сжатия в 0px */
@media (max-width: 991px) {
    .prem-obj-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        width: 100% !important;
    }
    .prem-obj-aside {
        order: -1 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .prem-obj-main {
        width: 100% !important;
        min-width: 0 !important;
    }
    .prem-quick-specs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        width: 100% !important;
    }
    .prem-obj-fullwidth-row {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin-top: 24px !important;
    }
}

/* 6. Калькулятор: устранение распирания и горизонтального скролла на экранах <= 900px */
@media (max-width: 900px) {
    .calc-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .calc-card {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px 16px !important;
    }
    .calc-label-row {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    .calc-val-display {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: space-between !important;
    }
    .calc-val-display input {
        width: 100% !important;
        text-align: left !important;
    }
}

/* 7. Мобильные устройства (<= 768px): Команда, плавающие кнопки, отступы */
@media (max-width: 768px) {
    /* Блок команды: исключение вертикального сжатия телефонов в столбик */
    .prem-home-agent-card {
        height: auto !important;
        min-height: 84px !important;
        padding: 10px 14px !important;
    }
    .prem-home-agent-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 3px !important;
    }
    .prem-home-agent-phone {
        white-space: nowrap !important;
        width: auto !important;
        font-size: 13px !important;
    }
    .prem-home-agent-objs {
        font-size: 11px !important;
        padding: 2px 6px !important;
        white-space: nowrap !important;
    }

    /* Плавающие кнопки: не перекрывать контент и заголовки по центру экрана */
    .floating-left-actions {
        top: auto !important;
        bottom: 80px !important;
        left: 8px !important;
        transform: scale(0.9) !important;
        transform-origin: bottom left !important;
        z-index: 9998 !important;
    }
    .floating-widgets {
        bottom: 12px !important;
        right: 12px !important;
        transform: scale(0.9) !important;
        transform-origin: bottom right !important;
    }
    body {
        padding-bottom: 70px !important;
    }

    /* Высота баннера на мобильных */
    .section.banner .banner-bg {
        height: 240px !important;
    }
}

/* 8. Компактные мобильные (<= 480px / 320px) */
@media (max-width: 480px) {
    /* Кнопка записи на просмотр в карточке объекта без обрезания текста */
    .prem-price-card .btn-request-view {
        padding: 0 10px !important;
        font-size: 13px !important;
        white-space: nowrap !important;
        gap: 6px !important;
    }
    /* Фильтр комнатности без неестественного растягивания */
    .flt-chk-holder {
        height: auto !important;
        min-height: 40px !important;
        flex-wrap: wrap !important;
        padding: 4px 6px !important;
    }
    .flt-chk+label {
        font-size: 13px !important;
        padding: 4px 6px !important;
    }
    /* Логотип в шапке на малых экранах */
    .header a.logo img {
        max-height: 38px !important;
    }
}

/* Final responsive hardening: keep compact viewports fluid without touching desktop. */
@media (min-width: 769px) and (max-width: 1100px) {
    /* Tablet sections use a little more air than phones, without the legacy
       196–226px gaps produced by stacked margins and paddings. */
    main > .section + .section:not(.main-menu):not(.banner),
    main > .section.slick + .section,
    main > .section.banner + .section {
        margin-top: 24px !important;
    }
    main > .section.content,
    main > .section.slick,
    main > .section.news,
    main > .section.team {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }
    main > .section > .wraper,
    main > .section > .news-section > .wraper {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* At tablet widths the hero and the search card form a vertical flow. */
    .section.banner {
        overflow: visible !important;
    }
    .section.banner .banner-content {
        position: relative !important;
        inset: auto !important;
        height: 420px !important;
        min-height: 420px !important;
        max-height: 420px !important;
        overflow: hidden !important;
    }
    .section.banner .banner-bg {
        height: 420px !important;
        min-height: 420px !important;
        max-height: 420px !important;
    }
    .section.banner .filter {
        position: relative !important;
        inset: auto !important;
        margin: 20px auto !important;
    }
    .section.banner .filter form > ul.cols-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .section.banner .filter form > ul.cols-list > li.col-2-4,
    .section.banner .filter form > ul.cols-list > li.col-1-2 {
        grid-column: 1 / -1 !important;
    }
    .section.banner .banner-arrows {
        right: 24px !important;
        left: auto !important;
        width: auto !important;
    }
    .floating-left-actions {
        top: auto !important;
        bottom: 16px !important;
        left: 8px !important;
        transform: scale(0.9) !important;
        transform-origin: bottom left !important;
    }
}

@media (min-width: 501px) and (max-width: 768px) {
    /* Close the narrow 766–768px gap left between the legacy filter breakpoints. */
    .section.banner .filter form > ul.cols-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .section.banner .filter form > ul.cols-list > li.col-2-4,
    .section.banner .filter form > ul.cols-list > li.col-1-2 {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 768px) {
    /* Legacy tablet rules add 15px vertical margins to every wrapper and 60px
       between sections. Together with section padding this created 150–170px
       empty bands between otherwise related blocks. */
    main > .section + .section:not(.main-menu):not(.banner),
    main > .section.slick + .section,
    main > .section.banner + .section {
        margin-top: 16px !important;
    }
    main > .section.content,
    main > .section.slick,
    main > .section.news,
    main > .section.team {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }
    main > .section > .wraper,
    main > .section > .news-section > .wraper {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Keep banner copy and controls in separate zones. */
    .banner-text {
        bottom: 74px !important;
        width: calc(100% - 40px) !important;
    }
    .section.banner .banner-arrows {
        right: 16px !important;
        bottom: 16px !important;
        left: auto !important;
        width: auto !important;
    }

    /* The mobile team list is rendered as a stack, so it must size to its content. */
    .prem-home-team-slider-box {
        padding: 0 !important;
    }
    .team[data-slick='vertical'] {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }
    .section.team .col-1-2 > .holder {
        position: relative !important;
        margin-top: 16px !important;
    }
    .section.team .col-1-2 > .holder a.btn {
        width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }
    .floating-left-actions {
        bottom: 16px !important;
        flex-direction: row !important;
        gap: 6px !important;
    }
    .floating-widgets {
        flex-direction: row !important;
        gap: 8px !important;
    }
}

@media (max-width: 600px) {
    /* Grid items must be allowed to shrink below their desktop min-content width. */
    .prem-contacts-layout,
    .calc-layout-grid,
    .prem-reviews-grid,
    .prem-vac-benefits-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .prem-contacts-layout > *,
    .calc-layout-grid > *,
    .prem-reviews-grid > *,
    .prem-vac-benefits-grid > * {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .prem-contacts-left,
    .prem-contacts-right,
    .prem-offices-stack,
    .prem-office-card,
    .prem-requisites-card,
    .prem-feedback-form-card,
    .prem-vbenefit-card,
    .calc-results-column,
    .calc-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .prem-cquick-item,
    .prem-office-info,
    .prem-feedback-form-card form,
    .prem-feedback-form-card input,
    .prem-feedback-form-card select,
    .prem-feedback-form-card textarea {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .calc-val-display input {
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .calc-summary-row,
    .calc-chart-legend {
        min-width: 0 !important;
        flex-wrap: wrap !important;
    }

    .prem-reviews-hero-content,
    .prem-reviews-hero-action {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .prem-reviews-hero-action .btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }
    .prem-review-card {
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .prem-review-author,
    .prem-review-meta,
    .prem-review-body,
    .prem-review-footer {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    /* Long legal headings should wrap even when a single word exceeds the viewport. */
    .section.content > .wraper > h1 {
        max-width: 100% !important;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: auto;
    }

    /* Profile card: prevent min-content tracks and full-width buttons from widening it. */
    .prem-agent-profile-hero {
        grid-template-columns: minmax(0, 1fr) !important;
        justify-items: stretch !important;
        padding: 22px 18px !important;
    }
    .prem-agent-profile-avatar-box,
    .prem-agent-profile-content,
    .prem-agent-profile-top,
    .prem-agent-profile-stats,
    .prem-agent-profile-actions,
    .prem-agent-details-list {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .prem-agent-profile-img-wrap {
        width: min(220px, 100%) !important;
    }
    .prem-agent-profile-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .prem-agent-profile-actions > .btn,
    .prem-agent-profile-call {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }

    /* Agency CTA buttons must shrink to the card's inner width. */
    .prem-acta-buttons {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .prem-acta-buttons > .btn {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }

    /* These wrappers duplicated the section's own bottom padding on phones. */
    .prem-obj-page,
    .prem-reviews-container,
    .prem-team-wrapper,
    .prem-agent-profile-page,
    .prem-contacts-page,
    .prem-agency-page,
    .prem-vacancies-page {
        margin-bottom: 0 !important;
    }

    /* Reserve a dedicated controls row below the long mobile slider heading. */
    .section.slick .h1.color {
        margin-bottom: 56px !important;
    }
    .section.slick ul.obj-list.slick-initialized .slick-prev,
    .section.slick ul.obj-list.slick-initialized .slick-next {
        top: -44px !important;
    }
}

@media (max-width: 380px) {
    .prem-quick-specs-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .prem-spec-tile,
    .prem-price-card,
    .prem-broker-card,
    .prem-card-section {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .prem-actions-subrow {
        flex-wrap: wrap !important;
    }
    .prem-actions-subrow .btn-pdf-view {
        flex: 1 1 100% !important;
        min-width: 0 !important;
    }

    .prem-review-card {
        padding: 22px 16px !important;
    }
    .prem-review-card-top {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .prem-review-sub {
        flex-wrap: wrap !important;
    }
    .prem-review-stars {
        align-self: flex-start !important;
    }
    .prem-review-footer,
    .prem-review-files {
        align-items: flex-start !important;
    }
}

@media (max-width: 480px) {
    /* Preserve readable agent details instead of squeezing them between large controls. */
    .prem-home-agent-card {
        gap: 10px !important;
        padding: 10px !important;
    }
    .prem-home-agent-avatar-wrap,
    .prem-home-agent-avatar {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
    }
    .prem-home-agent-actions {
        gap: 4px !important;
    }
    .prem-home-soc-wa,
    .prem-home-agent-profile-btn {
        width: 32px !important;
        height: 32px !important;
    }
    .prem-home-agent-name {
        font-size: 14px !important;
    }
}
