/* плавная смена главного изображения */
#modelMainImage {
    transition: opacity .25s ease;
    display: block;
}

/* миниатюры */
.thumb {
    width: 72px;
    height: 54px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    transition: transform .15s ease, box-shadow .15s ease;
    opacity: .95;
}

/* активная миниатюра */
.thumb.active {
    outline: 3px solid rgba(11, 102, 195, 0.12);
    box-shadow: 0 8px 20px rgba(11, 102, 195, 0.12);
    transform: translateY(-4px);
    opacity: 1;
}

/* небольшая анимация при наведении */
.thumb:hover {
    transform: translateY(-2px);
}


/* Небольшое расстояние между миниатюрами (Bootstrap 4 не поддерживает gap в flex старые браузеры) */
.thumbnails {
    gap: 10px;
    display: flex;
}

.thumb {
    width: 72px;
    height: 54px;
    padding: 0;
    border-radius: 6px;
    object-fit: cover;
}

.thumb.active {
    outline: 3px solid rgba(11, 102, 195, 0.12);
    box-shadow: 0 6px 16px rgba(11, 102, 195, 0.08);
}

.model-gallery img {
    border-radius: 8px;
}

.learn-more.btn-primary {
    background: rgb(255 193 7 / 0.95);
    border: none;
    color: #e53935;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 30px;
    padding: 10px 18px;
}

.learn-more.btn-primary:hover {
    background: rgb(255 193 7 / 1);
    color: #b91c1c;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

#model-card .card{
    max-width: 70vw;
}

@media (max-width: 575.98px) {
    #model-card .card {
        max-width: 95vw !important;
    }

    .thumb {
        width: 64px;
        height: 48px;
    }
}

.btn-card{
    display: flex;
    justify-content: center;
}

