/* Khung cố định cho ảnh chi tiết xe - Chống giật / nhảy khung hình */
#zoom-fig {
    width: 100% !important;
    max-width: 100% !important;
    height: 460px !important;
    position: relative !important;
    overflow: hidden !important;
    background-color: #0f172a !important; /* bg-slate-900 */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0.75rem !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {
    #zoom-fig {
        height: 380px !important;
    }
}

@media (max-width: 768px) {
    #zoom-fig {
        height: 300px !important;
    }
}

@media (max-width: 480px) {
    #zoom-fig {
        height: 240px !important;
    }
}

#zoom-fig .MagicZoom,
#zoom-fig .mz-figure,
#zoom-fig .mz-figure > figure {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

#zoom-fig img,
#zoom-fig .mz-figure > img,
#zoom-fig .MagicZoom img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border-radius: 0.5rem !important;
}

/* Thư viện thumbnails ảnh chi tiết */
.selectors a[data-zoom-id],
.selectors .selector-thumb,
.selectors .mz-thumb {
    width: 76px !important;
    height: 56px !important;
    border-radius: 0.5rem !important;
    overflow: hidden !important;
    display: block !important;
    margin: 0 3px !important;
    padding: 0 !important;
    border: 2px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.selectors a[data-zoom-id].active,
.selectors .selector-thumb.active,
.selectors .mz-thumb.mz-thumb-selected,
.selectors .mz-thumb-selected {
    border-color: #0F3CBA !important; /* Brand Blue */
    width: 76px !important;
    height: 56px !important;
}

.selectors a[data-zoom-id] img,
.selectors .selector-thumb img,
.selectors .mz-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 0.375rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

#description_here,
#content_here {
    display: none;
}

#buttonSeeMore {
    display: none;
}
