body {
    overflow-x: hidden !important;
}

.message {
    border: 1px solid #ececec;
    width: 100%;
    display: flex;
    padding: 41px 20px;
    background-color: #2b2b2b;
    justify-content: space-between;
    align-items: center;
}

.popup-window-content {
    color: #000;
}

body div.bx-green .btn.btn-default {
    color: #000 !important;
}

.grid.grid-cols-2.gap-5.text-center.\*\:space-y-3.\*\:px-4.\*\:py-8.\*\:ring-\[0\.38px\].\*\:ring-inset.\*\:ring-\[\#545454\].xl\:grid-cols-4 img {
    width: 88%;
    height: auto;
    margin: auto;
}

/*Доделываем таблицу на странице купить в рассрочку 02.08.2024*/
/*
@media (max-width: 767px) {
    .table-adaptive tr {
        display: flex;
        flex-flow: column;
    }
}

@media (max-width: 767px) {
    .table-adaptive .rotate-mob {
        padding: 0 !important;
        transform: rotate(90deg);
    }
}

@media (max-width: 767px) {
    .table-adaptive .rotate-mob p {
        padding: 0 !important;
        margin: 0 !important;
    }
}
*/
.swiper-wrapper {
    height: auto !important;
}

.swiper-main .swiper-pagination-bullet {
    position: relative;
    background: rgba(0, 0, 0, .1);
    width: 20px;
    height: 20px;
    opacity: 1;
}

.swiper-main .swiper-pagination-bullet-active {
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.swiper-main .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -5px 0 0 -5px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 100%;
    transition: all .3s ease;
}

.swiper-main .swiper-button-prev, .swiper-main .swiper-button-next {
    width: 64px;
    height: 64px;
    background-color: #ffffff;
    border-radius: 100%;
    transition: all .3s ease-in-out;
}

.swiper-main .swiper-button-prev:hover, .swiper-main .swiper-button-next:hover {
    background-color: #e5e7eb;
    transition: all .3s ease-in-out;
}

.swiper-main .swiper-button-prev::after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='19' viewBox='0 0 12 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: %23141515; fill-rule: evenodd; %7D %3C/style%3E%3C/defs%3E%3Cpath d='M9.72973 19L12 16.7833L4.54054 9.5L12 2.21667L9.72973 0L0 9.5L9.72973 19Z' class='cls-1' /%3E%3C/svg%3E%0A");
    background-position: 0 0;
    width: 12px;
    height: 19px;
}


.swiper-main .swiper-button-next::after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='19' viewBox='0 0 12 19' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: %23141515; fill-rule: evenodd; %7D %3C/style%3E%3C/defs%3E%3Cpath d='M9.72973 19L12 16.7833L4.54054 9.5L12 2.21667L9.72973 0L0 9.5L9.72973 19Z' class='cls-1' /%3E%3C/svg%3E%0A");
    background-position: 0 0;
    width: 12px;
    height: 19px;
    transform: rotate(180deg);
}


.swiper-main:not(:hover) .swiper-button-next, .swiper-main:not(:hover) .swiper-button-prev {
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in-out;
}

.swiper-main:hover .swiper-button-next {
    right: 26px;
}

.swiper-main:hover .swiper-button-prev {
    left: 26px;
}

.swiper-main__img--mobile {
    display: none;
}

.special-offers {
    grid-area: 1 / 2 / 1 / 4;
}

@media screen and (max-width: 1280px) {
    .special-offers {
        grid-area: initial;
    }
}

@media screen and (max-width: 768px) {
    .swiper-main .swiper-button-prev, .swiper-main .swiper-button-next {
        display: none;
    }

    .swiper-main__img--desctop {
        display: none;
    }

    .swiper-main__img--mobile {
        display: block;
    }
}

.js-basket-block .count {
    position: absolute;
    right: 0;
    top: 7px;
    left: 15px;
    margin: -11px 0 0;
    width: 18px;
    height: 17px;
    font-size: 0.8em;
    line-height: 17px;
    color: #fff;
    border-radius: 100%;
    text-align: center;
    box-shadow: none;
}

.js-basket-block {
    position: relative;
}

@media screen and (max-width: 768px) {
    .js-basket-block .count {
        top: 7px;
        left: 15px;
        min-width: 16px;
        height: 15px;
        line-height: 16px;
        font-size: 0.667em;
        padding: 0 4px;
        right: unset;
        width: unset;
    }

}

