

/* Start:/local/templates/.default/components/svoydom/webform.form/popup-sd/style.css?178306847313182*/
/**
 * FormSimple Popup (popup-sd) — layout mirrors #submit-application-popup (mfp-content)
 */

/* ========================================
   BODY LOCK (when popup is open)
   ======================================== */

body.form-simple-popup-open {
    overflow: hidden;
}

/* ========================================
   POPUP WRAPPER
   ======================================== */

.form-simple-popup-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

/* ========================================
   OVERLAY
   ======================================== */

.form-simple-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.form-simple-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   POPUP CONTAINER
   ======================================== */

.sd-form-popup {
    position: fixed;
    z-index: 99999;
    width: calc(100% - 40px);
    max-width: 940px;
    min-height: 520px;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.sd-form-popup.show {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   POSITIONS
   ======================================== */

.form-simple-popup-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
}
.form-simple-popup-center.show {
    transform: translate(-50%, -50%) scale(1);
}

.form-simple-popup-bottom {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
}
.form-simple-popup-bottom.show {
    transform: translateX(-50%) translateY(0);
}

.form-simple-popup-bottom-left {
    bottom: 20px;
    left: 20px;
    transform: translateY(100%);
}
.form-simple-popup-bottom-left.show {
    transform: translateY(0);
}

.form-simple-popup-bottom-right {
    bottom: 20px;
    right: 20px;
    transform: translateY(100%);
}
.form-simple-popup-bottom-right.show {
    transform: translateY(0);
}

.form-simple-popup-top {
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
}
.form-simple-popup-top.show {
    transform: translateX(-50%) translateY(0);
}

.form-simple-popup-top-left {
    top: 20px;
    left: 20px;
    transform: translateY(-100%);
}
.form-simple-popup-top-left.show {
    transform: translateY(0);
}

.form-simple-popup-top-right {
    top: 20px;
    right: 20px;
    transform: translateY(-100%);
}
.form-simple-popup-top-right.show {
    transform: translateY(0);
}

/* ========================================
   ANIMATIONS
   ======================================== */

.form-simple-popup-slide {
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-simple-popup-bounce.show {
    animation: popupBounce 0.5s ease forwards;
}

@keyframes popupBounce {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
    50%  { transform: translate(-50%, -50%) scale(1.05); }
    70%  { transform: translate(-50%, -50%) scale(0.95); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.form-simple-popup-zoom {
    transform: translate(-50%, -50%) scale(0);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.form-simple-popup-zoom.show {
    transform: translate(-50%, -50%) scale(1);
}

/* ========================================
   LEFT COLUMN (form) — mirrors .leave-request-form
   ======================================== */

.sd-form-popup .sd-form-simple-popup-content {
    width: 55%;
    background: #0e6131;
    padding: 90px 40px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* ========================================
   RIGHT COLUMN (image) — mirrors .img-wrap
   ======================================== */

.sd-form-popup .sd-img-wrap {
    width: 45%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

/* ========================================
   CLOSE BUTTON — mirrors .mfp-close
   ======================================== */

.sd-form-popup .form-simple-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: #fff;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.sd-form-popup .form-simple-popup-close svg {
    display: block;
    pointer-events: none;
}

.sd-form-popup .form-simple-popup-close:hover {
    transform: scale(1.06);
}

.sd-form-popup .form-simple-popup-close:active {
    transform: scale(0.96);
}

/* ========================================
   TITLE / SUBTITLE — mirrors .leave-request-form h3/p
   ======================================== */

.sd-form-popup .form-simple-popup-title {
    margin: 0 0 20px 0;
    padding: 0;
    font-size: 52px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.1;
}

.sd-form-popup .form-simple-popup-subtitle {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #ffffff;
    line-height: 1.4;
}

/* ========================================
   FORM FIELDS
   ======================================== */

.sd-form-popup .form-simple {
    margin: 0;
}

.sd-form-popup .form-simple-fields {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sd-form-popup .form-simple-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.sd-form-popup .form-simple-label {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 6px;
}

.sd-form-popup .form-simple-required {
    color: #ffcc66;
    margin-left: 2px;
}

.sd-form-popup .form-simple-input,
.sd-form-popup .form-simple-textarea,
.sd-form-popup .form-simple-select {
    width: 100%;
    height: 60px;
    padding: 0 20px;
    background: #f2f2f2;
    border: none;
    border-radius: 0;
    font-size: 18px;
    font-family: inherit;
    color: #000;
    box-sizing: border-box;
    outline: none;
    transition: box-shadow 0.2s ease;
}

.sd-form-popup .form-simple-textarea {
    height: auto;
    min-height: 120px;
    padding: 16px 20px;
    resize: vertical;
}

.sd-form-popup .form-simple-input::placeholder,
.sd-form-popup .form-simple-textarea::placeholder {
    color: #979797;
    font-size: 18px;
}

.sd-form-popup .form-simple-input:focus,
.sd-form-popup .form-simple-textarea:focus {
    box-shadow: inset 0 0 0 2px #ffffff;
}

.sd-form-popup .form-simple-input.error,
.sd-form-popup .form-simple-textarea.error {
    box-shadow: inset 0 0 0 2px #ff7676;
}

/* ========================================
   ERROR MESSAGES
   ======================================== */

.sd-form-popup .form-simple-error-message {
    font-size: 13px;
    color: #ffd5d5;
    display: none;
    margin-top: 4px;
}

.sd-form-popup .form-simple-error-message.show {
    display: block;
}

.sd-form-popup .form-simple-errors {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 16px;
    margin-bottom: 16px;
}

.sd-form-popup .form-simple-error {
    color: #fff1f1;
    font-size: 14px;
}

/* ========================================
   SUCCESS MESSAGE
   ======================================== */

.sd-form-popup .form-simple-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    gap: 12px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.5;
}

.sd-form-popup .form-simple-success::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #ffffff;
    color: #0e6131;
    border-radius: 50%;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

/* ========================================
   CONSENT
   ======================================== */

.sd-form-popup .form-simple-consent {
    margin-top: 4px;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 13px;
}

.sd-form-popup .form-simple-consent a {
    color: #ffffff;
    text-decoration: underline;
}

.sd-form-popup .form-simple-consent-error {
    display: block;
    font-size: 13px;
    color: #ffd5d5;
    margin-top: 4px;
}

/* ========================================
   SUBMIT BUTTON — mirrors .leave-request-form button
   ======================================== */

.sd-form-popup .form-simple-submit {
    margin-top: 4px;
}

.sd-form-popup .form-simple-button {
    width: 100%;
    height: 60px;
    padding: 0 24px;
    background: #f2f2f2;
    color: #655d4d;
    border: none;
    border-radius: 0;
    font-size: 18px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sd-form-popup .form-simple-button:hover {
    background: #ffffff;
    color: #0e6131;
}

.sd-form-popup .form-simple-button:active {
    transform: translateY(1px);
}

.sd-form-popup .form-simple-button:disabled,
.sd-form-popup .form-simple-button.form-simple-submitting {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   NOTIFICATION (success toast)
   ======================================== */

.form-simple-notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #18181b;
    color: #fff;
    padding: 10px 18px 10px 12px;
    border-radius: 100px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    max-width: calc(100vw - 48px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease;
}

.form-simple-notification::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: #22c55e;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.form-simple-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.form-simple-notification p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 767px) {
    .sd-form-popup {
        width: calc(100% - 16px);
        min-height: 0;
        max-height: calc(100vh - 20px);
    }

    .sd-form-popup .sd-form-simple-popup-content {
        width: 100%;
        padding: 60px 20px;
    }

    .sd-form-popup .sd-img-wrap {
        display: none;
    }

    .sd-form-popup .form-simple-popup-title {
        font-size: 34px;
        margin-bottom: 10px;
    }

    .sd-form-popup .form-simple-popup-subtitle {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .sd-form-popup .form-simple-popup-close {
        top: 10px;
        right: 10px;
        z-index: 100;
        opacity: 1;
    }

    .sd-form-popup .form-simple-input,
    .sd-form-popup .form-simple-textarea,
    .sd-form-popup .form-simple-button {
        font-size: 16px; /* prevents iOS zoom */
    }

    /* positions on mobile */
    .form-simple-popup-bottom,
    .form-simple-popup-bottom-left,
    .form-simple-popup-bottom-right {
        bottom: 10px;
        left: 8px;
        right: 8px;
        width: auto;
        transform: translateY(100%);
    }
    .form-simple-popup-bottom.show,
    .form-simple-popup-bottom-left.show,
    .form-simple-popup-bottom-right.show {
        transform: translateY(0);
    }

    .form-simple-popup-top,
    .form-simple-popup-top-left,
    .form-simple-popup-top-right {
        top: 10px;
        left: 8px;
        right: 8px;
        width: auto;
        transform: translateY(-100%);
    }
    .form-simple-popup-top.show,
    .form-simple-popup-top-left.show,
    .form-simple-popup-top-right.show {
        transform: translateY(0);
    }

    .form-simple-notification {
        left: 16px;
        right: 16px;
        width: auto;
        transform: translateX(0) translateY(100px);
        text-align: center;
    }

    .form-simple-notification.show {
        transform: translateX(0) translateY(0);
    }
}

/* End */


/* Start:/local/templates/svdom_new/css/landing_forms.css?178306851010299*/
body:has(.lp-header) #header {
    display: none !important;
}

.lp-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #ececec;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}
.lp-header__wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.lp-header__logo {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}
.lp-header__logo img {
    height: 36px;
    width: auto;
    display: block;
}
.lp-header__nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 28px;
    flex: 1;
}
.lp-header__nav a {
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
    white-space: nowrap;
}
.lp-header__nav a:hover { color: #00a651; }
.lp-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00a651 0%, #00c060 100%);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    padding: 11px 24px;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 6px 18px rgba(0, 166, 81, 0.22);
}
.lp-header__cta:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 166, 81, 0.32);
    filter: brightness(1.05);
}
.lp-header__burger {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}
.lp-header__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1f2937;
    border-radius: 2px;
}
@media (max-width: 900px) {
    .lp-header__wrap { padding: 12px 16px; gap: 12px; }
    .lp-header__nav { display: none; }
    .lp-header__burger { display: inline-flex; }
}
@media (max-width: 480px) {
    .lp-header__cta { padding: 9px 16px; font-size: 13px; }
    .lp-header__logo img { height: 30px; }
}

.landing-feedback {
    padding: 70px 20px;
    background: linear-gradient(180deg, #fafafa 0%, #f1f3f4 100%);
    position: relative;
}

.landing-feedback__wrap {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 48px 40px;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.landing-feedback__title {
    margin: 0 0 10px;
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

.landing-feedback__subtitle {
    margin: 0 0 28px;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .landing-feedback { padding: 50px 16px; }
    .landing-feedback__wrap { padding: 32px 22px; border-radius: 14px; }
}

/* .js-landing-cta-trigger — только поведенческий хук (открыть модалку),
   без своих стилей: вид кнопки задаёт класс самой страницы (.green-btn/.btn и т.п.). */
.landing-header-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00a651 0%, #00c060 100%);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    padding: 12px 26px;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 6px 18px rgba(0, 166, 81, 0.22);
}

.landing-header-cta-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 166, 81, 0.32);
    filter: brightness(1.05);
}

.landing-header-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 166, 81, 0.22);
}

@media (max-width: 768px) {
    .landing-header-cta-btn { padding: 10px 18px; font-size: 13px; }
}

.landing-cta-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}
.landing-cta-modal.is-open { display: flex; }

