/* EXTREME MODEL SHOP — Step 5 global selector design, desktop and mobile */
#ems-global-controls.ems-global-controls{display:flex;align-items:center;gap:9px;flex-shrink:0;margin-left:auto;z-index:21000;position:relative}
#ems-global-controls .ems-menu-wrap{position:relative;min-width:0}
#ems-global-controls .ems-top-choice{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;min-width:103px;padding:7px 10px;background:#27282c!important;border:1px solid #555057!important;border-radius:9px;box-shadow:none;cursor:pointer;color:#f6f2e9!important;font-size:12.5px;font-weight:600;line-height:1.3;white-space:nowrap;transition:background .16s,border-color .16s,box-shadow .16s}
#ems-global-controls .ems-top-choice>span{color:#f6f2e9!important}
#ems-global-controls .ems-top-choice:hover,#ems-global-controls .ems-top-choice[aria-expanded="true"]{background:#343238!important;border-color:#d5ac6d!important}
#ems-global-controls .ems-top-choice:focus-visible,#ems-global-controls .ems-menu-choice:focus-visible,#ems-global-controls .ems-menu-close:focus-visible{outline:2px solid #c89f60!important;outline-offset:2px}
#ems-global-controls .ems-top-label{display:inline-block;max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#ems-global-controls .ems-chevron{color:#d7c7ac!important;font-size:14px;line-height:1;transition:transform .15s}
#ems-global-controls .ems-top-choice[aria-expanded="true"] .ems-chevron{transform:rotate(180deg)}
#ems-global-controls .ems-flag-wrap{position:relative;display:inline-flex;align-items:center;justify-content:center;width:23px;height:17px;flex:0 0 23px;vertical-align:middle}
#ems-global-controls .ems-flag-wrap>.ems-fallback-flag{position:absolute;inset:0;line-height:17px;text-align:center;font-size:18px}
#ems-global-controls .ems-flag-wrap>img{position:absolute;inset:1px 0 0;width:23px;height:15px;object-fit:cover;border:1px solid rgba(0,0,0,.10);border-radius:3px;visibility:hidden}
#ems-global-controls .ems-flag-wrap[data-ready]>img{visibility:visible}
#ems-global-controls .ems-flag-wrap[data-ready]>.ems-fallback-flag{visibility:hidden}
#ems-global-controls .ems-drop-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:21001;box-sizing:border-box;width:282px;min-width:0;max-width:min(92vw,310px);padding:0;overflow:hidden;background:#fffefb!important;border:1px solid #d7d0c4!important;border-radius:13px;box-shadow:0 12px 36px rgba(0,0,0,.23);color:#20252b!important;direction:ltr;text-align:left}
#ems-global-controls .ems-drop-menu[hidden],#ems-global-controls .ems-menu-choice[hidden],#ems-global-controls .ems-menu-empty[hidden]{display:none!important}
#ems-global-controls .ems-menu-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 12px 8px;background:#fffefb!important}
#ems-global-controls .ems-menu-title{margin:0;color:#24272d!important;font-size:13px;font-weight:750;line-height:1.35;letter-spacing:.01em}
#ems-global-controls .ems-menu-close{appearance:none;display:inline-flex;align-items:center;justify-content:center;border:0!important;border-radius:7px;background:#f1eee9!important;color:#4d5155!important;width:27px;height:27px;cursor:pointer;font-size:21px;line-height:1}
#ems-global-controls .ems-menu-close:hover{background:#e5ded2!important;color:#1f2429!important}
#ems-global-controls .ems-search-wrap{display:flex;padding:0 12px 9px;background:#fffefb!important}
#ems-global-controls .ems-drop-menu .ems-menu-search{appearance:none;-webkit-appearance:none;box-sizing:border-box;display:block;width:100%;height:36px;margin:0!important;padding:7px 10px;background:#fff!important;border:1px solid #c9c9c9!important;border-radius:8px!important;box-shadow:none!important;font-family:inherit;font-size:12.5px;color:#222!important;-webkit-text-fill-color:#222!important;line-height:20px}
#ems-global-controls .ems-menu-search::placeholder{color:#70777d!important;opacity:1!important;-webkit-text-fill-color:#70777d!important}
#ems-global-controls .ems-menu-search:focus{border-color:#b48a53!important;outline:2px solid rgba(180,138,83,.16)!important;outline-offset:0}
#ems-global-controls .ems-menu-list{box-sizing:border-box;display:flex;flex-direction:column;gap:2px;max-height:min(260px,43vh);overflow:auto;overscroll-behavior:contain;padding:3px 7px 7px;background:#fffefb!important;scrollbar-color:#c8c0b5 transparent;scrollbar-width:thin}
#ems-global-controls .ems-menu-choice{appearance:none;display:flex;align-items:center;gap:10px;width:100%;min-height:38px;padding:8px 9px;border:1px solid transparent!important;border-radius:8px;box-shadow:none!important;background:#fffefb!important;color:#22272d!important;text-align:left;cursor:pointer;font-size:12.5px;line-height:1.45;font-family:inherit;font-weight:500;white-space:normal}
#ems-global-controls .ems-menu-choice .ems-menu-label{display:block;flex:1;min-width:0;color:#22272d!important;-webkit-text-fill-color:#22272d!important;overflow-wrap:anywhere}
#ems-global-controls .ems-menu-choice:hover,#ems-global-controls .ems-menu-choice:focus-visible{background:#f3ede3!important;border-color:#e6d8be!important}
#ems-global-controls .ems-menu-choice[aria-pressed="true"]{background:#f5ebd9!important;border-color:#d7b985!important;color:#27231b!important;font-weight:700}
#ems-global-controls .ems-menu-check{display:none;flex:0 0 auto;align-items:center;justify-content:center;color:#8b602b!important;font-weight:900;font-size:15px}
#ems-global-controls .ems-menu-choice[aria-pressed="true"] .ems-menu-check{display:inline-flex}
#ems-global-controls .ems-menu-empty{margin:8px 10px 12px;color:#555c61!important;font-size:12px}
#ems-global-controls .ems-menu-help{display:block;margin:0!important;padding:9px 12px 11px;background:#f6f3ed!important;border-top:1px solid #e8e0d4;color:#61574b!important;font-size:10.5px;line-height:1.48}
#ems-global-controls .ems-menu-head * ,#ems-global-controls .ems-menu-help *,#ems-global-controls .ems-menu-list *,#ems-global-controls .ems-menu-empty{font-family:inherit}
.ems-region-note{box-sizing:border-box;padding:9px 12px;background:#f5f1e9;border-radius:9px;color:#66573e;text-align:center;font-size:12px;max-width:1160px;margin:12px auto 14px}
.ems-usd-charge{display:block;font-size:12px;color:#7a5735;margin-top:4px;font-weight:500}
.ems-checkout-currency{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:12px;color:#665839;justify-content:flex-end}
.ems-checkout-currency select{max-width:160px;padding:5px 8px;border:1px solid #bda889;border-radius:6px;background:#fff;color:#222}
body.ems-rtl #ems-global-controls .ems-drop-menu{direction:rtl;text-align:right}
body.ems-rtl #ems-global-controls .ems-menu-choice{text-align:right}
@media(max-width:900px){
 header .nav{flex-wrap:wrap}
 #ems-global-controls.ems-global-controls{order:3;width:100%;justify-content:flex-end;margin:0;padding:5px 0;gap:7px}
 #ems-global-controls .ems-top-choice{min-height:36px;min-width:94px;padding:6px 9px;font-size:12px}
}
@media(max-width:580px){
 #ems-global-controls .ems-top-choice{min-width:91px}
 #ems-global-controls .ems-top-label{max-width:90px}
 /* A compact, scrollable bottom sheet avoids clipping against the header */
 #ems-global-controls .ems-drop-menu{position:fixed;top:auto;bottom:max(12px, env(safe-area-inset-bottom));left:12px;right:12px;width:auto;max-width:none;max-height:min(63dvh,430px);display:flex;flex-direction:column;border-radius:14px;box-shadow:0 10px 50px rgba(0,0,0,.35)}
 #ems-global-controls .ems-menu-list{max-height:none;min-height:0;flex:1;overflow:auto}
 #ems-global-controls .ems-menu-choice{min-height:43px;padding:10px 9px;font-size:13px}
 #ems-global-controls .ems-menu-help{padding:8px 12px;font-size:10.5px}
 .ems-region-note{font-size:11px;margin:9px 8px 12px}
}

/* Integrated update: actual USD payment is stated next to the order total, not on the homepage. */
.vip-checkout-price-summary > .ems-usd-charge{display:block;margin:6px 0 2px;padding:3px 2px;color:#76572c;font-size:12px;line-height:1.5;font-weight:700;}
.ems-region-note{display:none!important;}