.characteristic__items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.characteristic__item {
    display: flex;
    gap: 10px;
}

.characteristic__item-left {
    display: flex;
    width: 40%;
    flex: 0 0 auto;
    gap: 10px;
}

.characteristic__item-text {
    background: #ffffff;
    z-index: 1;
}

.characteristic__poitns {
    position: relative;
    flex: 1 1 auto;
}

.characteristic__poitns::after {
    border-bottom: 1px dashed #000000;
    content: "";
    flex-grow: 1;
    min-width: 100%;
    position: absolute;
    right: 0;
    top: 1em;
}


.header__logo--mobile {
    display: none;
}

@media not all and (min-width: 1280px) {
    .header__logo--mobile {
        display: block;
    }

    .header__logo--desktop {
        display: none;
    }

    .header__left {
        display: flex;
        align-items: center;
        gap: 18px;
    }
}

.info__item-more-text--mobile {
    display: none;
}

@media screen and (max-width: 991px) {
    .characteristic__item {
        flex-direction: column;
        gap: 2px;
    }

    .characteristic__items {
        gap: 8px;
    }
}

@media not all and (min-width: 992px) {
    .info__item-more-text--desktop {
        display: none;
    }

    .info__item-more-text--mobile {
        display: block;
    }

    .info__item:has(.info__item-btn[href="#specs"]) .info__item-more {
        display: none;
    }

    .info__item:has(.info__item-btn[href="#specs"]) .info__item-content {
        height: auto !important;
    }

}

.js-select-offer {
    padding: 2px;
}

.packaging-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.packaging-switch .switch__item {
    cursor: pointer;
    border: 1px solid lightgray;
    padding: 4px;
    font-size: 14px;
    flex: 1 1 calc(50% - 2px);
}

.packaging-switch .switch__item--active {
    border-color: #000000;
    background: #000000;
    color: #ffffff;
}


.picture-view .switch__item {
    box-shadow: 0px 0px 0px 2px rgba(34, 60, 80, 1) !important;
}


.picture-view .switch__item--active {
    box-shadow: 0px 0px 0px 4px rgba(34, 60, 80, 1) !important;
}

.picture-view {
    padding-left: 4px;
}

@media screen and (max-width: 1279px) {
    .packaging-switch .switch__item {
        flex: 0 0 auto;
    }
}


@media screen and (max-width: 425px) {
    .packaging-switch .switch__item {
        flex: 1 1 auto;
    }
}

.swiper-thumbs .swiper-slide {
    width: 80px !important;
}

@media screen and (min-width: 1280px) {
    .fz-15px {
        font-size: 15px;
    }

    .fz-16pt {
        font-size: 16pt;
    }

    .fz-15pt {
        font-size: 15pt;
    }

    .fz-14pt {
        font-size: 14pt;
    }

    .fz-13pt {
        font-size: 13pt;
    }
}

.card .picture-view .switch__item {
    width: 24px;
    height: 24px;
}

.button-scroll-up--hidden {
    display: none;
}

.grecaptcha-badge {
    display: none;
}

.js-link-to-basket {
    text-align: center;
    grid-column: 1 / 3;
}

.js-link-to-basket::before {
    content: '';
    display: inline-block;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='11' height='8' viewBox='0 0 11 8'%3e%3cdefs%3e%3cstyle%3e .cls-1 %7b fill: %23fff; fill-rule: evenodd;%7d %3c/style%3e%3c/defs%3e%3cpath id='Rounded_Rectangle_1064' data-name='Rounded Rectangle 1064' class='cls-1' d='M1408.83,622.835l-6.98,7v0.017a0.51,0.51,0,0,1-.36.144,0.421,0.421,0,0,1-.06-0.011,0.511,0.511,0,0,1-.3-0.133l-3.01-3.029a0.5,0.5,0,0,1,0-.7,0.522,0.522,0,0,1,.72,0l2.65,2.67,6.64-6.664a0.5,0.5,0,0,1,.7,0A0.5,0.5,0,0,1,1408.83,622.835Z' transform='translate(-1398 -622)'/%3e%3cscript xmlns=''/%3e%3c/svg%3e");
    width: 11px;
    height: 8px;
    margin-right: 10px;
}

.card-bottom-add-basket {
    width: 100%;
}

.logo-center{
  position: absolute;
  left: 50%;
  transform: translateX(calc(-50% - 25px));
}

