/* WooCommerce Category Popup Styles */

.wcp-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: wcpFadeIn 0.3s ease-in-out;
}

.wcp-popup {
    position: relative;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: wcpSlideIn 0.3s ease-out;
}

.wcp-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333333;
    opacity: 1;
    transition: all 0.2s;
    padding: 5px 10px;
    font-weight: bold;
}

.wcp-close:hover {
    color: #000000;
    transform: scale(1.1);
}

.wcp-title {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.wcp-content {
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.wcp-content p:last-child {
    margin-bottom: 0;
}

.wcp-button {
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.wcp-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.wcp-button:active {
    transform: translateY(0);
}

/* Animations */
@keyframes wcpFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes wcpSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .wcp-popup {
        width: 95%;
        padding: 20px;
        margin: 20px;
    }
    
    .wcp-title {
        font-size: 20px;
    }
    
    .wcp-button {
        width: 100%;
        padding: 14px;
    }
}
