/* ps_imagezoom - Product Image Zoom Styles */

/* ===== DESKTOP ===== */

.product-cover {
    position: relative;
    overflow: visible !important;
}

.zoom-lens {
    position: absolute;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.25);
    cursor: crosshair;
    width: 120px;
    height: 120px;
    z-index: 10;
    display: none;
    border-radius: 2px;
    pointer-events: none;
}

.zoom-result {
    display: none;
    position: absolute;
    left: calc(100% + 15px);
    top: 0;
    width: 400px;
    height: 400px;
    border: 1px solid #ddd;
    background-color: #fff;
    background-repeat: no-repeat;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 100;
    border-radius: 4px;
    overflow: hidden;
}

/* ===== MOBILE ===== */

.zoom-mobile-container {
    overflow: hidden !important;
    touch-action: none;
    border-radius: 4px;
    position: relative;
}

.zoom-mobile-img {
    transform-origin: center center;
    transition: transform 0.05s linear;
    will-change: transform;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-select: none;
}

.zoom-mobile-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 20;
    pointer-events: none;
    transition: opacity 1s ease;
    opacity: 1;
}

/* Hide desktop zoom on mobile */
@media (max-width: 992px) {
    .zoom-result { display: none !important; }
    .zoom-lens { display: none !important; }
}

/* Hide mobile hint on desktop */
@media (min-width: 993px) {
    .zoom-mobile-hint { display: none !important; }
}
