.promo {
    background-image: linear-gradient(#000, 20%, #2d2d2d, 80%, #000);
}

.promo .container {
    max-width: 1380px;
    padding: 0;
}

.promo .form {
    margin: 0 20px;
}

.slider-container {
    margin-top: 101px;
    width: 100%;
    height: 550px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    @media (max-width: 768px) {
        margin-top: 74px;
    }

}

.slider-text {
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 100%;

}

.slider-text__slide {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.slider-text__content { /*блок с текстом*/
    text-align: right;
    padding-right: 8%;
    position: relative;
    padding-bottom: 30px;
}

.slider-text__heading {
    font-size: 65px;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 60px;
    @media (max-width: 932px) {
            font-size: 55px;
            line-height: 45px;
    }
}

.slider-text__heading span {
    font-size: 90px;
    font-weight: 500;
    font-style: italic;
    line-height: 80px;
    color: #fcd80e;

}

.slider-text__heading span.moto {
    font-size: 80px;
    line-height: 60px;
}

.slider-text__heading span.yellow {
    color: #fcd80e;
    font-size: 50px;
    line-height: 70px;
    letter-spacing: 2px;
}

.slider-text__heading strong {
    font-size: 50px;
    line-height: 70px;
    letter-spacing: 2px;


}

.slider-text__desc {
    letter-spacing: 1px;
}

.slider-img {
    height: 100%;
    max-width: 1150px;
    overflow: hidden;
    position: relative;
}

.slider-img::before { /*на фотографиях красивое затемнение*/
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.466);
    z-index: 2;
}


.slider-img__slide {
    height: 100%; /*высота каждого слайда*/
    overflow: hidden;
}

.slider-img__bg { /*позиционируем изображение*/
    background-position: center;
    background-size: cover;
    height: 100%;

}

/*начало элементы управления слайдером -cтрелки	*/

.slider-navigation__container {
    max-width: 165px;
    position: relative;
    margin: auto;
}

.slider-navigation {
    flex: 0 0 180px;
    position: relative; /*собрать стрелки в кучу*/
    left: 160px;
    bottom: 60px;
}

.swiper-button-prev, .swiper-button-next {
    width: 60px !important;
    height: 60px !important;
    color: #fcd80e !important;
    background-color: #3c3c3c;
    border-radius: 100%;
    border: 3px solid #fcd80e;
    top: 5px;
}

.swiper-button-next.swiper-button-disabled { /*неактивный класс который виден когда наводишь на элемент в f12	*/
    color: #8a8a8a !important;
    border-color: #8a8a8a;
    opacity: 1 !important;

}

.swiper-button-prev.swiper-button-disabled {
    color: #8a8a8a !important;
    border-color: #8a8a8a;
    opacity: 1 !important;
}

.swiper-button-next::after {
    font-size: 20px !important;
}

.swiper-button-prev::after {
    font-size: 20px !important;
}

.swiper-button-prev {
    left: 0;
}

.swiper-button-next {
    right: 0;
}

/*вращающееся колесико*/
.slider-gear {
    width: 478px;
    height: 478px;
    position: absolute;
    z-index: 5;
    right: calc(18.5% - 250px);
    /*какие то проценты от них отнимаем половину круга.чтобы круг
        позиционировался при уменьшении экрана в одном месте*/
    background-size: cover;
    background-position: center;
    top: 50%;
    margin-top: -240px;
    background-image: url(/img/slider/gear.svg);
}


/*конец элементы управления слайдером -cтрелки*/

/* счетчик слайдера*/
.slider-pagination-count {
    position: absolute;
    left: 40px;
    bottom: 15px;
    color: rgb(165, 159, 159);
    z-index: 4;
    display: inline-block;
    width: 120px;
    height: 80px; /*высота с запасом для анимации*/
    font-weight: 500;
    font-size: 25px;
}

.slider-pagination-count .current {
    font-size: 40px; /*большая оранжевая цифра*/
    color: #c9ac0b;
    font-weight: 500;
    display: inline-block;
    min-width: 40px;
    padding-top: 40px;
}


.promo .form {
    max-width: 1250px;
    padding-bottom: 40px;
    margin: 30px auto 0 auto;
    @media (max-width: 768px) {
        padding: 5px;
    }
}

.promo .form p {
    color: rgb(243, 221, 124);
    text-align: center;
    font-size: 20px;
    font-weight: 200;
    letter-spacing: 1px;
    line-height: 120%;
    margin-bottom: 40px;
    opacity: 0.8;
}
.promo .form__warning {
    width: 75%;
    margin: 0 auto;
    opacity: 1 !important;
    position: relative;
    p {
        font-size: 25px !important;
        color: white !important;
        font-style: italic;
        display: inline-block;
        @media (max-width: 768px) {
            font-size: 20px !important;
        }
    }
    a {
        position: relative;
        color:#d4b30d;
        font-weight: 500;
        padding-right: 49px;
        white-space: nowrap;
        @media (max-width: 768px) {
            padding-right: 40px;
        }
    }
    @media (max-width: 768px) {
        width: 100%;
    }

}
/* Контейнер кнопки */
.phone-button {
    position: absolute;
    bottom: -9px;
    right: 0;
    width: 38px;
    height: 38px;
    cursor: pointer;
    z-index: 99;
    display: block;
    @media (max-width: 768px) {
        width: 30px;
        height: 30px;
        bottom: -6px;
    }
}

/* Сама иконка */
.phone-icon {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #fcd80e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Эффект волн */
.phone-waves::before,
.phone-waves::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fcd80e;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
    animation: pulse 2.5s infinite linear;
}

/* Задержка для второй волны, чтобы они шли друг за другом */
.phone-waves::after {
    animation-delay: 2s;
}

/* Анимация пульсации */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.2); /* Насколько далеко расходятся волны */
        opacity: 0; /* Плавное исчезновение */
    }
}

