/* Уточнения и карта раскрываются в потоке страницы. */
body.realtor-theme .search-refinements{margin:0}
body.realtor-theme .search-refinements>summary{padding:8px 0;min-height:40px;box-sizing:border-box;cursor:pointer;color:#56635a;font-size:17px;font-weight:600;line-height:1.5;list-style-position:inside}
body.realtor-theme .search-refinements>summary small{display:inline-block;margin-left:12px;font-size:14px;font-weight:400;color:#647064}
body.realtor-theme .search-refinements[open]>summary{margin-bottom:16px}
body.realtor-theme .search-refinements>summary:hover,body.realtor-theme .catalog-map-toggle>summary:hover{color:#2c4938}
body.realtor-theme .search-refinements>summary:focus-visible,body.realtor-theme .catalog-map-toggle>summary:focus-visible{outline:2px solid #56635a;outline-offset:3px;border-radius:4px}
body.realtor-theme .re-search .search-refinements .re-search-tabs{margin-top:8px}
body.realtor-theme .catalog-map-toggle{margin:20px 0 24px;border:1px solid #dce0d8;border-radius:7px;background:#edf0e9}
body.realtor-theme .catalog-map-toggle>summary{padding:14px 16px;min-height:50px;box-sizing:border-box;cursor:pointer;font-size:17px;font-weight:600;line-height:1.5;list-style-position:inside;color:#56635a}
body.realtor-theme .catalog-map-toggle .property-map-section{margin:0;border:0;border-top:1px solid #dce0d8;border-radius:0 0 7px 7px}
body.realtor-theme .catalog-map-toggle .map-heading>span{display:none}
body.realtor-theme .map-heading label.check{display:flex;flex-direction:row;align-items:center;gap:9px;margin:0;line-height:1.4}
body.realtor-theme .map-heading label.check input[type=checkbox],body.realtor-theme .projects-page .project-search>label.check input[type=checkbox]{box-sizing:border-box;display:inline-block;flex:0 0 18px;width:18px;height:18px;min-height:18px;padding:0;margin:0;vertical-align:middle}
body.realtor-theme .projects-page .project-search>label.check{display:flex;flex-direction:row;align-items:center;align-self:flex-end;gap:9px;min-height:54px;margin:0;line-height:1.4;font-weight:400}
@media(min-width:901px){body.realtor-theme[data-public-typography] .catalog-filters .search-refinements>.catalog-primary-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}}
@media(min-width:641px) and (max-width:900px){body.realtor-theme[data-public-typography] .catalog-filters .search-refinements>.catalog-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}
@media(max-width:640px){body.realtor-theme[data-public-typography] .catalog-filters .search-refinements>.catalog-primary-grid{grid-template-columns:minmax(0,1fr);gap:14px}body.realtor-theme .search-refinements>summary small{margin-left:6px}body.realtor-theme .catalog-map-toggle>summary{padding:12px}}

/* Компактный поиск: один спокойный контейнер без вложенной цветной рамки. */
body.realtor-theme .smart-search-primary{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;gap:6px 12px;margin:0 0 8px}
body.realtor-theme .smart-search-primary:focus-within{border:0;box-shadow:none}
body.realtor-theme .re-search>.smart-search-primary{margin-top:0}
body.realtor-theme .smart-search-primary>label{font-size:15px;line-height:1.4}
body.realtor-theme .smart-search-primary>input{height:48px!important;min-height:48px!important;padding:10px 14px!important;font-size:16px!important}
body.realtor-theme .smart-search-primary>.primary-search-submit{min-height:48px;padding:10px 20px;font-size:16px}
body.realtor-theme .smart-search-primary>small{font-size:12px;line-height:1.4}
body.realtor-theme .re-search,body.realtor-theme .catalog-filters{padding:16px 20px;border:1px solid #dde2d9;border-radius:8px;background:#f5f6f2;box-shadow:none}
body.realtor-theme .search-refinements>summary{padding:5px 0;min-height:32px;font-size:15px}
body.realtor-theme .catalog-map-toggle{margin:12px 0 16px}
body.realtor-theme .catalog-map-toggle>summary{padding:9px 14px;min-height:40px;font-size:15px}

/* Общий шаблон заголовка каталога и карты: счётчик справа от заголовка. */
body.realtor-theme .catalog-page>.section-heading.inline{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px 16px;margin-bottom:14px}
body.realtor-theme .catalog-page>.section-heading.inline>div:first-child{display:contents}
body.realtor-theme .catalog-page>.section-heading.inline h1{min-width:0;margin:0}
body.realtor-theme .catalog-page>.section-heading.inline .catalog-summary{margin:0;align-items:center}
body.realtor-theme .catalog-page>.section-heading.inline>a{align-self:center;margin:0;min-height:44px;padding:10px 14px}
body.realtor-theme .catalog-result-count{gap:8px;padding:8px 12px;border:1px solid #d7ddd3;border-radius:6px;white-space:nowrap}
body.realtor-theme .catalog-result-count>strong{font-size:22px}
body.realtor-theme .catalog-result-count>i{font-size:18px}
body.realtor-theme .catalog-seo-tools{margin:0 0 10px;gap:8px}
body.realtor-theme .catalog-seo-tools>.button{min-height:30px;padding:4px 8px;font-size:13px;border-color:transparent;background:transparent}
body.realtor-theme .catalog-seo-tools>small{display:none}
@media(max-width:700px){
 body.realtor-theme .catalog-page>.section-heading.inline{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
 body.realtor-theme .catalog-page>.section-heading.inline h1{flex:0 0 100%;width:100%;overflow-wrap:anywhere}
 body.realtor-theme .catalog-page>.section-heading.inline>a{display:inline-flex;min-height:40px;padding:8px 10px;font-size:13px}
 body.realtor-theme .catalog-result-count{padding:7px 10px}
 body.realtor-theme .catalog-result-count>strong{font-size:20px}
 body.realtor-theme .catalog-result-count>span{font-size:12px}
}
@media(max-width:640px){
 body.realtor-theme .re-search,body.realtor-theme .catalog-filters{padding:12px}
 body.realtor-theme .smart-search-primary{grid-template-columns:minmax(0,1fr) auto;gap:6px 8px}
 body.realtor-theme .smart-search-primary>.primary-search-submit{width:auto;padding:10px 12px;font-size:14px;gap:6px}
 body.realtor-theme .smart-search-primary>small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 body.realtor-theme .search-refinements>summary small{font-size:12px}
}

/* Компактные пункты всех публичных списков поиска. */
body.realtor-theme[data-public-typography] .district-picker .district-picker-options label,
body.realtor-theme .single-picker-options button{font-size:13px;line-height:1.35;min-height:32px;padding:6px 8px;gap:8px}
body.realtor-theme .single-picker-options{padding:4px}
body.realtor-theme .district-picker-panel{padding:8px}
body.realtor-theme .district-picker-clear,
body.realtor-theme .district-picker-done{font-size:13px;padding:6px 8px}
body.realtor-theme .project-map-toggle .map-heading h2{display:none}

/* Карточки ближе к поиску; управление каруселью по бокам. */
body.realtor-theme .re-featured{padding-top:28px;padding-bottom:40px}
body.realtor-theme .re-featured .re-section-heading{margin-bottom:16px}
body.realtor-theme .re-objects-carousel{position:relative}
body.realtor-theme .re-carousel-controls{position:absolute;inset:0;z-index:3;margin:0;pointer-events:none}
body.realtor-theme .re-carousel-controls .button{position:absolute;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:40px;height:44px;min-height:44px;padding:0;background:#fff;border:1px solid #cbd3c6;box-shadow:0 3px 12px #28352b24;pointer-events:auto}
body.realtor-theme .re-carousel-controls [data-carousel-prev]{left:-20px}
body.realtor-theme .re-carousel-controls [data-carousel-next]{right:-20px}
@media(max-width:700px){body.realtor-theme .re-featured{padding-top:24px}body.realtor-theme .re-carousel-controls [data-carousel-prev]{left:0}body.realtor-theme .re-carousel-controls [data-carousel-next]{right:0}}

/* Единый целочисленный размер текста в публичных формах поиска. */
body.realtor-theme[data-public-typography] :is(.catalog-filters,.re-search,.project-search,.project-offer-sort,.property-sort) :is(label,.district-field,.district-field>span,input,select,.district-picker>summary,.button,.more-filters>summary,.search-refinements>summary){font-size:14px!important}
body.realtor-theme[data-public-typography] :is(.catalog-filters,.re-search,.project-search) .smart-search-primary>label{font-size:14px!important}
body.realtor-theme[data-public-typography] :is(.catalog-filters,.re-search) .district-picker-options label,
body.realtor-theme[data-public-typography] :is(.catalog-filters,.re-search) .single-picker-options button{font-size:13px!important}

/* Поля и промежутки согласованы со шрифтом 14 px. */
body.realtor-theme[data-public-typography] :is(.catalog-filters,.re-search,.project-search,.project-offer-sort,.property-sort) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,.district-picker>summary,.button){box-sizing:border-box;height:42px!important;min-height:42px!important;padding:8px 12px!important;line-height:24px!important}
body.realtor-theme[data-public-typography] :is(.catalog-filters,.re-search) :is(.filter-grid,.re-search-fields){row-gap:12px!important;column-gap:14px}
body.realtor-theme[data-public-typography] :is(.catalog-filters,.re-search) :is(.filter-grid>label:not(.check),.district-field,.smart-search-controls label:not(.check)){gap:5px!important}
body.realtor-theme[data-public-typography] :is(.catalog-filters,.re-search){padding:12px 16px}
body.realtor-theme[data-public-typography] .projects-page .project-search{padding:14px 16px;gap:12px;margin-bottom:18px}
body.realtor-theme[data-public-typography] .projects-page .project-search>label.check{min-height:42px}
body.realtor-theme .projects-page>.section-heading.inline .project-results{display:flex;margin:0}
body.realtor-theme .projects-page>.section-heading.inline>a:last-child{grid-column:3}
body.realtor-theme .search-refinements[open]>summary{margin-bottom:10px}
body.realtor-theme .catalog-filters .filter-actions{margin-top:14px}
@media(max-width:640px){body.realtor-theme[data-public-typography] :is(.catalog-filters,.re-search){padding:12px}}

/* Сдержанная типографика и одинаковые текстовые кнопки публичного сайта. */
body.realtor-theme[data-public-typography]{--type-hero:42px;--type-h1:32px;--type-h2:26px;--type-h3:20px;--type-text:15px;--type-lead:16px;--type-meta:14px;--type-small:12px}
body.realtor-theme[data-public-typography] .button:not([data-carousel-prev]):not([data-carousel-next]){box-sizing:border-box;font-size:14px!important;line-height:20px;min-height:42px;padding:10px 16px;gap:8px}
body.realtor-theme[data-public-typography] :is(.re-header-cta,.re-all-objects,.re-hero-buttons .button,.property-share-button){font-size:14px!important;min-height:42px;padding:10px 16px;line-height:20px}
body.realtor-theme[data-public-typography] .listing-card .card-body h2,
body.realtor-theme[data-public-typography] .listing-card .card-body h2 a,
body.realtor-theme[data-public-typography] .project-card h2,
body.realtor-theme[data-public-typography] .project-card h2 a{font-size:18px}
body.realtor-theme[data-public-typography] .blog-grid .card-body h2,
body.realtor-theme[data-public-typography] .blog-grid .card-body h2 a{font-size:20px}
body.realtor-theme[data-public-typography] .property-price-block .card-price{font-size:28px}
body.realtor-theme[data-public-typography] .pagination :is(a,span){font-size:14px}
body.realtor-theme[data-public-typography] .listing-view-toggle button{font-size:14px;min-height:42px;padding:8px 12px}
@media(max-width:700px){body.realtor-theme[data-public-typography]{--type-hero:32px;--type-h1:28px;--type-h2:24px;--type-h3:20px}body.realtor-theme[data-public-typography] .property-price-block .card-price{font-size:26px}}

/* Размер пунктов не должен переопределяться общим размером подписей формы. */
body.realtor-theme[data-public-typography] :is(.re-search,.catalog-filters) .district-picker .district-picker-options label{font-size:13px!important;line-height:18px;min-height:32px;padding:6px 8px}

/* Более спокойные плашки кода объекта. */
body.realtor-theme[data-public-typography] .listing-card .card-object-code{background:#f6f7f2;border-color:#dce1d5;padding:5px 9px}
body.realtor-theme[data-public-typography] .listing-card .card-object-code>span{font-size:12px}
body.realtor-theme[data-public-typography] .listing-card .card-object-code>strong{font-size:15px}
body.realtor-theme[data-public-typography] main .property-title-actions .property-object-code{min-height:44px;padding:9px 14px;gap:10px;background:#405649;border-radius:7px}
body.realtor-theme[data-public-typography] main .property-title-actions .property-object-code>span{font-size:13px;color:#f2f4ec}
body.realtor-theme[data-public-typography] main .property-title-actions .property-object-code>strong{font-size:22px;line-height:26px;letter-spacing:0;font-weight:700}
body.realtor-theme[data-public-typography] :is(.re-search,.catalog-filters) .district-picker .district-picker-options label>span{font-family:inherit;font-size:13px!important;line-height:18px;font-weight:400}

/* Ровные компактные карточки статей; служебный отступ кода объекта не нужен. */
body.realtor-theme[data-public-typography] .blog-grid .listing-card{display:flex;flex-direction:column}
body.realtor-theme[data-public-typography] .blog-grid .card-image{height:220px;flex:none}
body.realtor-theme[data-public-typography] .blog-grid .card-body{display:flex;flex-direction:column;gap:10px;min-height:0;padding:16px}
body.realtor-theme[data-public-typography] .blog-grid .blog-meta{display:flex;flex-wrap:wrap;gap:6px 12px;margin:0;padding:0;font-size:12px;line-height:18px}
body.realtor-theme[data-public-typography] .blog-grid .blog-meta :is(time,span,i){font-size:12px;line-height:18px}
body.realtor-theme[data-public-typography] .blog-grid .card-body h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;height:78px;min-height:78px;margin:0;line-height:26px}
body.realtor-theme[data-public-typography] .blog-grid .card-body h2 a{line-height:26px}
body.realtor-theme[data-public-typography] .blog-grid .card-body>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:69px;height:69px;margin:0;font-size:14px;line-height:23px}
body.realtor-theme[data-public-typography] .public-help{max-width:none}
body.realtor-theme[data-public-typography] .public-help-heading{max-width:900px}
body.realtor-theme[data-public-typography] .public-help-faq summary{font-size:15px;padding:16px 18px}
body.realtor-theme[data-public-typography] .public-help-faq details>div{padding:0 18px 18px}
body.realtor-theme[data-public-typography] .public-help-contact{border:1px solid #dce0d8;background:#f5f6f2;padding:20px;border-radius:8px}
@media(max-width:600px){body.realtor-theme[data-public-typography] .blog-grid .card-image{height:200px}}

/* Общие интервалы публичных страниц и компактная обратная связь. */
body.realtor-theme[data-public-typography] main>.container.section.compact{padding-top:20px;padding-bottom:40px}
body.realtor-theme[data-public-typography] .blog-grid .card-body{flex:1}
body.realtor-theme[data-public-typography] .blog-grid .card-body h2{height:auto;min-height:0}
body.realtor-theme[data-public-typography] .blog-grid .card-body>p{height:auto;min-height:0}
body.realtor-theme[data-public-typography] :is(.agency-contact-form,.agency-contact-region,.re-sell-contact,.re-sell-start){padding:24px}
body.realtor-theme[data-public-typography] [data-feedback-form] label{font-size:14px;gap:6px}
body.realtor-theme[data-public-typography] [data-feedback-form] :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select){box-sizing:border-box;font-size:14px;height:42px;min-height:42px;padding:8px 12px;line-height:24px}
body.realtor-theme[data-public-typography] [data-feedback-form] textarea{box-sizing:border-box;font-size:14px;min-height:110px;padding:10px 12px;line-height:22px}
body.realtor-theme[data-public-typography] .blog-content :is(img,iframe,table){max-width:100%}
body.realtor-theme[data-public-typography] .blog-content{overflow-wrap:anywhere}
@media(max-width:700px){body.realtor-theme[data-public-typography] main>.container.section.compact{padding-top:16px;padding-bottom:32px}body.realtor-theme[data-public-typography] :is(.agency-contact-form,.agency-contact-region,.re-sell-contact,.re-sell-start){padding:16px}}

/* Контакты не растягивают сетку на узких телефонах. */
body.realtor-theme[data-public-typography] .agency-contacts-grid>*{min-width:0}
body.realtor-theme[data-public-typography] .agency-channel{min-width:0;grid-template-columns:32px minmax(0,1fr) 18px;gap:12px;padding:14px}
body.realtor-theme[data-public-typography] .agency-channel :is(span,strong,small){min-width:0;overflow-wrap:anywhere}
body.realtor-theme[data-public-typography] [data-feedback-form] :is(input,textarea,select){max-width:100%;min-width:0}

body.realtor-theme[data-public-typography] [data-feedback-form]{min-width:0;grid-template-columns:minmax(0,1fr)}
body.realtor-theme[data-public-typography] [data-feedback-form]>*{min-width:0;max-width:100%}
body.realtor-theme[data-public-typography] [data-feedback-form] .uamark-turnstile{overflow-x:auto}

/* Путь к обращению: быстрый контакт без дублирования нижнего блока. */
body.realtor-theme .property-mobile-contact{display:none!important}
body.realtor-theme .property-quick-contact{display:none}
body.realtor-theme .empty-state .button{margin:6px}
@media(max-width:700px){body.realtor-theme .property-quick-contact{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}body.realtor-theme .property-quick-contact .button{flex:1;min-width:130px}}

/* Общий контрастный фон поисковых форм. */
body.realtor-theme .re-search,body.realtor-theme .catalog-filters{background:#e4eadd;border-color:#c5d0be;box-shadow:none}

/* Компактная мобильная форма и метаданные ЖК. */
body.realtor-theme .project-card .project-card-body>p{margin:8px 0;min-height:0}
body.realtor-theme .project-card .project-card-body>a{display:block;margin-top:6px;font-weight:700}
@media(max-width:640px){
 body.realtor-theme[data-public-typography] :is(.re-search,.catalog-filters) .filter-grid{align-items:start;row-gap:10px!important}
 body.realtor-theme[data-public-typography] :is(.re-search,.catalog-filters) .filter-grid>label:not(.check),body.realtor-theme[data-public-typography] :is(.re-search,.catalog-filters) .filter-grid>.district-field{display:flex;flex-direction:column;gap:5px!important;margin:0;min-height:0;align-self:start}
 body.realtor-theme[data-public-typography] :is(.re-search,.catalog-filters) .more-filters>summary{margin:12px 0 10px}
 body.realtor-theme [data-view-ready] .listing-view-toggle,body.realtor-theme .listing-view-toggle{display:none!important}
 body.realtor-theme .projects-page .project-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}
 body.realtor-theme .projects-page .project-search>label{grid-column:1/-1}
 body.realtor-theme .projects-page .project-search>.button{grid-column:1;min-width:0;width:100%;margin:0}
 body.realtor-theme .projects-page .project-search>.project-search-reset{grid-column:2;align-self:center;padding:8px 0;margin:0}
 body.realtor-theme .project-card .project-card-body{padding:16px}
 body.realtor-theme .project-card .project-card-body h2{margin-bottom:8px}
 body.realtor-theme .project-card .project-card-deals{margin-top:10px}
}

@media(max-width:640px){body.realtor-theme[data-public-typography] :is(.re-search,.catalog-filters) .more-filters .district-picker>summary{margin:0!important}body.realtor-theme[data-public-typography] :is(.re-search,.catalog-filters) .filter-grid>label:not(.check),body.realtor-theme[data-public-typography] :is(.re-search,.catalog-filters) .filter-grid>.district-field>span{line-height:20px}}

@media(max-width:640px){body.realtor-theme[data-public-typography] :is(.catalog-filters,.re-search) .more-filters .smart-search-controls>label:not(.check){display:flex;flex-direction:column;gap:5px!important;line-height:20px;min-height:0;margin:0;align-self:start}body.realtor-theme[data-public-typography] :is(.catalog-filters,.re-search) .filter-options{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:10px}body.realtor-theme[data-public-typography] :is(.catalog-filters,.re-search) .filter-options .check{min-height:32px;margin:0;line-height:20px}body.realtor-theme .catalog-filters .filter-actions{margin-top:10px;padding-top:0;gap:12px}}

body.realtor-theme .property-sort>.district-field{display:flex;flex-direction:row;align-items:center;gap:12px;font-weight:400}body.realtor-theme .property-sort .district-picker{width:260px;max-width:100%}body.realtor-theme :is(.property-sort,.project-offer-sort,.project-search) .single-picker-options button{font-size:13px!important;line-height:18px;min-height:32px;padding:6px 8px}body.realtor-theme .property-sort .district-picker-panel{z-index:40}@media(max-width:640px){body.realtor-theme .property-sort>.district-field{width:100%;flex-wrap:wrap;gap:6px}body.realtor-theme .property-sort .district-picker{width:100%}}

body.realtor-theme .projects-page .project-search>.district-field{flex:1 1 300px;min-width:0}body.realtor-theme .projects-page .project-search>.district-field .district-picker{width:100%}@media(max-width:640px){body.realtor-theme .projects-page .project-search>.district-field{grid-column:1/-1}}
