/* Currency Switcher */
.af-currency-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.af-current-currency {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: inherit;
    font-weight: 600;
    cursor: pointer;
}

.af-currency-list {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    min-width: 140px;
    margin: 8px 0 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    z-index: 10000;
    max-height: 60vh;
    overflow-y: auto;
}

.af-currency-list li {
    list-style: none;
    break-inside: avoid;
}

.af-currency-list li a {
    display: block;
    padding: 8px 12px;
    color: #0a1027;
    text-decoration: none;
    font-size: 13px;
    background: #fff;
}

.af-site-header .af-currency-list li a,
.wf_header-topbar .af-currency-list li a {
    color: #0a1027;
}

.af-currency-list li a:hover {
    background: #f5f6f8;
}

.af-currency-switcher.is-open .af-currency-list {
    display: block;
}

.wf_header-topbar .af-currency-switcher .af-currency-list {
    display: none;
    flex-direction: column;
}

.wf_header-topbar .af-currency-switcher.is-open .af-currency-list {
    display: block;
}

@media (min-width: 992px) {
    .af-currency-list {
        column-count: 2;
        column-gap: 16px;
    }
}

.af-currency-select {
    display: none;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid #d9d9d9;
    font-size: 13px;
    background: #fff;
    color: #333;
}

@media (max-width: 991px) {
    .af-current-currency,
    .af-currency-list {
        display: none;
    }

    .af-currency-select {
        display: inline-flex;
        min-width: 160px;
        width: 100%;
    }
}