/* Product Details Slider ITHub Styles */

.main-image-viewport,
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__wrapper,
.product-gallery-card .main-image-viewport {
    position: relative !important;
}

/* Arrow Navigation Buttons */
.pds-ithub-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.9);
    color: #222;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: all 0.2s ease-in-out;
    user-select: none;
    outline: none;
    padding: 0;
}

.pds-ithub-arrow:hover {
    background: #111;
    color: #fff;
    border-color: #111;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.pds-ithub-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.pds-ithub-arrow-prev {
    left: 12px;
}

.pds-ithub-arrow-next {
    right: 12px;
}

.pds-ithub-arrow svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    pointer-events: none;
}

/* Thumbnail strip horizontal scrolling */
.thumbnail-strip,
.flex-control-thumbs {
    overflow-x: auto !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
}

.thumbnail-strip::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