.logo-center__list{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

/* "слот" — это либо <a>, либо прямой <img> */
.logo-center__list > :is(a, img){
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* размеры слотов: 1-й / 2-й / 3-й */
.logo-center__list > :is(a, img):nth-child(1){
  width: 150px;
  flex-basis: 150px;
}
.logo-center__list > :is(a, img):nth-child(2){
  width: 125px;
  flex-basis: 125px;
}

/* общие правила (как было) */
.logo-center__list > img,
.logo-center__list > a > img{
  width: 100%;
  max-width: 100%;
  height: 32px;        /* базово */
  object-fit: contain;
  display: block;
  margin: 0 !important;
}

/* правый логотип (3-й слот): ширина 160 и высота 40 */
.logo-center__list > :is(a, img):nth-child(3){
  width: 120px;
  flex-basis: 120px;
}


.logo-center__list > img:nth-child(3),
.logo-center__list > a:nth-child(3) > img{
  height: 40px;        /* увеличиваем именно картинку */
}

@media screen and (min-width: 1280px) and (max-width: 1450px) {
    
    /* 1. Убираем лишнее смещение влево.
       В оригинале было translateX(calc(-50% - 25px)).
       Делаем ровно по центру, это сразу даст место слева. */
    .logo-center {
        transform: translateX(-50%) !important;
    }

    /* 2. Ставим средний отступ. 
       Было 100px (слишком много), предлагал 20px (слишком мало).
       Ставим 50px — логотипы будут дышать, но влезут в экран. */
    .logo-center__list {
        gap: 50px !important;
    }

    /* 3. Жестко фиксируем оригинальные большие размеры логотипов,
       чтобы они случайно не сжались */
    .logo-center__list > :is(a, img):nth-child(1) {
        width: 150px !important;
        flex-basis: 150px !important;
    }
    
    .logo-center__list > :is(a, img):nth-child(2) {
        width: 125px !important;
        flex-basis: 125px !important;
    }

    .logo-center__list > :is(a, img):nth-child(3) {
        width: 120px !important;
        flex-basis: 120px !important;
    }
}


.form-sending:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff url(/local/templates/moto/assets/double_ring.svg) center no-repeat;
    z-index: 1000;
    opacity: 0.8;
}

@media (max-width: 767px) {
    .chat-bottom.bottom-\[150px\].xl\:bottom-15 {
        bottom: 90px;
        transition: all 1s linear;
    }
}

.form-sending:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff url(/local/templates/moto/assets/double_ring.svg) center no-repeat;
    z-index: 1000;
    opacity: 0.8;
}

.colored-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--local-color);
    margin: 6px 8px 0 0;
    border-radius: 100%;
}

.product-amount {
    color: var(--local-color);
    white-space: nowrap;
}

.product-amount.touchable {
    cursor: pointer;
}

.product-amount .product-amount_title {
    vertical-align: middle;
    line-height: 15px;
    font-size: 16px;
    font-weight: 400;
}

.product-amount.green {
    --local-color: rgb(95, 168, 0);
}

.product-amount.gray {
    --local-color: rgb(119, 119, 119);
}

.js-button-scroll-up {
    padding: 1.25rem !important;
}

/** store-availability start **/
.stores-availability-list {
    position: relative;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
}

.store-availability {
    display: grid;
    grid-template-columns: 1fr min-content min-content;
    align-items: center;
    gap: 16px;

    margin: -2px 0 0;
    padding: 17px 23px 19px;
    border: 1px solid #ececec;
    border-radius: 3px;

    background: #fff;
}

.store-availability-info {
    font-size: 14px;
}

.store-availability-amount {
    --local-color: initial;
    font-size: 12px;
}

.stores-availability-list__mini .store-availability {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr min-content;
}

@media screen and (max-width: 551px) {
    .store-availability {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr min-content;
    }
}

.stores-availability-list_message {
    padding: 17px 23px 19px;
}

/** store-availability end **/

/** absolute-modal start **/
.absolute-modal {
    --local-horizontal-padding: 24px;
    position: absolute;
    left: 0;
    width: 275px;
    background: rgb(248, 248, 248);
    top: 25px;
    z-index: 12;
    box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.15);
    display: none;
    border-radius: 3px;
}

.absolute-modal.opened {
    display: block;
}

.absolute-modal_header {
    padding: 18px var(--local-horizontal-padding) 5px;
}

.absolute-modal_content .stores-availability-list {
    min-height: 100px;
    max-height: 400px;
}