.landing-cta-modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    cursor: pointer;
}

.landing-cta-modal__dialog {
    position: relative;
    z-index: 1;
    margin: auto;
    background: #fff;
    width: 100%;
    max-width: 460px;
    padding: 40px 36px 32px;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
    animation: landingCtaModalIn 0.22s ease-out;
}

@keyframes landingCtaModalIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.landing-cta-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.15s ease, color 0.15s ease;
}
.landing-cta-modal__close:hover { background: #f1f5f9; color: #0f172a; }

.landing-cta-modal__title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
}

.landing-cta-modal__subtitle {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 480px) {
    .landing-cta-modal__dialog { padding: 32px 22px 24px; border-radius: 14px; }
    .landing-cta-modal__title { font-size: 20px; }
}

/* Согласие на обработку ПД (bitrix:main.userconsent.request) рендерится с z-index:9000
   и переносится в body — без этого оно открывается ЗА модалкой (.landing-cta-modal: z-index 99999) */
.main-user-consent-request-popup {
    z-index: 100000 !important;
}

/* ── Защита и аккуратный вид лендинг-формы (не перебивается версткой страниц) ──
   Повышенная специфичность (.form-simple-wrapper > элемент) + !important,
   чтобы CSS лендингов (напр. ".request-form input { height:100px }" или
   ".green-btn,.form-simple-button { font-size:50px }") не ломал форму. */
