.elementor-255 .elementor-element.elementor-element-4384a86{--display:flex}body.elementor-page-255:not(.elementor-motion-effects-element-type-background),body.elementor-page-255>.elementor-motion-effects-container>.elementor-motion-effects-layer{background-color:#f8f8f5}<!-- חובה ל-AJAX של וורדפרס --><h3>הזמנת מונית לשדה תעופה</h3><!-- סוג שירות --><label class="section-title">סוג שירות</label><div class="radio-group"><label>איסוף מנמל תעופה</label><label>נסיעה אל נמל תעופה</label></div><!-- שדה תעופה --><div class="airport-wrapper" style="display:none"><label class="section-title">שדה תעופה</label><div class="radio-group"><label>בן גוריון (TLV)</label><label>רמון – אילת (ETM)</label><label>חיפה (HFA)</label></div></div><!-- איסוף מנמל תעופה --><div class="service-pickup" style="display:none"><label>מספר טיסה</label><label>שעת נחיתה משוערת</label><label>יעד הנסיעה</label></div><!-- נסיעה אל נמל תעופה --><div class="service-drive" style="display:none"><label>כתובת איסוף</label><label>תאריך</label><label>שעת איסוף</label></div><!-- שדות כלליים --><label>מספר נוסעים</label>1–4 5–6 7+<label>מספר מזוודות</label><label>טלפון לחזרה</label><label>הערות</label><textarea name="notes"></textarea><button type="submit">אישור ושליחת הזמנה</button><div class="form-message" style="display:none"></div>.airport-form{max-width:620px;margin:40px auto;padding:28px;background:#fff;border-radius:18px;box-shadow:0 12px 30px rgba(0,0,0,.08)}.airport-form h3{text-align:center;margin-bottom:22px;color:#1e3a8a}.airport-form label{display:block;margin-top:16px;font-weight:700}.section-title{margin-top:26px}.airport-form input,.airport-form select,.airport-form textarea{width:100%;margin-top:6px;padding:10px;border-radius:10px;border:1px solid #cbd5e1}.airport-form textarea{min-height:90px}.radio-group{display:flex;flex-wrap:wrap;gap:18px 28px;margin-top:10px}.radio-group label{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;cursor:pointer;direction:rtl}.airport-form button{margin-top:28px;width:100%;padding:14px;border:none;border-radius:999px;background:#2563eb;color:#fff;font-size:16px;font-weight:700;cursor:pointer}.airport-form button:hover{background:#1e40af}.form-message{margin-top:20px;text-align:center;font-weight:700;color:#15803d}@media (max-width:600px){.radio-group{flex-direction:column;align-items:flex-start;gap:10px}}const airportWrap=document.querySelector('.airport-wrapper');const pickupBox=document.querySelector('.service-pickup');const driveBox=document.querySelector('.service-drive');const form=document.getElementById('airportForm');const messageBox=document.querySelector('.form-message');document.querySelectorAll('input[name=service]').forEach(serviceRadio=&gt;{serviceRadio.addEventListener('change',()=&gt;{airportWrap.style.display='block';pickupBox.style.display='none';driveBox.style.display='none'});});document.querySelectorAll('input[name=airport]').forEach(airportRadio=&gt;{airportRadio.addEventListener('change',()=&gt;{const service=document.querySelector('input[name=service]:checked')?.value;pickupBox.style.display=service==='איסוף מנמל תעופה' ? 'block':'none';driveBox.style.display=service==='נסיעה אל נמל תעופה' ? 'block':'none'});});form.addEventListener('submit',function(e){e.preventDefault();fetch('/wp-admin/admin-ajax.php',{method:'POST',body:new FormData(form)}) .then(res=&gt;res.text()) .then(()=&gt;{messageBox.style.display='block';messageBox.innerHTML=` ✔ ההזמנה התקבלה בהצלחה<br> נציג מטעמנו יחזור אליך בהקדם עם הצעת מחיר לביצוע הנסיעה `;form.reset();airportWrap.style.display='none';pickupBox.style.display='none';driveBox.style.display='none'}) .catch(()=&gt;{messageBox.style.display='block';messageBox.style.color='red';messageBox.innerHTML='אירעה שגיאה, אנא נסה שוב.'});});