.currency-switcher {
    position: relative;
    flex: 0 0 auto;
}

.currency-switcher > summary {
    list-style: none;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    background: #fff;
    color: #12213d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    font-weight: 800;
    user-select: none;
}

.currency-switcher > summary::-webkit-details-marker {
    display: none;
}

.currency-switcher[open] > summary {
    border-color: #14a6bd;
    box-shadow: 0 0 0 3px rgba(20, 166, 189, .10);
}

.currency-switcher-chevron {
    font-size: 14px;
    line-height: 1;
    transition: transform .18s ease;
}

.currency-switcher[open] .currency-switcher-chevron {
    transform: rotate(180deg);
}

.currency-switcher-menu {
    position: absolute;
    z-index: 1200;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    width: 250px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 6px;
    background: #fff;
    border: 1px solid #dbe4ef;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(15, 30, 55, .18);
}

.currency-switcher-option {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #17233b;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: start;
    cursor: pointer;
    font: inherit;
}

.currency-switcher-option:hover,
.currency-switcher-option:focus-visible {
    background: #eef9fb;
    outline: none;
}

.currency-switcher-option.is-selected {
    background: #119fb8;
    color: #fff;
}

.currency-switcher-option strong {
    flex: 0 0 auto;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    letter-spacing: .02em;
}

@media (max-width: 760px) {
    .currency-switcher > summary {
        min-height: 38px;
        padding-inline: 11px;
    }

    .currency-switcher-menu {
        position: fixed;
        top: 74px;
        inset-inline: 14px;
        width: auto;
        max-height: calc(100vh - 100px);
    }
}

.footer-bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.fx-attribution {
    opacity: .72;
    font-size: 12px;
}

.fx-attribution:hover,
.fx-attribution:focus-visible {
    opacity: 1;
}

.currency-switcher-option.is-unavailable,
.currency-switcher-option:disabled {
    opacity: .45;
    cursor: not-allowed;
}