@media screen and (max-width: 700px) {
    .absolute-modal.opened {
        display: none;
    }
}

/** absolute-modal end **/

.black-nav {
    background-color: #000 !important;
}

.black-nav__current {
    stroke: white !important;
    color: white !important;
}


.test-drive-card {
    padding: 1rem;
    margin-top: 0.625rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.test-drive-card img {
    width: 35px;
    height: 34px;
}

.test-drive-card__btn {
    font-weight: 700;
}

.test-drive__title {
    font-weight: 700;
}

.test-drive-card__footer {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 12px;
    padding: 8px 16px;
    background-color: black;
    color: white;
}



body:has(.smartbanner) {

.menu.fixed {
    top: calc(0% + 84px);
}

}


body:not(:has(header .menu.fixed.invisible)) div[modal-backdrop] {

    display: none;
}

body:not(:has(header .menu.fixed.invisible)) {

    overflow: hidden;
}
.new-header{
    height: fit-content !important;

}
.new-header__container{
    display: flex;
    flex-direction: column;
}
.new-header__top-line{
    /*background: linear-gradient(90deg,rgba(255, 0, 0, 1) 0%, rgba(107, 0, 0, 1) 31%, rgba(107, 0, 0, 1) 64%, rgba(255, 0, 0, 1) 100%);*/
    background: #F1F1F1;
    border-bottom-right-radius: 35px;
    border-bottom-left-radius: 35px;
    padding-block: 18.5px;
}

.new-header__top-line-services{
    display: flex;
    gap: 20px;
}

.new-header__dealers-map{
    display: flex;
    gap: 5px;
    align-items: center;
}
.new-header__testdrive{
    display: flex;
    gap: 5px;
    align-items: center;
}

.new-header__dealers-map svg{
    width: 24px;
    height: 24px;
}
.new-header__testdrive svg{
    width: 24px;
    height: 24px;
}

.new-header .new-header__phone > *{
}
.new-header .new-header__basket > *{
    padding-top: 0;
    padding-bottom: 0;
}

.new-header__right-icons {
  color: #000 !important;
}

.new-header__right-icons a,
.new-header__right-icons button {
  color: #000 !important;
}

/* SVG-иконки: stroke/fill в чёрный */
.new-header__right-icons svg,
.new-header__right-icons svg * {
  stroke: #000 !important;
}

/* Левая часть верхней линии (телефон/сервисы) */
.new-header__top-line-left {
  color: #000 !important;
}

.new-header__top-line-left a,
.new-header__top-line-left span {
  color: #000 !important;
}

.new-headerdealers-map svg{
  filter: brightness(0) saturate(100%);
}
.new-header__bottom-line-navigation{
    gap: 20px;
    margin-inline: auto;
}
.new-header__bottom-line{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.new-header__socials{
    display: flex;
    gap: 10px;
}
.new-header__top-line-left{
    align-items: center;
}
.new-header__top-line-border{
    height: 24px;
    width: 1px;
    background-color: black;
}
.new-header .new-header__logo{
    position: static;
    transform: translate(0);
    width: fit-content;
    align-self: center;
    padding-block: 15px;
}
.new-header .new-header__logo img{
    height: 60px;
}

.new-header .new-header__burger-menu{
    background-color: black;
    color: white;
}


/*<<<<<<< Updated upstream*/
.new-header .new-header__burger-menu-header{
    cursor: default;
}
.new-header .new-header__burger-menu-header *{
    cursor: pointer;
}


.new-header__testdrive img{
    width: 32px;
    height: 32px;
}

.new-header__basket{
    position: relative;
}
.new-header__basket .new-header__basket-count{
    position: absolute;
    left: 20px;
}
.new-header__burger-menu-header{
    align-items: center;
}

.new-header__burger-menu-close{
    transform: translateX(6px);
}

.new-header__right-icons{
    align-items: center;
}

/* --- СЕТКА (GRID) --- */
.mobile-logos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); 
    align-items: center;
    padding: 0 15px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* --- ЯЧЕЙКА --- */
.mobile-logo-item {
    display: flex;
    width: 100%;
    height: 40px; 
    position: relative;
}

/* --- ОБЕРТКА --- */
.logo-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo-wrap a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: inherit; 
}

