/* Order Limit Popup Styles */
.wolip-order-limit-popup {
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    animation: wolipSlideIn 0.5s ease-out;
}

.wolip-popup-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.wolip-popup-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.wolip-popup-header {
    background: rgba(0,0,0,0.2);
    padding: 30px 25px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.wolip-popup-icon {
    font-size: 60px;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    animation: wolipBounce 0.6s ease-out;
}

.wolip-popup-title {
    color: #ffffff;
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.wolip-popup-content {
    padding: 35px 30px 40px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

.wolip-popup-text {
    margin: 0 0 12px;
    font-size: 18px;
    color: #ffffff;
    line-height: 1.5;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.wolip-popup-warning {
    margin: 0 0 20px;
    font-size: 20px;
    color: #fff3cd;
    text-align: center;
    font-weight: 700;
    background: rgba(220, 53, 69, 0.3);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.wolip-popup-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    margin: 25px 0;
}

.wolip-popup-contact-text {
    margin: 0 0 25px;
    color: rgba(255,255,255,0.95);
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.wolip-popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.wolip-popup-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.wolip-popup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.wolip-popup-btn:hover::before {
    left: 100%;
}

.wolip-messenger-btn {
    background: #0084FF;
    color: white;
    box-shadow: 0 4px 15px rgba(0,132,255,0.4);
}

.wolip-whatsapp-btn {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
}

/* Flat Button Style */
.wolip-popup-btn.wolip-flat {
    box-shadow: none;
}

.wolip-popup-btn.wolip-flat::before {
    display: none;
}

/* Outline Button Style */
.wolip-popup-btn.wolip-outline {
    background: transparent;
    border: 2px solid;
    box-shadow: none;
}

.wolip-popup-btn.wolip-outline.wolip-messenger-btn {
    border-color: #0084FF;
    color: #0084FF;
}

.wolip-popup-btn.wolip-outline.wolip-whatsapp-btn {
    border-color: #25D366;
    color: #25D366;
}

.wolip-popup-btn.wolip-outline img {
    filter: none;
}

.wolip-popup-btn.wolip-outline:hover {
    background: rgba(255,255,255,0.1);
}

.wolip-popup-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.wolip-popup-btn.wolip-outline img {
    filter: none;
}

.wolip-popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.wolip-popup-btn:active {
    transform: translateY(0);
}

@keyframes wolipSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wolipBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .wolip-popup-header {
        padding: 25px 20px !important;
    }
    .wolip-popup-content {
        padding: 25px 20px 30px !important;
    }
    .wolip-popup-title {
        font-size: 22px !important;
    }
    .wolip-popup-icon {
        font-size: 50px !important;
    }
    .wolip-popup-buttons {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .wolip-popup-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
    }
}

@media (max-width: 480px) {
    .wolip-popup-header {
        padding: 20px 15px !important;
    }
    .wolip-popup-title {
        font-size: 20px !important;
    }
    .wolip-popup-icon {
        font-size: 45px !important;
    }
}

/* Fix WooCommerce Error Display */
.woocommerce-error .wolip-order-limit-popup {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}