.product-custom-media-gallery {
    display: flex;
    justify-content: space-between;
    width: 98%;
    margin: 20px auto;

}

.funtion-text {
    padding-left: 15px;
}

.custom-media-item {
    width: 31%;
}

.funtion-text h3 {
    text-align: left;
    font-size: 2rem;
    margin-top: 1rem;
}

.custom-media-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 992px) {
    .product-custom-media-gallery {
        width: 86%;
    }
}

@media (max-width: 767px) {
    .product-custom-media-gallery {
        flex-wrap: wrap;
    }

    .custom-media-item {
        width: 100%;
        margin-top: 25px;
    }

    .custom-media-item img {
        padding: 0 15px;
    }
}