/**
 * wa-button.css
 * تصميم زر واتساب لمتجر WooCommerce
 */

/* ============================================
   الزر الرئيسي
   ============================================ */
.wa-woo-wrap {
    display: block !important;
    width: 100% !important;
    margin-top: 12px;
    margin-bottom: 8px;
    position: static !important;
    float: none !important;
    clear: both !important;
    flex-basis: 100% !important;
    flex-shrink: 0 !important;
    order: 999;
    box-sizing: border-box;
}

.wa-order-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    background: #25D366;
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-sizing: border-box;
}

/* تأثير shimmer عند hover */
.wa-order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.18),
        transparent
    );
    transition: left 0.45s ease;
}

.wa-order-btn:hover::before {
    left: 100%;
}

.wa-order-btn:hover {
    background: #128C7E !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.38);
}

.wa-order-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* حالة "تم الفتح" */
.wa-order-btn.wa-btn-sent {
    background: #128C7E !important;
    cursor: default;
}

/* pulse animation removed — conflicts with WooCommerce product image gallery */

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 480px) {
    .wa-order-btn {
        font-size: 0.95rem;
        padding: 13px 16px;
    }
}
