.teli-vps {
    margin-top: 10px;
}
.teli-vps__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
    gap: 24px;
    align-items: start;
}
.teli-vps__form,
.teli-vps__summary {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(49, 51, 65, 0.06);
}
.teli-vps__form {
    padding: 28px 28px 12px;
}
.teli-vps__summary {
    padding: 28px;
    position: sticky;
    top: 16px;
}
.teli-vps__label {
    display: block;
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: #313341;
}
.teli-vps__block {
    margin-bottom: 28px;
}
.teli-vps__choice,
.teli-vps__yesno {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 6px;
    background: #f4f6fc;
    border-radius: 12px;
}
.teli-vps__choice input,
.teli-vps__yesno input,
.teli-vps__os input,
.teli-vps__soft input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.teli-vps__choice label,
.teli-vps__yesno label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    color: #313341;
}
.teli-vps__choice input:checked + label,
.teli-vps__yesno input:checked + label,
.teli-vps__choice input:focus-visible + label,
.teli-vps__yesno input:focus-visible + label {
    background: #fff;
    color: #de4f45;
    box-shadow: 0 2px 8px rgba(49, 51, 65, 0.08);
}
.teli-vps__sliders {
    display: grid;
    gap: 22px;
}
.teli-vps__slider-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-weight: 700;
}
.teli-vps__addon {
    color: #8c8c8c;
    font-weight: 500;
    white-space: nowrap;
}
.teli-vps__slider-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}
.teli-vps__slider-row input[type="range"] {
    width: 100%;
    accent-color: #de4f45;
}
.teli-vps__qty {
    display: flex;
    align-items: center;
    height: 44px;
    background: #f4f6fc;
    border-radius: 10px;
    overflow: hidden;
}
.teli-vps__qty button {
    width: 36px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #313341;
    font-size: 22px;
    cursor: pointer;
}
.teli-vps__qty input {
    width: 64px;
    border: 0;
    background: transparent;
    text-align: center;
    font: inherit;
    font-weight: 700;
    color: #313341;
}
.teli-vps__qty span {
    padding-right: 10px;
    color: #8c8c8c;
}
.teli-vps__channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.teli-vps__channels label {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 72px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #dde2ef;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
}
.teli-vps__channels input:checked + label {
    border-color: #de4f45;
    box-shadow: inset 0 0 0 1px #de4f45;
}
.teli-vps__channels small,
.teli-vps__card small {
    display: block;
    margin-top: 4px;
    color: #8c8c8c;
    font-size: 13px;
}
.teli-vps__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.teli-vps__soft-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 12px 16px;
    border: 1px solid #dde2ef;
    border-radius: 12px;
    background: #f4f6fc;
    font: inherit;
    font-weight: 700;
    color: #313341;
    cursor: pointer;
    text-align: left;
}
.teli-vps__soft-toggle::after {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-left: 12px;
    border-right: 2px solid #8c8c8c;
    border-bottom: 2px solid #8c8c8c;
    transform: translateY(-2px) rotate(45deg);
}
.teli-vps__soft.is-open .teli-vps__soft-toggle {
    border-color: #de4f45;
    background: #fff;
    box-shadow: inset 0 0 0 1px #de4f45;
}
.teli-vps__soft.is-open .teli-vps__soft-toggle::after {
    transform: translateY(2px) rotate(-135deg);
}
.teli-vps__soft-list {
    display: none;
    margin-top: 8px;
}
.teli-vps__soft.is-open .teli-vps__soft-list {
    display: grid;
}
.teli-vps__soft .teli-vps__card {
    position: relative;
}
.teli-vps__card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #dde2ef;
    border-radius: 12px;
    cursor: pointer;
}
.teli-vps__card:has(input:checked) {
    border-color: #de4f45;
    box-shadow: inset 0 0 0 1px #de4f45;
}
.teli-vps__card img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.teli-vps__os label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    cursor: pointer;
}
.teli-vps__os select {
    flex: 1 1 120px;
    max-width: 58%;
    min-width: 0;
    height: 36px;
    margin: 0;
    padding: 0 8px;
    border: 0;
    border-radius: 8px;
    background: #f4f6fc;
    font: inherit;
    font-size: 14px;
    color: #313341;
    cursor: pointer;
}
.teli-vps__card:has(input:disabled) {
    opacity: 0.4;
    cursor: default;
}
.teli-vps__summary h3 {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.1;
}
.teli-vps__rows {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}
.teli-vps__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef1f7;
}
.teli-vps__row b {
    font-weight: 700;
    text-align: right;
}
.teli-vps__totals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}
.teli-vps__totals div {
    padding: 14px;
    background: #f4f6fc;
    border-radius: 12px;
}
.teli-vps__totals span {
    display: block;
    margin-bottom: 6px;
    color: #8c8c8c;
}
.teli-vps__totals strong {
    font-size: 22px;
}
.teli-vps__summary .btn {
    display: flex;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}
.teli-vps__note {
    margin: 10px 0 0;
    color: #8c8c8c;
    font-size: 13px;
}
@media (max-width: 1000px) {
    .teli-vps__layout,
    .teli-vps__channels,
    .teli-vps__grid {
        grid-template-columns: 1fr;
    }
    .teli-vps__summary {
        position: static;
    }
    .teli-vps__slider-row {
        grid-template-columns: 1fr;
    }
    .teli-vps__os {
        flex-wrap: wrap;
    }
    .teli-vps__os select {
        flex-basis: 100%;
        max-width: none;
    }
}
