/* Theme-integrated EN/AR controls. No theme geometry, body, html, or WooCommerce layout overrides. */
.fps-language-switcher select{padding:8px 30px 8px 11px;border:1px solid #c7ccd5;border-radius:8px;background:#fff;color:#182435;font:inherit;min-width:122px;max-width:220px;cursor:pointer}
.fps-floating{position:fixed;right:18px;bottom:20px;z-index:999990;filter:drop-shadow(0 3px 12px rgba(0,0,0,.14))}
.fps-editor-link,.fps-editor-launch,.fps-editor-exit{position:fixed;right:18px;z-index:999991;background:#303b9c!important;color:#fff!important;text-decoration:none!important;border:0;border-radius:8px;padding:10px 16px;font:600 13px/1.4 system-ui,sans-serif!important;cursor:pointer}
.fps-editor-link{bottom:76px}.fps-editor-launch{bottom:76px}.fps-editor-exit{bottom:124px;background:#222!important}
.fps-editable{outline:1px dashed #6a54d5;outline-offset:2px;cursor:pointer}
.fps-editable:hover,.fps-editable:focus-visible{outline:2px solid #5c4bc5;background:rgba(100,90,210,.12)}
.fps-editor-panel,.fps-editor-panel *{box-sizing:border-box}
.fps-editor-panel{position:fixed;right:18px;top:7vh;z-index:2147483647;width:min(470px,calc(100vw - 32px));max-height:86vh;overflow:auto;padding:19px;background:#fff;color:#17243a;box-shadow:0 15px 65px #0005;border:1px solid #e2e5ec;border-radius:12px;font:14px/1.5 system-ui,sans-serif;direction:ltr;text-align:left}
.fps-editor-panel [hidden]{display:none!important}
.fps-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-19px;padding:0 0 12px;background:#fff;border-bottom:1px solid #e5e7eb}
.fps-panel-heading strong{font-size:16px}.fps-panel-heading button{border:1px solid #d9dde6;border-radius:6px;background:#fff;color:#26374b;padding:2px 10px;font-size:22px;cursor:pointer}
.fps-list-view p{margin:12px 0;color:#475569}
.fps-editor-panel .fps-search{display:block;width:100%;height:40px;padding:8px;border:1px solid #cad0da;border-radius:6px;background:#fff;color:#17243a;font:inherit}
.fps-count{margin:10px 0;font-size:12px;color:#53647a}.fps-string-list{display:grid;gap:6px}
.fps-string-item{background:#f8fafc!important;color:#17243a!important;border:1px solid #e0e5ed!important;border-radius:6px!important;padding:9px 11px!important;font:13px/1.35 system-ui,sans-serif!important;text-align:left!important;cursor:pointer;overflow-wrap:anywhere;max-height:72px;overflow:hidden}
.fps-string-item:hover{background:#eef2ff!important;border-color:#9da8f0!important}
.fps-editor-panel label{display:block;margin:12px 0;font-weight:650}
.fps-editor-panel textarea{display:block;width:100%;min-height:93px;padding:10px;margin-top:5px;background:#fff;color:#17243a;border:1px solid #cad0da;border-radius:6px;resize:vertical;font:inherit}
.fps-editor-panel .fps-editor-actions{display:flex;gap:10px;align-items:center;justify-content:flex-start}
.fps-editor-panel .fps-save{background:#303b9c!important;border:0;border-radius:6px;color:#fff!important;padding:10px 15px;cursor:pointer;font:600 13px system-ui,sans-serif}
.fps-editor-panel .fps-save:disabled{opacity:.6;cursor:wait}
.fps-editor-panel .fps-cancel,.fps-editor-panel .fps-back{border:1px solid #ced5df;border-radius:6px;background:#fff;color:#27384d;padding:8px 12px;cursor:pointer}
.fps-editor-status{min-height:24px;color:#273d53}/* Preserve theme-wide LTR/Flex/Grid geometry in Arabic and Urdu. Never set direction on body or html. */
@media(max-width:600px){.fps-floating{right:8px;bottom:8px}.fps-editor-link,.fps-editor-launch,.fps-editor-exit{right:8px}.fps-editor-panel{right:8px;top:4vh;max-height:92vh}}

.fps-machine-status{position:fixed;right:18px;bottom:163px;z-index:999989;max-width:280px;background:#fff;color:#26364a;border:1px solid #d5ddea;border-radius:8px;padding:9px 11px;box-shadow:0 6px 21px #0002;font:12px/1.4 system-ui,sans-serif;direction:ltr;text-align:left}.fps-machine-warning{border-color:#e5b85b;background:#fff8ec}@media(max-width:600px){.fps-machine-status{right:8px;bottom:150px;max-width:200px}}
