.product-images.loading,
.product-cover.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.product-images.loading::after,
.product-cover.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ctpf.active {
    border: 2px solid #000 !important;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}