/* ==========================================
   IMAGE PREVIEWER / SLIDER
   ========================================== */

.image-previewer {
    margin-bottom: 32px;
}

.main-image-container {
    position: relative;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
}

.main-image-container .modal-hero-image {
    width: 100%;
    display: block;
    margin-bottom: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.image-nav-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 16px;
}

.next-btn {
    right: 16px;
}

.image-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: thin;
}

.image-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.image-thumbnails::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.thumbnail-image {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail-image:hover {
    opacity: 0.7;
}

.thumbnail-image.active {
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
