/*! Contact Buttons Control - Hide WhatsApp & Phone Buttons */
/* Version 2.0 - تم تحديثه ليشمل جميع أزرار الموقع */

/* Hide WhatsApp buttons when disabled */
body.whatsapp-disabled .whatsapp-button,
body.whatsapp-disabled .wa-button,
body.whatsapp-disabled .whatsapp-float,
body.whatsapp-disabled .whatsapp-floating,
body.whatsapp-disabled a[href*="wa.me"],
body.whatsapp-disabled a[href*="whatsapp"],
body.whatsapp-disabled a[href*="api.whatsapp.com"],
body.whatsapp-disabled .fa-whatsapp,
body.whatsapp-disabled [class*="whatsapp"],
body.whatsapp-disabled #whatsapp-button,
body.whatsapp-disabled .social-whatsapp,
body.whatsapp-disabled .cta-whatsapp,
body.whatsapp-disabled .whatsapp-btn,
body.whatsapp-disabled .social-item.whats,
body.whatsapp-disabled #cta_whats,
body.whatsapp-disabled .footer-cta .whats {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Hide Phone/Call buttons when disabled - شامل كل الأزرار */
body.phone-disabled .phone-button,
body.phone-disabled .call-button,
body.phone-disabled .call-now,
body.phone-disabled .phone-float,
body.phone-disabled .phone-floating,
body.phone-disabled a[href^="tel:"],
body.phone-disabled a[href*="tel:"],
body.phone-disabled .fa-phone,
body.phone-disabled .fa-phone-alt,
body.phone-disabled .fa-phone-flip,
body.phone-disabled [class*="call-now"],
body.phone-disabled #call-button,
body.phone-disabled .social-phone,
body.phone-disabled .cta-button-float.call,
body.phone-disabled .mobile-cta-btn.call-btn,
body.phone-disabled .call-btn,
body.phone-disabled #mv-call-now,
body.phone-disabled .mv-call,
body.phone-disabled .mv-call__btn,
body.phone-disabled .cta-phone,
body.phone-disabled [class*="call"]:not(input):not(.form-group),
body.phone-disabled [class*="phone"]:not(.phone-input-group):not([type="tel"]):not(input):not(.iti),
body.phone-disabled a[title*="اتصل"],
body.phone-disabled a[title*="call" i] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* استثناء حقول الإدخال من الإخفاء */
body.phone-disabled input[type="tel"],
body.phone-disabled .phone-input-group,
body.phone-disabled .form-group.phone-input-group {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Specific selectors for common patterns */
body.whatsapp-disabled .social-icons a[href*="whatsapp"],
body.phone-disabled .social-icons a[href^="tel:"] {
    display: none !important;
}

/* Hide floating action buttons */
body.whatsapp-disabled .floating-whatsapp,
body.phone-disabled .floating-call {
    display: none !important;
}

/* إخفاء زر الاتصال المفاجئ */
body.phone-disabled #mv-call-now.mv-call,
body.phone-disabled .mv-call[data-show="1"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: none !important;
}