/* Эффект при наведении */
.phone-button:hover .phone-icon {
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

.select2-container--default .select2-selection--single:hover {
    box-shadow: -4px -4px 8px 1px rgba(250, 218, 122, 0.342),
    4px 4px 10px -1px #474d38f1, inset -6px -6px 10px rgba(0, 0, 0, 0.5);
    color: #fcdf3ac5;
}

.promo .form select:focus {
    outline: none;
}

.promo .form option {
    background-color: #272624;
}


.promo .form option:checked {
    background: #d4b30d;
    color: #000;
}

.shake {
    box-shadow: -4px -4px 8px 1px rgba(250, 218, 122, 0.342),
    4px 4px 10px -1px #474d38f1, inset -6px -6px 10px rgba(0, 0, 0, 0.5) !important;
    color: #fcdf3ac5;
    animation: shake 2s;
    animation-iteration-count: infinite;
}

/*эффект тряски*/
@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }
    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }
    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }
    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }
    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }
    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }
    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }
    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }
    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }
    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }
    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}


.preim {
    background-image: url(../img/fon2.jpg);
    background-size: cover;
    background-position: center;
    padding: 50px 0 200px 0;
    @media (max-width: 976px) {
        padding: 50px 0 100px 0;
    }
    @media (max-width: 768px) {
        padding: 60px 0 60px 0;
    }
    @media (max-width: 530px) {
        padding: 22px 0 60px 0;
    }

}

.preim::before {
    content: "";
    background-image: url(../img/podbor/up.png);
    display: block;
    width: 45px;
    height: 60px;
    background-repeat: no-repeat;
    margin: -10px auto 100px auto;
}

.preim h3 {
    font-size: 36px;
    letter-spacing: 2px;
    font-style: italic;
    text-align: center;
    margin-bottom: 80px;
    font-weight: 400;
}

