﻿
.main-image-section {
    position: relative;
    text-align:center;
    width: 100%;
    margin:0;
    padding:0;
    margin-bottom:20px;
    
}

.image-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: none;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.zoom-lens {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid #666;
    pointer-events: none;
    display: none;
    z-index: 10;
}

.zoom-window {
    position: absolute;
    top: 0;
    left: 500px;
    width: 400px;
    height: 400px;
    border: 1px solid #ddd;
    overflow: hidden;
    display: none;
    z-index: 20;
    padding:0;
    margin:0;
    background: white;
}

.zoom-image {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    max-height: none;
    z-index:1099;
    padding:0;
    margin:0;
    margin-top:80px;
    margin-left:80px;
}

.thumbnail-container {
    display: flex;
    align-items: center;
    width: 100%;
    height:auto;
}

.scroll-btn {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

    .scroll-btn:hover {
        background: #e8e8e8;
    }

    .scroll-btn.disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

.thumbnails-wrapper {
    flex: 1;
    overflow: hidden;
}

.thumbnails-list {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
    list-style: none;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border:1px solid #003366;
    border-radius:2px;
    cursor: pointer;
}

    .thumbnail-item.active {
        border-color:#FF0000;
    }

    .thumbnail-item:hover:not(.active) {
        border-color: #ccc;
    }

.thumbnail-img {
    width: 98%;
    height: 98%;
    object-fit: cover;
}

.zoom-info {
    margin-top: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.error-message {
    color: #e53935;
    background: #ffebee;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    display: none;
}
