#mainImage {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
}
.thumbnail-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.thumbnail-img.active,
.thumbnail-img:hover {
    border-color: #dc3545;
}
#thumbnailContainer {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

#detail {
    height: 450px;
    width: 550px;
    position: absolute;
    top: 105px;
    right: 300px;
    z-index: 9999;
    pointer-events: none;
}

@media screen and (max-width: 1000px) {
    .main-img {
        height: auto !important;
    }
}
