/*! VirtGold Translate */
.vgt-sw { position:relative; z-index:60; font-family:var(--vg-font-ui, inherit); }
.vgt-sw--float { position:fixed; bottom:18px; z-index:140; }
.vgt-sw--left { left:18px; } .vgt-sw--right { right:18px; }
[dir="rtl"] .vgt-sw--left { left:auto; right:18px; } [dir="rtl"] .vgt-sw--right { right:auto; left:18px; }
.vgt-sw__btn { display:inline-flex; align-items:center; gap:7px; height:42px; padding:0 14px 0 12px; border:1px solid var(--vg-border, #e5e5e5); border-radius:999px; background:var(--vg-surface, #fff); color:var(--vg-text, #111); font:600 13px/1 inherit; letter-spacing:.02em; box-shadow:var(--vg-shadow, 0 6px 20px -8px rgba(0,0,0,.25)); cursor:pointer; transition:transform .15s, border-color .15s; }
.vgt-sw__btn:hover { transform:translateY(-1px); border-color:var(--vg-primary, #f4a622); }
.vgt-sw--inline .vgt-sw__btn { height:36px; box-shadow:none; }
.vgt-busy .vgt-sw__btn svg { animation:vgt-spin 1s linear infinite; }
@keyframes vgt-spin { to { transform:rotate(360deg); } }
.vgt-sw__menu { position:absolute; bottom:calc(100% + 8px); left:0; display:grid; gap:2px; min-width:210px; max-height:min(60vh, 420px); overflow:auto; padding:6px; border:1px solid var(--vg-border, #e5e5e5); border-radius:calc(var(--vg-radius, 14px) + 2px); background:var(--vg-surface, #fff); box-shadow:var(--vg-shadow-lg, 0 18px 50px -12px rgba(0,0,0,.3)); }
.vgt-sw--right .vgt-sw__menu { left:auto; right:0; } [dir="rtl"] .vgt-sw--left .vgt-sw__menu { left:auto; right:0; } [dir="rtl"] .vgt-sw--right .vgt-sw__menu { right:auto; left:0; }
.vgt-sw--inline .vgt-sw__menu { bottom:auto; top:calc(100% + 8px); }
.vgt-sw__menu[hidden] { display:none; }
.vgt-sw__menu button { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; padding:9px 11px; border:0; border-radius:10px; background:none; color:var(--vg-text, #111); font:500 14px/1.2 inherit; text-align:start; cursor:pointer; }
.vgt-sw__menu button:hover { background:var(--vg-hover, rgba(0,0,0,.05)); }
.vgt-sw__menu button[aria-checked="true"] { background:var(--vg-primary-soft, #fff4df); font-weight:700; }
.vgt-sw__menu small { color:var(--vg-muted, #777); font-size:11.5px; font-weight:500; }
.vgt-bar { position:fixed; left:50%; bottom:18px; z-index:9995; display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; width:min(560px, calc(100% - 24px)); padding:12px 14px; border:1px solid var(--vg-border, #e5e5e5); border-radius:calc(var(--vg-radius, 14px) + 4px); background:var(--vg-surface, #fff); color:var(--vg-text, #111); font-family:var(--vg-font-ui, inherit); box-shadow:var(--vg-shadow-lg, 0 18px 50px -12px rgba(0,0,0,.3)); opacity:0; transform:translate(-50%, 16px); transition:opacity .25s, transform .25s; }
.vgt-bar.is-in { opacity:1; transform:translate(-50%, 0); }
.vgt-bar__ico { display:grid; place-items:center; flex:none; width:38px; height:38px; border-radius:12px; background:var(--vg-primary-soft, #fff4df); color:var(--vg-text, #111); }
.vgt-bar p { flex:1 1 200px; margin:0; font-size:14.5px; font-weight:600; line-height:1.4; }
.vgt-bar__btns { display:flex; gap:8px; }
.vgt-bar__btns button { height:38px; padding:0 16px; border-radius:var(--vg-btn-radius, 10px); font:700 13.5px/1 inherit; cursor:pointer; }
.vgt-bar__yes { border:0; background:var(--vg-primary, #f4a622); color:var(--vg-on-primary, #111); }
.vgt-bar__no { border:1px solid var(--vg-border, #e5e5e5); background:transparent; color:var(--vg-text, #111); }
body:has(.vgt-sw--float) .vgt-bar { bottom:72px; }
@media (max-width:600px) { .vgt-sw--float { bottom:12px; } .vgt-sw--left { left:12px; } .vgt-sw--right { right:12px; } .vgt-bar__btns { width:100%; } .vgt-bar__btns button { flex:1; } }
/* Right-to-left text only (layout unchanged) */
.vgt-rtl-text body :is(p, li, h1, h2, h3, h4, h5, h6, td, th, label, dd, dt, blockquote, figcaption, summary) { direction:rtl; text-align:right; }
/* Arabic script reads better a little larger with more line height */
html[lang="ar"] body, html[lang="fa"] body, html[lang="ur"] body { line-height:calc(var(--vg-body-line, 1.6) + .1); }
/* Stay above the sticky buy bar and next to a chat button on the same side */
body:has(.vg-sticky-buy.is-visible) .vgt-sw--float { bottom:96px; transition:bottom .25s; }
body:has(.vg-chat--left) .vgt-sw--left, body:has(.vg-chat:not(.vg-chat--left)) .vgt-sw--right { bottom:84px; }
@media (max-width:600px) { body:has(.vg-sticky-buy.is-visible) .vgt-sw--float { bottom:88px; } }
/* Keep the language button usable next to the VirtGold cookie banner: the banner moves up above it. */
body:has(.vgt-sw--float.vgt-sw--left) .vg-cc--box.vg-cc--left, body:has(.vgt-sw--float.vgt-sw--right) .vg-cc--box.vg-cc--right { bottom:76px; }
@media (max-width:560px) { body:has(.vgt-sw--float) .vg-cc--box { bottom:66px !important; } }
