/* חלונית "רגע לפני וואטסאפ" (parts/wa-dialog.php, assets/js/wa.js). עצמאית: אותו מראה בכל עמוד. */
.wa-dlg{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:0;border:0;border-radius:24px;background:#FFFDF9;color:#2E2A26;font-family:"Assistant",system-ui,sans-serif;font-size:18px;line-height:1.5;box-shadow:0 40px 80px -30px rgba(46,42,38,.55)}
.wa-dlg::backdrop{background:rgba(46,42,38,.45)}
.wa-dlg form{position:relative;display:grid;gap:16px;margin:0;padding:40px 24px 24px}
.wa-dlg h2{margin:0;font-size:24px;line-height:1.3;font-weight:800;color:#2E2A26;letter-spacing:-.01em}
.wa-dlg p{margin:0}
.wa-p{color:#5E564E;font-size:17px;line-height:1.5}
.wa-ic{display:grid;place-content:center;width:48px;height:48px;border-radius:50%;background:#E7F5EC;color:#1C8B4B}
.wa-ic svg{width:26px;height:26px;display:block}
.wa-x{position:absolute;top:8px;inset-inline-end:8px;display:grid;place-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:none;color:#2E2A26;cursor:pointer}
.wa-x svg{width:22px;height:22px;display:block}
.wa-x:hover{background:#EFE4D2}
.wa-dlg label{display:grid;gap:8px;margin:0;font-weight:700;font-size:17px;color:#2E2A26}
.wa-dlg input[type=text],.wa-dlg input[type=tel]{box-sizing:border-box;width:100%;min-height:56px;padding:0 16px;border:2px solid #85796C;border-radius:16px;background:#fff;font:inherit;font-weight:400;font-size:18px;color:#2E2A26}
[dir=rtl] .wa-dlg input[type=tel]{text-align:right}
.wa-dlg input:focus-visible,.wa-go:focus-visible,.wa-x:focus-visible,.wa-dlg a:focus-visible{outline:3px solid #A6492E;outline-offset:2px}
.wa-dlg input[aria-invalid=true]{border-color:#B3261E}
.wa-dlg .wa-consent{display:flex;align-items:flex-start;gap:8px;font-weight:400;color:#5E564E;font-size:15px;line-height:1.5;cursor:pointer}
.wa-consent input{flex:none;width:22px;height:22px;margin:2px 0 0;accent-color:#A6492E}
.wa-hp{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wa-err{color:#B3261E;font-weight:700;font-size:17px}
.wa-err:empty{display:none}
.wa-go{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:56px;padding:0 24px;border:0;border-radius:999px;background:#A6492E;color:#fff;font:inherit;font-weight:800;font-size:18px;cursor:pointer;transition:background .18s}
.wa-go:hover{background:#8A3A23}
.wa-go svg{width:22px;height:22px;display:block}
.wa-note{font-size:15px;color:#5E564E;text-align:center}
.wa-note a{color:#8A3A23}
@media (prefers-reduced-motion:no-preference){.wa-dlg[open]{animation:wa-in .42s cubic-bezier(.22,1,.36,1)}@keyframes wa-in{from{opacity:0;transform:translateY(16px)}}}
html.a11y-still .wa-dlg[open]{animation:none}