.preim ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 100px;
    column-gap: 30px;
    list-style: none;
    @media (max-width: 1050px) {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 60px;
    }
    @media (max-width: 768px) {
        grid-template-columns:  1fr;
    }
}

.preim ul li {
    width: 100%;
    position: relative;
    padding-left: 100px;
    box-sizing: border-box;
}

.preim ul li::before {
    background-repeat: no-repeat;
    content: "";
    display: block;
    width: 77px;
    height: 77px;
    border-radius: 50%;
    background-color: #efc10a;
    background-position: center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}


.preim ul li:nth-child(1)::before {
    background-image: url(../img/podbor/moto.png);

}

.preim ul li:nth-child(2)::before {
    background-image: url(../img/podbor/clock.png);
}

.preim ul li:nth-child(3)::before {
    background-image: url(../img/podbor/vaza.png);
}

.preim ul li:nth-child(4)::before {
    background-image: url(../img/podbor/key.png);
}

.preim ul li:nth-child(5)::before {
    background-image: url(../img/podbor/glasses.png);
}

.preim ul li:nth-child(6)::before {
    background-image: url(../img/podbor/motocross.png);
}

.preim h4 {
    font-size: 18px;
    font-style: italic;
    font-weight: normal;
    border-bottom: 1px solid #ffc107;
    padding-bottom: 5px;
    position: relative;
    display: inline-block;
}

.preim h4::before {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background-color: #ffc107;
    position: absolute;
    bottom: -1px;
    left: -40px;
    transform: rotate(-45deg);
    transform-origin: 100% 100%;
}

.preim p {
    font-size: 16px;
    color: #efc10a;
    line-height: 22px;
    margin-top: 15px;
}

.gallery {
    background-image: url(../img/fon3.jpg);
    text-align: center;
    background-size: cover;
    background-position: center;
}

.gallery .item:not(:nth-child(2)) img {
    height: 200px;
}

.gallery .item:nth-child(2) img {
    height: 230px;
}

.gallery img {
    border: 5px solid #68696b;
    margin: 15px;

    transform: scale(1);
    transition: 0.5s;
}


.gallery img:hover {
    border: 4px solid #ffc107;
    position: relative;
    z-index: 2;

    transform: scale(1.6);
}

.gallery .item:nth-child(2) img:nth-child(2) {
    transform: scale(1.6);
}

.gallery .item:nth-child(2) img:nth-child(2):hover {
    transform: scale(2);
}

.gallery .item:nth-child(2) img:nth-child(1) {
    transform: translateX(-55px);
}

.gallery .item:nth-child(2) img:nth-child(1):hover {
    transform: translateX(-55px) scale(1.6);
}

.gallery .item:nth-child(2) img:nth-child(3) {
    transform: translateX(55px);
}

.gallery .item:nth-child(2) img:nth-child(3):hover {
    transform: translateX(55px) scale(1.6);
}

.gallery .item:nth-child(1) img:nth-child(2) {
    transform: translateY(-35px);
}

.gallery .item:nth-child(1) img:nth-child(2):hover {
    transform: translateY(-35px) scale(1.6);
}

.gallery .item:nth-child(3) img:nth-child(2) {
    transform: translateY(35px);
}

.gallery .item:nth-child(3) img:nth-child(2):hover {
    transform: translateY(35px) scale(1.6);
}

.text {
    padding-top: 100px;
    padding-bottom: 60px;
    color: #cacaca;
    @media (max-width: 1023px) {
        padding: 50px 0;
    }
    @media (max-width: 768px) {
        padding: 30px 0;
    }
}
.text .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    @media (max-width: 1023px) {
        gap: 20px;
    }
}

.text p {
    font-size: 16px;
    line-height: 24px;

}

.text p a {
    text-decoration: none;
    font-style: italic;
    color: #efc10a;

}

/* o magazine*/


.about-us {
    width: 100vw;
    position: relative;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url(../img/o_magazine/foto-fon_mag.jpg);
        background-position: center -40px;
        background-repeat: no-repeat;
        @media (max-width: 1023px) {
            background-position: center;
            background-size: cover;
        }
    }
}

