/* AUTOOL light language dialog adapted from the authorized source plugin, 2026-10-29.
 * Shared choices use only the languages and regions already rendered by the site. */
html.abhf-choice-open { overflow:hidden; }
html.abhf-choice-open :is(#abhf-sheet-rg,.abhf-pop--rg) { visibility:hidden; }
#abhf-currency-dialog {
 --choice-ink:#15181c; --choice-line:rgba(21,24,28,.1);
 position:fixed; inset:0; box-sizing:border-box; width:100%; height:100%; max-width:100%; max-height:100%;
 margin:0; padding:0; border:0; overflow:hidden; background:transparent; color:var(--choice-ink);
}
#abhf-currency-dialog[open] { display:flex; align-items:flex-end; justify-content:center; }
#abhf-currency-dialog::backdrop { background:rgba(21,24,28,.32); }
#abhf-currency-dialog .abhf-choice-panel {
 display:flex; flex-direction:column; width:100%; min-height:0;
 height:calc(100% - 12px - env(safe-area-inset-top,0px)); overflow:hidden;
 border-radius:var(--as-radius-md,6px) var(--as-radius-md,6px) 0 0;
 background:rgba(255,255,255,.84); -webkit-backdrop-filter:saturate(180%) blur(18px); backdrop-filter:saturate(180%) blur(18px);
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),0 24px 64px rgba(21,24,28,.2);
 animation:abhf-choice-enter .24s ease-out;
}
#abhf-currency-dialog .abhf-choice-head { position:relative; display:flex; flex:none; align-items:center; justify-content:center; min-height:56px; padding:0 56px; border-bottom:1px solid var(--choice-line); }
#abhf-currency-dialog .abhf-choice-head h2 { margin:0; color:var(--choice-ink); font-size:17px; font-weight:600; line-height:1.3; text-align:center; }
#abhf-currency-dialog .abhf-choice-close { position:absolute; top:6px; right:6px; display:grid; place-items:center; width:44px; height:44px; min-height:0; margin:0; padding:0; border:0; border-radius:var(--as-radius-ctrl,2px); background:transparent; color:var(--choice-ink); font:28px/1 Arial,sans-serif; cursor:pointer; }
#abhf-currency-dialog .abhf-choice-search { position:relative; flex:none; padding:12px 20px; }
#abhf-currency-dialog .abhf-choice-search svg { position:absolute; left:34px; top:50%; transform:translateY(-50%); color:#5f636b; width:18px; height:18px; pointer-events:none; }
#abhf-currency-dialog .abhf-choice-search input { width:100%; height:44px; margin:0; padding:0 14px 0 44px; border:1px solid transparent; border-radius:var(--as-radius-ctrl,2px); background:rgba(21,24,28,.055); color:var(--choice-ink); font-size:16px; appearance:none; }
#abhf-currency-dialog .abhf-choice-search input::placeholder { color:#5f636b; }
#abhf-currency-dialog .abhf-choice-search input:focus { background:rgba(255,255,255,.92); }
#abhf-currency-dialog .abhf-choice-list { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; display:grid; grid-template-columns:minmax(0,1fr); align-content:start; gap:0; padding:0 0 calc(24px + env(safe-area-inset-bottom,0px)); }
#abhf-currency-dialog .abhf-choice-option { display:flex; align-items:center; gap:12px; min-width:0; min-height:52px; margin:0; padding:10px 20px; border:0; border-radius:0; box-shadow:inset 0 -1px 0 var(--choice-line); background:transparent; color:var(--choice-ink); font:inherit; font-size:16px; line-height:1.3; text-align:left; cursor:pointer; }
#abhf-currency-dialog .abhf-choice-code { flex:none; font-weight:500; }
#abhf-currency-dialog .abhf-choice-name { flex:1; min-width:0; color:#5f636b; font-size:14px; text-align:right; }
#abhf-currency-dialog .abhf-choice-option[aria-pressed="true"] { font-weight:600; }
#abhf-currency-dialog .abhf-choice-option[aria-pressed="true"]::after { content:'✓'; flex:none; }
#abhf-currency-dialog :is(.abhf-choice-option,.abhf-choice-close):is(:hover,:active) { background:rgba(21,24,28,.09); color:var(--choice-ink); }
#abhf-currency-dialog :is(button,input):focus-visible { outline:2px solid #15181c !important; outline-offset:-2px; }
#abhf-currency-dialog [hidden] { display:none !important; }
#abhf-currency-dialog .abhf-choice-empty { margin:0; padding:32px 20px; color:#5f636b; font-size:15px; text-align:center; }
@media (min-width:768px) {
 #abhf-currency-dialog[open] { align-items:center; padding:48px 32px; }
 #abhf-currency-dialog .abhf-choice-panel { width:min(960px,100%); height:auto; max-height:100%; border-radius:var(--as-radius-md,6px); }
 #abhf-currency-dialog .abhf-choice-head h2 { font-size:16px; }
 #abhf-currency-dialog .abhf-choice-search { padding:16px 32px; border-bottom:1px solid var(--choice-line); }
 #abhf-currency-dialog .abhf-choice-search svg { left:46px; }
 #abhf-currency-dialog .abhf-choice-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:20px 32px 32px; }
 #abhf-currency-dialog .abhf-choice-option { min-height:48px; padding:10px 16px; border-radius:var(--as-radius-ctrl,2px); background:rgba(21,24,28,.045); box-shadow:none; font-size:14px; }
}
@media (min-width:1280px) {
 #abhf-currency-dialog[open] { padding:96px 60px 64px; }
 #abhf-currency-dialog .abhf-choice-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-height:560px) and (min-width:768px) { #abhf-currency-dialog[open] { padding:12px 32px; } }
/* Phone only. Desktop/tablet and the side-toolbar button retain their original site styling. */
@media (max-width:767px) {
 body .as-totop { width:36px; height:36px; min-width:36px; min-height:36px; padding:0; background:rgba(255,255,255,.84); color:#15181c; -webkit-backdrop-filter:saturate(180%) blur(18px); backdrop-filter:saturate(180%) blur(18px); border:1px solid rgba(21,24,28,.14); box-shadow:0 6px 20px rgba(21,24,28,.12); }
 body .as-totop:is(:hover,:focus-visible) { background:rgba(245,245,242,.9); color:#15181c; }
 body .as-totop:active { background:rgba(235,235,232,.92); }
 body .as-totop svg { width:16px; height:16px; }
 body .as-totop::before { content:''; position:absolute; inset:-4px; }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
 #abhf-currency-dialog .abhf-choice-panel { background:#fff; }
 @media (max-width:767px) { body .as-totop { background:#fff; } }
}
@media (prefers-reduced-transparency:reduce) {
 #abhf-currency-dialog .abhf-choice-panel { background:#fff; -webkit-backdrop-filter:none; backdrop-filter:none; }
 @media (max-width:767px) { body .as-totop { background:#fff; -webkit-backdrop-filter:none; backdrop-filter:none; } }
}
@keyframes abhf-choice-enter { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce) { #abhf-currency-dialog .abhf-choice-panel { animation:none; } }

/* Shared region/language/currency choices and cart-style transition feedback. */
#abhf-currency-dialog.is-leaving .abhf-choice-panel { animation:abhf-choice-exit .14s ease-in both; pointer-events:none; }
#abhf-currency-dialog .abhf-choice-head { padding-top:12px; padding-bottom:12px; }
#abhf-currency-dialog .abhf-choice-name { overflow-wrap:anywhere; }
#abhf-currency-dialog[data-kind="link"] .abhf-choice-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media (max-width:767px) { #abhf-currency-dialog[data-kind="link"] .abhf-choice-list { grid-template-columns:minmax(0,1fr); } }
@keyframes abhf-choice-exit { to { opacity:0; transform:translateY(12px) scale(.98); } }
.abhf-switch-feedback {
 position:fixed; z-index:999980; inset:auto; left:50%; top:42%; transform:translate(-50%,-50%);
 display:flex; flex-direction:column; align-items:center; gap:8px; box-sizing:border-box;
 width:236px; max-width:calc(100vw - 40px); margin:0; padding:24px 20px; overflow:visible;
 border:1px solid rgba(255,255,255,.6); border-radius:18px; background:#fff; color:#15181c;
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),0 24px 64px rgba(21,24,28,.2);
 text-align:center; font-size:17px; line-height:24px; pointer-events:none;
 animation:abhf-switch-enter .24s ease-out both;
}
.abhf-switch-feedback[hidden] { display:none !important; }
.abhf-switch-feedback::backdrop { background:transparent; pointer-events:none; }
.abhf-switch-mark { display:grid; place-items:center; flex:none; width:60px; height:60px; margin-bottom:6px; border-radius:50%; background:var(--theme-palette-color-1,#feb511); color:#15181c; box-shadow:0 0 0 7px color-mix(in srgb,var(--theme-palette-color-1,#feb511) 18%,transparent); }
.abhf-switch-mark svg { display:none; width:32px; height:32px; }
.abhf-switch-title { font-size:13px; line-height:1.4; color:#5f636b; }
.abhf-switch-value { font:inherit; font-weight:700; overflow-wrap:anywhere; }
.abhf-switch-spinner { display:block; width:28px; height:28px; border:3px solid rgba(21,24,28,.2); border-top-color:#15181c; border-radius:50%; animation:abhf-switch-spin .8s linear infinite; }
.abhf-switch-feedback[data-state="done"] .abhf-switch-spinner { display:none; }
.abhf-switch-feedback[data-state="done"] .abhf-switch-mark svg { display:block; }
.abhf-switch-feedback[data-state="done"] path { stroke-dasharray:26; animation:abhf-switch-check .32s ease-out both; }
@keyframes abhf-switch-spin { to { transform:rotate(360deg); } }
@keyframes abhf-switch-check { from { stroke-dashoffset:26; } to { stroke-dashoffset:0; } }
@keyframes abhf-switch-enter { from { opacity:0; transform:translate(-50%,calc(-50% + 12px)) scale(.92); } to { opacity:1; transform:translate(-50%,-50%) scale(1); } }
@supports ((backdrop-filter:blur(18px)) or (-webkit-backdrop-filter:blur(18px))) {
 .abhf-switch-feedback { background:rgba(255,255,255,.84); -webkit-backdrop-filter:saturate(180%) blur(18px); backdrop-filter:saturate(180%) blur(18px); }
}
@media (prefers-reduced-transparency:reduce) { .abhf-switch-feedback { background:#fff; -webkit-backdrop-filter:none; backdrop-filter:none; } }
@media (prefers-reduced-motion:reduce) {
 #abhf-currency-dialog.is-leaving .abhf-choice-panel,.abhf-switch-feedback,.abhf-switch-spinner,.abhf-switch-feedback[data-state="done"] path { animation:none; transition:none; }
}