/* --- СТИЛИ КАРТИНОК --- */
.mobile-logo-item img,
.mobile-logo-item svg {
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    line-height: 0;
    filter: brightness(1.15) saturate(1.2) drop-shadow(0 0 1px rgba(255,255,255,0.1));
}


/* ============================================================
   ТЕЛЕФОНЫ (MOBILE < 768px)
   ============================================================ */

/* 1. ЛЕВЫЙ (Cyclone) */
.mobile-logo-item:nth-child(1) .logo-wrap {
    justify-content: flex-start;
}
.mobile-logo-item:nth-child(1) .logo-wrap img,
.mobile-logo-item:nth-child(1) .logo-wrap svg {
    max-height: 100%; 
    max-width: 130px; 
    transform: none; 
}

/* 2. ЦЕНТРАЛЬНЫЙ (Ataki) */
.mobile-logo-item:nth-child(2) .logo-wrap {
    justify-content: center;
    /* Оставляем 14px, так как на телефоне это выглядело хорошо */
    padding-left: 14px; 
}
.mobile-logo-item:nth-child(2) .logo-wrap img,
.mobile-logo-item:nth-child(2) .logo-wrap svg {
    max-height: 40%; 
    max-width: 100%;
}

/* 3. ПРАВЫЙ (Cineco) */
.mobile-logo-item:nth-child(3) .logo-wrap {
    justify-content: flex-end; 
}
.mobile-logo-item:nth-child(3) .logo-wrap img {
    max-height: 85%; 
    max-width: 100%;
}


/* ============================================================
   ПЛАНШЕТЫ (TABLET >= 768px)
   ============================================================ */
@media (min-width: 768px) {
    
    .mobile-logo-item {
        height: 70px; 
    }

    /* 1. ЛЕВЫЙ */
    .mobile-logo-item:nth-child(1) .logo-wrap img,
    .mobile-logo-item:nth-child(1) .logo-wrap svg {
        max-height: 70%; 
        max-width: 170px; 
    }

    /* 2. ЦЕНТРАЛЬНЫЙ */
    .mobile-logo-item:nth-child(2) .logo-wrap {
        justify-content: center;
        padding-left: 20px; 
    }
    .mobile-logo-item:nth-child(2) .logo-wrap img,
    .mobile-logo-item:nth-child(2) .logo-wrap svg {
        /* ↓ УМЕНЬШИЛИ (было 45%) */
        max-height: 35%; 
    }

    /* 3. ПРАВЫЙ */
    .mobile-logo-item:nth-child(3) .logo-wrap img {
        transform: none; 
        /* ↓ УМЕНЬШИЛИ (было 75%) */
        max-height: 60%; 
    }
    
    .mobile-logos-grid {
        padding: 0 40px; 
        gap: 0; 
    }
}



.credit-add article:not(:first-child){
    margin-top: 75px !important;
}
.credit-add__intro {
    display: grid;
    grid-template-columns: 0.718fr 1fr;
    grid-template-rows: 0.1fr 0.85fr;
    row-gap: 45px;
    column-gap: 30px;
}

.credit-add__intro-info {
    flex: 1 1 50%;
}

.credit-add__intro-img {
    flex: 1 1 50%;
}

.credit-add__intro-img {
    width: 100%;
    height: auto;
    grid-column: 2;
    grid-row: span 2;
}

.credit-add__intro-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 17 / 14;
    /*!* object-position: -121px 0px;*/
    mask-image: url("/local/templates/moto/assets/photoMask.png");
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    /*transform: skew(-10deg, 0);*/
}

.credit-add__intro-title {
    font-size: 34px !important;
    grid-column: 1;
    grid-row: 1;
    margin-top: 45px;

}

/*.credit-add h2 {*/
/*    font-size: 20px !important;*/
/*    font-weight: 600 !important;*/
/*}*/
.credit-add__intro-description{
    font-size: 20px !important;
    font-weight: 500 !important;
}
.credit-add__advantages-title{
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.credit-add__conditions-title{

    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.credit-add__intro-main {
    grid-row: 2;
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 85px;
}

.credit-add__intro-info {
    padding-block: 45px;
}

.credit-add .advantages-card__title {
    font-size: 17px !important;
    font-weight: 700 !important;
}

.credit-add__advantages-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, max-content));
    grid-template-rows: 180px 180px;
    gap: 20px;
}

.credit-add .advantages-card {
    display: flex;
    flex-direction: column;
    padding: 35px 30px;
    gap: 30px;
    justify-content: flex-start;
    background-color: #F1F1F1;
    text-align: center;
}

