/**
 * CSS to Slider
 */
.product-gallery {
    position: relative;
    max-width: 600px;
}

.product-image-frame {
    position: relative;
    overflow: hidden;
}

.product-main-image {
    width: 100%;
    display: block;
    cursor: zoom-in;
}

.product-zoom-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,.6);
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 8px 10px;
    cursor: pointer;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.5);
    color: #fff;
    border: 0;
    padding: 12px 8px;
    cursor: pointer;
    opacity: 0;
    transition: opacity.2s;
}

.product-image-frame:hover.gallery-nav {
    opacity: 1;
}

.gallery-prev { left: 5px; }
.gallery-next { right: 5px; }

.product-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumb-item {
    flex: 0 0 70px;
    height: 70px;
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 2px;
    cursor: pointer;
    background: none;
}

.thumb-item.active {
    border-color: #0070ba;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}