.banner {
    margin-bottom: 40px;
}

.banner img {
    border-radius: 5px;
}

.banner__wrapper {
    padding: 0 20px;
}

.banner__slider {
    position: relative;
    margin-bottom: 18px;
}

.banner__slide,
.banner__slide a,
.banner__slide img {
    height: inherit;
}

.banner__slide img {
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    width: 100%;
}

.banner .mg-slider-wrap {
    margin-bottom: 0;
    border-radius: 5px;
}

.banner .swiper-button-prev {
    display: none;
}

.banner .swiper-button-next {
    display: none;
}

.banner__side {
    position: relative;
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    align-items: stretch;
    margin-bottom: 38px;
}

.banner__side-img {
    width: 48%;
    border-radius: 5px;
    max-height: 100px;
}

.banner__side-img a {
    height: 100%;
    width: 100%;
}

.banner__side-img img {
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    width: 100%;
    border-radius: 5px;
}

.banner__side-img a {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.banner__side-img a::after {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 50%;
    top: 50%;
    left: 0;
    right: 0;
    background-color: #000;
    opacity: 0.1;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.banner__side-img a:hover::after {
    -webkit-transition: all 0.9s ease-in-out;
    transition: all 0.9s ease-in-out;
    top: 0;
    bottom: 0;
    opacity: 0;
}

.banner__aside {
    position: relative;
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    align-items: center;
}

.banner__aside-item {
    position: relative;
    width: 100%;
    max-width: 387px;
    border-radius: 5px;
}

.banner__aside-item img {
    max-width: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.banner__aside-item:nth-child(n+2) {
    margin-top: 20px;
}

.banner__aside-item a {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: flex-start;
    height: 100%;
    padding: 38px 20px;
}

.banner__aside-item a::after,
.banner__aside-item a::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    opacity: 0;
    -webkit-transition: all 0.45s ease 0s;
    transition: all 0.45s ease 0s;
    background-color: rgba(255, 255, 255, 0.7);
}

.banner__aside-item a::before {
    left: 0;
    right: 100%;
}

.banner__aside-item a::after {
    right: 0;
    left: 100%;
}

.banner__aside-item a:hover::after {
    left: 50%;
    opacity: 0.7;
}

.banner__aside-item a:hover::before {
    right: 50%;
    opacity: 0.7;
}

.banner__content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.4);
    padding: 10px;
    border-radius: 5px;
}

.banner__title {
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 5px;
    color: #010101;
    line-height: 1.29;
}

.banner__offer {
    line-height: 1.17;
    font-weight: 400;
    text-transform: capitalize;
}

.banner__label {
    font-size: 11px;
    background-color: var(--main-color);
    color: #fff;
    line-height: 1.27;
    font-weight: 400;
    padding: 1px 5px 1px 6px;
    text-transform: capitalize;
}

.banner .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    border: 1px solid var(--main-color);
    background-color: #fff;
    opacity: 1;
}

.banner .swiper-pagination-bullet-active {
    background-color: var(--main-color);
}

.slide-banner {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-repeat: no-repeat;
    background-size: cover;
}

.banner-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;    
    padding: 10px;
    box-sizing: border-box;
    max-height: 100%;
    overflow: hidden  
}

.banner-info--left {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;    
    text-align: left;
}

.banner-info--center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
}

.banner-info--right {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    text-align: right;
}

.slider-banner {
    position: relative;
}

.slide-banner--left {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.slide-banner--center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.slide-banner--right {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.slider-banner--top {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;    
}

.slider-banner--v-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.slider-banner--bottom {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.banner-info .banner-info__btn   {
    height: auto;
}

.banner-info__top {
    margin-bottom: 15px;
    padding: 5px;
}

.banner-info__title {
    font-weight: normal;
    margin-bottom: 15px;
    font-size: 16px;
}

.banner-info__text {
    color: #808080;
    margin-bottom: 15px;
}

@media (min-width: 480px) {
    .banner__slider:hover .swiper-button-prev {
        opacity: 1;
        left: 15px;
    }
    .banner__slider:hover .swiper-button-next {
        opacity: 1;
        right: 15px;
    }
    .banner .swiper-button-next,
    .banner .swiper-button-prev {
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        width: 40px;
        height: 40px;
        background-color: var(--main-color);
        color: #fff;
        text-align: center;
        border-radius: 7px;
        opacity: 0;
        background-size: 10px;
    }
    .banner .swiper-button-next:hover,
    .banner .swiper-button-prev:hover {
        background-color: #000;
    }
    .banner .swiper-button-next::after,
    .banner .swiper-button-prev::after {
        display: block;
        margin-top: 12px;
        font-size: 16px;
        font-weight: 600;
    }
    .banner .swiper-button-next {
        right: 0;
        display: block;
    }
    .banner .swiper-button-prev {
        left: 0;
        display: block;
    }
    .banner__side-img {
        max-height: 180px;
    }
    .banner-info__title {
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .banner__wrapper {
        min-width: 0 !important;
    }
    .banner__main {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        justify-content: space-between;
        min-width: 0 !important;
    }
    .banner .mg-slider-wrap,
    .banner__slider {
        height: 254px!important;
        min-height: 254px!important;
        max-height: 254px!important;
    }
    .banner__slider {
        width: 65.8%;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        flex-grow: 0;
        margin-left: 0;
        background-color: #f5f5f5;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .banner__side {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-bottom: 18px;
        width: 31.5%;
    }
    .banner__side-img {
        height: 117px;
        max-height: 117px;
        min-width: 100%;
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }
    .banner__side-img:first-child {
        margin-bottom: 20px;
    }
    .banner__aside {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        align-items: stretch;
    }
    .banner__aside-item {
        width: 31.5%;
    }
    .banner__aside-item:nth-child(n+2) {
        margin-top: 0;
    }
    .banner__title {
        font-weight: 400;
    }

    .banner-info__title {
        font-size: 20px;
    }
}

@media (min-width: 980px) {
    .banner .mg-slider-wrap,
    .banner__slider {
        height: 332px!important;
        min-height: 332px!important;
        max-height: 332px!important;
    }
    .banner__side {
        width: 32%;
    }
    .banner__side-img {
        height: 156px;
        max-height: 156px;
    }
    .banner__aside-item {
        width: 32%;
    }
    .banner__title {
        font-size: 16px;
    }
    .banner__offer {
        font-size: 14px;
    }

    .banner-info__title {
        font-size: 25px;
    }
    
}

@media (min-width: 1200px) {
    .banner .mg-slider-wrap,
    .banner__slider {
        height: 398px!important;
        min-height: 398px!important;
        max-height: 398px!important;
    }
    .banner__title {
        margin-bottom: 10px;
    }
    .banner__side-img {
        height: 189px;
        max-height: 189px;
    }

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

@media (min-width: 1450px) {
    .banner__slider {
        width: 66.3%;
    }
    .banner .mg-slider-wrap,
    .banner__slider {
        height: 442px!important;
        min-height: 442px!important;
        max-height: 442px!important;
    }
    .banner__title {
        font-size: 18px;
    }
    .banner__label {
        padding: 2px 6px;
    }
    .banner__side-img {
        height: 208px;
        max-height: 208px;
    }
    .banner__aside-item {
        width: 100%;
    }

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

@media(max-width: 500px) {
    .slide-banner {
        position: relative;
        z-index: 2;
    }
}