.about-us__wrapper {
    padding-top: 150px;
    display: flex;
    flex-direction: column;
    max-width: 1280px;
    position: relative;
    @media (max-width: 1023px) {
        padding-top: 129px;
    }
    @media (max-width: 560px) {
    padding-top: 104px;
    }
}

.malmal--singl {
    position: absolute;
    top: 47px;
    left: 50%;
    transform: translateX(-50%);
    border-color: #826c16 !important;
    opacity: 0.6;
    @media (max-width: 1023px) {
        display: none;
    }
}

.about-us .fan {
    align-self: flex-end;
    z-index: 2;
    border: 4px solid #826c16;
    @media (max-width: 1023px) {
        width: 100%;
        height: 300px;
        box-sizing: border-box;
    }
    @media (max-width: 767px) {
        height: 250px;
    }
    @media (max-width: 550px) {
        height: 215px;
    }
    img {
        object-fit: cover;
        @media (max-width: 1023px) {
            width: 100% !important;
            height: 100%;
        }
    }
}

.about-us .text1 {
    width: 600px;
    height: 320px;
    box-sizing: border-box;
    background-color: rgba(43, 42, 42, 0.9);
    z-index: 1;
    box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.822);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    @media (max-width: 1440px) {
        width: 570px;
        height: min-content;
    }
    @media (max-width: 1355px) {
        width: 530px;
    }
    @media (max-width: 1261px) {
        width: 510px;
    }
    @media (max-width: 1189px) {
        width: 480px;
    }
    @media (max-width: 1147px) {
        width: 440px;
        padding-top: 45px;
    }
    @media (max-width: 1023px) {
        width: 100%;
    }

}

.about-us .text1 p {
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 2px;

}

.about-us .text1 strong {
    font-size: 20px;
    font-weight: 400;
}

.about-us .text1 a {
    font-style: italic;
    color: #efc10a;
    cursor: pointer;
}

.about-us .fox {
    padding: 30px;
    margin-left: 130px;
    margin-top: -250px;
    @media (max-width: 1023px) {
        margin-left: auto;
        margin-top: 0;
        padding: 20px;
    }
}

.about-us .flex {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: -20px;
    margin-right: 80px;
    position: relative;
}


.about-us .mal {
    border: 4px solid #826c16;
    padding: 30px;
    margin-right: 30px;
    z-index: 5;
    @media (max-width: 1023px) {
        display: none;
    }
    img {
        object-fit: cover;
    }
}

.about-us .flex .mal4 {
    width: 666px;
    height: 484px;
    position: absolute;
    left: -36px;
    top: -175px;
}
.about-us .malmal {
    width: 240px;
    height: 180px;
    border: 4px solid #302705;
    @media (max-width: 1023px) {
        display: none;
    }

}


.about-us .fan1 img {
    margin-top: -70px;
    border: 4px solid #826c16;
    object-fit: cover;
    @media (max-width: 1023px) {
        width: 100% !important;
        height: 300px;
        box-sizing: border-box;
        margin-top: initial !important;
    }
    @media (max-width: 767px) {
        height: 250px;
    }
    @media (max-width: 550px) {
        height: 215px;
    }
}

.about-us .fan1 {
    @media (max-width: 1023px) {
       margin-top: 20px;
    }
}

.about-us .mox {
    align-self: flex-end;
    margin-top: -250px;
    margin-right: 130px;
    padding: 30px 30px 30px 50px;
    @media (max-width: 1023px) {
        align-self: center;
        margin-top: initial;
        margin-right: initial;
        padding: 20px;
    }
}

.about-us .flex1 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: -20px;
    margin-left: 80px;
    position: relative;
}

.about-us .mal1 {
    border: 4px solid #826c16;
    padding: 30px;
    margin-left: 30px;
    z-index: 5;
    @media (max-width: 1023px) {
        display: none;
    }
    img {
        object-fit: cover;
    }
}