.form-simple-wrapper {
    max-width: 520px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: left !important;
}
.form-simple-wrapper .form-simple-fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    align-items: stretch !important;
}
.form-simple-wrapper .form-simple-field {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
}
.form-simple-wrapper .form-simple-input,
.form-simple-wrapper .form-simple-textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 13px 16px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    border: 1px solid #d7dbe0 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #1a1a1a !important;
    box-shadow: none !important;
}
.form-simple-wrapper .form-simple-textarea {
    min-height: 96px !important;
    resize: vertical !important;
}
.form-simple-wrapper .form-simple-input::placeholder {
    color: #9aa3ad !important;
    font-size: 15px !important;
    text-transform: none !important;
}
.form-simple-wrapper .form-simple-input:focus,
.form-simple-wrapper .form-simple-textarea:focus {
    border-color: #00a651 !important;
    outline: none !important;
}
.form-simple-wrapper .form-simple-submit {
    margin-top: 18px !important;
}
.form-simple-wrapper .form-simple-button {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    background: #00a651 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: background-color .2s ease !important;
}
.form-simple-wrapper .form-simple-button:hover {
    background: #009144 !important;
    color: #fff !important;
}
.form-simple-wrapper .form-simple-consent {
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: #6b7280 !important;
    margin-top: 14px !important;
    text-align: left !important;
}
.form-simple-wrapper .form-simple-consent a { color: #00a651 !important; }
.form-simple-wrapper .form-simple-consent .main-user-consent-request {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}
.form-simple-wrapper .form-simple-consent input[type="checkbox"],
.form-simple-wrapper input[type="checkbox"],
.form-simple-wrapper input[type="radio"] {
    -webkit-appearance: checkbox !important;
    appearance: auto !important;
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    padding: 0 !important;
    margin: 2px 0 0 0 !important;
    flex: 0 0 auto !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    background: #fff !important;
}

/* End */


/* Start:/local/components/vhoruzhenko/forms.landing.safe/templates/landing-form/style.css?17830685273012*/
.form-simple-wrapper {
    margin: 0 auto;
    padding: 20px;
}

.form-simple-title {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.form-simple-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-simple-field {
    display: flex;
    flex-direction: column;
}

.form-simple-label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.form-simple-required {
    color: #e74c3c;
}

.form-simple-input,
.form-simple-textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-simple-input:focus,
.form-simple-textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-simple-input.error,
.form-simple-textarea.error {
    border-color: #e74c3c;
}

.form-simple-error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    min-height: 18px;
    opacity: 0;
    transition: opacity 0.3s;
    display: block;
}

.form-simple-error-message.show {
    opacity: 1;
}

.form-simple-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-simple-submit {
    margin-top: 20px;
}

.form-simple-button {
    width: 100%;
    padding: 12px 24px;
    background-color: #009846;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-simple-button:hover {
    background-color: #009846;
}

.form-simple-button:active {
    background-color: #009846;
}

.form-simple-errors {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fdecea;
    border-left: 4px solid #e74c3c;
    border-radius: 4px;
}

.form-simple-error {
    color: #c0392b;
    font-size: 14px;
    margin: 5px 0;
}

.form-simple-success {
    padding: 15px;
    background-color: #d4edda;
    border-left: 4px solid #28a745;
    border-radius: 4px;
    color: #155724;
    font-size: 14px;
}

/* User Consent Styling */
.form-simple-consent {
    margin-top: 15px;
    padding: 10px 0;
}

.form-simple-consent .main-user-consent-request {
    font-size: 13px;
    line-height: 1.4;
}

.form-simple-consent .main-user-consent-request a {
    color: #3498db;
    text-decoration: underline;
}

.form-simple-consent .main-user-consent-request a:hover {
    color: #2980b9;
}

.form-simple-consent-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    opacity: 0;
    transition: opacity 0.3s;
}

