.wag-bothimg-container {
    width: 100%;
    position: relative;
    margin: 20px 0;
    border-radius: 16px;
    overflow: hidden;
    min-height: 600px;
}

.wag-bothimg-background {
    background: #ffffff;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.wag-bothimg-images-wrapper {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 2;
    padding: 50px 5px;
    margin: 0 auto;
}

.wag-bothimg-image {
    flex-shrink: 0;
    width: 100%;
    max-width: 502px;
    height: 502px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.wag-bothimg-image:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Адаптивность */
@media (max-width: 1100px) {
    .wag-bothimg-images-wrapper {
        gap: 20px;
        padding: 40px 5px;
    }

    .wag-bothimg-image {
        max-width: 450px;
        height: 450px;
    }
}

@media (max-width: 950px) {
    .wag-bothimg-images-wrapper {
        gap: 15px;
        padding: 100px 5px;
    }

    .wag-bothimg-image {
        max-width: 400px;
        height: 400px;
    }
}

@media (max-width: 850px) {
    .wag-bothimg-container {
        min-height: 500px;
    }

    .wag-bothimg-images-wrapper {
        flex-direction: column;
        gap: 25px;
        padding: 40px 0px;
        width: 50%;
    }

    .wag-bothimg-image {
        max-width: 100%;
        height: auto;
        max-height: 400px;
    }
}

@media (max-width: 600px) {
    .wag-bothimg-container {
        min-height: 450px;
    }

    .wag-bothimg-images-wrapper {
        padding: 30px 0px;
        gap: 20px;
        width: 70%;
    }

    .wag-bothimg-image {
        max-height: 350px;
    }
}

@media (max-width: 480px) {
    .wag-bothimg-container {
        min-height: 400px;
        border-radius: 12px;
    }

    .wag-bothimg-images-wrapper {
        padding: 25px 0px;
        gap: 15px;
        width: 90%;
    }

    .wag-bothimg-image {
        max-height: 300px;
        border-radius: 8px;
    }
}