
    /* когда селект открыт — нижние углы квадратные */
    .rate-select.open .rate-selected {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .rate-select {
        position: relative;
        width: 80px;
        border-radius: 12px;
        font-size: 13px;
        user-select: none;
    }

    /* верх */
    .rate-selected {
        background: rgba(255, 168, 0, 0.2);;
        color: #ffb000;
        font-weight: 500;

        padding: 8px 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;

        border: 1px solid rgba(255, 176, 0, 0.4);;
        border-radius: 12px;
        cursor: pointer;
        position: relative;
        z-index: 2;
    }

    /* стрелка */
    .rate-arrow {
        width: 10px;
        height: 10px;
        display: inline-block;
        transition: transform .25s ease;
        flex-shrink: 0;
    }

    .rate-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #4f4f19;
        border: 1px solid rgba(255, 176, 0, 0.4);
        border-top: none;

        border-radius: 0 0 12px 12px;
        overflow: hidden;

        opacity: 0;
        transform: translateY(-6px);
        pointer-events: none;

        transition: opacity .2s ease, transform .2s ease;
        z-index: 1;
    }

    /* пункт */
    .rate-option {
        padding: 8px 10px;
        color: #ffb000;
        font-weight: 500;
        cursor: pointer;
    }

    .rate-option:hover {
        background: rgba(255, 176, 0, .2);
    }

    .rate-option.active {
        background: rgba(255, 176, 0, .15);
    }

    .rate-select.open .rate-dropdown {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* при открытии — вверх */
    .rate-select.open .rate-arrow {
        transform: rotate(180deg);
    }