.credit-add .advantages-card:first-child {
    gap: 15px;
}

.credit-add .advantages-card__description {
    font-size: 16px !important;
    font-weight: 400 !important;
}

.credit-add .conditions-card__title {
    font-size: 16px !important;
    font-weight: 700 !important;
}

.credit-add__conditions button {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.credit-add__conditions-swiper .swiper-wrapper{
    justify-content: space-between;
}

.credit-add__conditions-title {
    align-self: center;
    margin-bottom: 35px;
}

.credit-add__btn {
    align-self: center;
    margin-top: 35px;
    margin-inline: auto;
}

.credit-add__conditions-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    text-align: center;
    gap: 10px;
}

.credit-add__additional-terms {
    border: 1px solid #090909; 
    border-radius: 12px;    
    padding: 35px;            
    margin-top: 60px;        
    margin-bottom: 40px;      
    text-align: left;          
    background: transparent;   
    max-width: 1000px;         
    margin-inline: auto;       
}

.credit-add__additional-terms-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 20px;
    line-height: 1.3;
}

.credit-add__additional-terms-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.credit-add__additional-terms-content p:last-child {
    margin-bottom: 0;
}


@media screen and (max-width: 1023px) {


    .credit-add__conditions-swiper .swiper {
        overflow: visible;
    }
}

@media screen and (max-width: 768px) {
    .credit-add__conditions {
        /*width: calc(100% + 32px);*/
        /*padding: 0 16px;*/
        width: 90vw;
        /*transform: translateX(-16px);*/
        /*overflow: hidden;*/
    }
    .credit-add__conditions button{
        width: calc(100vw - 32px) !important;
        left: 0;
        transform: translateX(0);
    }
    .credit-add__conditions button {
        position: relative;
    }
    .credit-add article:not(:first-child){
        margin-top: 30px !important;
    }
    .credit-add__intro {
        display: flex;
        flex-direction: column;
    }

    .credit-add__intro-title {
        order: 1;
    }

    .credit-add__intro-img {
        order: 2;
    }
    .credit-add__intro-img img {
        aspect-ratio: 17/10;
    }

    .credit-add__intro-main {
        order: 3;
        gap: 30px;
    }

    .credit-add__intro-main button {
        width: 100%;
    }


    .credit-add__advantages-cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .credit-add__additional-terms {
        margin-top: 40px;
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .credit-add__additional-terms-title {
        font-size: 18px !important;
    }
}
.new-installment__steps-title{
    font-size: 24px !important;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    text-align: center;
}

.new-installment article:not(:first-child){
    margin-top: 75px !important;
}
.new-installment__intro {
    display: grid;
    grid-template-columns: 0.718fr 1fr;
    grid-template-rows: 0.1fr 0.85fr;
    row-gap: 45px;
    column-gap: 30px;
}

.new-installment__intro-img {
    width: 100%;
    height: auto;
    grid-column: 2;
    grid-row: span 2;
}

.new-installment__intro-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 17 / 14;
    /*!* object-position: -121px 0px;*/
    mask-image: url("/local/templates/moto/assets/photoMask.png");
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}

.new-installment__intro-title {
    font-size: 34px !important;
    grid-column: 1;
    grid-row: 1;
    margin-top: 45px;
    font-weight: 700 !important;

}

/*.new-installment h2{*/
/*    font-size: 20px !important;*/
/*    font-weight: 600 !important;*/
/*}*/
.new-installment__intro-main {
    grid-row: 2;
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 85px;
}

.new-installment__intro-description {
    font-size: 18px !important;
    font-weight: 500 !important;
}

.new-installment__intro-info {
    padding-block: 45px;
}

.new-installment__advantages-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*max-width: 200px;*/
}

.new-installment__advantages__content--mobile {
    width: calc(100% + 32px);
    /* padding: 0 16px; */
width: 91vw;
    /* transform: translateX(-16px); */
    /* overflow: hidden; */
    display: none;

}
.new-installment__advantages__content--mobile .advantages-card__title{
    text-align: center;
    color: #555555;
    font-size: 16px !important;
}
.new-installment__advantages__content--mobile svg path{
    fill: black;
}
.new-installment__advantages__content--mobile svg{
    width: 50px;
    height: 50px;
}

.new-installment__advantages__content--mobile .swiper-slide {
    width: 245px;
}


