.gallery-head .h2 {
    margin-bottom: 24px;
}
.gallery-content {
    padding-bottom: 120px;
}
.gallery-gutenberg {
    display: flex;
    flex-wrap: wrap;
    gap: 22px !important;
    width: 100%;
}
.gallery-gutenberg figure {
    position: relative;
    display: flex;
    width: calc((100vw - 40px) / 5 - 19px);
    cursor: pointer;
}
.gallery-gutenberg figure::before {
    content: "";
    background: url(/wp-content/themes/shop/img/icons/zoom.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 22px;
    height: 22px;
    transition: all 0.5s ease;
    transform-origin: 50% 50%;
}
.gallery-gutenberg figure:hover::before {
    width: 28px;
    height: 28px;
}
.gallery-gutenberg figure {
    position: relative;
    display: flex;
    width: calc((100vw - 40px) / 5 - 19px);
    cursor: pointer;
}
.gallery-gutenberg figure img {
    height: calc((100vw - 40px) / 5 - 19px);
    border-radius: 5px;
}
.load-more-images {
    margin: 50px auto 0 auto;
}
@media (max-width: 1279px) {
    .gallery-content {
        padding-bottom: 50px;
    }
    .gallery-gutenberg figure {
        position: relative;
        display: flex;
        width: calc((100vw - 20px) / 4 - 19px);
        cursor: pointer;
    }
    .gallery-gutenberg figure img {
        height: calc((100vw - 20px) / 4 - 19px);
        border-radius: 5px;
    }
}
@media (max-width: 768px) {
    .gallery-gutenberg {
        gap: 10px !important;
    }
    .gallery-gutenberg figure {
        width: calc((100vw - 20px) / 2 - 5px);
    }
    .gallery-gutenberg figure img {
        height: calc((100vw - 20px) / 2 - 5px);
    }
    #glightbox-slider:before {
        content: "Для навігації свайп в сторону!";
        color: #Fff;
        position: absolute;
        top: 26px;
        left: 0;
        right: 0;
        display: flex;
        width: 100%;
        justify-content: center;
        z-index: 999999;
    }
}