// Главное меню
//

.menu-header-menu-container {
    padding: 0 20px;
}

ol.breadcrumb {
    margin: 15px 0;
}

@media only screen and (max-width: 580px) {
    .spb-item .ssoc {
        margin: 20px 0 0;
    }
}

@media only screen and (max-width: 1249px) {
    .logo {
        position: relative;
        z-index: 10;
    }
    .img-logo img {
        max-height: 45px;
    }
    header {
        height: 60px;
    }
    .mobil-mnu {
        top: 20px;
    }
    .header .navigation {
        top: 60px;
        width: 240px;
    }
    .menu-header-menu-container {
        padding: 0;
    }
}

// Компактная шапка на десктопе
@media only screen and (min-width: 1250px) {
    header.header {
        height: 50px;
        min-height: 50px;
        > .container-fluid > .row { padding: 4px 0; }
        box-shadow: 0 1px 0 #EDEBF5, 0 4px 14px rgba(30, 31, 75, .05);
        .container-fluid { padding: 0 24px; }
        .img-logo { max-width: 64px; }
        .logo a { width: 76px; min-width: 76px; }
        // Телефон и город — компактные плашки
        .phone,
        .addr-part {
            height: 36px;
            padding: 0 12px;
            border: 1px solid #E1DFEE;
            border-radius: 10px;
            transition: border-color .15s;
            &:hover { border-color: #FF620A; }
            .img {
                min-width: 16px;
                width: 16px;
                margin-right: 7px;
            }
            a {
                font-size: 14px;
                font-weight: 600;
            }
        }
        .addr-part {
            margin-left: 6px;
            .current-city { font-size: 14px; }
            .arr { margin-left: 8px; }
            .wrap-ul {
                top: calc(100% + 6px);
                border: 1px solid #E8E6F2;
                border-radius: 12px;
                box-shadow: 0 10px 30px rgba(30, 31, 75, .12);
                ul { padding: 8px 14px; }
            }
        }
        // Соцсети
        .ssoc {
            margin-left: 8px;
            a {
                max-width: 22px;
                margin: 0 4px;
                transition: opacity .15s;
                &:hover { opacity: .7; }
            }
        }
        // Меню
        .menu-header-menu-container { padding: 0 8px; }
        .navigation li {
            padding: 6px 9px;
            // Разделитель между пунктами
            & + li:not(.catalog-mobile)::before {
                content: "";
                position: absolute;
                left: 0;
                top: 50%;
                width: 1px;
                height: 12px;
                margin-top: -6px;
                background: #DCDAE8;
            }
            > a {
                font-size: 13px;
                font-weight: 500;
                color: #1E1F4B;
                transition: color .15s;
            }
        }
        .dropdown-c {
            top: 100%;
            min-width: 200px;
            padding: 6px;
            background: #fff;
            border: 1px solid #E8E6F2;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(30, 31, 75, .12);
            a {
                padding: 8px 12px;
                border-radius: 8px;
                font-size: 14px;
                color: #1E1F4B;
                &:hover {
                    background: #FFF4EE;
                    color: #FF620A;
                }
            }
        }
    }
}

// Опыт
//
.info {
    h2 {
        padding-bottom: 20px;
    }
    .num {
        padding-top: 20px;
    }
}

// YouTube
.video-block .block {
    padding: 22px 5px 0px 25px;
}

// Каталог
//
.tm-catalog-filter {
    .form-label {
        font-size: 13px;
    }
    .dropdown-menu .dropdown-item {
        font-size: 13px;
    }
    .form-select option {
        font-size: 13px;
    }
    .bs-searchbox {
        padding: 10px 15px !important;
    }
    select, input, textarea {
        height: 36px;
    }

    // Панель фильтров
    > .bg-light {
        margin-bottom: 8px !important;
        background: #fff !important;
        border: 1px solid #E8E6F2;
        border-radius: 16px !important;
        box-shadow: 0 2px 10px rgba(30, 31, 75, .05);
    }
    .form-label {
        margin-bottom: 4px;
        font-weight: 600;
        color: #5B5C80;
    }
    .form-select,
    .form-control,
    .bootstrap-select > .dropdown-toggle {
        height: 35px !important;
        border: 1px solid #E1DFEE !important;
        border-radius: 10px !important;
        background-color: #fff !important;
        color: #1E1F4B;
        box-shadow: none;
        transition: border-color .15s, box-shadow .15s;
        &:hover { border-color: #C9C6DD !important; }
        &:focus {
            border-color: #FF620A !important;
            box-shadow: 0 0 0 3px rgba(255, 98, 10, .15) !important;
            outline: 0;
        }
    }
    .bootstrap-select.show > .dropdown-toggle {
        border-color: #FF620A !important;
        box-shadow: 0 0 0 3px rgba(255, 98, 10, .15) !important;
    }
    .dropdown-menu {
        border: 1px solid #E8E6F2;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(30, 31, 75, .12);
        .dropdown-item.active,
        .dropdown-item:active {
            background: #FFE9DC;
            color: #FF620A;
        }
    }
    // Поля «от — до»
    .input-group {
        > .form-control,
        > .form-select {
            border-radius: 0 !important;
        }
        > :first-child { border-radius: 10px 0 0 10px !important; }
        > :last-child { border-radius: 0 10px 10px 0 !important; }
        > :not(:first-child) { margin-left: -1px; }
        > .form-control:focus,
        > .form-select:focus { z-index: 3; }
    }
    .input-group-text {
        height: 35px;
        padding: 0 10px;
        border: 1px solid #E1DFEE;
        background: #F7F6FC;
        color: #8A8BA8;
        font-size: 12px;
    }
    #search_form {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        // Отступ между строками полей
        > .row { row-gap: 8px; }
    }
    #searchButton {
        margin-top: 25px !important;
        min-width: 240px;
        padding: 10px 28px;
        border: 0;
        border-radius: 10px;
        background: #FF620A;
        font-weight: 600;
        box-shadow: 0 6px 16px rgba(255, 98, 10, .25);
        &:hover { background: #E55500; }
    }
    // Быстрые ссылки под фильтром
    .link_btn {
        padding: 5px 12px;
        border: 1px solid #E1DFEE;
        border-radius: 20px;
        background: #fff;
        color: #1E1F4B;
        &:hover {
            border-color: #FF620A;
            background: #FFF4EE;
            color: #FF620A;
        }
    }
}
.tm-catalog-items {
    .row {
        margin: 0;
    }
    .table {
        td {
            padding-right: 10px;
            padding-left: 0;
        }
    }
}
.tm-catalog-items__complect {
    padding: 7px 0;
    font-size: 13px;
}
.tm-catalog-items__param {
    font-weight: 600;
}

.tm-catalog-items__param__btn--send a {
    width: 45%;
    margin-right: 5px;
}

@media (max-width: 768px) {
    .tm-catalog-items__param__btn--send {
        display: block;
        margin: 10px 0;
        a {
            width: 100%;
            margin-right: 0;
        }
    }
    .tm-catalog-items__param__btn--other {
        a {
            width: 49%;
        }
    }
    .s-question .wrap-ban {
        padding: 10px 20px;
    }
}

// Карточка авто в списке каталога
.car-card {
    border: 1px solid #E8E6F2 !important;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(30, 31, 75, .05);
    transition: box-shadow .2s, transform .2s;
    &:hover {
        box-shadow: 0 10px 30px rgba(30, 31, 75, .12);
        transform: translateY(-2px);
    }
    > .col-md-3 img {
        width: 100%;
        height: 100%;
        transition: transform .3s;
    }
    &:hover > .col-md-3 img {
        transform: translate(-50%, -50%) scale(1.04) !important;
    }
    .tm-catalog-items__name {
        font-size: 20px;
        font-weight: 700;
        a {
            color: #1E1F4B;
            text-decoration: none;
            &:hover { color: #FF620A; }
        }
    }
    .tm-catalog-items__complect {
        display: inline-block;
        margin: 8px 0 12px;
        padding: 3px 10px;
        border-radius: 20px;
        background: #F2F1FD;
        color: #5B5C80 !important;
        font-size: 12px;
    }
    .table { margin-bottom: 0; }
    .table td {
        padding: 5px 12px 5px 0;
        font-size: 13px;
        font-weight: 600;
        color: #1E1F4B;
        vertical-align: top;
    }
    // Характеристики в три столбца
    > .col-md-5 .table tbody {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 12px;
    }
    > .col-md-5 .table tr { display: contents; }
    > .col-md-5 .table td {
        display: block;
        padding-right: 0;
        overflow-wrap: anywhere;
    }
    @media (max-width: 420px) {
        > .col-md-5 .table tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    .tm-catalog-items__param {
        display: block;
        padding-bottom: 5px;
        font-size: 11px;
        font-weight: 400;
        color: #8A8BA8;
        i {
            width: 16px;
            margin-right: 5px;
            color: #FF620A;
            text-align: center;
        }
    }
    .tm-catalog-items__price {
        background: #F7F6FC !important;
        display: flex;
        flex-direction: column;
        .h5 { font-weight: 700; }
        .table td { font-size: 14px; font-weight: 400; vertical-align: middle; }
        .table td.text-end {
            font-size: 18px;
            font-weight: 700;
            white-space: nowrap;
        }
        .price-key {
            display: inline-block;
            margin-top: 4px;
            padding: 1px 8px;
            border-radius: 20px;
            background: #FFE9DC;
            color: #FF620A;
            font-size: 11px;
            font-weight: 600;
        }
    }
    .btn {
        border-radius: 10px;
        padding: 8px 14px;
        font-weight: 600;
        border: 0;
        margin-top: 6px;
    }
    .tm-catalog-items__param__btn--send {
        margin-top: auto;
    }
    .tm-catalog-items__param__btn--send a {
        width: 100%;
        margin-right: 0;
        background: #FF620A;
        &:hover { background: #E55500; }
    }
    .tm-catalog-items__param__btn--other {
        display: flex;
        gap: 6px;
        a { flex: 1; }
        .btn-danger {
            background: #fff;
            color: #1E1F4B;
            border: 1px solid #D9D7E8;
            &:hover { border-color: #FF620A; color: #FF620A; }
        }
        .btn-dark {
            background: #ECEBF5;
            color: #1E1F4B;
            &:hover { background: #E0DEEE; }
        }
    }
}

// Каталог марки
//
.tm-catalog-marka {
    h1 {
        color: #030018;
        font-size: 25px;
    }
}

// Листинг карточек
.price-key{
    display: block;
    font-size: 11px;
    font-weight: 600;
}

// Карточка машины
//
.tm-table-letter {
    padding-right: 10px;
    display: inline-block;
    width: 40px;
}
.items-start {
    padding-bottom: 5px;
}

.tm-catalog-item {
    .tm-catalog-item__param {
        font-weight: 600;
    }
    .tm-catalog-item__link {
        height: 25px;
        padding: 3px 10px;
        font-size: 12px;
        margin: 0 10px;
    }
    .show-prices{
        color: #ed1a14;
        font-size: 14px;
        text-decoration: underline;
    }
    .prices {
        .row{
            padding: 0 3px;
        }
        p {
            margin-bottom: 5px;
            font-size: 14px;
        }
        .prices-kurs{
            font-size: 12px;
        }
    }
    .text-privacy{
        font-size: 12px;
    }
}

@media only screen and (max-width: 580px) {
    .fotorama {
        margin-bottom: 15px;
    }
}

// Форма заявки
//
.tingle-modal {
    .btn {
        height: 100%;
    }
}
.tingle-modal-box__footer {
    display: none;
}

// Убираем логотип каптчи
.grecaptcha-badge {
    visibility: hidden !important;
}

.wrap-ul-mobile {
    display: none;
    position: absolute;
    top: 130%;
    background: rgb(255, 255, 255);
    width: 200px;
    border-radius: 20px;
}

.wrap-ul-mobile li {
    margin: 10px 0;
}

// Формы в каталоге
//
input,
textarea,
select {
    text-indent: 5px;
}
.form-select,
.form-control,
.filter-option-inner-inner {
    font-size: 12px;
    color: #585c5e;
    padding: 0 0.4rem;
}
.bootstrap-select > .dropdown-toggle {
    padding-top: 10px;
    color: #585c5e;
}
.bootstrap-select .btn {
    --bs-btn-padding-x: 1.2rem !important;
}
.bootstrap-select button {
    height: 35px !important;
}
.bootstrap-select .btn{
    padding-left: 5px;
}

// Баг с выпадающим списком фильтра
.dropdown-menu {
    max-height: 300px !important;
    margin-bottom: 10px;
    .inner {
        max-height: 230px !important;
    }
}

.dropdown-menu {
    max-width: 300px !important;
    overflow-x: auto !important;
}

ul.dropdown-menu {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

// Футер
footer {
    margin-top: 30px;
    padding: 30px 0 20px;
    .item {
        padding-top: 20px;
    }
}

// Виджет
.messenger-widget {
        position: fixed;
        right: 30px;
        bottom: 30px;
        z-index: 9999;
}
/* Главная кнопка */
.main-button {
        width: 55px;
        height: 55px;
        background: #64c03a;
    /* новый цвет */
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
}
.main-button svg {
        width: 26px;
        height: 26px;
}
/* Волны */
.main-button::before, .main-button::after {
        content: "";
        position: absolute;
        border: 1px solid #64c03a;
    /* новый цвет */
        border-radius: 50%;
        top: -15px;
        left: -15px;
        right: -15px;
        bottom: -15px;
        animation: pulse 2.5s infinite;
        opacity: 0;
}
.main-button::after {
        animation-delay: 1.3s;
}
    @keyframes pulse {
        0% {
            transform: scale(0.5);
            opacity: 0;
    }
        50% {
            opacity: 1;
    }
        100% {
            transform: scale(1.3);
            opacity: 0;
    }
}
/* Кнопки мессенджеров */
.messenger-btn {
        position: absolute;
        right: 5px;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
}
.messenger-btn svg {
        width: 26px;
        height: 26px;
        fill: #fff;
}
/* WhatsApp */
.whatsapp {
        background: #25D366;
        bottom: 125px;
}
/* Telegram */
.telegram {
        background: #2aabee;
        bottom: 180px;
}
.telegram svg{
    width: 40px;
    height: 40px;
}
/* Активное состояние */
.messenger-widget.active .messenger-btn {
        opacity: 1;
        pointer-events: auto;
}
.max svg {
    width: 45px;
    height: 45px;
}
/* MAX */
.max {
    background: transparent;
    bottom: 70px;
    width: 45px;
    height: 45px;
    padding: 0;
}

//
// Новые преимущества
// Преимущества на первом экране каталога
.b-advantages {
    gap: 16px !important;
}
.b-advantages .block{
    flex: 1 1 0;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: background .2s, border-color .2s;
    &:hover {
        background: rgba(255, 255, 255, .1);
        border-color: rgba(255, 98, 10, .5);
    }
    // Иконка (Font Awesome)
    &::before {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
        border-radius: 12px;
        background: rgba(255, 98, 10, .15);
        color: #FF620A;
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 18px;
        content: "\f3ed"; // shield-halved
    }
    &:nth-child(2)::before { content: "\f02b"; } // tag
    &:nth-child(3)::before { content: "\f48b"; } // truck-fast
    &:nth-child(4)::before { content: "\f2b5"; } // handshake
    p{
        margin-top: 0;
        margin-bottom: 6px;
        &:last-child { margin-bottom: 0; }
    }
    strong {
        font-size: 14px !important;
        line-height: 1.25 !important;
        br { display: none; }
    }
    span{
        font-size: 12px;
        line-height: 1.45;
        opacity: .85;
    }
}
@media only screen and (max-width: 991px) {
    .b-advantages .block { flex: 0 1 calc(50% - 8px); }
}
@media only screen and (max-width: 575px) {
    .b-advantages .block {
        flex: 100%;
        &::before { margin: 0 auto 10px; }
    }
}

//
// Старые стили с картинками
.offer.btns-style {
    background: url('/static/uploads/2023/11/bg-new-1.jpg') no-repeat;
    background-size: cover;
    background-position: top;
    position: relative;
    padding-top: 60px;
    padding-bottom: 75px;
}
.offer.btns-style:before,
.offer.btns-style:after {
    content: "";
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
}

.offer.btns-style:after {
    background-image: url('/static/img/bg/circles-2.png');
    bottom: 0;
    right: 0;
    width: 38%;
    height: 38%;
    background-position: bottom;
}
@media only screen and (max-width: 580px) {
    .offer.btns-style {
        background: url('/static/uploads/2023/11/bg-new-1.jpg') no-repeat center;
        background-size: cover;
    }
}

.korea:before {
    background-image: url('/static/img/bg/korea-optimized.webp') !important;
    background-size: 100%;
    background-position: top right;
    padding-top: 0;
    padding-bottom: 0;
    width: 60%;
    max-width: 960px;
    height: 75%;
    display: block;
    position: absolute;
    z-index: -1;
    right: 0;
    top: 10%;
}
.japan:before {
    background-image: url('/static/img/bg/japan-optimized.png') !important;
    background-size: 100%;
    background-position: top right;
    padding-top: 0;
    padding-bottom: 0;
    width: 60%;
    max-width: 960px;
    height: 75%;
    display: block;
    position: absolute;
    z-index: -1;
    right: 0;
    top: 10%;
}
.china:before {
    background-image: url('/static/img/bg/china-optimized.webp') !important;
    background-size: 100%;
    background-position: top right;
    padding-top: 0;
    padding-bottom: 0;
    width: 60%;
    max-width: 960px;
    height: 75%;
    display: block;
    position: absolute;
    z-index: -1;
    right: 0;
    top: 10%;
}
.korea:after {
    display: none;
}
.japan:after {
    display: none;
}
.china:after {
    display: none;
}
.germany:before {
    background-image: url('/static/img/bg/germany-optimized.webp') !important;
    background-size: 100%;
    background-position: top right;
    padding-top: 0;
    padding-bottom: 0;
    width: 60%;
    max-width: 960px;
    height: 75%;
    display: block;
    position: absolute;
    z-index: -1;
    right: 0;
    top: 10%;
    left: auto;
    bottom: auto;
    background-repeat: no-repeat;
    opacity: .85;
}
.germany:after {
    display: none;
}
.offer.btns-style.japan-bike:before {
    background-image: url('/static/img/bg/japan-bike-optimized.webp') !important;
    background-size: 100%;
    background-position: top right;
    padding-top: 0;
    padding-bottom: 0;
    width: 60%;
    max-width: 960px;
    height: 75%;
    display: block;
    position: absolute;
    z-index: -1;
    right: 0;
    top: 10%;
    left: auto;
    bottom: auto;
    background-repeat: no-repeat;
    opacity: .85;
}
.offer.btns-style.japan-bike:after {
    display: none;
}

@media only screen and (max-width: 580px) {
    .korea:before{
        display: none;   
    }
    .japan:before{
        display: none;   
    }
    .china:before{
        display: none;   
    }
    .germany:before{
        display: none;   
    }
    .offer.btns-style.japan-bike:before{
        display: none;   
    }
}

//
// Персональные данные
.privacy{
    .page-content p{
        font-size: 13px;
        text-align: left;
    }
}

//
// Форма заявки
.form-popup {
    max-width: 600px;
    padding: 40px 60px;
    .alert-warning{
        color: #ffa217;
    }
    .form-popup .des {
        margin-bottom: 20px;
    }
}

//
// Марки
.marki{
	margin: 20px 0 40px;
    background: #F7F6FC !important;
    h2 {
        font-weight: 700;
        color: #1E1F4B;
    }
	.text-body{
		padding: 12px 10px;
		border: 1px solid #E8E6F2;
		border-radius: 12px;
        background: #fff;
        font-size: 14px;
        font-weight: 600;
        color: #1E1F4B !important;
        transition: color .15s, border-color .15s, box-shadow .15s, transform .15s;
        &:hover{
            border-color: #FF620A;
            color: #FF620A !important;
            box-shadow: 0 6px 16px rgba(30, 31, 75, .08);
            transform: translateY(-2px);
        }
    }
}

// SEO-текст под каталогом
.seo-text {
    > .container { max-width: 900px; }
    .container > .row > div {
        font-size: 15px;
        line-height: 1.65;
        color: #3B3C5E;
    }
    h1, h2, h3 {
        margin: 32px 0 12px;
        font-weight: 700;
        line-height: 1.25;
        color: #1E1F4B;
    }
    h1, h2 { font-size: 24px; }
    h3 { font-size: 19px; }
    p { margin: 0 0 14px; }
    ul, ol { margin: 0 0 16px; padding-left: 22px; }
    li { margin-bottom: 6px; }
    // Маркеры-точки (системные маркеры на сайте отключены)
    ul { list-style: none; }
    ul > li {
        position: relative;
        list-style: none;
        &::before {
            content: "";
            position: absolute;
            left: -18px;
            top: .6em;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #FF620A;
        }
    }
    ol > li { list-style: decimal; }
    ol > li::marker {
        color: #FF620A;
        font-weight: 700;
    }
    a {
        color: #FF620A;
        text-decoration: underline;
        text-underline-offset: 3px;
    }
    table {
        width: 100%;
        margin: 0 0 16px;
        border-collapse: collapse;
        font-size: 14px;
        td, th {
            padding: 8px 12px;
            border: 1px solid #E8E6F2;
        }
        th { background: #F7F6FC; }
    }
}

// Форма заявки в модальном окне каталога
.tingle-modal.custom-class-1 {
    .tingle-modal-box {
        width: min(640px, calc(100% - 32px));
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
    }
    .tingle-modal-box__content { padding: 32px 36px 28px; }
    h3 {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0 0 6px !important;
        font-size: 22px;
        line-height: 1.25;
        color: #1E1F4B;
        i {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: #FFE9DC;
            color: #FF620A;
            font-size: 18px;
        }
    }
    #contact_form { margin-bottom: 0 !important; }
    // Раскладка: телефон + кнопка в ряд, согласие ниже
    #contact_form > .row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px;
        margin: 12px 0 0 !important;
        > [class*="col-"] {
            width: auto !important;
            max-width: none !important;
            margin-top: 0 !important;
            padding: 0 !important;
        }
        > .col-md-9 { flex: 1 1 240px !important; }
        > .col-md-3 { flex: 0 0 170px !important; }
        > .col-md-12 { flex: 1 1 100% !important; }
    }
    @media (max-width: 575px) {
        .tingle-modal-box__content { padding: 24px 20px; }
        h3 { font-size: 18px; }
        #contact_form > .row > .col-md-3 { flex: 1 1 100% !important; }
    }
    .form-control {
        height: 48px;
        padding: 0 16px;
        border: 1px solid #E1DFEE;
        border-radius: 12px;
        font-size: 15px;
        color: #1E1F4B;
        &:focus {
            border-color: #FF620A;
            box-shadow: 0 0 0 3px rgba(255, 98, 10, .15);
        }
    }
    #submit_button {
        height: 48px;
        border: 0;
        border-radius: 12px;
        background: #FF620A;
        font-weight: 600;
        box-shadow: 0 6px 16px rgba(255, 98, 10, .25);
        &:hover { background: #E55500; }
    }
    label {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-top: 6px;
        font-size: 12px;
        line-height: 1.4;
        color: #8A8BA8;
        cursor: pointer;
        input[type="checkbox"] {
            float: none !important;
            flex: 0 0 auto;
            width: 16px;
            height: 16px;
            margin: 1px 0 0 !important;
            accent-color: #FF620A;
        }
    }
}

// Перелинковка
.link_btn{
    margin-right: 10px;
}

// Карточка авто
ul.timeline-3 {
    list-style-type: none;
    position: relative;
}
ul.timeline-3:before {
    content: " ";
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}
ul.timeline-3 > li {
    margin: 20px 0;
    padding-left: 50px;
}
ul.timeline-3 > li:before {
    content: " ";
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #22c0e8;
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}

ul.timeline-3 .number {
    border: 2px black solid;
    background-color: white;
    padding: 3px 10px;
    font-size: 18px;
    border-radius: 5px;
}

.list-checked-green {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.list-checked-green--cols-2 {
    column-count: 2;
    column-gap: 1.5rem;
    padding-bottom: 30px;
    padding-top: 10px;
}

@media (max-width: 575px) {
    .list-checked-green--cols-2 {
        column-count: 1;
    }
}

.list-checked-green li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    break-inside: avoid;
    font-size: 12px;
}

.list-checked-green li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #198754;
    font-weight: 700;
}

.control .section-wrap .item {
    height: 200px;
}

.header-lu:before {
    top: 68%;
}

// Счётчик найденных авто в каталоге
.tm-found {
    font-size: 15px;
    color: #5B5C80;
    b {
        font-weight: 700;
        color: #1E1F4B;
    }
}

// Согласие на обработку ПД в формах заявки
:not(.check-block) > label:has(> input[type="checkbox"][value="Согласен"]) {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.35;
    color: #8A8BA8;
    cursor: pointer;
    > input[type="checkbox"] {
        float: none !important;
        flex: 0 0 auto;
        width: 15px;
        height: 15px;
        margin: 1px 0 0 !important;
        accent-color: #FF620A;
    }
    a { color: #FF620A !important; }
}

// Сортировка в каталоге — в стиле фильтров
.tm-catalog-items #sort_by {
    height: 35px;
    border: 1px solid #E1DFEE;
    border-radius: 10px;
    background-color: #fff;
    font-size: 13px;
    color: #1E1F4B;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
    &:hover { border-color: #C9C6DD; }
    &:focus {
        border-color: #FF620A;
        box-shadow: 0 0 0 3px rgba(255, 98, 10, .15);
        outline: 0;
    }
}

// Блок «Оставьте заявку на расчет стоимости»
.s-question {
    .ban {
        border: 1px solid #E8E6F2;
        border-radius: 24px;
        background: linear-gradient(120deg, #fff 55%, #FFF4EE 100%);
        box-shadow: 0 12px 40px rgba(30, 31, 75, .08);
    }
    .wrap-ban { padding: 44px 56px 48px; }
    h3 {
        margin-bottom: 12px;
        font-size: 30px;
        font-weight: 800;
        line-height: 1.15;
        color: #1E1F4B;
    }
    .wrap-ban > p {
        max-width: 460px;
        font-size: 16px;
        line-height: 1.5;
        color: #5B5C80;
    }
    .button-block { margin-top: 28px; }
    .button {
        width: auto;
        min-width: 260px;
        padding: 15px 32px;
        border-radius: 12px;
        font-size: 16px;
        box-shadow: 0 8px 20px rgba(255, 98, 10, .28);
        &:hover {
            background: #1E1F4B;
            border-color: #1E1F4B;
            color: #fff;
        }
    }
}
@media only screen and (max-width: 767px) {
    .s-question {
        .ban { border: 0; background: none; box-shadow: none; }
        .wrap-ban {
            padding: 32px 20px 36px;
            border: 1px solid #E8E6F2;
            border-radius: 20px;
            box-shadow: 0 12px 40px rgba(30, 31, 75, .08);
        }
        h3 { font-size: 24px; }
        .button { width: 100%; min-width: 0; }
    }
}

// Форма заявки на странице авто (тёмный блок)
.bg-dark #contact_form {
    > .row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px;
        margin: 0 !important;
        > [class*="col-"] {
            width: auto !important;
            max-width: none !important;
            margin-top: 0 !important;
            padding: 0 !important;
        }
        > .col-md-9 { flex: 1 1 200px !important; }
        > .col-md-3 { flex: 0 0 150px !important; }
        > .col-md-12 { flex: 1 1 100% !important; }
    }
    .form-control,
    .btn {
        height: 44px;
        border-radius: 10px;
    }
    .form-control { border: 0; }
    .btn {
        border: 0;
        background: #FF620A;
        font-weight: 600;
        &:hover { background: #E55500; }
    }
    label:has(> input[type="checkbox"][value="Согласен"]) {
        color: rgba(255, 255, 255, .7);
    }
}
@media (max-width: 575px) {
    .bg-dark #contact_form > .row > .col-md-3 { flex: 1 1 100% !important; }
}

// Заголовок первого экрана
@media screen and (min-width: 992px) {
    .offer-content__title {
        font-size: 45px;
        line-height: 55px;
    }
}

// Перелинковка под фильтром — по центру
.tm-catalog-filter > .my-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    .link_btn { margin: 0 !important; }
}

// Тезисы на первом экране каталога
.offer-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 17px;
        font-weight: 500;
        color: #fff;
    }
    i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #FF620A;
        color: #fff;
        font-size: 12px;
    }
}
.offer-control {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin: 0 0 16px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-left: 3px solid #FF620A;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 14px;
    color: rgba(255, 255, 255, .9);
    i { color: #FF620A; }
}
// Компоновка первого экрана по высоте
.offer-content {
    .gap-50 { gap: 32px !important; }
    .offer-content__title {
        margin: 0;
        p { margin: 0; }
    }
    .offer-points { margin-top: 18px; }
    .offer-btns {
        display: block;
        margin-top: 28px;
        margin-bottom: 0;
        text-align: left;
    }
}
@media only screen and (max-width: 575px) {
    .offer-points {
        flex-direction: column;
        gap: 8px;
        li { font-size: 15px; }
    }
    .offer-control { font-size: 14px; }
}

// Иконка лупы на кнопке фильтра (текст кнопки меняет скрипт, поэтому через ::before)
#searchButton::before {
    content: "\f002";
    margin-right: 8px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .9em;
}

// Иконка на кнопке «Оставить заявку» в карточке авто
.car-card .tm-catalog-items__param__btn--send a::before {
    content: "\f1d8"; // paper-plane
    margin-right: 8px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .9em;
}
