.pricing-select {
    border-radius: 10px;
    background: #f6f8fb;
    padding: 16px 10px 10px 10px;
    cursor: pointer;
    position: relative;
}

.pricing-select__wrapper {
    position: relative;
    width: 100%;
    pointer-events: none;
}

.pricing-select:has(.visible) .pricing-select__wrapper {
    pointer-events: auto;
}

.pricing-select__options {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 40px; /* По замовчуванню показуємо тільки перший елемент */
    overflow: hidden; /* Перегортати елементи, коли висота обмежена */
    transition: max-height 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-select__option {
    padding: 9px 12px 10px 12px;
    display: flex;
    border-radius: 4px;
    justify-content: space-between;
    cursor: pointer;
    background: #FFF;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-select__options.visible .pricing-select__option {
    padding: 9px 12px 10px 36px;
}

.pricing-select__option * {
    margin-bottom: 0;
}

.pricing-select__heading {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: #1e2731;
    padding: 0 6px 0 10px;
    margin-bottom: 10px;
    font-family: 'Sora', sans-serif;
}

.pricing-select__heading svg {
    transition: all 0.3s ease;
}

.pricing-select__heading[data-toggle='true'] svg {
    transform: rotate(-90deg);
}

.pricing-select__options .pricing-select__checkbox{
    opacity: 0;
}

.pricing-select__checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #e9ebf4;
    border-radius: 23px;
    flex-shrink: 0;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.pricing-select__options.visible .pricing-select__checkbox{
    opacity: 1;
}


.pricing-select__option:has(.checked) .pricing-select__checkbox {
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none"><rect x="0.5" y="0.5" width="15" height="15" rx="7.5" stroke="%23092DC5"/><circle cx="8" cy="8" r="4" fill="%23092DC5"/></svg>') no-repeat center center;
    background-size: contain;
}

.pricing-select__option:has(.checked) {
    background: #e7ebfd;
}

.pricing-select__option:has(.checked) .pricing-select__value strong{
    color: #092DC5;
}



/* Клас для відкритого списку */
.pricing-select__options.visible {
    max-height: 2500px; /* Відкриваємо всі елементи */
}

.pricing-select__label,
.pricing-select__value {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
}

.pricing-select__label {
    color: #1e2731;
}

.pricing-select__label strong,
.pricing-select__value {
    font-weight: 400;
    color: #4c5661;
}

.pricing-select__value strong{
    font-weight: 500;
    color: #1e2731;
}

@media screen and (max-width: 1023.98px) {
    .pricing-select {
        padding: 12px 8px 8px 8px;
    }

    .pricing-select__heading {
        padding: 0 8px 0 8px;
    }

    .pricing-select__options {
        gap: 6px;
        max-height: 61px;
    }

    .pricing-select__option {
        padding: 9px 10px 10px 32px;
        gap: 15px;
    }

    /* Клас для відкритого списку */
    .pricing-select__options.visible {
        max-height: 2500px; /* Відкриваємо всі елементи */
    }
}