

.currency-switcher-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
    flex-direction: column;
}





.price-rub .rub-amount {
    
}


.price-rub .rub-text {
    font-family: 'TT Firs Neue', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 30px;  
    line-height: 39px;
    color: #FFFFFF;
    margin-left: 5px;
}


.currency-switcher {
    position: relative;
    width: 321px;
    height: 45.75px;
    box-sizing: border-box;
    border-radius: 25px;
    background: #E6E6E6;
    display: flex;
    align-items: center;
    padding: 0;
    cursor: pointer;
    transition: width 0.3s ease;
}


.currency-switcher.rub-active {
    width: 245px;
}


.currency-tab {
    position: relative;
    height: 45.75px;
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    flex: 0.4;
}

.currency-tab.rub {
    border-radius: 25px 0 0 25px;
    max-width: 118px;
    justify-content: center;
}

.currency-tab.mori {
    border-radius: 0 25px 25px 0;
    justify-content: flex-start;
    min-width: 30px;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.currency-tab span {
    font-family: 'TT Firs Neue', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 19px;
    color: #868686;
    transition: all 0.3s ease;
}


.currency-switcher.mori-active .currency-tab.rub span {
    position: relative;
    left: 0px;
}


.currency-switcher.rub-active .currency-tab.rub span {
    position: relative;
    left: 5px;
}


.currency-switcher.rub-active .currency-tab.mori span {
    position: relative;
    left: 25px;
}


.currency-switcher.mori-active .currency-tab.mori span {
    position: relative;
    left: 25px;
}


.currency-slider {
    position: absolute;
    background: #000000;
    border-radius: 25px;
    transition: all 0.3s ease;
    z-index: 1;
    top: 3.7px;
    bottom: 3.7px;
    height: auto;
}


.currency-switcher.rub-active .currency-slider {
    left: 3.7px;
    width: 111px;
}


.currency-switcher.mori-active .currency-slider {
    left: 118px;
    right: 3.7px;
    width: 199.5px;
}


.currency-switcher.rub-active .currency-tab.rub span {
    color: #FFFFFF;
}

.currency-switcher.mori-active .currency-tab.mori span {
    color: #FFCC63;
    position: relative;
    z-index: 3;
}


.currency-switcher.mori-active .currency-tab.mori span::before {
    content: 'Mori Coin';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'TT Firs Neue';
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 19px;
    color: #FFCC63;
    filter: blur(12.5px);
    z-index: -1;
}


.mori-promo-badge {
    position: absolute;
    right: 7px;
    top: 7px;
    bottom: 7px;
    height: auto;
    display: none;
    z-index: 3;
    pointer-events: none;
}

.currency-switcher.mori-active .mori-promo-badge {
    display: block;
}

.mori-promo-badge img {
    height: 100%;
    width: auto;
    display: block;
}


.currency-switcher-text {
    position: absolute;
    width: 313px;
    height: 16px;
    left: calc(50% - 313px/2 + 0.5px);
    top: 60px;
    font-family: 'TT Firs Neue';
    font-style: normal;
    font-weight: 500;
    font-size: 12.15px;
    line-height: 16px;
    text-align: center;
    color: #000000;
    margin: 0;
}


.currency-switcher-divider {
    position: absolute;
    width: 30px;
    height: 3px;
    left: calc(50% - 30px/2);
    top: 80px;
    background: #000000;
    border-radius: 25px;
}


@media (max-width: 1023px) {
    .currency-switcher-container {
        margin-top: 20px;
        margin-bottom: 15px;
        flex-direction: column;
        gap: 12px;
    }

    
    .currency-switcher-wrapper {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .currency-switcher-wrapper .discount-badge {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
    }

    .currency-switcher {
        width: 250px;
        height: 36px;
    }

    
    .currency-switcher.rub-active {
        width: 190px;
    }

    .currency-tab {
        height: 36px;
    }

    .currency-tab.rub {
        max-width: 92px;
        justify-content: center;
    }

    .currency-tab.mori {
        min-width: 30px;
        overflow: hidden;
        white-space: nowrap;
        justify-content: flex-start;
    }

    
    .currency-switcher.rub-active .currency-tab.mori span {
        position: relative;
        left: 10px;
    }

    .currency-switcher.mori-active .currency-tab.mori span {
        position: relative;
        left: -7px;
    }

    .currency-slider {
        top: 3px;
        bottom: 3px;
        height: auto;
    }

    .currency-switcher.rub-active .currency-slider {
        left: 3px;
        width: 86px;
    }

    .currency-switcher.mori-active .currency-slider {
        left: 92px;
        right: 3px;
        width: auto;
    }

    .currency-tab span {
        font-size: 13px;
        line-height: 17px;
    }

    
    .currency-switcher.rub-active .currency-tab.rub span {
        color: #FFFFFF !important;
    }

    .currency-switcher.mori-active .currency-tab.mori span {
        color: #FFCC63 !important;
        z-index: 3;
    }

    
    .currency-switcher.mori-active .currency-tab.mori span::before {
        content: 'Mori Coin';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-family: 'TT Firs Neue';
        font-style: normal;
        font-weight: 600;
        font-size: 13px;
        line-height: 17px;
        color: #FFCC63;
        filter: blur(10px);
        z-index: -1;
    }

    .discount-badge {
        width: 200px;
        height: 56px;
        padding: 0 20px;
        gap: 10px;
    }

    .discount-icon {
        width: 22px;
        height: 22px;
    }

    .discount-main,
    .discount-sub {
        font-size: 12px;
        line-height: 16px;
    }

    
    .mori-promo-badge {
        right: 4px !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        height: 22px !important;
        width: auto !important;
    }

    .mori-promo-badge img {
        height: 100% !important;
        width: auto !important;
        max-width: 60px !important;
        object-fit: contain !important;
        display: block !important;
    }

    
    .currency-switcher-container {
        margin-bottom: 60px !important;
        padding-bottom: 20px !important;
    }

    
    .currency-switcher-divider {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 15px auto 0 !important;
    }

    
    .currency-switcher-text {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 90% !important;
        margin: 10px auto 0 !important;
    }
}


@media (min-width: 768px) and (max-width: 1023px) {
    .currency-switcher-container {
        flex-direction: row;
        gap: 15px;
    }
}