/**
 * Custom Side Cart Styles
 * Override quick view behavior for product title links
 */

/* Disable quick view trigger on product name links in side cart */
.xoo-wsc-container .xoo-wsc-pname a {
    pointer-events: auto !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1) !important;
    touch-action: manipulation !important;
}

/* Ensure the product name link is clickable and not blocked by other elements */
.xoo-wsc-container .xoo-wsc-pname {
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

/* Remove any quick view icon or overlay on side cart product titles */
.xoo-wsc-container .xoo-wsc-pname a::before,
.xoo-wsc-container .xoo-wsc-pname a::after {
    display: none !important;
    pointer-events: none !important;
}

/* Disable any quick view modal trigger classes */
.xoo-wsc-container .xoo-wsc-pname a.xoo-qv-trigger,
.xoo-wsc-container .xoo-wsc-pname a[data-xoo-qv-trigger] {
    pointer-events: auto !important;
}

/* Mobile specific fixes */
@media screen and (max-width: 768px) {
    .xoo-wsc-container .xoo-wsc-pname a {
        display: block !important;
        position: relative !important;
        z-index: 999 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-user-select: none !important;
        user-select: none !important;
    }
    
    /* Ensure no overlays block the link on mobile */
    .xoo-wsc-container .xoo-wsc-pname {
        position: relative !important;
        z-index: 998 !important;
    }
    
    /* Hide any quick view icons or overlays on mobile */
    .xoo-wsc-container .xoo-qv-trigger,
    .xoo-wsc-container [data-xoo-qv-trigger] {
        pointer-events: none !important;
    }
    
    .xoo-wsc-container .xoo-wsc-pname a.xoo-qv-trigger,
    .xoo-wsc-container .xoo-wsc-pname a[data-xoo-qv-trigger] {
        pointer-events: auto !important;
    }
}
