.collections_section__list {
    display: flex;
    flex-wrap: wrap;
}

@media screen and (min-width: 1024px) {
    .collections_section__list, .collections_section__list.swiper {
        margin-right: -18.2rem;
    }
}

@media screen and (max-width: 1023px) {
    :not(.mobile_slider) .collections_section__list {
        margin: 0 -3.6rem -3.6rem 0;
    }

    .mobile_slider .collections_section__list {
        margin: 0;
    }
}

.collections {
    will-change: opacity;
}

@media screen and (min-width: 1024px) {
    .collections, .collections.swiper-slide {
        padding-right: 18.2rem;
        width: 30.8%;
    }

    .collections:nth-child(6n+2), .collections:nth-child(6n+4), .collections.swiper-slide:nth-child(6n+2), .collections.swiper-slide:nth-child(6n+4) {
        width: 38.4%;
    }

    .collections:nth-child(6n+2), .collections.swiper-slide:nth-child(6n+2) {
        margin-top: 18.4rem;
    }

    .collections:nth-child(6n+3), .collections.swiper-slide:nth-child(6n+3) {
        margin-top: 31.4rem;
    }

    .collections:nth-child(6n+4), .collections.swiper-slide:nth-child(6n+4) {
        margin-top: 9rem;
    }

    .collections_section--img_mod .collections:nth-child(6n+4), .collections_section--img_mod .collections.swiper-slide:nth-child(6n+4) {
        margin-top: 19.6rem;
    }

    .collections:nth-child(6n+5), .collections.swiper-slide:nth-child(6n+5) {
        margin-top: -5.4rem;
    }

    .collections:nth-child(6n+6), .collections.swiper-slide:nth-child(6n+6) {
        margin-top: 17.4rem;
    }
}

@media screen and (max-width: 1023px) {
    :not(.mobile_slider) .collections {
        padding: 0 3.6rem 3.6rem 0;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    :not(.mobile_slider) .collections:nth-child(4n+1), :not(.mobile_slider) .collections:nth-child(4n+4) {
        width: 40%;
    }

    :not(.mobile_slider) .collections:nth-child(4n+2), :not(.mobile_slider) .collections:nth-child(4n+3) {
        width: 60%;
    }
}

@media screen and (max-width: 767px) {
    :not(.mobile_slider) .collections {
        width: 100%;
    }
}

@media screen and (max-width: 1023px) {
    .mobile_slider .collections {
        width: auto !important;
        max-width: calc(100vw - var(--gl-indent) * 2);
        padding: 0;
    }

    .mobile_slider .collections:not(:last-child) {
        margin-right: 2rem;
    }
}

.collections_main {
    display: block;
    color: #000;
}

.collections_main:hover, .collections_main:focus {
    text-decoration: none;
}

@media screen and (max-width: 1023px) {
    .collections_main {
        transform: none !important;
    }
}

.collections__pic_wrap {
    overflow: hidden;
}

.collections__pic {
    position: relative;
    display: block;
    margin-bottom: 1rem;
    overflow: hidden;
    will-change: transform, opacity;
}

@media screen and (min-width: 1024px) {
    .collections__pic:before {
        content: "";
        display: block;
        padding-bottom: 125%;
    }

    .collections:nth-child(6n+2) .collections__pic:before {
        padding-bottom: 73.5%;
    }

    .collections:nth-child(6n+4) .collections__pic:before {
        padding-bottom: 95%;
    }

    .collections_section--img_mod .collections:nth-child(6n+4) .collections__pic:before {
        padding-bottom: 74%;
    }

    .collections:nth-child(6n+5) .collections__pic:before {
        padding-bottom: 130.7%;
    }

    .collections:nth-child(6n+6) .collections__pic:before {
        padding-bottom: 124%;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    :not(.mobile_slider) .collections__pic {
        height: 31.8rem;
    }
}

@media screen and (max-width: 767px) {
    :not(.mobile_slider) .collections__pic {
        height: auto;
    }
}

@media screen and (max-width: 1023px) {
    .mobile_slider .collections__pic {
        height: 31.8rem;
    }
}

.collections__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: 50% 50%;
    transition: transform 0.6s;
    will-change: transform;
}

.collections_main:hover .collections__img, .collections_main:focus .collections__img {
    transform: scale(1.1);
}

@media screen and (min-width: 1024px) {
    .collections__img {
        position: absolute;
        top: 0;
        left: 0;
    }
}

.collections__title {
    font-weight: 400;
    letter-spacing: 0.01em;
}

.body--black_mod .collections__title {
    color: #fff;
}

@media screen and (min-width: 1024px) {
    .collections__title {
        font-size: 1.6rem;
        line-height: 1;
    }
}

@media screen and (max-width: 1023px) {
    .collections__title {
        font-size: 1.4rem;
        line-height: 1.4;
    }
}