.about-us .flex1 .mal2 {
    width: 666px;
    height: 484px;
    position: absolute;
    transform: scale(-1, 1);
    top: -181px;
    right: -42px;
    img {
        object-fit: cover;
    }
}

.about-us .log {
    margin-top: -70px;
    border: 4px solid #826c16;
    @media (max-width: 1023px) {
        box-sizing: border-box;
        margin-top: 20px;
    }
}

.about-us .flex2 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 70px;
    margin-bottom: 80px;
    position: relative;
    @media (max-width: 1152px) {
        margin-bottom: 30px;
    }
    @media (max-width: 1023px) {
        margin-top: initial !important;
        justify-content: center;
        align-items: initial;
        display: flex;
        flex-direction: column;
    }
    @media (max-width: 768px) {
       margin-bottom: 0;
    }
}

.about-us .flex2 .last {
    img {
        border: 4px solid #826c16;
        box-sizing: border-box;
        object-fit: cover;
        @media (max-width: 1023px) {
            width: 100% !important;
            height: 300px;  }
        @media (max-width: 767px) {
            height: 250px;
        }
        @media (max-width: 550px) {
            height: 215px;
        }
    }
}

.about-us .flex2 .mal3 {
    width: 666px;
    height: 484px;
    position: absolute;
    transform: scale(-1, 1);
    top: -249px;
    right: -49px;
    @media (max-width: 1023px) {
        display: none;
    }
    img {
        object-fit: cover;
    }
}

.about-us .last {
    z-index: 1;
}

.about-us .bal {
    margin-left: -20px;
}

.about-us .flex3 {
    display: flex;
    align-items: center;
}

.about-us .image-block4 {
    margin-top: 9px;
    @media (max-width: 1023px) {
        margin-top: 20px;

    }

    img {
        object-fit: cover;
    }
}

/*    страница ассортименты и бренды    */
.brends {
    margin: 0 auto;
    max-width: 1800px;
    margin-bottom: 20px;
}

.brends .container {
    margin-top: 118px;
    @media (max-width: 800px) {
        margin-top: 94px;
    }

}
.brends .container-fluid {
    margin-bottom: 50px;
    max-width: 1800px;
}

.brends .catalog_main {
    display: flex;
    border-top: solid 1px #68696b;
    @media (max-width: 1634px) {
        border-top: none;
        max-width: 1280px;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
        padding: 0 20px;
    }
}

.brends ul a {
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    text-decoration: none;
}

.brends .breadcrumb {
    margin: 15px 0;
    padding-left: 0;
    display: flex;
}
.breadcrumb-item {
    font-size: 18px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    margin: 0 10px;
    color: #999;
}

.catalog-first__top,
.catalog_third__top {
    width: 100%;
    background-color: #303133;
    display: flex;
    justify-content: center;
    border: 1px solid #5e5e5e;
    border-radius: 4px;
    margin-bottom: 20px;
    @media (max-width: 678px) {
        margin-bottom: 11px;
    }
}

.catalog-first .widget_categories {
    display: block;
}

.catalog-first,
.catalog_third {
    border-right: #68696b 1px solid;
    width: 20%;
    border-left: #68696b 1px solid;
    border-bottom: solid 1px #68696b;

}

.catalog-first,
.catalog_third {
    padding: 20px;
    @media (max-width: 1634px) {
        order: 2;
        width: 100%;
        transition: 0.5s;
    }
}

.catalog-third__title,
.catalog-first__title {
    color: #fcd80e;
    padding: 25px 0;
    margin: 0;
    position: relative;
    font-size: 19px;
    letter-spacing: 1px;
    @media (max-width: 678px) {
        font-size: 17px;
        padding: 15px 0;
    }

}

.catalog-widget {
    list-style: none;
    padding: 0;
    @media (max-width: 1634px){
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }
    @media (max-width: 768px){
        grid-template-columns: 1fr;
    }


}

