

/* Start:/local/templates/moslombard/components/bitrix/news/main_slider/bitrix/news.list/.default/style.css?17756484926607*/
.main_slider {
    width: 100%;

    position: relative;
    overflow: hidden;
}

.slide {
    width: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
    position: relative;
}

/* КОНТЕНТ СВЕРХУ (над картинкой) */
.slide-content {
    padding: 60px 20px 30px 20px;
    background: transparent;
    margin: 0 auto;
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: flex-start; /* Важно! Предотвращает растягивание дочерних элементов */
}



.slide-text h1 {
    font-size: 6rem;
    font-weight: 400;
    color: #1B1919;
    line-height: 100%;
    margin-bottom: 16px;
}

.slide-text p {
    font-size: 2rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
    margin: 0;

}

/* Блок с двумя простыми кнопками */
.slide-buttons {
    display: flex;
    gap: 10px;
    align-items: center; /* Выравнивание кнопок по центру внутри блока */
    align-self: end; /* Выравнивание самого блока кнопок по центру относительно текста */
}

/* Стили для простых кнопок - ИСПРАВЛЕНО */
.btn-loan, .btn-percent {
    padding: 15px 25px; /* Уменьшен вертикальный padding */
    font-size: 2rem;
    font-weight: 500;
    border: none;
    border-radius: 3px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 100%; /* Фиксированная высота строки */
    height: auto; /* Сброс высоты */


}

