﻿/* Стили для страницы деталей товара */
.gallery-thumb {
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

    .gallery-thumb:hover {
        transform: scale(1.1);
        border-color: #007bff;
    }

.active-thumb {
    border-color: #007bff !important;
    transform: scale(1.1);
}

.sticky-top {
    z-index: 1;
}

.card {
    transition: box-shadow 0.3s ease;
}

    .card:hover {
        box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    }

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .sticky-top {
        position: static !important;
    }

    .card-body img {
        max-height: 250px !important;
    }
}

@media (max-width: 576px) {
    .card-body img {
        max-height: 200px !important;
    }

    .h2 {
        font-size: 1.5rem !important;
    }
}
