.sf-currency-selector {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    margin: 0 2px 0 0;
    position: relative;
    width: auto;
}

.sf-currency-selector__label {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
    clip: rect(0 0 0 0);
}

.sf-currency-selector__select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    color-scheme: dark;
    color: #fff !important;
    cursor: pointer;
    display: block !important;
    font: inherit;
    font-size: 16px;
    font-weight: 900;
    height: 32px;
    line-height: 1;
    min-width: 0;
    padding: 0 17px 0 0;
    text-transform: uppercase;
    -webkit-text-fill-color: #fff;
    width: 82px !important;
}

.sf-currency-selector__select:focus {
    box-shadow: none;
    outline: none;
}

.sf-currency-selector__select option {
    background: var(--color-shell-nav-bg, #1f1a17);
    color: #fff !important;
    font-size: 15px;
    font-weight: 900;
}

.sf-currency-selector__select option:checked,
.sf-currency-selector__select option:hover {
    background: var(--color-shell-nav-bg, #1f1a17);
    color: #fff;
}

.sf-currency-selector::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    content: "";
    opacity: 0.72;
    pointer-events: none;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.sf-header .sf-currency-selector::after {
    display: none;
}

.sf-header .sf-currency-selector__select {
    padding-right: 0;
    width: 64px !important;
}

.sf-currency-selector.is-loading .sf-currency-selector__select {
    opacity: 0.6;
    pointer-events: none;
}

.sf-currency-selector__status {
    background: var(--color-shell-nav-bg, #1f1a17);
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    left: 50%;
    max-width: 220px;
    opacity: 0;
    padding: 6px 9px;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 8px);
    transform: translateX(-50%);
    transition: opacity 160ms ease;
    white-space: nowrap;
    z-index: 30;
}

.sf-currency-selector__status:not(:empty) {
    opacity: 1;
}

.sf-drawer .sf-currency-selector__select {
    color: var(--color-charcoal, #1f1a17) !important;
    font-size: 16px;
    width: 96px !important;
    -webkit-text-fill-color: var(--color-charcoal, #1f1a17);
}

@media (max-width: 640px) {
    .sf-currency-selector__select {
        font-size: 15px;
        height: 30px;
        width: 76px !important;
        padding-left: 0;
        padding-right: 16px;
    }

    .sf-drawer .sf-currency-selector__select {
        font-size: 16px;
        width: 96px !important;
    }

    .sf-header .sf-currency-selector__select {
        width: 60px !important;
    }
}
