.homepage-box.before-carousel.homepage-box,
.content-wrapper.before-carousel.before-carousel {
    margin-top: 20px !important;
}

.before-carousel .container.container {
    width: 1418px !important;
    max-width: 100% !important;
    padding: 0 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

.before-carousel .banners-row.banners-row {
    margin: 0 !important;
}

.before-carousel .banners-row .col-sm-8.col-sm-8 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    flex: none !important;
    float: none !important;
}

.before-carousel .banners-row .col-sm-4 {
    display: none !important;
}

#carousel#carousel {
    display: block !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

#carousel .carousel-inner.carousel-inner {
    border-radius: 12px !important;
    overflow: hidden !important;
    min-height: 0 !important;
    max-height: none !important;
}

#carousel .carousel-inner img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    max-width: 100% !important;
}

#carousel#carousel a.carousel-control.carousel-control {
    max-height: none !important;
    width: 36px !important;
    background: transparent !important;
    background-image: none !important;
    filter: none !important;
    opacity: 0.8 !important;
    transition: opacity 0.2s ease !important;
    position: absolute !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
#carousel#carousel a.carousel-control.left {
    left: 4px !important;
}
#carousel#carousel a.carousel-control.right {
    right: 4px !important;
}
#carousel#carousel a.carousel-control.carousel-control:hover {
    opacity: 1 !important;
}
#carousel#carousel a.carousel-control.carousel-control::before,
#carousel#carousel a.carousel-control.carousel-control::after {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin: 0 !important;
    transform: none !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.65) !important;
    color: #071f45 !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    font-size: 18px !important;
}
#carousel#carousel a.carousel-control.carousel-control:hover::before,
#carousel#carousel a.carousel-control.carousel-control:hover::after {
    background: rgba(255,255,255,0.85) !important;
}

#carousel .carousel-indicators.carousel-indicators {
    bottom: 15px !important;
    z-index: 15 !important;
}

html.html, body.body-content {
    overflow-x: hidden !important;
}

ul.top-categories.top-categories li a {
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
}

@media (max-width: 1439px) {
    .before-carousel .container.container {
        width: 1178px !important;
    }
}

@media (max-width: 1199px) {
    .before-carousel .container.container {
        width: 972px !important;
    }

    #carousel#carousel {
        overflow: visible !important;
    }
    #carousel .carousel-inner.carousel-inner {
        overflow: hidden !important;
    }
    #carousel#carousel a.carousel-control.left {
        left: -10px !important;
    }
    #carousel#carousel a.carousel-control.right {
        right: -10px !important;
    }
}

@media (max-width: 991px) {
    .homepage-box.before-carousel.homepage-box,
    .content-wrapper.before-carousel.before-carousel {
        margin-top: 15px !important;
    }

    .before-carousel .container.container {
        width: 747px !important;
    }

    #carousel#carousel {
        border-radius: 10px !important;
        overflow: visible !important;
    }
    #carousel .carousel-inner.carousel-inner {
        border-radius: 10px !important;
        overflow: hidden !important;
    }

    #carousel#carousel a.carousel-control.carousel-control {
        width: 32px !important;
    }
    #carousel#carousel a.carousel-control.left {
        left: -16px !important;
    }
    #carousel#carousel a.carousel-control.right {
        right: -16px !important;
    }
    #carousel#carousel a.carousel-control.carousel-control::before,
    #carousel#carousel a.carousel-control.carousel-control::after {
        width: 32px !important;
        height: 32px !important;
        line-height: 32px !important;
        font-size: 15px !important;
    }

    ul.top-categories.top-categories {
        padding: 12px 0 !important;
    }
}

@media (max-width: 767px) {
    .in-index #content-wrapper.products-group.products-group {
        margin-top: 110px !important;
    }

    .before-carousel .container.container {
        width: 100% !important;
        padding: 0 24px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .before-carousel .banners-row.banners-row {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        display: flex !important;
        flex-wrap: nowrap !important;
    }

    .before-carousel .banners-row .col-sm-8.col-sm-8 {
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        float: none !important;
        flex: 1 !important;
    }

    #carousel .carousel-inner .item,
    #carousel .carousel-inner .item img {
        max-height: none !important;
    }

    #carousel#carousel {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        border-radius: 10px !important;
        overflow: visible !important;
    }

    #carousel .carousel-inner.carousel-inner {
        border-radius: 10px !important;
        overflow: hidden !important;
        min-height: auto !important;
        height: auto !important;
    }

    #carousel#carousel a.carousel-control.left {
        left: -12px !important;
    }
    #carousel#carousel a.carousel-control.right {
        right: -12px !important;
    }
    #carousel#carousel a.carousel-control.carousel-control::before,
    #carousel#carousel a.carousel-control.carousel-control::after {
        width: 26px !important;
        height: 26px !important;
        line-height: 26px !important;
        font-size: 12px !important;
    }

    #carousel .carousel-indicators.carousel-indicators {
        bottom: 8px !important;
    }

    ul.top-categories.top-categories {
        padding: 10px 0 !important;
    }

    ul.top-categories.top-categories li a {
        font-size: 1em !important;
        padding: 10px 8px !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 480px) {
    #carousel#carousel a.carousel-control.carousel-control::before,
    #carousel#carousel a.carousel-control.carousel-control::after {
        width: 26px !important;
        height: 26px !important;
        line-height: 26px !important;
        font-size: 12px !important;
    }

    ul.top-categories.top-categories {
        gap: 6px !important;
        padding: 8px 0 !important;
    }

    ul.top-categories.top-categories li a {
        font-size: 0.85em !important;
        padding: 10px 6px !important;
        line-height: 1.3 !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}