.new-installment__advantages__content--mobile .swiper {
    /*overflow: hidden;*/
    overflow: visible;
}

.new-installment__steps-content {
    display: flex;
    gap: 20px;

}

.new-installment__steps-card {
    background-color: #F1F1F1;
    padding: 24px;
    flex: 1 1 calc(100% / 3);
    line-height: normal;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 5px;
}

.new-installment__steps-card .steps-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.new-installment__steps-card .steps-card__title {
    font-size: 18px !important;
    font-weight: 700 !important;
}

.new-installment__steps-card .steps-card__number {
    color: #555555;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.new-installment__steps-card .steps-card__description {
    font-size: 16px;
    color: #555555;
    line-height: normal;

}

.new-installment__advantages-title {
    font-size: 24px !important;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    text-align: center;
}

.new-installment .new-installment__advantages-content svg path{
    fill: black;
}

.new-installment__advantages-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.new-installment .new-installment__advantages-card{
    gap: 10px;
}
.new-installment .advantages-card__title {
    font-size: 16px !important;
    color: #555555;
    font-weight: 500 !important;
    text-align: center;
}


.new-installment__conditions-title {
    font-size: 24px !important;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.new-installment__conditions-content {
    display: grid;
    grid-template-columns: 1fr 0.718fr ;
    grid-template-rows: 419px;
    column-gap: 30px;
}


.new-installment__conditions-info {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    justify-content: center;
    gap: 25px;
}

.new-installment__conditions-info p {
    display: flex;
    flex-direction: column;
    gap: 5px;
    line-height: normal;
    font-size: 16px;
    color: #555555;
}
.new-installment__conditions-info b{
    font-size: 20px;
    color: black;
}

.new-installment__conditions-info p + p {
    margin-top: 30px;
}

.new-installment__conditions-img {
    width: 100%;
    height: auto;
}

.new-installment__conditions-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 17 / 14;
    /*!* object-position: -121px 0px;*/
    mask-image: url("/local/templates/moto/assets/photoMaskReversed.png");
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}

.new-installment__conditions button{
    width: 100%;
    margin-top: 100px;
}

@media screen and (max-width: 1023px) {
    .new-installment__advantages__content--mobile {
        display: block;
    }

    .new-installment__advantages-content {
        display: none;
    }
}
@media screen and (max-width: 768px){

    .new-installment__intro-img img{
        mask-image: url("/local/templates/moto/assets/photoMaskReversed.png");
        aspect-ratio: 17/10;
    }
    .new-installment__conditions-img img{
        mask-image: url("/local/templates/moto/assets/photoMask.png");
        aspect-ratio: 17/10;
    }
    .new-installment article:not(:first-child){
        margin-top: 30px;
    }
    .new-installment__intro{
        display: flex;
        flex-direction: column;
    }
    .new-installment__intro-title{
        order: 1;
        margin-top: 0;
    }
    .new-installment__intro-img{
        order: 2;
    }
    .new-installment__intro-main{
        order: 3;
        gap: 15px;
    }
    .new-installment__intro-main button{
        width: 100%;
    }


    .new-installment__steps-content{
        flex-direction: column;
        gap: 15px;
    }

    .new-installment__conditions-content{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .new-installment__conditions-info{
        gap: 0;
    }
    .new-installment__conditions button{
        margin-top: 50px;
    }
}

html:has(.credit-add),
html:has(.new-installment) {
    overflow-x: hidden;
}


.credit-add__btn--rounded{
    border-radius: 12px !important;
}
.new-installment__btn--rounded{
    border-radius: 12px !important;
}

.basket-coupon-block-field input {
    color: #090909;
}

.basket-coupon-text {
    color: green;
}
.catalog-search{
    display: flex;
    align-items: center;

}
.catalog-search__btn{
    margin: 0 !important;


}
.catalog-search__btn input{
    padding-block: 13px !important;
    border-radius: 0 3px 3px 0;

}
.catalog-search__input-label{
    width: 100% !important;


}.catalog-search__input{
    width: 100% !important;
    border-radius: 3px 0 0 3px !important;

}
 .load-more-btn{
     border: 1px solid black !important;
 }

#form-agreements .form-agreement-item.is-error span{
  color: #FF0000;
}

#form-agreements .form-agreement-item.is-error .form-agreement-toggle{
  background: #FF0000 !important; /* перебиваем bg-[#545454] */
  box-shadow: 0 0 0 2px rgba(222, 27, 27, .25);
}