.lp-gallery-2 {
    padding: 18px 0 30px;
}

@media all and (min-width: 600px) {
    .lp-gallery-2 {
        padding: 32px 0 44px;
    }
}

@media all and (min-width: 1200px) {
    .lp-gallery-2 {
        padding: 38px 0 52px;
    }
}

@media all and (min-width: 1380px) {
    .lp-gallery-2 {
        padding: 36px 0 56px;
    }
}

.lp-gallery-2-description {
    padding: 18px 0;
}

@media all and (min-width: 600px) {
    .lp-gallery-2-description {
        padding: 16px 0;
    }
}

@media all and (min-width: 1200px) {
    .lp-gallery-2-description {
        padding: 22px 0;
    }
}

@media all and (min-width: 1380px) {
    .lp-gallery-2-description {
        padding: 24px 0;
    }
}

.lp-gallery-2-description__title {
    margin: 0;
    text-align: center;
}

@media all and (min-width: 1200px) {
    .lp-gallery-2-description__title {
        max-width: 760px;
        margin: 0 auto;
    }
}

@media all and (min-width: 1380px) {
    .lp-gallery-2-description__title {
        max-width: 848px;
    }
}

.lp-gallery-2-photo {
    padding: 18px 0;
    width: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 0;
    text-align: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

@media all and (min-width: 600px) {
    .lp-gallery-2-photo {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        margin: 0 -12px;
        padding: 16px 0;
    }
}

@media all and (min-width: 960px) {
    .lp-gallery-2-photo {
        margin: 0 -24px;
    }
}

@media all and (min-width: 1200px) {
    .lp-gallery-2-photo {
        margin: 0 -12px;
        padding: 22px 0;
    }
}

@media all and (min-width: 1380px) {
    .lp-gallery-2-photo {
        margin: 0 -16px;
        padding: 24px 0;
    }
}

.lp-gallery-2-photo__arrows-next, .lp-gallery-2-photo__arrows-prev {
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid rgba(255, 255, 255, 0);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    z-index: 20;
    outline: none;
}

.lp-gallery-2-photo__arrows-next:hover, .lp-gallery-2-photo__arrows-prev:hover {
    border: 1px solid transparent;
    background-color: transparent;
}

.lp-gallery-2-photo__arrows-prev {
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.lp-gallery-2-photo__arrows-next {
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.lp-gallery-2-photo__main-photo {
    margin-bottom: 20px;
    width: 100%;
    /*overflow: hidden;*/
    position: relative;
}

@media all and (min-width: 600px) {
    .lp-gallery-2-photo__main-photo {
        width: 476px;
        height: 484px;
        margin-bottom: 0;
        margin-right: 12px;
        margin-left: 12px;
    }
}

@media all and (min-width: 960px) {
    .lp-gallery-2-photo__main-photo {
        width: 432px;
        height: 420px;
        margin-bottom: 0;
        margin-right: 24px;
        margin-left: 24px;
    }
}

@media all and (min-width: 1200px) {
    .lp-gallery-2-photo__main-photo {
        width: 562px;
        height: 566px;
        margin: 0 12px;
    }
}

@media all and (min-width: 1380px) {
    .lp-gallery-2-photo__main-photo {
        width: 628px;
        height: 630px;
        margin: 0 16px;
    }
}

.lp-gallery-2-photo__main-photo-item {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.lp-gallery-2-photo__main-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-gallery-2-photo__main-photo-item._active {
    opacity: 1;
    z-index: 10;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

.lp-gallery-2-photo__preview {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    /*overflow: scroll;*/
}

.lp-gallery-2-photo__preview-mask {
    width: 100%;
    overflow: scroll;
    font-size: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

@media all and (min-width: 600px) {
    .lp-gallery-2-photo__preview-mask {
        width: auto;
        margin: 0 12px;
        height: 484px;
    }
}

@media all and (min-width: 960px) {
    .lp-gallery-2-photo__preview-mask {
        margin: 0 24px;
        height: 420px;
    }
}

@media all and (min-width: 1200px) {
    .lp-gallery-2-photo__preview-mask {
        margin: 0 12px;
        height: 566px;
        overflow: hidden;
    }
}

@media all and (min-width: 1380px) {
    .lp-gallery-2-photo__preview-mask {
        margin: 0 16px;
        height: 630px;
    }
}

.lp-gallery-2-photo__preview-mask::-webkit-scrollbar {
    display: none;
}

.lp-gallery-2-photo__preview::-webkit-scrollbar {
    display: none;
}

.lp-gallery-2-btns {
    margin: 24px -8px 0;
    text-align: center;
}

.lp-gallery-2btn {
    margin: 16px 8px 0;
    display: flex;
}

@media (min-width: 600px) {
    .lp-gallery-2btn {
        display: inline-flex;
    }
}

@media all and (min-width: 600px) {
    .lp-gallery-2-photo__preview {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding-bottom: 0;
    }
}

.lp-gallery-2-photo__preview-item {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    cursor: pointer;
    vertical-align: top;
    line-height: 1;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    margin: 1px 7px 1px 1px;
    /*overflow: hidden;*/
    position: relative;
    box-sizing: border-box;
}

.lp-gallery-2-photo__preview-item:nth-last-child(1), .lp-gallery-2-photo__preview-item:nth-last-child(2) {
    margin-bottom: 0;
}

@media all and (min-width: 600px) {
    .lp-gallery-2-photo__preview-item {
        margin: 1px 1px 11px 1px;
    }
}

@media all and (min-width: 1200px) {
    .lp-gallery-2-photo__preview-item {
        margin: 1px 1px 7px 1px;
    }

    .lp-gallery-2-photo__preview-item:nth-child(n + 7) {
        display: none;
    }

    .lp-gallery-2-photo__preview-item:nth-last-child(3) + .lp-gallery-2-photo__preview-item:nth-child(7) {
        display: -webkit-inline-box;
        display: -ms-inline-flexbox;
        display: inline-flex;
    }

    .lp-gallery-2-photo__preview-item:nth-child(n + 8) + .lp-gallery-2-photo__preview-more {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

@media all and (min-width: 1380px) {
    .lp-gallery-2-photo__preview-item {
        margin: 1px 1px 13px 1px;
    }
}

.lp-gallery-2-photo__preview-item-mask {
    width: 100%;
    height: 100%;
    background-size: cover;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    will-change: transform;
    border: 1px solid rgba(255, 255, 255, 0);
}

.lp-gallery-2-photo__preview-item-mask:hover img {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.lp-gallery-2-photo__preview-item img {
    /*position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);*/
    -webkit-transition: 0.5s;
    transition: 0.5s;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media all and (min-width: 600px) {
    .lp-gallery-2-photo__preview-item {
        width: 76px;
        height: 76px;
    }
}

@media all and (min-width: 960px) {
    .lp-gallery-2-photo__preview-item {
        width: 104px;
        height: 104px;
    }
}

@media all and (min-width: 1200px) {
    .lp-gallery-2-photo__preview-item {
        width: 74px;
        height: 74px;
    }
}

@media all and (min-width: 1380px) {
    .lp-gallery-2-photo__preview-item {
        width: 78px;
        height: 78px;
    }
}

.lp-gallery-2-photo__preview-item .lp-gallery-2-photo__preview-item-mask._active {
    /*border: var(--primary-color-base) solid 1px;*/
    opacity: 0.5;
}

.lp-gallery-2-photo__preview-more {
    cursor: pointer;
    border: 1px solid var(--primary-color-base);
    background-color: transparent;
    width: 74px;
    height: 74px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: none;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    overflow: hidden;
}

.lp-gallery-2-photo__preview-more:hover {
    color: var(--primary-color-l-10);
    border: 1px solid var(--primary-color-l-10);
}

.lp-gallery-2-photo__preview-more-text {
    font-weight: 400;
}

@media all and (min-width: 600px) {
    .lp-gallery-2-photo__preview-more {
        width: 76px;
        height: 76px;
    }
}

@media all and (min-width: 960px) {
    .lp-gallery-2-photo__preview-more {
        width: 104px;
        height: 104px;
    }
}

@media all and (min-width: 1200px) {
    .lp-gallery-2-photo__preview-more {
        width: 74px;
        height: 74px;
    }
}

@media all and (min-width: 1380px) {
    .lp-gallery-2-photo__preview-more {
        width: 78px;
        height: 78px;
    }
}

.lp-gallery-2-photo__arrows ._slider-arrows-inner {
    background: var(--primary-color-base);
}