.catalog-widget li {
    background-color: #2c2d2e;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid #68696b !important;
    transition: 0.5s;
    @media (max-width: 1634px){
        border: 10px;
    }

}


.catalog-widget li > a {
    display: flex;
    text-decoration: none;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px 15px;
    box-sizing: border-box;
    @media (max-width: 678px){
        padding: 15px;
    }

}

.catalog-widget li:hover {
    background-color: #1c1c1cfa;
    border: #b49608 1px solid !important;
}


.catalog-widget li {
    background-repeat: no-repeat;
    background-position: top 50% right 20px;
    position: relative;
    &::before {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: 0;
        transition: opacity .3s;
        box-shadow:
            inset 0 0 10px rgba(236, 215, 138, 0.4);
    }
}
.catalog-widget li:hover::before {
    opacity: 1;
}

.catalog-widget li:nth-child(1) {
    background-image: url(../images/uploads/icon_brends/icon/akum.png);

}

.catalog-widget li:nth-child(2) {
    background-image: url(../images/uploads/icon_brends/icon/axessuar.png);

}

.catalog-widget li:nth-child(3) {
    background-image: url(../images/uploads/icon_brends/icon/detDvig.png);

}

ul.catalog-widget li:nth-child(4) {
    background-image: url(../images/uploads/icon_brends/icon/detSceplen.png);

}

ul.catalog-widget li:nth-child(5) {
    background-image: url(../images/uploads/icon_brends/icon/maslo.png);

}

ul.catalog-widget li:nth-child(6) {
    background-image: url(../images/uploads/icon_brends/icon/podshipn.png);

}

ul.catalog-widget li:nth-child(7) {
    background-image: url(../images/uploads/icon_brends/icon/prokladki.png);

}

ul.catalog-widget li:nth-child(8) {
    background-image: url(../images/uploads/icon_brends/icon/rem.png);

}

ul.catalog-widget li:nth-child(9) {
    background-image: url(../images/uploads/icon_brends/icon/salPyln.png);

}

ul.catalog-widget li:nth-child(10) {
    background-image: url(../images/uploads/icon_brends/icon/svety.png);

}

ul.catalog-widget li:nth-child(11) {
    background-image: url(../images/uploads/icon_brends/icon/colodki.png);

}

ul.catalog-widget li:nth-child(12) {
    background-image: url(../images/uploads/icon_brends/icon/trossy.png);

}

ul.catalog-widget li:nth-child(13) {
    background-image: url(../images/uploads/icon_brends/icon/filter.png);

}

ul.catalog-widget li:nth-child(14) {
    background-image: url(../images/uploads/icon_brends/icon/zvezdy.png);

}


.brends .catalog_second {
    max-width: 60%;
    background-image: url(../img/brends/fon-foto.jpg);
    background-position: center top 80px;
    background-repeat: no-repeat;
    padding: 20px;
    width: 100%;
    border-top: none;
    @media (max-width: 1634px) {
        order: 1;
        min-height: 600px;
        max-width: initial;
        border: solid 1px #68696b;
        width: 100%;
    }

}

.brends .select-moto {
    background-color: #303133;
    border: 1px solid #5e5e5e;
    display: flex;
    gap: 10px;
    border-radius: 4px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 15px 0 15px 15px;
    box-sizing: border-box;
}
.brends .select-moto__title {
    font-size: 23px;
    font-weight: 400;
    margin-bottom: 10px;
}

.brends .select-moto .caption a {
    transition: 0.5s;
}
.select-moto__close {
    display: flex;
    gap: 10px;
    margin-left: auto;
    color: #b49608;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.5s;
    svg {
        width: 24px;
        height: 24px;
    }
    span {
        margin-top: 3px;
    }
    @media (max-width: 676px) {
        span {
            display: none;
        }
    }
}
.brends .select-moto a:hover {
    color: #fcd80e;
}

