.cursor-pointer {
    cursor: pointer;
}

.transition {
    transition: all 0.2s ease;
}

.size-chart-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.size-chart-popup img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.size-chart-close {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 10000;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

/* Mobile/tablet only: enable two-finger pinch-to-zoom on the product image.
   The image stays clipped inside .product-large-image-wrapper (overflow hidden),
   so zooming never moves the page layout. */
@media (hover: none) and (pointer: coarse) {
    .product-gallery #main-carousel .glide__slide img {
        touch-action: pan-x pan-y;
        user-select: none;
        -webkit-user-select: none;
        -webkit-user-drag: none;
        will-change: transform;
    }
}