.product-gallery {
    max-width: 500px;
    margin: 0 auto;
}

#tmzoom {
    width: 100%;
    height: auto;
    cursor: zoom-in;
}

.product-gallery__thumbs-wrap {
    position: relative;
}

.product-gallery__thumbs {
    margin: 0 30px;
}

.product-gallery__thumb-item {
    padding: 0 5px;
}

.product-gallery__thumb-img {
    width: 95px;
    height: 108px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    display: block;
}

.product-gallery__thumb-img:hover,
.product-gallery__thumb-img.is-active {
    border-color: #337ab7;
}

.product-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 5;
}

.product-gallery__nav a {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ======================
   MODAL (scoped)
   ====================== */
.pg-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.pg-modal__content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.pg-modal__slider img {
    width: 100%;
    height: auto;
}

.pg-modal__close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}