.form-simple-consent-error.show {
    opacity: 1;
}

.form-simple-consent .main-user-consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.form-simple-consent .main-user-consent-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .form-simple-wrapper {
        padding: 15px;
    }

    .form-simple-title {
        font-size: 20px;
    }
}

/* End */


/* Start:/bitrix/components/bitrix/main.userconsent.request/templates/.default/user_consent.min.css?17830682283805*/
.main-user-consent-request a{cursor:pointer}.main-user-consent-request-popup{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.5);overflow:hidden;z-index:9000}.main-user-consent-request-popup-cont{min-height:290px;position:absolute;top:50%;left:50%;margin:0 auto;padding:20px;min-width:320px;width:100%;max-width:600px;background:#fff;text-align:center;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-border-radius:5px;border-radius:5px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow-y:auto}.main-user-consent-request-popup-header{margin:0 0 10px;font:normal 18px var(--ui-font-family-primary,var(--ui-font-family-helvetica));color:#000;text-align:left;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:260px}.main-user-consent-request-popup-textarea-block{margin:0 0 20px}.main-user-consent-request-popup-buttons{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.main-user-consent-request-popup-button{display:inline-block;height:39px;margin:0 10px 5px 0;padding:0 18px;border:none;border-radius:2px;font:normal 12px/39px var(--ui-font-family-primary,var(--ui-font-family-helvetica));color:#535c69;outline:none;vertical-align:middle;text-decoration:none;text-transform:uppercase;text-shadow:none;white-space:nowrap;-webkit-font-smoothing:antialiased;-webkit-transition:background-color .2s linear,color .2s linear;transition:background-color .2s linear,color .2s linear;cursor:pointer}.main-user-consent-request-popup-button-acc{background:#bbed21}.main-user-consent-request-popup-button-acc:hover{background:#d2f95f}.main-user-consent-request-popup-button-rej{-webkit-box-shadow:inset 0 0 0 1px #a1a6ac;box-shadow:inset 0 0 0 1px #a1a6ac;background:none}.main-user-consent-request-popup-button-rej:hover{background:#cfd4d8}.main-user-consent-request-popup-text{border:1px solid #999;overflow:auto;padding:8px;text-align:left;color:#545454}.main-user-consent-request-popup-link{height:130px;display:flex;justify-content:center;align-items:center;flex-direction:column}.main-user-consent-request-popup-link a{display:block;margin:20px 0 0;text-overflow:ellipsis;overflow:hidden;max-width:260px}.main-user-consent-request-loader{position:relative;height:100px;width:100px;margin:0 auto;-webkit-transform:translateY(50%);transform:translateY(50%)}.main-user-consent-request-path{stroke:#80868e;stroke-dasharray:100,200}.main-user-consent-request-loader:before{content:"";display:block;padding-top:100%}.main-user-consent-request-circular{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;height:inherit;width:inherit;-webkit-animation:rotate 1s linear infinite;animation:rotate 1s linear infinite;-webkit-transform-origin:center center;transform-origin:center center}.main-user-consent-request-path{stroke:#ccc;stroke-dasharray:60,200;stroke-dashoffset:0;-webkit-animation:dash 1.5s ease-in-out infinite;animation:dash 1.5s ease-in-out infinite;stroke-linecap:round}.main-user-consent-request-announce{color:#333;font-size:13px;line-height:15px}.main-user-consent-request-announce-link{cursor:pointer}.main-user-consent-request-announce-required{color:red}@keyframes rotate{to{transform:rotate(1turn)}}@-webkit-keyframes rotate{to{-webkit-transform:rotate(1turn)}}@media (min-width:1000px){.main-user-consent-request-popup-cont{min-height:400px;min-width:640px}.main-user-consent-request-popup-header{max-width:590px}.main-user-consent-request-popup-link,.main-user-consent-request-popup-text{height:240px}.main-user-consent-request-popup-link a{max-width:200px}}@media (max-width:768px){.main-user-consent-request-popup-cont{height:100%}}
/* End */


/* Start:/local/components/custom/apartments.filter/templates/.default/style.css?178592189817782*/
/* Apartments Filter Component Styles */

.apartments-wrap {
    padding: 20px 0 60px;
}

.apartments-wrap .wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.apartments-wrap .main-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

@media (max-width: 767px) {
    .apartments-wrap .main-title {
        font-size: 32px;
    }
}

/* Filter header — на десктопе скрыт (только кнопка мобильного фильтра) */
.filter-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.count-info {
    font-size: 14px;
    color: #666;
}

/* Filter toggle button - hidden on desktop */
.filter-toggle-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #008b3b;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-toggle-btn:hover {
    background: #006b2d;
}

