/* R4 — a quiet, compact part of the hero; never a floating layer over a purchase. */
.s004-home .market-context{--market-ink:#505a4e;--market-muted:#777969;--market-edge:#dcded1;--market-paper:#f5f5ec;margin:-5px 0 20px;max-width:100%;min-width:0}
.s004-home .market-context [hidden]{display:none!important}
.s004-home .market-picker{margin:0;border:1px solid var(--market-edge);border-radius:16px;background:linear-gradient(115deg,#f4f3eafa,#f9f8f0b3);color:var(--market-ink);overflow:hidden;min-width:0}
.s004-home .market-picker .market-summary{display:flex;align-items:center;gap:12px;min-height:64px;padding:11px 16px;list-style:none;cursor:pointer;-webkit-tap-highlight-color:transparent;user-select:none;outline-offset:-4px;transition:background .15s ease}
.s004-home .market-summary::-webkit-details-marker{display:none}
.s004-home .market-summary::marker{content:''}
.s004-home .market-picker .market-summary:hover{background:#eaece180}
.s004-home .market-location{width:32px;height:32px;min-width:32px;display:grid;place-items:center;border:1px solid #cdd2c0;border-radius:50%;color:#728068;background:#fcfbf580}
.s004-home .market-location svg{width:18px;height:18px}
.s004-home .market-summary-copy{display:grid;gap:3px;min-width:0;flex:1}
.s004-home .market-summary-label{font:500 10px/1.2 Arial,sans-serif;letter-spacing:.055em;color:var(--market-muted)}
.s004-home .market-summary-copy strong{font:500 13px/1.35 Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:0;color:var(--market-ink)}
.s004-home .market-currency-tag{border:1px solid #d8dcca;border-radius:6px;background:#fcfbf299;padding:4px 6px;font:600 10px/1 Arial,sans-serif;letter-spacing:.055em;flex-shrink:0}
.s004-home .market-summary-action{display:flex;align-items:center;gap:8px;font:500 11px/1.4 Arial,sans-serif;flex-shrink:0;color:#646e5f}
.s004-home .market-summary-action svg{width:14px;height:14px;transition:transform .16s ease}
.s004-home .market-picker[open] .market-summary-action svg{transform:rotate(180deg)}
.s004-home .market-picker[open] .market-summary{border-bottom:1px solid #dcded1a6}
.s004-home .market-panel{padding:16px;background:#fffdf5aa}
.s004-home .market-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.s004-home .market-fields:has(.market-currencies:not([hidden])){grid-template-columns:minmax(0,1fr) auto}
.s004-home .market-country-label{display:grid;gap:7px;min-width:0;font:600 11px/1.4 Arial,sans-serif;color:var(--market-ink)}
.s004-home .market-select-wrap{position:relative;display:block;min-width:0}
.s004-home .market-country-label select{display:block;appearance:none;-webkit-appearance:none;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;padding:10px 31px 10px 12px;border:1px solid #d2d6c8;border-radius:10px;background:#fffdf8;color:#485443;font:400 14px/1.4 Arial,sans-serif;box-shadow:none;white-space:nowrap;text-overflow:ellipsis}
.s004-home .market-select-wrap>svg{position:absolute;right:11px;top:15px;width:14px;height:14px;pointer-events:none;color:#6c7b60}
.s004-home .market-currencies{border:0;padding:0;margin:0;min-width:0;color:var(--market-ink)}
.s004-home .market-currencies legend{font:600 11px/1.4 Arial,sans-serif;letter-spacing:0;padding:0;margin:0 0 7px}
.s004-home .market-currency-options{display:flex;gap:4px;min-height:44px}
.s004-home .market-currency-options label{position:relative;display:flex;flex:1;min-width:62px;cursor:pointer;font:600 12px/1.4 Arial,sans-serif}
.s004-home .market-currency-options input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.s004-home .market-currency-options input+span{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;width:100%;border:1px solid #d8dccd;border-radius:9px;background:#fffdf8;padding:8px;pointer-events:none;transition:background .14s ease,border-color .14s ease}
.s004-home .market-currency-options small{font:400 10px/1 Arial,sans-serif;color:inherit;opacity:.8}
.s004-home .market-currency-options input:checked+span{background:#e7eddd;border-color:#a8b995;color:#36512d}
.s004-home .market-currency-options input:focus-visible+span{outline:2px solid #72876c;outline-offset:2px}
.s004-home .market-country-label select:disabled,.s004-home .market-currency-options input:disabled+span{opacity:.6;cursor:default}
.s004-home .market-country-label select:focus-visible,.s004-home .market-summary:focus-visible,.s004-home .market-done:focus-visible{outline:2px solid #72876c;outline-offset:3px}
.s004-home .market-picker .market-summary:focus-visible{outline-offset:-4px}
.s004-home .market-panel-footer{display:flex;align-items:center;gap:16px;margin-top:12px}
.s004-home .market-panel-footer p{flex:1;margin:0;font:400 11px/1.6 Arial,sans-serif;color:#737766;min-width:0}
.s004-home .market-done{display:inline-flex;align-items:center;gap:11px;min-height:44px;flex-shrink:0;padding:9px 12px;border:1px solid #c7d1bb;border-radius:999px;background:#f0f3e7;color:#4b6541;font:600 11px/1.4 Arial,sans-serif;cursor:pointer;box-shadow:none;transition:background .14s ease}
.s004-home .market-done:hover{background:#e6edd9}
.s004-home .market-context .market-inline-notice{margin:8px 10px 0;padding-left:10px;border-left:2px solid #c0cbaa;color:#64725a;font:400 11px/1.65 Arial,sans-serif}
@media(max-width:600px){
 .s004-home .market-picker .market-summary{min-height:64px;padding:10px 12px;gap:9px}
 .s004-home .market-country-label select{font-size:16px}
 .s004-home .market-fields:has(.market-currencies:not([hidden])){grid-template-columns:minmax(0,1fr)}
 .s004-home .market-currency-options{max-width:210px}
 .s004-home .market-panel{padding:14px}
}
@media(max-width:359px){
 .s004-home .market-summary-action{gap:4px;font-size:10px}
 .s004-home .market-location{width:28px;height:28px;min-width:28px}
 .s004-home .market-summary-copy strong{font-size:12px}
 .s004-home .market-currency-tag{padding:4px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){.s004-home .market-context *{transition:none!important;animation:none!important}}
@media(forced-colors:active){
 .s004-home .market-picker,.s004-home .market-country-label select,.s004-home .market-currency-options input+span,.s004-home .market-done{border-color:CanvasText;background:Canvas;color:CanvasText}
 .s004-home .market-currency-options input:checked+span{outline:2px solid Highlight;outline-offset:-4px}
 .s004-home .market-currency-options input:focus-visible+span{outline:2px dashed Highlight;outline-offset:2px}
}

/* R5 shared picker: quick choices commit through the same policy-checked select. */
.s004-home .market-country-control{min-width:0}
.s004-home .market-context{container-type:inline-size}
@container(max-width:480px){.s004-home .market-fields:has(.market-currencies:not([hidden])){grid-template-columns:minmax(0,1fr)}.s004-home .market-currency-options{max-width:210px}}
.s004-home .market-country-quick{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.s004-home .market-country-quick button{flex:1 1 88px;min-width:0;min-height:44px;padding:9px 10px;border:1px solid #d2d6c8;border-radius:10px;background:#fffdf8;color:#485443;font:500 12px/1.4 Arial,sans-serif;cursor:pointer}
.s004-home .market-country-quick button[aria-pressed="true"]{background:#e7eddd;border-color:#a8b995;color:#36512d;box-shadow:inset 0 0 0 1px #a8b995}
.s004-home .market-country-quick button:disabled{opacity:.6;cursor:default}
.s004-home .market-country-label[data-country-picker="enhanced"]>.market-select-wrap{display:none}
.s004-home .market-country-label .country-picker__input{min-height:44px;padding:10px 12px;border:1px solid #d2d6c8;border-radius:10px;background:#fffdf8;color:#485443;font:400 16px/1.4 Arial,sans-serif}
.s004-home .market-country-label .country-picker__options{position:static;margin-top:6px;max-height:224px;box-shadow:none;border-color:#d2d6c8}
.s004-home .market-country-label .country-picker__option[aria-selected="true"]{font-weight:600;background:#e7eddd;color:#36512d}
.s004-home .market-country-label .country-picker__option[data-active="true"]{outline:2px solid #72876c;outline-offset:-2px;background:#edf0e5}
.s004-home .market-country-label .country-picker__hint{font-weight:400;color:#737766}
.s004-home .market-country-quick button:focus-visible,.s004-home .market-country-label .country-picker__input:focus-visible{outline:2px solid #72876c;outline-offset:2px}
@media(forced-colors:active){.s004-home .market-country-quick button,.s004-home .market-country-label .country-picker__input{border-color:CanvasText;background:Canvas;color:CanvasText}.s004-home .market-country-quick button[aria-pressed="true"]{outline:2px solid Highlight;outline-offset:-4px}}