/* Сброс браузерных стилей для кнопок */
button.btn-loan{
    background: #CC150D;
    border: none;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
button.btn-percent {
    background: #848484;
    color: #FFFFFF;
    border: none;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn-loan {

    color: #FFFFFF;
}

.btn-loan:hover {
    background: #A80E07;
}



.btn-percent:hover {
    background: #1B1919;
}

/* КАРТИНКА/ВИДЕО СНИЗУ */
.slide-media {
    width: 100%;
    padding: 0 20px;
    /*height: 350px;  поа убираем фикс высоту из-заширокоформатников*/
    position: relative;
    overflow: hidden;
}

.video-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-media img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* ЭЛЕМЕНТЫ УПРАВЛЕНИЯ */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    align-items: center;
    z-index: 20;
    background: rgba(46, 32, 31, 0.8);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.slider-arrow {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.indicators {
    display: flex;
    gap: 8px;
    align-items: center;
}

.indicator {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.4);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.indicator.active {
    width: 32px;
    background-color: rgba(255, 255, 255, 0.2);
}

.indicator .progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: white;
    border-radius: 4px;
    transition: width linear;
}















/* Адаптация для планшетов */
@media (max-width: 1023px) {
    .slide-content {
        padding: 30px 40px;
        align-items: flex-start; /* Важно для планшетов */
    }

    .slide-text h1 {
        font-size: 36px;
    }

    .slide-text p {
        font-size: 16px;
    }

    .btn-loan, .btn-percent {
        padding: 6px 22px; /* Еще меньше на планшетах */
        font-size: 15px;
        min-height: 38px;
    }

    .slide-buttons {
        gap: 14px;
    }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .slide-content {
        padding: 0 10px;
        flex-direction: column; /* На мобильных текст и кнопки в колонку */
        align-items: flex-start;
        gap: 40px;
        margin-top: 45px;
    }

    .slide-text {
        max-width: 100%;
        margin-bottom: 0;
    }

    .slide-text h1 {
        font-size: 4.5rem;
        font-weight: 400;
        line-height: 100%;
        margin-bottom: 15px;
    }

    .slide-text p {
        font-size: 1.8rem;
        max-width: 100%;
        max-width:260px;
    }

    .slide-buttons {
        gap: 10px;
        flex-direction: column;
        width: 100%;
        align-self: flex-start; /* Выравнивание слева */
    }

    .btn-loan, .btn-percent {
        padding: 10px 20px; /* Чуть больше для удобства нажатия на мобильных */
        font-size: 2rem;
        min-height: 44px; /* Минимальная высота для мобильных (рекомендация Apple) */
        width: 100%;
    }

    .slide-media {
        padding: 0 10px;
        
        margin-top: 10px;
    }

    .desktop-media {
        display: none;
    }

    .mobile-media {
        display: block;
        height: 100%;
    }

    .slider-controls {
        bottom: 20px;
        padding: 6px 15px;
        gap: 12px;
    }

    .slider-arrow {
        width: 32px;
        height: 32px;
    }

    .slider-arrow svg {
        width: 20px;
        height: 20px;
    }

    .indicator.active {
        width: 24px;
    }
}

@media (min-width: 769px) {
    .desktop-media {
        display: block;
    }

    .mobile-media {
        display: none;
    }
}
/* End */


/* Start:/local/templates/moslombard/components/bitrix/news/bot_baner_info/bitrix/news.list/.default/style.css?17756486423787*/
/* Основной контейнер - GRID */
div.bot_baner-list {
    width: 100%;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки равной ширины */
    gap: 20px; /* Отступы между ячейками */
    align-items: stretch; /* Растягиваем элементы по высоте */
    margin-top: 20px;
}

/* Элемент-кубик */
div.bot_baner-item {
    min-height: 271px;
    border-radius: 10px;
    box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Контент внутри кубика - GRID */
div.bot_baner-content {
    padding: 30px;
    height: 100%; /* Растягиваем на всю высоту родителя */
    display: grid;
    grid-template-rows: auto auto 1fr; /* Первые два - по контенту, последний занимает всё оставшееся место */
    gap: 15px; /* Отступы между строками внутри грида */
}

/* Большой текст (ATT_BIGDATA) */
div.bot_baner-bigdata {
    font-size: 6rem;
    font-weight: 500;
    line-height: 100%;
    color: #CC150D;
    margin: 0; /* Убираем нижний отступ, теперь gap работает */
}

/* Маленький текст (ATT_LITTLE) */
div.bot_baner-little {
    max-width: 50%;
    font-size: 2rem;
    font-weight: 500;
    line-height: 100%;
    color: #1B1919;
    margin: 0; /* Убираем нижний отступ, теперь gap работает */
}

/* Кнопка "Подробнее" */
a.bot_baner-button {
    display: inline-block;
    padding: 15px 25px;
    background-color: #F2F2F2;
    color: #383636;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 500;
    line-height: 100%;
    transition: all 0.3s ease;

    /* Выравнивание внутри своей ячейки */
    align-self: end; /* Прижимаем к нижнему краю ячейки */
    justify-self: start; /* Прижимаем к левому краю */

    /* Чтобы кнопка не растягивалась на всю ширину */
    width: fit-content;
}

a.bot_baner-button:hover {
    background-color: #848484;
    color: #FFFFFF;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    div.bot_baner-list {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    a.bot_baner-button{
        width: 100%;
        display: flex;
        justify-content: center;

    }
    div.bot_baner-content{
        padding: 20px;
        gap: 0;
    }
    div.bot_baner-list {
        grid-template-columns: 1fr; /* 1 колонка на мобилках */
        justify-items: center; /* Центрируем элементы по горизонтали */
        margin-top: 30px;
        padding: 0 10px;
    }

    div.bot_baner-item {
        max-width: 400px; /* Ограничиваем ширину на мобилках */
        width: 100%;
        box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.25);
    }

    div.bot_baner-bigdata {
        font-size: 4.5rem;
        margin-bottom: 10px;
    }

    /* На мобилках маленький текст может занимать больше ширины */
    div.bot_baner-little {
        font-size: 1.8rem;
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    div.bot_baner-item {
        max-width: 100%; /* На совсем маленьких экранах на всю ширину */
        min-height: 204px;
    }
}
/* End */


/* Start:/local/templates/moslombard/components/bitrix/news/zalog_calk/bitrix/news.list/.default/style.css?177564651011924*/
/* Калькулятор */
.calculator {
    width: 100%;
    padding: 0 20px;
    margin-top: 130px;
    box-sizing: border-box;
}

.calculator_h2 {
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 40px;
}

/* Основной grid-контейнер */
.calculator-row {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Точные пропорции 2:1 */
    gap: 20px;
    align-items: stretch;
    width: 100%;
}

/* Левая колонка */
.calculator-left {
    width: 100%;
    min-width: 0; /* Предотвращаем переполнение */
}

/* Правая колонка */
.calculator-right {
    width: 100%;
    min-width: 0; /* Предотвращаем переполнение */
    display: flex;
}

/* Блок веса */
.weight-label {
    display: block;
    font-size: 2rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
    margin-bottom: 20px;
    opacity: 0.6;
}

/* Контейнер для поля ввода и единицы измерения */
.weight-input-container {
    position: relative;
    width: 100%;
}

.weight-input {
    /* Сброс всего */
    all: unset;
    display: block;
    width: 100%;
    box-sizing: border-box;

    /* Твои кастомные стили */
    padding: 15px;
    padding-right: 45px;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1;
    color: #1B1919;
    background: #fff;
    border-radius: 3px;

    /* Дополнительная жёсткая фиксация высоты */
    height: calc(4rem * 1 + 30px);
}

/* Единица измерения "г." - внутри поля */
.weight-unit {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: 400;
    color: #1B1919;
    opacity: 0.6;
    pointer-events: none;
    line-height: 1;
    z-index: 1;
}

/* Убираем стрелки у number */
.weight-input[type="number"] {
    -moz-appearance: textfield;
}
.weight-input[type="number"]::-webkit-inner-spin-button,
.weight-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.weight-input:focus {
    outline: none;
    border: 2px solid #CC150D;
    padding: 14px;
    padding-right: 44px;
}

/* Корректировка при фокусе для единицы измерения */
.weight-input:focus + .weight-unit {
    right: 16px;
}

/* Блок проб */
.proba-block {
    background: #F6F5F5;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* БЛОК тултипа */
.proba-title {
    font-size: 2rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
    margin-bottom: 20px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 60%;
}
.result-label_vid{
    opacity: 60%;
}
/* Контейнер для иконки + тултипа */
.proba-tooltip-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: help;
}

/* Твоя иконка */
.tooltip-image {
    width: 20px;
    height: 20px;
    display: block;
    transition: opacity 0.2s;
}

/* Текст тултипа */
.proba-tooltip-text {
    visibility: hidden;
    opacity: 1;
    width: 260px;
    background-color: #CC150D;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.4;
    padding: 12px 16px;
    border-radius: 6px;
    position: absolute;
    z-index: 100;

    /* Меняем позиционирование */
    top: 50%;
    left: 100%;
    transform: translateY(-50%);

    transition: visibility 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    white-space: normal;
    text-align: left;

    /* Добавляем отступ от иконки */
    margin-left: 10px;
}

/* Стрелочка тултипа (теперь слева) */
.proba-tooltip-text::after {
    content: '';
    position: absolute;

    /* Стрелка слева */
    top: 50%;
    right: 100%;
    left: auto;
    transform: translateY(-50%);

    border-width: 6px;
    border-style: solid;
    /* Стрелка смотрит влево */
    border-color: transparent #CC150D transparent transparent;
}

/* Показываем тултип при наведении */
.proba-tooltip-icon:hover .proba-tooltip-text {
    visibility: visible;
    opacity: 1;
}

.proba-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.proba-item {
    background: #FFFFFF;
    border-radius: 3px;
    padding: 15px;
    text-align: center;
    font-size: 4rem;
    font-weight: 400;
    color: #1B1919;
    line-height: 100%;
    cursor: pointer;
    transition: all 0.3s;
}

.proba-item.active {
    border: 2px solid #CC150D;
    color: #CC150D;
}

/* Блок тарифов */
.tariff-block {
    background: #FFFFFF;
    box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 20px;

    /* Растягиваем на всю высоту и ширину */
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.tariff-header {
    display: flex;
    margin-bottom: 20px;
    gap: 35px;
}

.tariff-header h3 {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
    margin: 0 0 15px 0;
}

/* Кастомный дропдаун */
.custom-dropdown {
    position: relative;
    width: 100%;
    font-family: inherit;
}

.dropdown-selected {
    background: #F6F5F5;
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 15px;

    font-size: 2rem;
    font-weight: 400;
    line-height: 100%;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1B1919;
}

.dropdown-selected:hover {
    background: #eeeeee;
}

.dropdown-arrow {
    color: #CC150D;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.custom-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 2px 2px 15px 0 rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    margin-top: 10px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.custom-dropdown.open .dropdown-options {
    display: block;
}

.dropdown-option {
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option:hover {
    background: #f8f8f8;
}

/* Кастомная радио-кнопка */
.custom-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 12px;
    font-size: 1.8rem;
    position: relative;
    width: 100%;
}

.custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-mark {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1.25px solid #CC150D;
    border-radius: 3.75px;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.custom-radio input[type="radio"]:checked + .radio-mark {
    border-color: #CC150D;
    background-color: #CC150D;
    background-image: url('/local/templates/moslombard/img/logo/galka.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12.5px 8.85px;
}

.option-text {
    color: #1B1919;
    font-size: 1.8rem;
    line-height: 1.2;
    flex: 1;
}

/* Результаты расчета */
.calculation-result {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}

.result-item:last-child {
    padding-bottom: 0;
}

.result-label {
    font-size: 2rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 100%;
    color: #CC150D;
}

/* Кнопка "Узнать больше" - исправлено */
.calk_btn_more_info {
    background: #CC150D;
    border-radius: 3px;
    padding: 15px 25px;
    font-size: 2rem;
    font-weight: 500;
    line-height: 100%;
    color: #FFFFFF;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap; /* Запрещаем перенос текста */
}
.calk_btn_more_info:hover{
    background: #A80E07;
}
/* Финальный результат */
.result-item.result-final {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-top: auto; /* Прижимаем к низу */
    padding-top: 20px;
}
.container_label_vid_bot{
    width: 100%     ;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.result-final .result-value {
    width: 100%;
    background: #F6F5F5;
    border-radius: 3px;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 100%;
    color: #CC150D;
    padding: 7px 10px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .calculator-row {
        grid-template-columns: 1fr; /* Одна колонка на планшетах */
    }

    .proba-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .calculator {
        margin-top: 80px;
    }
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .calculation-result{
        padding-left: 12px;
    }
    .calculator-row{
        gap:10px ;
    }
    .proba-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tariff-header {
        flex-direction: column;
        gap: 15px;
    }

    .result-item.result-final {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .weight-label{
        font-size: 1.8rem;
    }
    .proba-title{
        font-size: 1.8rem;
    }
    .proba-tooltip-text {
        width: 200px;
        font-size: 1.2rem;
        left: auto;
        right: 0;
        transform: none;
        margin-left: 0;
    }

    .proba-tooltip-text::after {
        left: auto;
        right: 10px;
        border-color: transparent transparent #CC150D transparent;
        top: -10px;
        transform: none;
    }
    .result-label{
        font-size: 1.8rem;
    }
    .proba-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .container_label_vid_bot{
        flex-direction: column;
    }
    .proba-item {
        padding: 12px 8px;
        font-size: 2.5rem;
    }

    .weight-input {
        font-size: 3rem;
        height: calc(3rem * 1 + 30px);
    }

    .weight-unit {
        font-size: 1.6rem;
    }

    /* Адаптив для дропдауна на мобильных */
    .dropdown-selected {
        font-size: 1.6rem;
        padding: 12px;
    }
    .tariff-header{
        gap: 0;
    }
    .tariff-header h3{
        font-size: 3rem;
        margin-bottom: 15px;
    }
    .option-text {
        font-size: 1.5rem;
    }

    .dropdown-option {
        padding: 10px 12px;
    }

    /* Адаптив для финального блока на мобильных */
    .result-item.result-final {
        flex-direction: column;
        align-items: stretch;
    }

    .calk_btn_more_info {
        font-size: 2rem ;
        text-align: center;
        white-space: normal; /* На мобильных можно разрешить перенос */
    }

    .calculator {
        margin-top: 80px;
        padding: 0 10px;
    }

    .calculator_h2 {
        font-size: 4rem;
        margin-bottom: 40px;
    }

    .proba-block {
        padding: 20px;
    }

    .tariff-block {
        padding: 20px;
    }
}
/* End */


/* Start:/local/templates/moslombard/components/bitrix/news/tariffs/bitrix/news.list/.default/style.css?177738581012874*/
.tariffs-list {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    margin-top: 130px;
}

.tariffs-title {
    font-size: 6rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
    margin-bottom: 40px;
    text-align: left;
}

/* Основной контейнер с сеткой */
.tariffs-container {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    border-radius: 8px;
    align-items: start;
}

/* Левая колонка */
.tariffs-labels {
    display: flex;
    flex-direction: column;
    position: relative;
}

.label-item-first-wrapper {
    height: 85px;
    flex-shrink: 0;
}

.label-items-rest {
    display: flex;
    flex-direction: column;
    margin-top: -10px;
}

.label-row-1 {
    margin-top: -10px;
}

.label-item {
    font-size: 16px;
    font-weight: 500;
    color: #666666;
    line-height: 1.4;
    height: 60px;
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 400;
    opacity: 90%;
    color: #1B1919;
    padding: 0;
    flex-shrink: 0;
    background: transparent;
    box-sizing: border-box;
    border-bottom: 1px solid #DEDEDE;
}

.label-item-first {
    min-height: 85px;
    height: auto;
    border: none;
}

/* Правая колонка */
.tariffs-right-column {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Верхняя строка с названиями */
.tariffs-names-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 0;
    height: 85px;
    flex-shrink: 0;
}

.tariff-name-header {
    background: #F6F5F5;
    font-size: 3rem;
    font-weight: 400;
    color: #CC150D;
    text-align: center;
    padding: 20px 15px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}

/* Нижняя строка с карточками данных */
.tariffs-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    margin-top: -10px;
    flex: 1;
}

/* Карточка с данными */
.tariff-data-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 2px 4px 20px 0 rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tariff-data-card:hover {
    margin-top: -5px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    transform: translateY(-3px);
}

/* Значения данных */
.data-value {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    padding: 20px;
    font-size: 3rem;
    font-weight: 400;
    color: #1B1919;
    line-height: 100%;
    word-break: break-word;
    border-bottom: 1px solid #DEDEDE;
    transition: background 0.2s ease;
    height: 60px;
    min-height: 60px;
    box-sizing: border-box;
}

.data-value:last-of-type {
    border-bottom: none;
}

.data-value:hover {
    cursor: pointer;
    background: #f9f9f9;
}

/* Футер с кнопкой */
.data-footer {
    padding: 20px;
    text-align: center;
    margin-top: auto;
}

/* Кнопка */
.tarif_custom_btn {
    display: inline-block;
    padding: 15px 30px;
    background: #CC150D;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 500;
    line-height: 100%;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.tarif_custom_btn:hover {
    background: #A80E07;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* ========== МОБИЛЬНАЯ СЕКЦИЯ ========== */

.mobile-tariffs-section {
    display: none;
    margin-top: 40px;
    padding: 0;
    overflow-x: clip;
}

.mobile-tariffs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.mobile-tariffs-title {
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 100%;
    color: #1B1919;
}

.mobile-swiper-nav-buttons {
    display: flex;
    gap: 10px;
}

/*.mobile-swiper-button-prev,*/
/*.mobile-swiper-button-next {*/
/*    width: 44px !important;*/
/*    height: 44px !important;*/
/*    background: #CC150D !important;*/
/*    border-radius: 50% !important;*/
/*    color: #FFFFFF !important;*/
/*    box-shadow: 0 6px 20px rgba(204, 21, 13, 0.4) !important;*/
/*    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;*/
/*    display: flex !important;*/
/*    align-items: center !important;*/
/*    justify-content: center !important;*/
/*    cursor: pointer !important;*/
/*    z-index: 100;*/
/*    position: relative;*/
/*}*/

.mobile-swiper-button-prev::after,
.mobile-swiper-button-next::after {
    font-size: 16px !important;
    font-weight: 600 !important;
}

.mobile-swiper-button-prev.swiper-button-disabled,
.mobile-swiper-button-next.swiper-button-disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

/* Контейнер слайдера */
.mobile-tariffs-swiper-wrapper {
    width: 100%;
    overflow: visible !important;
    position: relative;
    padding: 15px 0 50px 0;
}

/* Swiper основные стили */
.swiper {
    width: 100%;
    overflow: visible !important;
}

.swiper-wrapper {
    display: flex;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.swiper-slide {
    display: flex;
    align-items: stretch;
    height: auto;
    margin: 0;
}

/* Карточка тарифа в слайдере */
.mobile-tariff-slide {
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.mobile-tariff-name-header {
    background: #F6F5F5;
    font-size: 2.2rem;
    font-weight: 400;
    color: #CC150D;
    text-align: center;
    padding: 18px 15px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
    width: 100%;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85px;
}

.mobile-tariff-data-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 0 0 10px 10px;
    box-shadow: 2px 4px 20px 0 rgba(0, 0, 0, 0.12);
    padding: 15px;
    margin-top: -25px;
    position: relative;
    z-index: 15;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
}

.mobile-tariff-data-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    transform: translateY(-3px);
}

/* Значения данных в мобильной версии */
.mobile-tariff-data-card .data-value {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    padding: 18px 15px;
    font-size: 2rem;
    font-weight: 400;
    color: #1B1919;
    line-height: 100%;
    word-break: break-word;
    border-bottom: 1px solid #DEDEDE;
    transition: background 0.2s ease;
    min-height: 55px;
    height: 55px;
    box-sizing: border-box;
}

.mobile-tariff-data-card .data-value:last-of-type {
    border-bottom: none;
}

.mobile-tariff-data-card .data-value:hover {
    cursor: pointer;
    background: #f9f9f9;
}

.mobile-tariff-data-card .data-footer {
    padding: 25px 0 0 0;
    text-align: center;
    margin-top: auto;
}

.mobile-tariff-data-card .tarif_custom_btn {
    display: inline-block;
    padding: 14px 25px;
    background: #CC150D;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 100%;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.mobile-tariff-data-card .tarif_custom_btn:hover {
    background: #A80E07;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Псевдоэлементы для отступов по краям */
.mobile-tariffs-swiper-wrapper::before,
.mobile-tariffs-swiper-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 20px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.mobile-tariffs-swiper-wrapper::before {
    left: 0;
}

.mobile-tariffs-swiper-wrapper::after {
    right: 0;
}

/* Отступы для первого и последнего слайда */
.swiper-slide:first-child {
    margin-left: 20px;
}

.swiper-slide:last-child {
    margin-right: 20px;
}

/* ========== ПЛАНШЕТЫ ========== */

@media (max-width: 1023px) {
    .tariffs-container {
        grid-template-columns: 180px 1fr;
        gap: 30px;
    }

    .label-item-first-wrapper {
        height: 75px;
    }

    .label-items-rest {
        margin-top: -8px;
    }

    .label-item {
        height: 55px;
        font-size: 15px;
        padding: 0 12px;
    }

    .tariffs-names-row {
        gap: 15px;
        height: 75px;
    }

    .tariff-name-header {
        font-size: 2.2rem;
        padding: 15px 12px;
    }

    .tariffs-cards-row {
        gap: 15px;
        margin-top: -8px;
    }

    .data-value {
        height: 55px;
        min-height: 55px;
        font-size: 2.2rem;
        padding: 15px 10px;
    }

    .mobile-tariffs-header {
        padding: 0 15px;
    }

    .mobile-tariffs-swiper-wrapper::before,
    .mobile-tariffs-swiper-wrapper::after {
        width: 15px;
    }

    .swiper-slide:first-child {
        margin-left: 15px;
    }

    .swiper-slide:last-child {
        margin-right: 15px;
    }
}

/* ========== МОБИЛЬНЫЕ УСТРОЙСТВА ========== */

@media (max-width: 768px) {
    .tariffs-list {
        display: none !important;
    }

    .mobile-tariffs-section {
        display: block !important;
    }

    .mobile-tariffs-title {
        font-size: 2.6rem;
    }

    .mobile-tariff-name-header {
        font-size: 2rem;
        padding: 16px 14px;
        min-height: 75px;
    }

    .mobile-tariff-data-card .data-value {
        font-size: 2rem;
        padding: 16px 14px;
        min-height: 52px;
        height: 52px;
    }

    .mobile-tariff-data-card {
        padding: 14px;
        margin-top: -22px;
    }

    .mobile-tariffs-swiper-wrapper::before,
    .mobile-tariffs-swiper-wrapper::after {
        width: 15px;
    }

    .swiper-slide:first-child {
        margin-left: 15px;
    }

    .swiper-slide:last-child {
        margin-right: 15px;
    }
}

/* ========== ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ ========== */

@media (max-width: 480px) {
    .mobile-tariffs-section {
        margin-top: 30px;
    }

    .mobile-tariffs-header {
        padding: 0 12px;
        margin-bottom: 25px;
    }

    .mobile-tariffs-title {
        font-size: 2.4rem;
    }

    .mobile-swiper-nav-buttons {
        gap: 8px;
    }

    .mobile-swiper-button-prev,
    .mobile-swiper-button-next {
        width: 40px !important;
        height: 40px !important;
    }

    .mobile-swiper-button-prev::after,
    .mobile-swiper-button-next::after {
        font-size: 14px !important;
    }

    .mobile-tariff-name-header {
        font-size: 1.8rem;
        padding: 14px 12px;
        min-height: 70px;
    }

    .mobile-tariff-data-card {
        padding: 12px;
        margin-top: -10px;
    }
    .mobile-tariff-data-card .data-label{
        display: flex;
    justify-content: center;
    opacity: 60%;
    }

    .mobile-tariff-data-card .data-value {
        font-size: 2rem;
        padding: 14px 12px;
        min-height: 48px;
        height: 48px;
    }

    .mobile-tariffs-swiper-wrapper {
        padding: 10px 0 40px 0;
    }

    .mobile-tariffs-swiper-wrapper::before,
    .mobile-tariffs-swiper-wrapper::after {
        width: 12px;
    }

    .swiper-slide:first-child {
        margin-left: 12px;
    }

    .swiper-slide:last-child {
        margin-right: 12px;
    }
}

/* ========== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ КОРРЕКТНОЙ РАБОТЫ ========== */

/* Убираем outline при фокусе на кнопках */
.mobile-swiper-button-prev:focus,
.mobile-swiper-button-next:focus {
    outline: none;
}

/* Плавный скролл для всего сайта */
html {
    scroll-behavior: smooth;
}

/* Обеспечиваем корректное отображение теней */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Для карточек на десктопе */
.tariff-data-card {
    will-change: transform;
}

/* Для мобильных карточек */
.mobile-tariff-data-card {
    will-change: transform;
}
/* End */


/* Start:/local/templates/moslombard/components/bitrix/news/banner_adv/bitrix/news.list/.default/style.css?17756480863966*/
.banner-block {
    position: relative;
    width: calc(100% - 40px);  /* Учитываем отступы слева и справа */
    margin: 130px auto 0 auto;  /* auto слева и справа для центрирования */
    min-height: 350px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.banner-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #400304 0%, #CC150D 100%);
    z-index: 1;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    mix-blend-mode: overlay;
    z-index: 2;

    /* Поворот изображения на 5 градусов по часовой стрелке */
    transform: rotate(17deg);

    /* Масштабируем чтобы изображение не выходило за границы при повороте */


    /* Важно: transform-origin определяет точку, вокруг которой происходит поворот */
    transform-origin: center; /* по умолчанию */
}

.banner-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    min-height: 350px;
    padding:80px 50px;
    color: #fff;
    box-sizing: border-box;
    gap: 30px;
}

.banner-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.banner-title {
    font-size: 5.5rem;
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 25px;
    color:#FFFFFF ;

}

.banner-description {
    font-size: 2rem;
    line-height: 130%;
    font-weight: 400;
    opacity: 90%;
    color:#FFFFFF ;
}

.banner-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.advantage-item {
    flex: 1;
    min-width: 150px;
    text-align: left;
    padding: 30px;
    background: #FFFFFF;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.advantage-item:hover {
    transform: translateY(-5px);
    cursor: pointer;

}

.advantage-title {
    font-size: 6rem;
    font-weight: 500;
    line-height: 100%;
    margin-bottom: 10px;
    color: #CC150D;

}

.advantage-text {
    font-size: 2rem;
    font-weight: 500;
    line-height: 100%;
    opacity: 90%;
    color: #1B1919;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
    .banner-container {
        padding: 30px;
    }

    .banner-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {

    .banner-block{
        width: calc(100% - 20px);
        margin: 80px 10px;
    }
    .banner-container {
        flex-direction: column;
        padding: 30px;
        gap: 40px;
    }

    .banner-left {
        padding-right: 0;
        text-align: left;
    }

    .banner-right {
        gap: 15px;
    }

    .advantage-item {
        min-width: calc(50% - 8px);
        padding: 20px;
        display: flex;
        align-items: flex-end;

    }

    .banner-title {
        font-size: 26px;
    }

    .banner-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .banner-container {
        padding: 30px;
    }

    .advantage-item {
        min-width: 100%;
    }
    .advantage-item{
        align-items: center;
    }

    .banner-title {
        font-size: 4rem;
        margin-bottom: 20px;
    }

    .banner-description {
        font-size: 1.8rem;
    }

    .advantage-title {
        flex: 1;
        font-size: 4.5rem;
        margin-bottom: 0;
    }
    .advantage-text{
        flex: 1;
        text-align: end;
    }
}
/* End */
/* /local/templates/moslombard/components/bitrix/news/main_slider/bitrix/news.list/.default/style.css?17756484926607 */
/* /local/templates/moslombard/components/bitrix/news/bot_baner_info/bitrix/news.list/.default/style.css?17756486423787 */
/* /local/templates/moslombard/components/bitrix/news/zalog_calk/bitrix/news.list/.default/style.css?177564651011924 */
/* /local/templates/moslombard/components/bitrix/news/tariffs/bitrix/news.list/.default/style.css?177738581012874 */
/* /local/templates/moslombard/components/bitrix/news/banner_adv/bitrix/news.list/.default/style.css?17756480863966 */
