html[data-em-lang]:not([data-em-lang="en"]) body{overflow-wrap:anywhere}
html[data-em-lang]:not([data-em-lang="en"]) #mobileTopPromo .promo-text,html[data-em-lang]:not([data-em-lang="en"]) #mobileTopPromo .promo-download-btn{white-space:normal;line-height:1.25;text-align:center}
html[data-em-lang]:not([data-em-lang="en"]) #mobileTopPromo .promo-text{min-width:0;flex:1 1 auto}
html[data-em-lang]:not([data-em-lang="en"]) #mobileTopPromo .promo-download-btn{flex:0 1 auto;max-width:48%}
.em-lang-row{display:flex;align-items:center;gap:12px;width:100%;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.em-lang-ico{flex:none;width:36px;height:36px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:var(--primary-light,#FFF5F0);color:var(--primary,#E97C43)}
.em-lang-ico svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.em-lang-txt{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}
.em-lang-txt b{font-weight:600}
.em-lang-txt small{font-size:.78rem;opacity:.65}
.em-lang-chev{flex:none;opacity:.45;font-size:1.1rem}
.em-lang-row:hover .em-lang-chev{opacity:.8}
.em-account-pop{min-width:240px}
.em-lang-item{padding:8px 14px;cursor:default}
.em-lang-item .em-lang-row{padding:2px 0}
.em-lang-row:focus-visible{outline:2px solid var(--primary,#E97C43);outline-offset:3px;border-radius:10px}
.em-lang-ov{position:fixed;inset:0;z-index:100000}
.em-lang-box{position:fixed;display:flex;flex-direction:column;width:340px;max-height:min(420px,80vh);background:#fff;color:#1f2937;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 16px 40px rgba(15,23,42,.18);overflow:hidden;animation:emLangIn .16s ease;font-family:inherit}
.em-lang-box.is-busy{opacity:.6;pointer-events:none}
.em-lang-head{display:flex;align-items:center;justify-content:space-between;padding:12px 12px 4px 16px}
.em-lang-head h2{margin:0;font-size:.95rem;font-weight:700;color:#111827}
.em-lang-x{width:30px;height:30px;border:0;border-radius:50%;background:none;color:#6b7280;font-size:1.3rem;line-height:1;cursor:pointer}
.em-lang-x:hover{background:#f3f4f6}
.em-lang-search{margin:6px 12px 8px;padding:8px 12px;border:1.5px solid #e5e7eb;border-radius:10px;font:inherit;font-size:.88rem;outline:0;background:#fff;color:#111827}
.em-lang-search:focus{border-color:var(--primary,#E97C43)}
.em-lang-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;padding:0 8px 10px;overflow-y:auto;-webkit-overflow-scrolling:touch}
.em-lang-opt{position:relative;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 10px;border:0;border-radius:10px;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.em-lang-opt:hover,.em-lang-opt:focus-visible{background:#f3f4f6;outline:0}
.em-lang-names{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.em-lang-names b{font-size:.92rem;font-weight:600;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.em-lang-names small{font-size:.72rem;color:#6b7280}
.em-lang-tick{display:none;flex:none;width:18px;height:18px;border-radius:50%;background:var(--primary,#E97C43);color:var(--on-primary,#fff);align-items:center;justify-content:center}
.em-lang-tick svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.em-lang-opt[aria-pressed=true]{background:var(--primary-light,#FFF5F0)}
.em-lang-opt[aria-pressed=true] .em-lang-tick{display:inline-flex}
.em-lang-none{grid-column:1/-1;padding:16px 4px;text-align:center;color:#6b7280;font-size:.88rem}
html.em-lang-open{overflow:hidden}
@keyframes emLangIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media(max-width:575px){
  .em-lang-ov{background:rgba(15,23,42,.45)}
  .em-lang-box{left:0;right:0;bottom:0;top:auto;width:100%;max-height:75vh;border:0;border-radius:18px 18px 0 0;animation:emLangUp .2s ease}
  .em-lang-opt{padding:11px 12px}
}
@keyframes emLangUp{from{transform:translateY(100%)}to{transform:none}}
@media(prefers-reduced-motion:reduce){.em-lang-box{animation:none}}

.em-lang-hdr,.em-lang-float{display:inline-flex;align-items:center;gap:5px;margin:0;border:0;cursor:pointer;font:inherit;font-size:.72rem;font-weight:700;letter-spacing:.3px;color:var(--primary,#E97C43);background:var(--primary-light,#FFF5F0);border-radius:999px;padding:7px 10px;line-height:1;transition:background .15s,transform .15s}
.em-lang-hdr svg,.em-lang-float svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.em-lang-hdr:hover,.em-lang-float:hover{background:rgba(var(--primary-rgb,233,124,67),.18);transform:translateY(-1px)}
.em-lang-hdr:focus-visible,.em-lang-float:focus-visible{outline:2px solid var(--primary,#E97C43);outline-offset:2px}
.em-lang-float{position:fixed;top:12px;right:12px;z-index:9990;box-shadow:0 4px 14px rgba(15,23,42,.18);background:#fff}
@media (max-width:575px){.em-lang-hdr span{display:none}.em-lang-hdr{padding:8px}}

/* ---- placement variants (each header gets the look of its own neighbours) ---- */
/* shop, desktop utility strip: plain text link like its neighbours */
.top-info-bar .em-lang-hdr.em-lang-strip{background:none;padding:4px 8px;border-radius:6px;color:#4B5563;font-size:12.5px;font-weight:600;letter-spacing:0}
.top-info-bar .em-lang-hdr.em-lang-strip svg{width:15px;height:15px;color:var(--primary,#E97C43)}
.top-info-bar .em-lang-hdr.em-lang-strip:hover{background:color-mix(in srgb,var(--primary,#E97C43) 12%,#fff);transform:none}
/* SellerZone + admin: a compact pill (globe + language code inline), same height as the other header buttons */
.em-lang-hdr.em-lang-sq{position:relative;display:inline-flex;align-items:center;gap:6px;width:auto;height:40px;padding:0 12px;justify-content:center;border-radius:12px;background:#fff;border:1px solid var(--border-color,#e5e7eb);color:var(--secondary-color,#4b5563);font-weight:700;font-size:.78rem;letter-spacing:.02em;white-space:nowrap;transition:all .2s ease}
.em-lang-hdr.em-lang-sq svg{width:18px;height:18px;flex:none}
.em-lang-hdr.em-lang-sq span{position:static;display:inline;min-width:0;padding:0;background:none;color:inherit;font-size:inherit;line-height:1;box-shadow:none}
.em-lang-hdr.em-lang-sq:hover{background:color-mix(in srgb,var(--primary,#E97C43) 10%,#fff);border-color:var(--primary,#E97C43);color:var(--primary,#E97C43)}
.header-right .em-lang-hdr.em-lang-sq{height:40px}
@media (max-width:768px){.em-lang-hdr.em-lang-sq{height:36px;padding:0 9px;gap:4px;border-radius:10px;font-size:.72rem}.em-lang-hdr.em-lang-sq svg{width:16px;height:16px}}
/* pages without a header (login, add/edit product ...): sits top-right in the flow of the page, never over content */
.em-lang-float{position:absolute;top:12px;right:14px;z-index:50}
@media (max-width:575px){.em-lang-float{top:8px;right:10px}}
