/* Gallery Container */
.qing-product-gallery {
    width: 100%;
}

/* Main Image */
.qing-product-gallery__main {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #f8f8f8;
    overflow: hidden;
    margin-bottom: 1rem;
}

.qing-product-gallery__main-img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: opacity 0.3s ease;
}

.qing-product-gallery__zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.qing-product-gallery__zoom svg {
    width: 16px;
    height: 16px;
    stroke: #196eca;
}

.qing-product-gallery__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #196eca;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.375rem 0.75rem;
    z-index: 2;
}

/* Thumbnails */
.qing-product-gallery__thumbs {
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 0;
}

.qing-product-gallery__nav {
    flex-shrink: 0;
    width: 36px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    color: #196eca;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    user-select: none;
    border: 1px solid #e5e7eb;
}

.qing-product-gallery__nav:hover {
    background-color: #196eca;
    color: #ffffff;
}

.qing-product-gallery__nav svg {
    width: 14px;
    height: 14px;
}

.qing-product-gallery__thumbs-viewport {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.qing-product-gallery__thumbs-track {
    display: flex;
    gap: 12px;
    transition: transform 0.3s ease;
}

.qing-product-gallery__thumb {
    flex-shrink: 0;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: opacity 0.2s, border-color 0.2s;
}

.qing-product-gallery__thumb:hover {
    opacity: 1;
}

.qing-product-gallery__thumb.active {
    border-color: #0f1d2f;
    opacity: 1;
}