.filter-toggle-btn svg {
    width: 18px;
    height: 18px;
}

.filter-toggle-btn .filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #fff;
    color: #008b3b;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .filter-toggle-btn {
        display: flex;
    }

    .filter-header {
        margin-bottom: 12px;
    }
}

/* Filter section */
.apartment-search-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    align-items: flex-start;
}

/* Кнопки опускаем на высоту лейбла (font 13px * 1.4 lh ≈ 18px + 6px margin = 24px),
   чтобы они встали на уровень строки .inputs */
.apartment-search-info .green-btn,
.apartment-search-info .grey-btn {
    margin-top: 24px;
}

.apartment-search-info .select-wrap {
    min-width: 124px;
    flex-grow: 1;
}

.apartment-search-info .select-wrap.full {
    min-width: 180px;
    width: 100%;
    max-width: 300px;
}

@media (max-width: 1300px) {
    .apartment-search-info .select-wrap {
        min-width: 200px;
    }
}

/* MOBILE: Hide filter by default, show when open */
@media (max-width: 767px) {
    .apartment-search-info {
        display: none !important;
        flex-wrap: wrap;
        justify-content: space-between;
        background: #f9f9f9;
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 20px;
    }

    .apartment-search-info.filter-open {
        display: flex !important;
    }

    .apartment-search-info .select-wrap {
        width: calc((100% - 15px) / 2);
        margin: 0;
        margin-bottom: 15px;
        flex-grow: 0;
    }

    .apartment-search-info .select-wrap.full {
        width: 100%;
        max-width: none;
    }
}

.apartment-search-info .select-wrap label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

/* Filter group */
.filter-group {
    min-width: 150px;
}

.filter-divider {
    display: none;
}

@media (max-width: 767px) {
    .filter-divider {
        display: block;
        width: 100%;
        height: 1px;
        background: #e4e4e4;
        margin: 5px 0 15px;
    }
}

/* Rooms buttons */
.rooms-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.room-btn {
    min-width: 34px;
    height: 34px;
    border: none;
    border-radius: 6px;
    background: #f5f5f5;
    font-size: 13px;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 8px;
}

.room-btn:hover {
    background: #e5e5e5;
}

.room-btn.active {
    background: #008b3b;
    color: #fff;
}

/* Range slider */
.range-info {
    flex-grow: 1;
}

/* Этаж — до 3 цифр: "999" */
.range-info.range-size-small {
    min-width: 160px;
    flex-basis: 160px;
}

/* Площадь — до 6 символов: "999.99" */
.range-info.range-size-medium {
    min-width: 210px;
    flex-basis: 210px;
}

/* Цена — до 12 цифр: "99 999 999" */
.range-info.range-size-large {
    min-width: 320px;
    flex-basis: 320px;
}

