﻿.bike-fit {
    background: linear-gradient(180deg,#ffffff,#f8fbff);
    border-radius: 28px;
    padding: 15px 25px;
    margin: 30px 0;
    border: 1px solid #e4edf5;
    box-shadow: 0 15px 40px rgba(0,40,145,.08);
    direction: rtl;
}

    .bike-fit h2 {
        text-align: center;
        color: #002891;
        font-size: 24px;
        margin-bottom: 8px;
    }

    .bike-fit p {
        text-align: center;
        color: #495565;
        font-size: 15px;
        margin-bottom: 30px;
        margin-top: 10px;
    }

.height-value {
    text-align: center;
    color: #002891;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
}

    .height-value span:last-child {
        font-size: 16px;
        font-weight: 600;
    }

.slider-box {
    margin-top: 30px;
}

.slider {
    width: 100%;
    height: 10px;
    appearance: none;
    border-radius: 50px;
    background: linear-gradient( 90deg, #009ad9, #6fbd16 );
}

    .slider::-webkit-slider-thumb {
        appearance: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: #fff;
        border: 7px solid #009ad9;
        box-shadow: 0 5px 20px rgba(0,154,217,.35);
        cursor: pointer;
    }

    .slider::-moz-range-thumb {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: white;
        border: 7px solid #009ad9;
    }

.slider-labels {
    display: flex;
    justify-content: space-between;
    color: #545d69;
    font-size: 12px;
    margin-top: 10px;
}

.result-card {
    margin-top: 32px;
    background: linear-gradient( 135deg, #002891, #0046c7 );
    color: white;
    border-radius: 24px;
    padding: 25px;
    overflow: hidden;
    position: relative;
}

    .result-card:after {
        content: "";
        position: absolute;
        width: 150px;
        height: 150px;
        background: rgba(255,255,255,.08);
        border-radius: 50%;
        left: -50px;
        bottom: -50px;
    }

    .result-card:before {
        content: "";
        height: 6px;
        background: #6FBD16;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

.result-title {
    font-size: 14px;
    opacity: .8;
}

.result-frame {
    font-size: 44px;
    font-weight: 900;
    margin-top: 10px;
}

.result-size {
    font-size: 23px;
    font-weight: 800;
}

.result-height {
    margin-top: 10px;
    opacity: .85;
}

.frame-list {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin-top: 25px;
}

.frame-chip {
    padding: 15px 8px;
    border-radius: 18px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    text-align: center;
    font-weight: 700;
    transition: .25s;
    cursor: pointer;
}

    .frame-chip strong {
        display: block;
        font-size: 24px;
    }

    .frame-chip.active {
        background: #009ad9;
        border-color: #009ad9;
        color: white;
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,154,217,.25);
    }

@media(max-width:600px) {

    .bike-fit {
        padding: 5px 20px 15px;
        border-radius: 22px;
    }

        .bike-fit h2 {
            font-size: 21px;
        }

    .height-value {
        font-size: 40px;
    }

    .result-frame {
        font-size: 36px;
    }

    .frame-list {
        grid-template-columns: repeat(2,1fr);
    }

    .frame-chip {
        padding: 18px 10px;
    }
}