/* ---------- Language switcher (AWAB translation) ---------- */
html body .awabtr-switcher{--a:var(--awabtr-accent,#4f46e5);--bg:rgba(255,255,255,.92);--fg:#111827;--mut:#6b7280;--bd:rgba(17,24,39,.08);--hov:rgba(17,24,39,.045);--bgs:#fff;--sh:0 10px 30px -6px rgba(17,24,39,.25),0 2px 6px rgba(17,24,39,.08);position:relative!important;font:500 14px/1.25 system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Arabic","Noto Sans",Arial,sans-serif!important;z-index:99998!important;direction:ltr!important;text-align:left!important;box-sizing:border-box!important}
@media (prefers-color-scheme:dark){
html body .awabtr-switcher{--bg:rgba(24,24,32,.92);--fg:#f3f4f6;--mut:#9ca3af;--bd:rgba(255,255,255,.1);--hov:rgba(255,255,255,.07);--bgs:#17171f;--sh:0 12px 34px -6px rgba(0,0,0,.6)}}
html body .awabtr-switcher *{box-sizing:border-box!important}
html body .awabtr-switcher.awabtr-inline{display:inline-block!important}
html body .awabtr-switcher.awabtr-float{position:fixed!important;bottom:20px!important}
html body .awabtr-switcher.awabtr-pos-right{right:20px!important}
html body .awabtr-switcher.awabtr-pos-left{left:20px!important}
html body .awabtr-switcher .awabtr-cur{display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;width:auto!important;height:auto!important;min-height:0!important;min-width:0!important;max-width:none!important;margin:0!important;padding:7px 12px 7px 8px!important;float:none!important;border:1px solid var(--bd)!important;border-radius:999px!important;background:var(--bg)!important;-webkit-backdrop-filter:saturate(1.6) blur(14px)!important;backdrop-filter:saturate(1.6) blur(14px)!important;color:var(--fg)!important;cursor:pointer!important;box-shadow:var(--sh)!important;font:inherit!important;font-weight:600!important;text-transform:none!important;letter-spacing:normal!important;text-decoration:none!important;white-space:nowrap!important;line-height:1.25!important;-webkit-appearance:none!important;appearance:none!important;transition:transform .18s ease,box-shadow .18s ease!important}
html body .awabtr-switcher .awabtr-cur:hover,html body .awabtr-switcher .awabtr-cur:focus,html body .awabtr-switcher .awabtr-cur:active{background:var(--bg)!important;color:var(--fg)!important;border-color:var(--bd)!important;box-shadow:var(--sh)!important;text-decoration:none!important}
html body .awabtr-switcher .awabtr-cur:hover{transform:translateY(-1px)!important}
html body .awabtr-switcher .awabtr-cur span{display:inline!important;margin:0!important;padding:0!important;color:inherit!important;font:inherit!important;line-height:inherit!important;text-transform:none!important;letter-spacing:normal!important}
html body .awabtr-switcher .awabtr-cur:focus-visible,html body .awabtr-switcher .awabtr-list a:focus-visible,html body .awabtr-switcher .awabtr-sin:focus-visible{outline:2px solid var(--a)!important;outline-offset:2px!important}
html body .awabtr-switcher img.awabtr-flag{display:block!important;flex:none!important;width:24px!important;height:24px!important;min-width:24px!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;object-fit:cover!important;background:#e5e7eb!important;box-shadow:0 0 0 1px rgba(0,0,0,.12),0 1px 3px rgba(0,0,0,.18)!important}
html body .awabtr-switcher .awabtr-list a img.awabtr-flag{width:28px!important;height:28px!important;min-width:28px!important}
html body .awabtr-switcher svg{display:block!important;flex:none!important;width:16px!important;height:16px!important;margin:0!important;padding:0!important;fill:none!important}
html body .awabtr-switcher .awabtr-caret{color:var(--mut)!important;transition:transform .22s ease!important}
html body .awabtr-switcher.awabtr-open .awabtr-caret{transform:rotate(180deg)!important}
html body .awabtr-switcher.awabtr-float .awabtr-caret{transform:rotate(180deg)!important}
html body .awabtr-switcher.awabtr-float.awabtr-open .awabtr-caret{transform:rotate(0)!important}
html body .awabtr-switcher .awabtr-tick{width:18px!important;height:18px!important;opacity:0!important;color:var(--a)!important}
html body .awabtr-switcher .awabtr-menu{position:absolute!important;min-width:240px!important;width:max-content!important;max-width:min(320px,calc(100vw - 32px))!important;padding:8px!important;border:1px solid var(--bd)!important;border-radius:18px!important;background:var(--bg)!important;-webkit-backdrop-filter:saturate(1.6) blur(18px)!important;backdrop-filter:saturate(1.6) blur(18px)!important;box-shadow:var(--sh)!important;color:var(--fg)!important;opacity:0!important;visibility:hidden!important;transform:translateY(8px) scale(.97)!important;transition:opacity .18s ease,transform .18s ease,visibility .18s!important}
html body .awabtr-switcher.awabtr-float .awabtr-menu{bottom:calc(100% + 10px)!important;transform-origin:bottom!important}
html body .awabtr-switcher.awabtr-inline .awabtr-menu{top:calc(100% + 10px)!important;transform:translateY(-8px) scale(.97)!important;transform-origin:top!important}
html body .awabtr-switcher.awabtr-pos-right .awabtr-menu{right:0!important}
html body .awabtr-switcher.awabtr-pos-left .awabtr-menu,html body .awabtr-switcher.awabtr-inline .awabtr-menu{left:0!important}
html body .awabtr-switcher.awabtr-end .awabtr-menu{left:auto!important;right:0!important}
html body .awabtr-switcher.awabtr-open .awabtr-menu{opacity:1!important;visibility:visible!important;transform:none!important}
html body .awabtr-switcher .awabtr-sbox{padding:2px 2px 8px!important;margin:0!important;background:none!important;border:0!important}
html body .awabtr-switcher input.awabtr-sin{display:block!important;width:100%!important;height:auto!important;margin:0!important;padding:9px 12px!important;border:1px solid var(--bd)!important;border-radius:12px!important;background:var(--hov)!important;color:var(--fg)!important;font:inherit!important;font-weight:400!important;font-size:14px!important;line-height:1.3!important;box-shadow:none!important;text-transform:none!important;-webkit-appearance:none!important;appearance:none!important}
html body .awabtr-switcher input.awabtr-sin::placeholder{color:var(--mut)!important}
html body .awabtr-switcher ul.awabtr-list{max-height:min(55vh,340px)!important;overflow:auto!important;margin:0!important;padding:0!important;list-style:none!important;scrollbar-width:thin!important;background:none!important;border:0!important;box-shadow:none!important}
html body .awabtr-switcher .awabtr-list li{margin:0!important;padding:0!important;list-style:none!important;background:none!important;border:0!important;box-shadow:none!important}
html body .awabtr-switcher .awabtr-list a{display:flex!important;align-items:center!important;gap:12px!important;margin:0!important;padding:8px 10px!important;border:0!important;border-radius:12px!important;color:var(--fg)!important;text-decoration:none!important;box-shadow:none!important;text-transform:none!important;letter-spacing:normal!important;font:inherit!important;line-height:1.25!important;transition:background .12s!important}
html body .awabtr-switcher .awabtr-list a:hover,html body .awabtr-switcher .awabtr-list a:focus{background:var(--hov)!important;color:var(--fg)!important;text-decoration:none!important}
html body .awabtr-switcher .awabtr-names{display:flex!important;flex-direction:column!important;flex:1!important;min-width:0!important}
html body .awabtr-switcher .awabtr-nm{display:block!important;font-weight:600!important;color:var(--fg)!important;margin:0!important;text-transform:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html body .awabtr-switcher .awabtr-en{display:block!important;font-size:12px!important;font-weight:400!important;color:var(--mut)!important;margin:0!important;text-transform:none!important}
html body .awabtr-switcher .awabtr-code{display:none!important;font:inherit!important;color:inherit!important;margin:0!important;padding:0!important}
html body .awabtr-switcher .awabtr-list a.awabtr-active{background:color-mix(in srgb,var(--a) 12%,transparent)!important}
html body .awabtr-switcher .awabtr-list a.awabtr-active .awabtr-tick{opacity:1!important}

/* design: card grid */
html body .awabtr-switcher.awabtr-s-grid .awabtr-menu{min-width:300px!important}
html body .awabtr-switcher.awabtr-s-grid .awabtr-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
html body .awabtr-switcher.awabtr-s-grid .awabtr-list a{flex-direction:column!important;justify-content:center!important;gap:8px!important;padding:14px 6px!important;text-align:center!important;position:relative!important}
html body .awabtr-switcher.awabtr-s-grid .awabtr-list a img.awabtr-flag{width:40px!important;height:40px!important;min-width:40px!important}
html body .awabtr-switcher.awabtr-s-grid .awabtr-names{align-items:center!important;flex:none!important}
html body .awabtr-switcher.awabtr-s-grid .awabtr-en{display:none!important}
html body .awabtr-switcher.awabtr-s-grid .awabtr-tick{position:absolute!important;top:6px!important;right:6px!important;width:16px!important;height:16px!important}

/* design: minimal (for headers) */
html body .awabtr-switcher.awabtr-s-min .awabtr-cur{background:transparent!important;border-color:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:6px 8px!important;color:inherit!important;font-weight:500!important}
html body .awabtr-switcher.awabtr-s-min .awabtr-cur:hover,html body .awabtr-switcher.awabtr-s-min .awabtr-cur:focus,html body .awabtr-switcher.awabtr-s-min .awabtr-cur:active{background:rgba(127,127,127,.12)!important;box-shadow:none!important;border-color:transparent!important}
html body .awabtr-switcher.awabtr-s-min .awabtr-cur .awabtr-cur-name,html body .awabtr-switcher.awabtr-s-min .awabtr-cur .awabtr-caret{color:inherit!important}
html body .awabtr-switcher.awabtr-s-min img.awabtr-cur-flag{width:20px!important;height:20px!important;min-width:20px!important}

/* designs: always-visible lists (round flags / segmented bar) */
html body .awabtr-switcher.awabtr-s-flags,html body .awabtr-switcher.awabtr-s-seg{display:inline-block!important}
html body .awabtr-switcher.awabtr-s-flags.awabtr-float,html body .awabtr-switcher.awabtr-s-seg.awabtr-float{display:block!important}
html body .awabtr-switcher.awabtr-s-flags ul.awabtr-list,html body .awabtr-switcher.awabtr-s-seg ul.awabtr-list{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important;max-height:none!important;overflow:visible!important;padding:8px 10px!important;background:var(--bg)!important;border:1px solid var(--bd)!important;border-radius:999px!important;box-shadow:var(--sh)!important;-webkit-backdrop-filter:saturate(1.6) blur(14px)!important;backdrop-filter:saturate(1.6) blur(14px)!important;max-width:calc(100vw - 28px)!important}
html body .awabtr-switcher.awabtr-s-flags.awabtr-float ul.awabtr-list{flex-direction:column!important;border-radius:28px!important}
html body .awabtr-switcher.awabtr-s-flags .awabtr-list a{display:block!important;width:34px!important;height:34px!important;padding:0!important;border-radius:50%!important;transition:transform .15s!important}
html body .awabtr-switcher.awabtr-s-flags .awabtr-list a img.awabtr-flag{width:34px!important;height:34px!important;min-width:34px!important}
html body .awabtr-switcher.awabtr-s-flags .awabtr-list a:hover{transform:scale(1.12)!important;background:none!important}
html body .awabtr-switcher.awabtr-s-flags .awabtr-list a.awabtr-active{background:none!important;box-shadow:0 0 0 3px var(--bg),0 0 0 5px var(--a)!important}
html body .awabtr-switcher.awabtr-s-flags .awabtr-names,html body .awabtr-switcher.awabtr-s-flags .awabtr-tick,html body .awabtr-switcher.awabtr-s-seg .awabtr-names,html body .awabtr-switcher.awabtr-s-seg .awabtr-tick{display:none!important}
html body .awabtr-switcher.awabtr-s-seg ul.awabtr-list{gap:2px!important;padding:4px!important;border-radius:999px!important}
html body .awabtr-switcher.awabtr-s-seg .awabtr-list a{padding:6px 13px 6px 8px!important;border-radius:999px!important;gap:7px!important;font-weight:700!important;font-size:13px!important;letter-spacing:.03em!important}
html body .awabtr-switcher.awabtr-s-seg .awabtr-list a img.awabtr-flag{width:20px!important;height:20px!important;min-width:20px!important}
html body .awabtr-switcher.awabtr-s-seg .awabtr-code{display:inline!important}
html body .awabtr-switcher.awabtr-s-seg .awabtr-list a.awabtr-active{background:var(--a)!important;color:#fff!important}
html body .awabtr-switcher.awabtr-s-seg .awabtr-list a.awabtr-active .awabtr-code{color:#fff!important}
html body .awabtr-switcher.awabtr-s-seg .awabtr-list a.awabtr-active img.awabtr-flag{box-shadow:0 0 0 2px rgba(255,255,255,.7)!important}

/* design: popup window */
html body .awabtr-switcher.awabtr-overlay{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;z-index:2147483001!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important;background:rgba(10,10,20,.55)!important;-webkit-backdrop-filter:blur(6px)!important;backdrop-filter:blur(6px)!important;opacity:0!important;visibility:hidden!important;transition:opacity .2s ease,visibility .2s!important}
html body .awabtr-switcher.awabtr-overlay.awabtr-show{opacity:1!important;visibility:visible!important}
html body .awabtr-switcher.awabtr-overlay .awabtr-dialog{width:min(680px,100%)!important;max-height:min(86vh,640px)!important;display:flex!important;flex-direction:column!important;gap:12px!important;padding:20px!important;border-radius:24px!important;background:var(--bgs)!important;color:var(--fg)!important;box-shadow:0 30px 80px -20px rgba(0,0,0,.5)!important;transform:translateY(14px) scale(.97)!important;transition:transform .22s ease!important}
html body .awabtr-switcher.awabtr-overlay.awabtr-show .awabtr-dialog{transform:none!important}
html body .awabtr-switcher.awabtr-overlay .awabtr-dh{display:flex!important;align-items:center!important;justify-content:space-between!important;font-size:17px!important;color:var(--fg)!important}
html body .awabtr-switcher.awabtr-overlay .awabtr-x{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:var(--hov)!important;color:var(--fg)!important;font-size:22px!important;line-height:1!important;cursor:pointer!important;text-transform:none!important;box-shadow:none!important}
html body .awabtr-switcher.awabtr-overlay .awabtr-x:hover,html body .awabtr-switcher.awabtr-overlay .awabtr-x:focus{background:var(--hov)!important;color:var(--fg)!important;box-shadow:none!important}
html body .awabtr-switcher.awabtr-overlay ul.awabtr-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(170px,1fr))!important;gap:10px!important;max-height:none!important;flex:1!important;overflow:auto!important}
html body .awabtr-switcher.awabtr-overlay .awabtr-grid a{padding:12px 14px!important;border:1px solid var(--bd)!important;border-radius:14px!important}
html body .awabtr-switcher.awabtr-overlay .awabtr-grid a:hover,html body .awabtr-switcher.awabtr-overlay .awabtr-grid a.awabtr-active{border-color:var(--a)!important}
html.awabtr-noscroll,html.awabtr-noscroll body{overflow:hidden!important}

/* previews inside the admin settings page */
html body .awabtr-preview .awabtr-switcher{position:relative!important;display:inline-block!important;inset:auto!important;pointer-events:none!important}
html body .awabtr-preview .awabtr-switcher .awabtr-menu{position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;margin-top:8px!important;width:auto!important;min-width:0!important;max-width:100%!important}
html body .awabtr-preview .awabtr-switcher .awabtr-cur .awabtr-caret{transform:rotate(180deg)!important}
html body .awabtr-preview .awabtr-switcher ul.awabtr-list{max-height:none!important}
@media (max-width:480px){
html body .awabtr-switcher.awabtr-float{bottom:14px!important}
html body .awabtr-switcher.awabtr-pos-right{right:14px!important}
html body .awabtr-switcher.awabtr-pos-left{left:14px!important}}
@media (prefers-reduced-motion:reduce){
html body .awabtr-switcher *{transition:none!important}}


/* ---------- early state / page direction ---------- */
html.awabtr-pending body{opacity:0!important}
html.awabtr-active body{transition:opacity .22s ease}
html.awabtr-leaving body{opacity:.35!important;transition:opacity .15s ease}
html.awabtr-rtl body{direction:rtl!important}

/* ---------- RTL helpers (theme / Elementor RTL stylesheets are injected by JS when available) ---------- */
html.awabtr-rtl .alignleft{float:right;margin-left:1.5em;margin-right:0}
html.awabtr-rtl .alignright{float:left;margin-right:1.5em;margin-left:0}
html.awabtr-rtl .elementor-align-left{text-align:right}
html.awabtr-rtl .elementor-align-right{text-align:left}
html.awabtr-rtl textarea,html.awabtr-rtl select,
html.awabtr-rtl input[type="text"],html.awabtr-rtl input[type="search"],html.awabtr-rtl input[type="email"],
html.awabtr-rtl input[type="tel"],html.awabtr-rtl input[type="url"],html.awabtr-rtl input[type="password"],
html.awabtr-rtl input[type="number"]{direction:rtl!important;text-align:right!important}
html.awabtr-rtl ::placeholder{text-align:right}
html.awabtr-rtl [style*="text-align: left"],html.awabtr-rtl [style*="text-align:left"],html.awabtr-rtl [align="left"]{text-align:right!important}
html.awabtr-rtl .wd-text-block,html.awabtr-rtl .wd-text-block p,html.awabtr-rtl .wd-text-block li{direction:rtl}
html.awabtr-rtl .text-left,html.awabtr-rtl .elementor-align-left .elementor-heading-title,html.awabtr-rtl .title-align-left{text-align:right!important}
html.awabtr-rtl .text-right,html.awabtr-rtl .title-align-right{text-align:left!important}
html.awabtr-rtl .wpr-advanced-text,html.awabtr-rtl .wpr-anim-text,html.awabtr-rtl .wpr-promo-box-content{direction:rtl}
html.awabtr-rtl .awabtr-ui,html.awabtr-rtl .awabtr-switcher,html.awabtr-rtl .awabtr-switcher *{direction:ltr!important;text-align:left!important}

/* WoodMart lists / icon lists (image or icon on the start side, text next to it) */
html.awabtr-rtl .wd-list,html.awabtr-rtl .wd-list li,html.awabtr-rtl .wd-list .list-content{direction:rtl;text-align:right}
html.awabtr-rtl .wd-list li{justify-content:flex-start}
html.awabtr-rtl .wd-list li>img,html.awabtr-rtl .wd-list li>.wd-icon,html.awabtr-rtl .wd-list li>i,html.awabtr-rtl .wd-list li>span.wd-icon{margin-inline-start:0!important;margin-inline-end:8px!important}
html.awabtr-rtl .wd-justify-left{justify-content:flex-start!important}
html.awabtr-rtl .wd-justify-right{justify-content:flex-end!important}
html.awabtr-rtl .wd-align-left,html.awabtr-rtl .text-left{text-align:right}
html.awabtr-rtl .wd-align-right,html.awabtr-rtl .text-right{text-align:left}

/* ---------- Editor ---------- */
.awabtr-panel{position:fixed;top:0;left:0;bottom:0;width:360px;max-width:92vw;z-index:2147483000;display:flex;flex-direction:column;background:#fff;color:#1d2327;border-right:1px solid #dcdcde;box-shadow:4px 0 24px rgba(0,0,0,.18);font:13px/1.4 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;direction:ltr;text-align:left}
.awabtr-panel.awabtr-min{bottom:auto;width:auto;max-width:none}
.awabtr-panel.awabtr-min>*:not(.awabtr-ph){display:none}
.awabtr-ph{display:flex;align-items:center;gap:6px;padding:10px 12px;background:#1d2327;color:#fff}
.awabtr-ph strong{flex:1;font-size:13px}
.awabtr-btn{padding:6px 10px;border:1px solid #c3c4c7;border-radius:6px;background:#f6f7f7;color:#1d2327;cursor:pointer;font:inherit}
.awabtr-btn:hover{background:#fff}
.awabtr-btn.awabtr-primary{background:#2271b1;border-color:#2271b1;color:#fff}
.awabtr-btn.awabtr-primary:hover{background:#135e96}
.awabtr-hint{margin:0;padding:8px 12px;color:#646970;font-size:12px}
.awabtr-box{padding:10px 12px;border-top:1px solid #eee;border-bottom:1px solid #eee;background:#fafafa}
.awabtr-lbl{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#646970}
.awabtr-orig{margin:2px 0 8px;padding:6px 8px;background:#fff;border:1px solid #e0e0e0;border-radius:6px;max-height:90px;overflow:auto;word-break:break-word}
.awabtr-ta{width:100%;box-sizing:border-box;padding:8px;border:1px solid #8c8f94;border-radius:6px;font:inherit;resize:vertical;min-height:80px}
.awabtr-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px}
.awabtr-status{font-size:12px;color:#007017}
.awabtr-search{margin:8px 12px;padding:7px 10px;border:1px solid #8c8f94;border-radius:6px;font:inherit}
.awabtr-list-s{flex:1;overflow:auto;padding:0 12px 12px}
.awabtr-row{position:relative;padding:8px 10px;margin-bottom:6px;border:1px solid #e0e0e0;border-radius:8px;cursor:pointer}
.awabtr-row:hover{border-color:#2271b1}
.awabtr-row.awabtr-sel{border-color:#2271b1;background:#f0f6fc}
.awabtr-row.awabtr-man{border-left:3px solid #00a32a}
.awabtr-s{color:#646970;font-size:12px;word-break:break-word}
.awabtr-t{margin-top:2px;word-break:break-word}
.awabtr-tag{position:absolute;top:6px;right:8px;font-size:10px;padding:1px 6px;border-radius:999px;background:#00a32a;color:#fff}
.awabtr-hl{position:fixed;z-index:2147482999;pointer-events:none;border:2px solid #2271b1;background:rgba(34,113,177,.12);border-radius:4px}