@media (max-width: 767px) {
    .range-info {
        width: 100%;
        margin: 0;
        margin-bottom: 15px;
    }

    .range-info.range-size-small,
    .range-info.range-size-medium,
    .range-info.range-size-large {
        min-width: 100%;
        flex-basis: 100%;
    }
}

.range-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.range-info .inputs {
    display: flex;
    gap: 8px;
}

.range-info .input-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 100px;
    padding: 7px 10px;
}

.range-info .input-wrap .input-prefix {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

.range-info .input-wrap input {
    flex: 1;
    min-width: 30px;
    height: 24px;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 12px;
    text-align: right;
    color: #000;
    font-weight: 500;
}

/* Этаж: "999" ≈ 25px */
.range-info.range-size-small .input-wrap input {
    min-width: 28px;
}

/* Площадь: "999.99" ≈ 45px */
.range-info.range-size-medium .input-wrap input {
    min-width: 48px;
}

/* Цена: "99 999 999" ≈ 75px */
.range-info.range-size-large .input-wrap input {
    min-width: 78px;
}

.range-info .input-wrap input:focus {
    outline: none;
}

/* Range slider track */
.range-slider {
    position: relative;
    height: 4px;
    margin: 10px 0 5px;
}

.range-track {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #e4e4e4;
    border-radius: 2px;
    cursor: pointer;
}

.range-fill {
    position: absolute;
    height: 100%;
    background: #008b3b;
    border-radius: 2px;
}

.range-thumb {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #008b3b;
    border: 2px solid #fff;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.range-thumb:active {
    cursor: grabbing;
}

/* Buttons (scoped к .apartments-wrap, чтобы не перебивать .green-btn страницы) */
.apartments-wrap .green-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: #008b3b;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.apartments-wrap .green-btn:hover {
    background: #006b2d;
}

.apartments-wrap .grey-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: #f5f5f5;
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.apartments-wrap .grey-btn:hover {
    background: #e5e5e5;
}

.apartments-wrap .grey-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .apartments-wrap .green-btn,
    .apartments-wrap .grey-btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* View controls row — всегда виден под фильтром */
.view-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 10px;
}

/* Tab menu */
.tab-menu {
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-menu li {
    list-style: none;
}

.tab-menu li button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f5f5f5;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-menu li button:hover {
    background: #e5e5e5;
}

.tab-menu li.active button {
    background: #008b3b;
    color: #fff;
}

.tab-menu li button svg {
    width: 20px;
    height: 20px;
    fill: #666;
}

.tab-menu li.active button svg {
    fill: #fff;
}

.tab-menu li button .text {
    font-size: 14px;
    display: none;
}

@media (max-width: 767px) {
    .tab-menu li button .text {
        display: inline;
    }
}

/* Loading */
.loading-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid #e4e4e4;
    border-top-color: #008b3b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* No results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
}

/* Grid view - Плитка */
.apartments-items2 {
    margin-top: 20px;
}

.apartments-items2 .grey-btn {
    display: block;
    margin: 30px auto 0;
    width: auto;
}

.favorites-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1200px) {
    .favorites-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .favorites-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .favorites-items {
        grid-template-columns: 1fr;
    }
}

.favorites-item {
    border-radius: 10px;
    transition: 0.3s;
    border: 1px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-align: left;
}

@media (max-width: 1024px) {
    .favorites-item {
        border-color: #e4e4e4;
    }
}

.favorites-item:hover {
    border-color: #008b3b;
}

.favorites-item:hover .img-wrap img {
    transform: scale(1.05);
}

.favorites-item .img-wrap {
    display: flex;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
    cursor: pointer;
}

.favorites-item .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

/* Zoom overlay при наведении */
.favorites-item .img-wrap .img-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.favorites-item .img-wrap:hover .img-zoom-overlay {
    opacity: 1;
}

.favorites-item .img-wrap:hover img {
    transform: scale(1.05);
}

.favorites-item .text-wrap {
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
    flex-grow: 1;
    text-decoration: none;
    color: inherit;
}

.favorites-item .text-wrap b {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    color: #000;
}

.favorites-item .text-wrap b a {
    color: inherit;
    text-decoration: none;
}

.favorites-item .text-wrap b a:hover {
    color: #008b3b;
}

.favorites-item .text-wrap .favorite-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
}

.favorites-item .text-wrap .favorite-info-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e4e4e4;
    font-size: 14px;
}

.favorites-item .text-wrap .favorite-info-list li:last-child {
    border-bottom: none;
}

.favorites-item .text-wrap .favorite-info-list li span {
    color: #666;
}

.favorites-item .text-wrap .favorite-info-list li span.black {
    color: #000;
    font-weight: 500;
}

/* Кнопка "Запросить консультацию" */
.apt-consult-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    padding: 10px 18px;
    background: #008b3b;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: center;
}

.apt-consult-btn:hover {
    background: #006b2d;
}

/* List view - Список */
.apartments-items1 {
    margin-top: 20px;
    text-align: center;
}

