.dm-vehicle-gallery {
    width: 100%;
}

.dm-vehicle-gallery__main {
    position: relative;
    overflow: hidden;
}

.dm-vehicle-gallery__main .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dm-vehicle-gallery__image {
    display: block;
    width: 100%;
    height: auto;
}

.dm-vehicle-gallery__thumbs {
    margin-top: 15px;
}

.dm-vehicle-gallery__thumbs .swiper-slide {
    width: 100px;
    cursor: pointer;
    opacity: 0.6;
}

.dm-vehicle-gallery__thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.dm-vehicle-gallery__thumbnail {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.dm-vehicle-gallery__prev,
.dm-vehicle-gallery__next {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.dm-vehicle-gallery__prev {
    left: 15px;
}

.dm-vehicle-gallery__next {
    right: 15px;
}

.dm-vehicle-gallery__prev:hover,
.dm-vehicle-gallery__next:hover {
    background: rgba(0, 0, 0, 0.8);
}

@media (max-width: 767px) {
    .dm-vehicle-gallery__thumbs .swiper-slide {
        width: 75px;
    }

    .dm-vehicle-gallery__prev,
    .dm-vehicle-gallery__next {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
}