/* Simplified Gallery Styles */
.new-gallery-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.main-gallery-image-container {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.main-gallery-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 70vh;
    object-fit: contain;
}

.gallery-thumbnails {
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none; /* Hide scrollbar on Firefox */
}

.gallery-thumbnails::-webkit-scrollbar {
    display: none; /* Hide scrollbar on WebKit browsers */
}

.thumbnail-scroll-container {
    display: flex;
    gap: 10px;
    padding: 5px 0;
}

.gallery-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s, border 0.3s;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.gallery-thumbnail:hover {
    opacity: 1;
}

.gallery-thumbnail.active {
    opacity: 1;
    border-color: #333;
}

/* Simple scroll hint for mobile */
.scroll-hint {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    display: none; /* Hidden by default */
}

/* Mobile portrait */
@media (max-width: 768px) {
    .new-gallery-container {
        padding: 10px;
    }
    
    .scroll-hint {
        display: block; /* Show only on mobile */
    }
    
    .gallery-thumbnail {
        width: 60px;
        height: 45px;
    }
}