.apartments-items1 .grey-btn.load-more {
    display: block;
    margin: 24px auto 0;
    width: auto;
}

.apartments-items1 .favorites-item2 {
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: visible;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: #f9f9f9;
    margin-bottom: 16px;
    transition: 0.3s;
}

.apartments-items1 .favorites-item2:last-child {
    margin-bottom: 0;
}

.apartments-items1 .favorites-item2:hover {
    border-color: #e4e4e4;
}

.apartments-items1 .favorites-item2 .img-wrap {
    border-radius: 5px;
    overflow: hidden;
    min-width: 150px;
    width: 150px;
    height: 100px;
    display: flex;
    flex-shrink: 0;
    margin-right: 25px;
    position: relative;
    cursor: pointer;
}

.apartments-items1 .favorites-item2 .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.apartments-items1 .favorites-item2:hover .img-wrap img {
    transform: scale(1.05);
}

.apartments-items1 .favorites-item2 .text-wrap {
    flex-grow: 1;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.apartments-items1 .favorites-item2 .text-wrap b {
    display: block;
    font-size: 22px;
    line-height: 26px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.apartments-items1 .favorites-item2 .text-wrap .texts-info {
    display: flex;
}

.apartments-items1 .favorites-item2 .texts {
    display: flex;
    flex-direction: column;
    margin-right: 50px;
}

.apartments-items1 .favorites-item2 .texts:last-child {
    margin-right: 0;
}

.apartments-items1 .favorites-item2 .texts span {
    font-size: 15px;
    line-height: 18px;
    margin-bottom: 7px;
    color: #4f4f4f;
    display: inline-block;
    white-space: nowrap;
}

.apartments-items1 .favorites-item2 .texts span:last-child {
    margin-bottom: 0;
}

.apartments-items1 .favorites-item2 .texts span.black {
    color: #141414;
    font-weight: 500;
}

/* Кнопка консультации в list-view */
.apt-consult-wrap {
    display: flex;
    align-items: center;
    padding: 0 0 0 20px;
    margin-left: auto;
    flex-shrink: 0;
}

.apartments-items1 .favorites-item2 .apt-consult-wrap .apt-consult-btn {
    width: auto;
    margin-top: 0;
    white-space: nowrap;
    font-size: 13px;
    padding: 8px 16px;
}

@media (max-width: 767px) {
    .apartments-items1 .favorites-item2 {
        padding: 10px 12px;
        margin-bottom: 10px;
    }

    .apartments-items1 .favorites-item2 .img-wrap {
        min-width: 80px;
        width: 80px;
        height: 80px;
        border-radius: 6px;
        margin-right: 12px;
    }

    .apartments-items1 .favorites-item2 .text-wrap b {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 5px;
    }

    .apartments-items1 .favorites-item2 .texts {
        margin-right: 16px;
    }

    .apartments-items1 .favorites-item2 .texts span {
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 4px;
    }

    .apt-consult-wrap {
        display: none;
    }
}

/* Модальное окно просмотра планировки */
.apt-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: apt-modal-fade 0.2s ease;
}

@keyframes apt-modal-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.apt-modal-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    width: 100%;
    animation: apt-modal-scale 0.25s ease;
}

@keyframes apt-modal-scale {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.apt-modal-content img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.apt-modal-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.apt-modal-close:hover {
    background: #008b3b;
    color: #fff;
}

/* Scoped overrides: защита от лендинговых .img-wrap/.text-wrap/.favorites-item */
.apartments-wrap .favorites-items {
    display: grid;
}
.apartments-wrap .favorites-item {
    display: flex;
    flex-direction: column;
    position: static;
    width: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
}
.apartments-wrap .favorites-item .img-wrap {
    display: flex;
    position: relative;
    aspect-ratio: 4/3;
    width: auto;
    height: auto;
    inset: auto;
    background: none;
}
.apartments-wrap .favorites-item .img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    position: static;
}
.apartments-wrap .favorites-item .text-wrap {
    display: flex;
    flex-direction: column;
    position: static;
    width: auto;
    height: auto;
    opacity: 1;
    visibility: visible;
}

/* End */


