/* Currency controls share the Spatial Atelier paper, ink and quiet outlines. */
.etp-currency-selector {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .65rem .5rem;
    align-items: end;
    margin: 1.5rem 0 2rem;
    max-width: 32rem;
    color: var(--ink, #292825);
}
.etp-currency-selector > label {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--ink-soft, #66635e);
    font: inherit;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.5;
}
.etp-currency-selector > select,
.etp-currency-selector > button {
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    border: 1px solid rgba(41, 40, 37, .18);
    border-radius: 12px;
    background-color: var(--paper-raised, #f7f7f3);
    color: var(--ink, #292825);
    font: inherit;
    font-size: .875rem;
    line-height: 1.4;
    box-shadow: none;
}
.etp-currency-selector > select {
    appearance: none;
    padding: .8rem 2.5rem .8rem 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2366635e' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}
.etp-currency-selector > button {
    padding: .8rem 1.15rem;
    background: transparent;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}
.etp-currency-selector > button:hover,
.etp-currency-selector > button:focus-visible,
.etp-currency-selector > button:active {
    background: var(--paper-raised, #f7f7f3);
    color: var(--ink, #292825);
    border-color: var(--ink-soft, #66635e);
}
.etp-currency-selector > select:focus-visible,
.etp-currency-selector > button:focus-visible {
    outline: 2px solid var(--ink, #292825);
    outline-offset: 3px;
}
@media (max-width: 360px) {
    .etp-currency-selector { grid-template-columns: minmax(0, 1fr); }
    .etp-currency-selector > button { width: 100%; }
}