.thumbnail .caption {
    padding: 9px;
    color: rgb(211, 207, 207);
}

.brends .caption a {
    color: #b49608;
    text-decoration: none;
    font-size: 16px;
}

.brends .form {
    text-align: center;
    font-size: 20px;
    font-weight: 100;
    letter-spacing: 1px;
}

.brends .form p {
    margin-bottom: 36px;
    @media (max-width: 726px) {
            font-size: 16px;
        line-height: 23px;
    }
}
.brends .caption h3 {
    font-size: 20px;
    line-height: 24px;
    @media (max-width: 726px) {
        font-size: 16px;
        line-height: 21px;
    }
}

.brends .foto-fon img {
    max-width: 100%;
    height: auto;

}

.mybrends {
    list-style: none;
    display: grid;
    padding: 0;
    gap: 5px;
    margin: 0;
    grid-template-columns: repeat(2, 1fr);
    @media (max-width: 1634px) {
        grid-template-columns: repeat(5, 1fr);
    }
    @media (max-width: 1010px) {
        grid-template-columns: repeat(4, 1fr);
    }
    @media (max-width: 800px) {
        grid-template-columns: repeat(3, 1fr);
    }
    @media (max-width: 510px) {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mybrends li img {
    @media (max-width: 768px) {
        width: 130px;
        height: auto;
    }
}

.mybrends li:hover {
    border: 1px solid #d4b30d;

}

.mybrends li {
    border: 1px solid transparent;
    position: relative;
    transition: 0.5s;
    background-color: #303133;
    width: 100%;
    display: flex;
    justify-content: center;
    height: 58px;
    @media (max-width: 768px) {
        height: 51px;
    }

}
.mybrends li::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s;
    box-shadow:
        inset 0 0 10px rgba(236, 215, 138, 0.4);
}

.mybrends li:hover::before {
    opacity: 1;
}

.mybrends li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}


.warning-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: opacity 0.4s ease;
}

.warning-modal {
    background: grey;
    padding: 20px;
    border-radius: 20px;
    width: 550px;
    height: 350px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.warning-modal-overlay.is-active {
    display: flex;
    opacity: 1;
}

.warning-modal-overlay.is-active .warning-modal {
    transform: translateY(0);
    opacity: 1;
}

.warning-modal__close {
    background: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;

    svg {
        width: 25px;
        height: 25px;
    }
}

.warning-modal__content,
.warning-modal__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 430px;

    span {
        text-align: center;

        b {
            font-size: 26px;
        }
    }

    svg {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    ul {
        width: 100%;
        gap: 5px;
        display: flex;
        flex-direction: column;

        li {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
    }
}

.warning-modal__wrap {
    gap: 0;
}

.main-contacts {
    height: 120px;
}

.container.delivery {
    padding-top: 110px;
    padding-bottom: 40px;
    @media (max-width: 768px) {
        padding-top: 85px;
        padding-bottom: 20px;
    }
}
.delivery__title {
    font-size: 29px;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.5px;
    @media (max-width: 768px) {
        font-size: 24px;
    }
}
.delivery__icon {
    width: 94px;
    @media (max-width: 768px) {
        width: 70px;
    }
}
.delivery__title-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
    @media (max-width: 768px) {
        margin-bottom: 8px;
    }
}
.delivery__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: disc;
    padding-left: 12px;
}
.delivery__list li {
    color: #fcd80e;
}
.delivery__subtitle {
    font-weight: 400;
    margin-bottom: 10px;
    font-size: 20px;
    letter-spacing: 1px;
    color: white;
}
.delivery__text {
    color: white;
    font-size: 17px;
    line-height: 165%;
    position: relative;
}
.delivery__text-wrap {
    display:flex;
    gap: 13px;
    align-items: center;
    margin-bottom: 5px;
    @media (max-width: 1024px) {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}
.yellow {
    color: #fcd80e;
}