/* Start:/local/modules/cnetwork.translatorjs/assets/css/styles.min.css?17830685242112*/
.skiptranslate {display: none !important;}.goog-text-highlight, font > font {background-color: transparent !important;box-shadow: none !important;box-sizing: inherit;}.translatorjs_langs {background: #ddd;border-radius: 0 5px 5px 0;display: flex;flex-direction: column;left: -12px;line-height: 24px;max-width: 32px;padding: 5px;position: fixed;text-align: center;text-transform: uppercase;top: 50%;transform: translateY(-50%);transition: all 0.5s ease;-moz-transition: all 0.5s ease;-webkit-transition: all 0.5s ease;z-index: 999999;}.translatorjs_langs:hover {left: 0;}.translatorjs_lang_item {cursor: pointer;margin-bottom: 5px;max-width: 30px;opacity: .5;}.translatorjs_lang_item:last-of-type {margin-bottom: 0;}.translatorjs_lang_item:hover, .translatorjs_lang_active {opacity: 1;}.translatorjs_info {background: #ddd;border-radius: 5px 5px 0 0;bottom: 0;font-family: sans-serif;font-size: 16px;padding: 8px 0;position: fixed;text-align: center;transition: all 0.5s ease;-moz-transition: all 0.5s ease;-webkit-transition: all 0.5s ease;width: 100%;z-index: 999999;}
.translatorjs_langs--row {position:static;flex-direction:row;flex-wrap:wrap;max-width:none;left:auto;top:auto;-moz-transform:none;-webkit-transform:none;transform:none;-moz-transition:none;-webkit-transition:none;transition:none;border-radius:5px;padding:4px;gap:4px;display:inline-flex;}.translatorjs_langs--row:hover {left:auto;}.translatorjs_langs--row .translatorjs_lang_item {margin-bottom:0;border-radius:3px;border:2px solid transparent;padding:2px;box-sizing:border-box;}.translatorjs_langs--row .translatorjs_lang_active {border-color:#555;background:rgba(0,0,0,.12);opacity:1;}
html,body{top:0!important;}.goog-te-banner-frame,.goog-te-balloon-frame,.goog-te-ftab,#goog-gt-tt,.goog-te-gadget-icon{display:none!important;}
.translatorjs_langs,.translatorjs_info{display:none!important;}
font[style*="vertical-align"]{color:inherit!important;-webkit-text-fill-color:inherit!important;background:transparent!important;display:inline!important;white-space:inherit!important;overflow-wrap:inherit!important;word-break:inherit!important;}
/* End */


/* Start:/local/modules/cnetwork.floatwidget/install/css/widget.css?17854907334057*/
.cfw-root {
    position: fixed;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--cfw-spacing, 12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.cfw-root.cfw-axis-row {
    flex-direction: row;
}

.cfw-root.cfw-visible {
    opacity: 1;
    pointer-events: auto;
}

.cfw-main {
    position: relative;
    box-sizing: border-box;
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    z-index: 2;
}

.cfw-shadow {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}

.cfw-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    animation: cfw-pulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes cfw-pulse {
    0% { transform: scale(1); opacity: .6; }
    100% { transform: scale(1.8); opacity: 0; }
}

.cfw-list {
    display: flex;
    gap: var(--cfw-spacing, 12px);
    opacity: 0;
    transform: scale(.85);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.cfw-list.cfw-dir-up { flex-direction: column; transform-origin: center bottom; }
.cfw-list.cfw-dir-down { flex-direction: column-reverse; order: 1; transform-origin: center top; }
.cfw-list.cfw-dir-left { flex-direction: row; transform-origin: right center; }
.cfw-list.cfw-dir-right { flex-direction: row-reverse; order: 1; transform-origin: left center; }

.cfw-root.cfw-open .cfw-list {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.cfw-btn {
    position: relative;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
}

.cfw-btn .cfw-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: inherit;
}

.cfw-icon svg,
.cfw-main > svg {
    width: 60%;
    height: 60%;
    color: inherit;
}

.cfw-icon svg *,
.cfw-main > svg * {
    color: inherit;
}

.cfw-monogram {
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    color: inherit;
    font-family: inherit;
}

.cfw-label {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .75);
    color: #fff;
    font-family: inherit;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}

.cfw-btn:hover .cfw-label {
    opacity: 1;
}

.cfw-left .cfw-label {
    right: auto;
    left: calc(100% + 10px);
}

@media (max-width: 480px) {
    .cfw-label { display: none; }
}

.cfw-btn.cfw-multi {
    background: none;
    padding: 0;
}

.cfw-trigger {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.cfw-submenu {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    z-index: 3;
}

.cfw-multi.cfw-open .cfw-submenu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cfw-left .cfw-submenu {
    right: auto;
    left: 0;
}

.cfw-submenu-item {
    display: block;
    padding: 8px 12px;
    border-radius: 5px;
    color: #333;
    font-family: inherit;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}

.cfw-submenu-item:hover {
    background: #f2f2f2;
}

/* End */
/* /local/templates/.default/components/svoydom/webform.form/popup-sd/style.css?178306847313182 */
/* /local/templates/svdom_new/css/landing_forms.css?178306851010299 */
/* /local/components/vhoruzhenko/forms.landing.safe/templates/landing-form/style.css?17830685273012 */
/* /bitrix/components/bitrix/main.userconsent.request/templates/.default/user_consent.min.css?17830682283805 */
/* /local/components/custom/apartments.filter/templates/.default/style.css?178592189817782 */
/* /local/modules/cnetwork.translatorjs/assets/css/styles.min.css?17830685242112 */
/* /local/modules/cnetwork.floatwidget/install/css/widget.css?17854907334057 */
