.sm-currency-switcher__wrapper{
    display: flex;
    gap: 11px;
        align-items: center;
    flex-shrink: 0;
}


/* === Currency slider wrapper (the pill) === */
.sm-currency-switcher-global {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 60px;
    height: 29px;
    padding: 0px;
    border-radius: 999px;
background: #F0F2F2;
    overflow: hidden;
    
}

/* "Knob" built as a pseudo-element */
.sm-currency-switcher-global::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #00b773;

    box-shadow: 0px 0px 12.6px 1px #00B773;
    transition: transform 0.25s ease, background 0.25s ease;
}

/* EUR selected -> knob on left */
.sm-currency-switcher-global.sm-currency-eur::before {
    transform: translateX(0);
}

/* USD selected -> knob on right */
.sm-currency-switcher-global.sm-currency-usd::before {
    transform: translateX(31px);
}

/* === Inner buttons (icons) === */
.sm-currency-switcher-global .sm-currency-btn {
    position: relative;
    z-index: 1;
    flex: 1 1 50%;
    /* Kill Elementor button look */
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0;
    min-width: 0;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 18px !important;
    line-height: 1;
    color: #061929 !important;
    text-align: center;
    cursor: pointer;
}

/* Active icon color */
.sm-currency-switcher-global.sm-currency-eur .sm-currency-btn[data-currency="EUR"],
.sm-currency-switcher-global.sm-currency-usd .sm-currency-btn[data-currency="USD"] {
    color: #ffffff !important;
}

/* Optional: different pill backgrounds per state */
.sm-currency-switcher-global.sm-currency-eur {
    background: linear-gradient(90deg, #00b773 0%, #F0F2F2 60%, #F0F2F2 100%);
}

.sm-currency-switcher-global.sm-currency-usd {
    background: linear-gradient(90deg, #F0F2F2 0%, #F0F2F2 40%, #ffffff 100%);
}
